@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}


/* ------------------------------
   VietCALL Header
   ------------------------------ */

.vietcall-hero {
    margin-bottom: 1rem;
}

.vietcall-hero .widget-content {
    padding: 0 !important;
}

.vietcall-header {
    position: relative;
    overflow: hidden;
    padding: 24px 32px 42px 32px;
    border-radius: 16px;

    background:
        linear-gradient(
            to right,
            rgba(39, 70, 133, 0.88) 0%,
            rgba(61, 179, 197, 0.88) 100%
        ),
        url("/assets/vietcall-bg.jpg");

    background-size: cover;
    background-position: center;
    color: #ffffff;
}


/* ------------------------------
   Logo + Menu
   ------------------------------ */

.vietcall-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.vietcall-logo-link {
    display: block;
}

.vietcall-logo-link img {
    display: block;
    width: 291px;
    max-width: 62vw;
    height: auto;
}

.vietcall-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.vietcall-menu a {
    color: #ffffff !important;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 7px;
    transition: background 0.2s ease;
}

.vietcall-menu a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.17);
}


/* ------------------------------
   Hero title
   ------------------------------ */

.vietcall-hero-copy {
    margin-top: 44px;
    max-width: 850px;
}

.vietcall-hero-copy h1 {
    margin: 0 0 10px 0;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.13;
    font-weight: 700;
}

.vietcall-hero-copy p {
    margin: 0;
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.5;
}


/* ------------------------------
   Dashboard placeholder
   ------------------------------ */

.vietcall-placeholder {
    padding: 10px 0;
    font-size: 1rem;
}


/* ------------------------------
   Footer
   ------------------------------ */

.vietcall-footer {
    width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;

    background:
        linear-gradient(
            to right,
            #274685 0%,
            #3db3c5 100%
        );

    color: #ffffff;
    text-align: center;
    line-height: 1.6;
}

.vietcall-footer a {
    color: #ffffff !important;
    font-weight: 600;
}


/* ------------------------------
   Mobile
   ------------------------------ */

@media (max-width: 700px) {

    .vietcall-header {
        padding: 20px 20px 32px 20px;
    }

    .vietcall-nav {
        display: block;
    }

    .vietcall-menu {
        justify-content: flex-start;
        margin-top: 18px;
        gap: 2px;
    }

    .vietcall-menu a {
        padding: 8px 9px;
        font-size: 0.8rem;
    }

    .vietcall-hero-copy {
        margin-top: 32px;
    }

    .vietcall-hero-copy p {
        font-size: 16px;
    }
}


/* ============================================================
   VietCALL refinements - 2026-08-20
   ============================================================ */

/* Small radius throughout dashboard */
:root {
    --border-radius: 3px !important;
}

.widget,
.vietcall-header,
.vietcall-footer {
    border-radius: 3px !important;
}


/* Header: logo and menu vertically centered */
.vietcall-nav {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    gap: 30px;
}


/* Larger main menu */
.vietcall-menu a {
    font-size: 1.05rem !important;
    font-weight: 500;
    padding: 10px 14px;
}


/* Compact hero area */
.vietcall-header {
    padding: 22px 32px 30px 32px;
}


/* Main slogan now same scale as old supporting text */
.vietcall-hero-copy {
    margin-top: 22px;
    max-width: 100%;
}

.vietcall-hero-copy h1 {
    margin: 0;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: 18px !important;
    line-height: 1.5;
    font-weight: 700;
}


/* Rotating VietCALL mission statement */
.vietcall-rotator {
    position: relative;
    margin-top: 8px;
    height: 28px;
    overflow: hidden;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
}

.vietcall-rotating-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    transform: translateY(6px);

    animation-name: vietcall-message-cycle;
    animation-duration: 16s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.vietcall-rotating-line:nth-child(1) {
    animation-delay: 0s;
}

.vietcall-rotating-line:nth-child(2) {
    animation-delay: 4s;
}

.vietcall-rotating-line:nth-child(3) {
    animation-delay: 8s;
}

