/* ============================================================
   TRANSLATOR HUB – SINGLE CARD (STABLE FINAL VERSION)
   ============================================================ */

/* Main card container */
.PortalIntroPage-root {
    max-width: 900px;
    margin: 48px auto 24px auto !important;
    padding: 40px 40px 28px 40px !important;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 18px;
    position: relative;
    min-height: unset !important;
    height: auto !important;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Red Cross accent line */
.PortalIntroPage-root::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #c20000 0%,
        rgba(194, 0, 0, 0.18) 100%
    );
    border-radius: 18px 18px 0 0;
}

/* Hide duplicate page title */
.PortalIntroPage-root h1 {
    display: none !important;
}

/* Center logo */
.PortalIntroPage-root img {
    max-width: 360px;
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
    margin: 6px auto 26px auto;
}

/* Remove spacing if logo is wrapped */
.PortalIntroPage-root p:has(img) {
    margin: 0 !important;
}

/* Body text */
.PortalIntroPage-root p {
    font-family: "Roboto", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    max-width: 780px;
    margin: 0 0 18px 0;
}

/* Tighten before CTA */
.PortalIntroPage-root p:last-of-type {
    margin-bottom: 24px;
}

/* ── H6 + link = button ── */
.PortalIntroPage-root h6 a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #c20000;
    text-decoration: none;
    background: rgba(194, 0, 0, 0.08);
    border: 1px solid rgba(194, 0, 0, 0.30);
    transition: background 160ms ease,
                transform 160ms ease,
                border-color 160ms ease;
}

.PortalIntroPage-root h6 a:hover {
    background: rgba(194, 0, 0, 0.14);
    border-color: rgba(194, 0, 0, 0.40);
    transform: translateY(-1px);
}

/* ── H5 + link = plain inline hyperlink ── */
.PortalIntroPage-root h5 a {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font-weight: 600;
    color: #c20000;
    text-decoration: underline;
    font-size: inherit;
    transform: none;
}

.PortalIntroPage-root h5 a:hover {
    background: none;
    border: none;
    text-decoration: none;
    transform: none;
}

/* ── H5 wrapper — remove heading size/spacing ── */
.PortalIntroPage-root h5 {
    font-size: 0.97rem;
    font-weight: 400;
    margin: 0 0 18px 0;
    line-height: 1.7;
}

/* ── H6 wrapper — remove heading size/spacing ── */
.PortalIntroPage-root h6 {
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

/* ── Video tip callout (blockquote) ── */
.PortalIntroPage-root blockquote {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(194, 0, 0, 0.04);
    border-left: 3px solid #c20000;
    border-radius: 0 6px 6px 0;
    padding: 12px 16px;
    margin: 0 0 18px 0;
    font-size: 0.97rem;
    line-height: 1.6;
    color: #444;
}

.PortalIntroPage-root blockquote p {
    margin: 0 !important;
    font-size: 0.97rem;
}

.PortalIntroPage-root blockquote a {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font-weight: 600;
    color: #c20000;
    text-decoration: underline;
    font-size: inherit;
    transform: none;
}

.PortalIntroPage-root blockquote a:hover {
    background: none;
    border: none;
    text-decoration: none;
    transform: none;
}

/* ------------------------------------------------------------
   COPYRIGHT — visually suppressed (safe + non-destructive)
   ------------------------------------------------------------ */
.PortalIntroPage-root > *:last-child {
    font-size: 0.6rem !important;
    color: rgba(0, 0, 0, 0.15) !important;
    opacity: 0.25 !important;
    text-align: center;
    user-select: none;
}