.vietcall-rotating-line:nth-child(4) {
    animation-delay: 12s;
}

@keyframes vietcall-message-cycle {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    4% {
        opacity: 1;
        transform: translateY(0);
    }

    21% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: 0;
        transform: translateY(-6px);
    }

    100% {
        opacity: 0;
        transform: translateY(-6px);
    }
}


/* Complete legacy-style footer */
.vietcall-footer {
    padding: 1.5rem 1rem;
    background: linear-gradient(
        to right,
        #274685 0%,
        #3db3c5 100%
    );
    color: #ffffff;
    text-align: center;
    line-height: 1.6;
    font-size: 14px;
}

.vietcall-footer .vietcall-copyright {
    margin-bottom: 2px;
}

.vietcall-footer .vietcall-credits {
    color: #ffffff;
}

.vietcall-footer a {
    display: inline-block;
    margin-left: 3px;
    vertical-align: middle;
}

.vietcall-footer img {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}


/* Mobile refinements */
@media (max-width: 700px) {

    .vietcall-header {
        padding: 18px 18px 26px 18px;
    }

    .vietcall-menu a {
        font-size: 0.95rem !important;
        padding: 7px 8px;
    }

    .vietcall-hero-copy {
        margin-top: 20px;
    }

    .vietcall-hero-copy h1 {
        font-size: 17px !important;
    }

    .vietcall-rotator {
        font-size: 16px;
        height: 50px;
    }
}


/* Accessibility: don't animate if user disables motion */
@media (prefers-reduced-motion: reduce) {

    .vietcall-rotating-line {
        display: none;
        animation: none;
    }

    .vietcall-rotating-line:first-child {
        display: block;
        position: static;
        opacity: 1;
        transform: none;
    }
}


/* ============================================================
   VietCALL header layout refinement
   ============================================================ */

.vietcall-header {
    padding: 20px 30px 24px 30px;
}


/* Logo left, navigation/title right */

.vietcall-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: nowrap;
}

.vietcall-logo-link {
    flex: 0 0 auto;
}

.vietcall-logo-link img {
    width: 291px;
    max-width: 34vw;
    height: auto;
}


/* Right side consists of two lines:
   menu above, title underneath */

.vietcall-nav-right {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.vietcall-menu {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.vietcall-menu a {
    font-size: 1.05rem !important;
    padding: 8px 13px;
}


/* Main title directly below menu */

.vietcall-title {
    width: 100%;
    margin-top: 4px;

    text-align: right;

    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    color: #ffffff;
}


/* Hide the old hero-copy area if cached markup exists */

.vietcall-hero-copy {
    display: none;
}


/* ------------------------------------------------------------
   Rotating message strip
   ------------------------------------------------------------ */

.vietcall-message-strip {
    position: relative;

    margin-top: 18px;
    padding: 8px 18px;

    min-height: 44px;

    border-radius: 3px;

    /*
       Same VietCALL background family, but visibly separated
       from the upper header area.
    */
    background: linear-gradient(
        to right,
        rgba(39, 70, 133, 0.52) 0%,
        rgba(61, 179, 197, 0.52) 100%
    );

    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.vietcall-rotator {
    position: relative;

    margin: 0;
    height: 28px;

    overflow: hidden;

    color: #ffffff;
    font-size: 17px;
    line-height: 28px;

    text-align: center;
}

.vietcall-rotating-line {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    opacity: 0;

    text-align: center;

    transform: translateY(5px);

    animation-name: vietcall-message-cycle;
    animation-duration: 16s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 800px) {

    .vietcall-header {
        padding: 18px;
    }

    .vietcall-nav {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 14px;
    }

    .vietcall-logo-link img {
        width: 260px;
        max-width: 80vw;
    }

    .vietcall-nav-right {
        width: 100%;
        align-items: flex-start;
    }

    .vietcall-menu {
        justify-content: flex-start;
    }

    .vietcall-menu a {
        font-size: 0.92rem !important;
        padding: 6px 8px;
    }

    .vietcall-title {
        margin-top: 7px;
        text-align: left;
        font-size: 17px;
    }

    .vietcall-message-strip {
        margin-top: 16px;
        padding: 8px 12px;
        min-height: 54px;
    }

    .vietcall-rotator {
        height: 38px;
        font-size: 15px;
        line-height: 19px;
    }

    .vietcall-rotating-line {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
    }
}


/* ============================================================
   VietCALL full-width header refinement
   ============================================================ */

/* Break the header out of Glance's centered content width */
.vietcall-header {
    width: 100vw;
    max-width: none;
    box-sizing: border-box;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 20px 32px 0 32px;

    border-radius: 0 !important;
}


/* Larger desktop menu */
.vietcall-menu a {
    font-size: 1.22rem !important;
    font-weight: 500;
    padding: 8px 15px;
}


/* Keep title below the menu */
.vietcall-title {
    margin-top: 5px;
    font-size: 18px;
}


/* Full-width rotating strip */
.vietcall-message-strip {
    width: calc(100% + 64px);
    box-sizing: border-box;

    margin-left: -32px;
    margin-right: -32px;
    margin-top: 18px;

    padding: 9px 32px;

    border-radius: 0 !important;

    background: linear-gradient(
        to right,
        rgba(39, 70, 133, 0.58) 0%,
        rgba(61, 179, 197, 0.58) 100%
    );

    /* horizontal separation only */
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    border-left: 0 !important;
    border-right: 0 !important;
}


/* Mobile */
@media (max-width: 800px) {

    .vietcall-header {
        padding: 18px 18px 0 18px;
    }

    .vietcall-menu a {
        font-size: 1rem !important;
        padding: 7px 9px;
    }

    .vietcall-message-strip {
        width: calc(100% + 36px);
        margin-left: -18px;
        margin-right: -18px;
        padding: 9px 18px;
    }
}


/* ============================================================
   VietCALL dashboard cards
   ============================================================ */

.vietcall-content-card {
    border-radius: 3px !important;
}

/* Card title */
.vietcall-content-card .widget-header {
    padding-bottom: 10px;
    border-bottom: 2px solid #2d71a1;
}

.vietcall-content-card .widget-title {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
}


/* Entries */
.vietcall-entry-list {
    display: flex;
    flex-direction: column;
}

.vietcall-entry {
    display: block;

    padding: 13px 4px;

    text-decoration: none !important;

    border-bottom: 1px solid
        rgba(128, 128, 128, 0.18);
}

.vietcall-entry:last-child {
    border-bottom: 0;
}

.vietcall-entry-title {
    display: block;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;

    color: var(--color-text-highlight);
}

.vietcall-entry-meta {
    display: block;

    margin-top: 4px;

    font-size: 13px;
    line-height: 1.35;

    color: var(--color-text-subdue);
}

.vietcall-entry:hover .vietcall-entry-title {
    color: hsl(var(--color-primary));
}


/* View all */
.vietcall-card-more {
    margin-top: 10px;
    padding-top: 10px;

    text-align: right;

    border-top: 1px solid
        rgba(128, 128, 128, 0.15);
}

.vietcall-card-more a {
    font-size: 13px;
    font-weight: 600;

    color: #2d71a1 !important;
    text-decoration: none;
}


/* Keep both first cards visually balanced */
.vietcall-content-card .widget-content {
    min-height: 270px;
}


/* Mobile */
@media (max-width: 700px) {

    .vietcall-content-card .widget-title {
        font-size: 17px;
    }

    .vietcall-entry-title {
        font-size: 14px;
    }

    .vietcall-content-card .widget-content {
        min-height: auto;
    }
}


/* ============================================================
   Make VietCALL content widgets look like real cards
   ============================================================ */

.vietcall-content-card {
    background: #ffffff !important;
    border: 1px solid rgba(39, 70, 133, 0.16) !important;
    border-radius: 3px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);

    padding: 18px 20px 16px 20px !important;
    box-sizing: border-box;
}


/* Card heading */
.vietcall-content-card .widget-header {
    margin-bottom: 6px;
    padding-bottom: 10px;

    border-bottom: 2px solid #2d71a1;
}

.vietcall-content-card .widget-title {
    font-family: "Poppins", sans-serif;
    font-size: 19px !important;
    line-height: 1.3;
    font-weight: 700;

    color: #274685 !important;
}


/* Make the card title link use VietCALL blue */
.vietcall-content-card .widget-title a,
.vietcall-content-card .widget-header a {
    color: #274685 !important;
    text-decoration: none !important;
}


/* Body */
.vietcall-content-card .widget-content {
    background: transparent !important;
}


/* Entry hover gives a subtle card/list interaction */
.vietcall-entry {
    margin: 0 -4px;
    padding: 12px 8px;
    border-radius: 3px;
}

.vietcall-entry:hover {
    background: rgba(45, 113, 161, 0.06);
}


/* Bottom link */
.vietcall-card-more {
    margin-top: 8px;
    padding-top: 11px;
}

.vietcall-card-more a {
    color: #2d71a1 !important;
    font-weight: 600;
}


/* Desktop: encourage equal-height cards */
@media (min-width: 701px) {
    .vietcall-content-card {
        height: 100%;
    }
}


/* Mobile */
@media (max-width: 700px) {

    .vietcall-content-card {
        padding: 15px 16px 14px 16px !important;
    }

    .vietcall-content-card .widget-title {
        font-size: 17px !important;
    }
}


/* ============================================================
   Real Glance card frames
   ============================================================ */

.vietcall-card-box {
    background: #ffffff !important;
    border: 1px solid rgba(39, 70, 133, 0.18) !important;
    border-radius: 3px !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);

    padding: 18px 20px !important;

    height: 100%;
    box-sizing: border-box;
}

.vietcall-card-title {
    padding-bottom: 11px;
    margin-bottom: 2px;

    border-bottom: 2px solid #2d71a1;

    font-family: "Poppins", sans-serif;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.vietcall-card-title a {
    color: #274685 !important;
    text-decoration: none !important;
}

.vietcall-card-title a:hover {
    color: #2d71a1 !important;
}

.vietcall-content-widget .widget-content {
    padding: 0 !important;
    background: transparent !important;
}

@media (max-width: 700px) {

    .vietcall-card-box {
        padding: 15px 16px !important;
    }

    .vietcall-card-title {
        font-size: 17px;
    }
}


/* ============================================================
   VietCALL card typography and tab-header refinement
   ============================================================ */

/* Spline Sans for all dashboard card content */
@import url('https://fonts.googleapis.com/css2?family=Spline+Sans:wght@400;500;600;700&display=swap');

.vietcall-content-widget,
.vietcall-card-box,
.vietcall-card-title,
.vietcall-card-title a,
.vietcall-entry,
.vietcall-entry-title,
.vietcall-entry-meta,
.vietcall-card-more,
.vietcall-card-more a {
    font-family: "Spline Sans", sans-serif !important;
}


/* More space between site header and first card row */
.vietcall-content-widget {
    margin-top: 18px;
}


/* Card box */
.vietcall-card-box {
    position: relative;

    padding: 0 20px 18px 20px !important;

    overflow: visible;

    border-radius: 3px !important;
}


/* ============================================================
   Tab-shaped card heading
   ============================================================ */

.vietcall-card-title {
    position: relative;
    z-index: 2;

    display: inline-block;

    margin-top: -1px;
    margin-left: -20px;
    margin-bottom: 8px;

    padding: 9px 26px 9px 26px;

    background: linear-gradient(
        to right,
        #274685 0%,
        #2d71a1 100%
    );

    border: 0 !important;

    border-radius: 9px 9px 4px 4px;

    font-family: "Spline Sans", sans-serif !important;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;

    color: #ffffff !important;
}


/*
   Small curved wings make the upper part of the tab
   visually wider than the lower part.
*/

.vietcall-card-title::before,
.vietcall-card-title::after {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;

    width: 14px;
    height: 72%;

    background: inherit;
}

.vietcall-card-title::before {
    left: -7px;

    border-radius: 9px 0 0 3px;

    transform: skewX(-10deg);
    transform-origin: bottom right;
}

.vietcall-card-title::after {
    right: -7px;

    border-radius: 0 9px 3px 0;

    transform: skewX(10deg);
    transform-origin: bottom left;
}


/* White text inside tab */
.vietcall-card-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
}

.vietcall-card-title a:hover {
    color: #ffffff !important;
    opacity: 0.88;
}


/* ============================================================
   Entries
   ============================================================ */

.vietcall-entry-title {
    font-family: "Spline Sans", sans-serif !important;

    /* less bold than previous version */
    font-weight: 500 !important;

    font-size: 15px;
    line-height: 1.45;
}

.vietcall-entry-meta {
    font-family: "Spline Sans", sans-serif !important;

    font-weight: 400;

    margin-top: 4px;
}


/* More breathing room after the tab */
.vietcall-entry-list {
    padding-top: 3px;
}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 700px) {

    .vietcall-content-widget {
        margin-top: 14px;
    }

    .vietcall-card-box {
        padding: 0 16px 15px 16px !important;
    }

    .vietcall-card-title {
        margin-left: -16px;

        padding: 8px 21px;

        font-size: 16px;
    }

    .vietcall-entry-title {
        font-size: 14px;
    }
}


/* ============================================================
   VietCALL card full-width title + stronger border
   ============================================================ */

/* More breathing room below the site header */
.vietcall-content-widget {
    margin-top: 28px;
}


/* Darker card border matching the title background */
.vietcall-card-box {
    border: 1px solid #274685 !important;
}


/* Full-width title bar */
.vietcall-card-title {
    display: block;
    width: calc(100% + 40px);

    box-sizing: border-box;

    margin-left: -20px;
    margin-right: -20px;
    margin-top: -1px;
    margin-bottom: 14px;

    padding: 10px 22px;

    background: linear-gradient(
        to right,
        #274685 0%,
        #2d71a1 100%
    );

    color: #ffffff !important;

    border-radius: 3px 3px 0 0;
}


/* Remove the previous side wings */
.vietcall-card-title::before,
.vietcall-card-title::after {
    display: none !important;
}


/* Keep title link white */
.vietcall-card-title a {
    display: block;
    width: 100%;

    color: #ffffff !important;
    text-decoration: none !important;
}


/* Mobile */
@media (max-width: 700px) {

    .vietcall-content-widget {
        margin-top: 20px;
    }

    .vietcall-card-title {
        width: calc(100% + 32px);

        margin-left: -16px;
        margin-right: -16px;

        padding: 9px 18px;
    }
}


/* ============================================================
   Correct spacing around card titles
   ============================================================ */

/*
   SPACE A:
   Clear gap between site header and the top of the cards
*/
.vietcall-card-row {
    margin-top: 5px !important;
}


/*
   Remove previous per-card top spacing.
   The row now controls the space above both cards.
*/
.vietcall-content-widget {
    margin-top: 0 !important;
}


/*
   SPACE B:
   Small gap between card title and first entry
*/
.vietcall-card-title {
    margin-bottom: 5px !important;
}


/*
   Remove additional padding that was adding
   unnecessary space below the card title
*/
.vietcall-entry-list {
    padding-top: 0 !important;
}

/* Desktop split-column spacing */
.vietcall-card-row {
    --widget-gap: 4px !important;
}

.vietcall-card-row {
    margin-left: -10px !important;
    margin-right: -10px !important;
    --widget-gap: 4px !important;
}


/* Mobile: slightly smaller gap above cards */
@media (max-width: 700px) {

    .vietcall-card-row {
        margin-top: 22px !important;
        row-gap: 8px !important;
    }

    .vietcall-content-widget {
        margin-top: 0 !important;
    }

    .vietcall-content-widget + .vietcall-content-widget {
        margin-top: 8px !important;
    }

    .vietcall-card-title {
        margin-bottom: 5px !important;
    }
}

