@import url('/assets/fonts/google-sans.css');

:root {
    /* Google Material Palette mapped to luyenthivstep.vn Brand Orange */
    --brand-hsl: 21, 96%, 47%;
    /* #eb5505 - Signature VSTEP Orange */
    --brand: hsl(var(--brand-hsl));
    --brand-light: hsl(21, 100%, 96%);
    /* Pastel Orange background */
    --brand-dark: #c2410c;

    /* Fonts - Authentic Google Sans stack with highly optimized system fallbacks */
    --font-heading: "Google Sans", "Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: "Google Sans Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Integrate with Bootstrap natively */
    --bs-body-font-family: var(--font-body);
    --bs-body-line-height: 1.625;
    --bs-heading-font-family: var(--font-heading);
    --bs-link-decoration: none;
    --bs-link-hover-decoration: none;

    /* Shadows - Organic Material depth */
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    --shadow-google-card: 0 6px 10px 4px rgba(60, 64, 67, .15), 0 2px 3px 0 rgba(60, 64, 67, .3);

    /* Roundings - Authentic Material curves */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-full: 100px;
    /* Capsule buttons */

    --transition-material: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1080px;
    --header-container-width: 1340px;
    /* Expanded limit to prevent menu from wrapping into 2 lines */
}

/* Global Link Overrides */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Custom Brand Color Utilities (Avoids overriding Bootstrap defaults) */
.text-brand {
    color: var(--brand) !important;
}

.bg-brand {
    background-color: var(--brand) !important;
}

.bg-brand-light {
    background-color: var(--brand-light) !important;
}

.text-brand-light {
    color: var(--brand-light) !important;
}

/* Typography Utilities */
.hero-title {
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.max-w-600 {
    max-width: 600px;
}

/* Icon Box Utilities */
.icon-box-lg {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-box-md {
    width: 48px;
    height: 48px;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Image & Effect Utilities */
.hero-img-perspective {
    transform: perspective(800px) rotateY(-10deg) rotateX(4deg) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-img-perspective:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.drop-shadow-lg {
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.img-hover-float {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.img-hover-float:hover {
    transform: translateY(-6px);
}

.img-cover-350 {
    object-fit: cover;
    max-height: 350px;
    width: 100%;
}

.img-cover-500 {
    object-fit: cover;
    max-height: 500px;
}

.img-cover-48 {
    object-fit: cover;
    width: 48px;
    height: 48px;
}

.article-text {
    line-height: 1.8;
    font-size: 1.1rem;
}

.card-title-lg {
    font-size: 1.1rem;
    line-height: 1.4;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Background Blurs & Overlays */
.bg-blur-brand-hero {
    width: 500px;
    height: 500px;
    filter: blur(120px);
    background-color: rgba(235, 85, 5, 0.15);
    border-radius: 50%;
}

.bg-blur-primary-hero {
    width: 400px;
    height: 400px;
    filter: blur(100px);
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
}

.img-gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
}

.testimonial-bg-gradient {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

/* Brand List Utilities */
.list-brand {
    list-style: none;
    padding-left: 0;
}

.list-brand li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.list-brand li::before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: var(--brand);
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 0.85em;
    transform: translateY(-50%);
}

/* Badges */
.badge-brand-light {
    background-color: var(--brand-light) !important;
}

.text-brand-dark {
    color: var(--brand-dark) !important;
}

.bg-brand-dark {
    background-color: var(--brand-dark) !important;
}

.link-brand {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.link-brand:hover,
.link-brand:focus {
    color: var(--brand-dark);
    text-decoration: none;
}

/* Brand Border Utilities */
.border-brand {
    border-color: var(--brand) !important;
}

.border-brand-light {
    border-color: var(--brand-light) !important;
}

.border-brand-dark {
    border-color: var(--brand-dark) !important;
}

.text-gradient-brand {
    background: linear-gradient(90deg, #eb5505, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Brand Table Utilities */
.table-brand-light {
    --bs-table-bg: var(--brand-light);
    color: var(--bs-body-color);
}

/* Custom VSTEP Schedule Table Component */
.table-vstep {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(235, 85, 5, 0.04);
    --bs-table-striped-color: inherit;
    border-color: #f1f5f9;
}

.table-vstep thead {
    background-color: var(--brand-light) !important;
}

.table-vstep thead th {
    background-color: var(--brand-light) !important;
    color: var(--brand-dark) !important;
    padding: 14px 12px;
    font-weight: 700;
    border: none;
}

/* Brand Accordion Utilities */
.accordion-button {
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.accordion-button:hover {
    color: var(--brand) !important;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--brand) !important;
    background-color: transparent !important;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23eb5505'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-flush .accordion-item {
    border-bottom: 1px solid #f1f5f9;
}

.accordion-flush .accordion-button {
    background-color: transparent !important;
    padding: 1.25rem 0.5rem;
}

.accordion-flush .accordion-button:hover {
    color: var(--brand) !important;
    background-color: transparent !important;
}

/* Brand SVG Icon Utilities */
.fill-brand {
    fill: var(--brand) !important;
}

.fill-brand-light {
    fill: var(--brand-light) !important;
}

.fill-brand-dark {
    fill: var(--brand-dark) !important;
}

.stroke-brand {
    stroke: var(--brand) !important;
}

.stroke-brand-light {
    stroke: var(--brand-light) !important;
}

.stroke-brand-dark {
    stroke: var(--brand-dark) !important;
}

/* Brand Buttons */
.btn-brand {
    color: #fff;
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active,
.btn-brand.active {
    color: #fff;
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn-outline-brand {
    color: var(--brand);
    border-color: var(--brand);
    background-color: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus,
.btn-outline-brand:active,
.btn-outline-brand.active {
    color: #fff;
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-brand-light {
    color: var(--brand);
    background-color: transparent;
    border-color: var(--brand);
}

.btn-brand-light:hover,
.btn-brand-light:focus,
.btn-brand-light:active,
.btn-brand-light.active {
    color: var(--brand);
    background-color: var(--brand-light);
    border-color: var(--brand);
}

/* Reading Progress Bar - Positioned dynamically at the bottom edge of sticky header */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10;
}

.progress-bar {
    height: 3px;
    background: var(--brand);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Google Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bs-border-color);
    height: 64px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--header-container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 0.25rem;
    /* Compact gap to ensure elegant fit */
    align-items: center;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    /* Prevent list from ever splitting into 2 lines on desktop */
}

.main-nav li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.92rem;
    /* Slightly refined for premium spacing */
    color: var(--bs-secondary-color);
    padding: 8px 12px;
    /* Elegant padding */
    border-radius: var(--radius-sm);
    transition: var(--transition-material);
    display: block;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--brand-light);
    color: var(--brand);
}

.nav-link.active {
    color: var(--brand);
    background: var(--brand-light);
}

.article-header {
    max-width: 860px;
    /* Expanded header width (from 650px) to prevent title from feeling cramped */
    margin: 0 auto 32px auto;
}

/* Unified Brand Breadcrumb */
.breadcrumb {
    --bs-breadcrumb-divider: "\F285";
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--bs-secondary-color);
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--brand);
}

.breadcrumb-item.active {
    color: var(--bs-secondary-color);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-family: bootstrap-icons !important;
    color: #cbd5e1;
    font-size: 0.75rem;
    line-height: 1;
    float: none;
    display: block;
    margin-top: 2px;
}

.article-header h1 {
    font-size: 56px;
    /* Google standard H1 desktop size */
    font-weight: 700;
    /* Bolder editorial weight */

    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
    /* Sleek letter spacing for modern look */
}

/* Cover Image / Video */
.article-cover {
    margin-bottom: 48px;
    width: 100%;
}

.article-cover video,
.article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
    /* 16px */
    display: block;
}

/* Removed .article-body-layout in favor of Bootstrap grid */

.share-bar-left {
    position: sticky;
    top: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: max-content;
    z-index: 10;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition-material);
}

.share-btn:hover {
    transform: scale(1.15) translateY(-2px);
}

.share-bar-left .share-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#copyLinkBtn:hover {
    color: var(--brand);
}


/* Share Toast Message Popup */
.share-toast {
    position: absolute;
    left: 50px;
    background: var(--brand);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.share-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Contact Toast Message Popup */
.contact-toast {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--brand);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    pointer-events: none;
}

#phoneBtn:hover .contact-toast {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Phone Button Style to match Copy Link */
#phoneBtn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 0;
}

#phoneBtn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#phoneBtn:hover {
    background: transparent;
}

/* Table of Contents (TOC) link utility */
.toc-link {
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.toc-link:hover,
.toc-link:focus {
    color: var(--brand);
}

/* Google blockquote */
.post-content blockquote {
    background: var(--bs-gray-100);
    border-left: 4px solid var(--brand);
    padding: 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 40px 0;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;

    line-height: 32px;
    font-style: normal;
    letter-spacing: -0.5px;
}

.post-content blockquote .quote-author {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;

    margin-top: 16px;
    letter-spacing: 0.5px;
}

.post-content blockquote .quote-role {
    font-size: 14px;
    color: var(--bs-secondary-color);
}

/* Interactive Media Carousel Component */
.media-carousel-container {
    margin: 48px 0;
    width: 100%;
    position: relative;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid var(--bs-border-color);
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.carousel-slide-video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    position: relative;
}

.carousel-slide-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    padding: 16px 24px;
    background: #ffffff;
    border-top: 1px solid var(--bs-border-color);
    font-size: 14px;
    color: var(--bs-secondary-color);
    font-style: italic;
    text-align: center;
}

/* Carousel Control Arrows */
.carousel-btn {
    position: absolute;
    top: calc(50% - 28px);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color);
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-material);
}

.carousel-btn:hover {
    background: #f1f3f4;

    box-shadow: var(--shadow-md);
}

.carousel-btn.btn-prev {
    left: -24px;
}

.carousel-btn.btn-next {
    right: -24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: #dadce0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-material);
}

.carousel-dot.active {
    background: var(--brand);
    width: 24px;
    /* Pill active state */
}

/* Generic Hover Lift Utility */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
}

/* Material You Callout Card */
.material-cta-card {
    background: var(--brand-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid hsla(var(--brand-hsl), 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.material-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.material-cta-card .cta-card-content {
    flex: 1;
}

.material-cta-card .cta-card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.material-cta-card .cta-card-content p {
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0;
    line-height: 1.5;
}

.material-cta-card .cta-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}


/* Callout Cards (Testimonial, Notice, Alert, etc.) */
.callout-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--bs-gray-400);
    /* Default neutral border */
}

.callout-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.callout-card .avatar-sm {
    border-radius: 50%;
}

/* Callout Variants */
.callout-brand {
    border-left-color: var(--brand);
}

.callout-brand .avatar-sm {
    box-shadow: 0 0 0 3px var(--brand-light);
}

.callout-primary {
    border-left-color: var(--bs-primary);
}

.callout-warning {
    border-left-color: var(--bs-warning);
}

.callout-info {
    border-left-color: var(--bs-info);
}

.callout-success {
    border-left-color: var(--bs-success);
}

.callout-danger {
    border-left-color: var(--bs-danger);
}

.callout-flat {
    border-radius: 0;
}

.callout-filled {
    box-shadow: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.callout-filled:hover {
    box-shadow: none;
    transform: none;
}

.callout-filled.callout-brand {
    background-color: var(--brand-light);
}

.callout-filled.callout-primary {
    background-color: rgba(13, 110, 253, 0.1);
}

.callout-filled.callout-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.callout-filled.callout-info {
    background-color: rgba(13, 202, 240, 0.1);
}

.callout-filled.callout-success {
    background-color: rgba(25, 135, 84, 0.1);
}

.callout-filled.callout-danger {
    background-color: rgba(220, 53, 69, 0.1);
}


/* Removed .section-highlight - replaced by Callout Flat */







/* Article Tags */
.article-tags {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-btn {
    background: #f1f3f4;
    color: var(--bs-secondary-color);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-material);
}

.tag-btn:hover {
    background: var(--brand-light);
    color: var(--brand);
}

/* Related articles section under post */
.related-section {
    padding: 64px 0;
    border-top: 1px solid var(--bs-border-color);
    overflow: hidden;
    width: 100%;
}

.related-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.related-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 32px;
    text-align: left;

    letter-spacing: -0.8px;
}

/* Related Stories Carousel Grid */
.related-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.related-track {
    display: flex;
    gap: 24px;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 5px 20px 5px;
}

.google-article-card {
    flex: 0 0 calc((100% - 48px) / 3);
    /* Shows exactly 3 cards on desktop */
    background: #ffffff;
    border-radius: var(--radius-md);
    /* 16px */
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    transition: var(--transition-material);
    display: flex;
    flex-direction: column;
}

.google-article-card:hover {
    box-shadow: var(--shadow-google-card);
    transform: translateY(-4px);
}

.google-article-card:hover .link-brand {
    color: var(--brand-dark);
}

.google-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.google-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: bottom center;
    transition: var(--transition-material);
}

.google-article-card:hover .google-card-img img {
    transform: scale(1.03);
}

.google-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.google-card-body h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    letter-spacing: -0.3px;
}

.google-card-body h4 a {}

.google-card-body h4 a:hover {
    color: var(--brand);
}

.google-card-meta {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.google-card-meta .meta-left {
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.google-card-meta .meta-right {
    color: var(--bs-secondary-color);
}

/* Related Carousel Arrows */
.related-btn {
    position: absolute;
    top: calc(50% + 20px - 28px);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary-color);
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-material);
}

.related-btn:hover {
    background: #f1f3f4;

    box-shadow: var(--shadow-md);
}

.related-btn.related-prev {
    left: -12px;
}

.related-btn.related-next {
    right: -12px;
}

.related-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.related-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: #dadce0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-material);
}

.related-dot.active {
    background: var(--brand);
    width: 24px;
}

/* Extremely Minimalist Google-Style Blog Footer */
.site-footer {
    background: var(--bs-gray-100);

    padding: 40px 0;
    border-top: 1px solid var(--bs-border-color);
    font-size: 0.88rem;
}

.footer-container {
    max-width: var(--header-container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-brand-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand);
}

.footer-brand-desc {
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
    max-width: 320px;
    border-left: 1px solid var(--bs-border-color);
    padding-left: 16px;
    line-height: 1.4;
}

/* Horizontal Clean Links list */
.footer-links-side {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links-side a {
    color: var(--bs-secondary-color);
    font-weight: 500;
    transition: var(--transition-material);
    white-space: nowrap;
}

.footer-links-side a:hover {
    color: var(--brand);
}

/* Social Contacts List */
.footer-social-side {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social-side a {
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    transition: var(--transition-material);
}

.footer-social-side a:hover {
    color: var(--brand);
    background: var(--brand-light);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-row-bottom {
    border-top: 1px solid var(--bs-border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
}

.footer-legal-text {
    max-width: 600px;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .google-article-card {
        flex: 0 0 calc((100% - 24px) / 2);
        /* Shows 2 cards on tablets */
    }
}

@media (max-width: 768px) {
    .article-body-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .toc-sidebar-right {
        display: none;
        /* Hide TOC on mobile for now, or could show inline */
    }

    .share-bar-left {
        flex-direction: row;
        position: static;
        justify-content: center;
        margin-bottom: 16px;
    }

    .share-toast {
        left: auto;
        bottom: 50px;
        transform: translateY(10px);
    }

    .share-toast.show {
        transform: translateY(0);
    }

    .article-header h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn.btn-prev {
        left: 4px;
    }

    .carousel-btn.btn-next {
        right: 4px;
    }

    .material-cta-card {
        flex-direction: column;
        padding: 24px;
        text-align: center;
        gap: 16px;
    }
}

.google-hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-left-column {
    text-align: left;
}

.hero-right-column {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.google-hero-container h1 {
    font-size: 3rem;
    font-weight: 500;

    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.google-hero-container h1 span {
    color: var(--brand);
    font-weight: 700;
}

.google-hero-container p {
    font-size: 1.05rem;
    color: var(--bs-secondary-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.google-search-bar {
    display: flex;
    background: #f1f3f4;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    border-radius: var(--radius-full);
    max-width: 520px;
    align-items: center;
    transition: var(--transition-material);
    border: 1px solid transparent;
}

.google-search-bar:focus-within {
    background: white;
    border-color: var(--brand);
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.google-search-bar input {
    flex: 1;
    padding: 0.75rem 0;
    font-size: 1rem;

    background: transparent;
    border: none;
    outline: none;
}

.google-search-bar button {
    background: var(--brand);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-material);
    border: none;
}

.google-search-bar button:hover {
    background: var(--brand-dark);
}

.main-grid-layout {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: grid;
    grid-template-columns: 2.15fr 0.85fr;
    gap: 3.5rem;
}

.google-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.filters-section {
    border-bottom: 1px solid var(--bs-border-color);
    background: white;
    position: sticky;
    top: 64px;
    z-index: 90;
}

.filters-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.category-list {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--bs-border-color);
    background: white;
    font-size: 0.88rem;
    color: var(--bs-secondary-color);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-material);
}

.filter-btn:hover {
    background: #f1f3f4;

}

.filter-btn.active {
    background: var(--brand-light);
    color: var(--brand);
    border-color: transparent;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    margin-bottom: 8px;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.read-more-btn:hover {
    color: var(--brand-dark);
}

.read-more-btn svg {
    transition: transform 0.2s;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

.sidebar-widget {
    background: var(--bs-gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--bs-border-color);
    margin-bottom: 2.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;

    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.google-cta-widget {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: white;
    border: none;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2.5rem;
}

.google-cta-widget h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.google-cta-widget p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}





@media (max-width: 992px) {
    .main-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .google-hero-section {
        padding: 3rem 0;
    }

    .google-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-left-column {
        text-align: center;
    }

    .google-hero-container h1 {
        font-size: 2.4rem;
    }

    .google-search-bar {
        margin: 0 auto;
    }

    .google-grid {
        grid-template-columns: 1fr;
    }

    .filters-section {
        position: relative;
        top: 0;
    }

    .filters-container {
        flex-direction: column;
        height: auto;
        padding: 12px 24px;
        gap: 12px;
    }

    .category-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border: 1px solid var(--bs-border-color);
    background-color: #ffffff;
    color: var(--bs-secondary-color);
    cursor: pointer;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-material);
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.filters-section {
    border-bottom: 1px solid var(--bs-border-color);
    background: white;
    position: sticky;
    top: 64px;
    z-index: 90;
}

.filters-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.category-list {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--bs-border-color);
    background: white;
    font-size: 0.88rem;
    color: var(--bs-secondary-color);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-material);
}

.filter-btn:hover {
    background: #f1f3f4;

}

.filter-btn.active {
    background: var(--brand-light);
    color: var(--brand);
    border-color: transparent;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    margin-bottom: 8px;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.read-more-btn:hover {
    color: var(--brand-dark);
}

.read-more-btn svg {
    transition: transform 0.2s;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

.sidebar-widget {
    background: var(--bs-gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--bs-border-color);
    margin-bottom: 2.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;

    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.google-cta-widget {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: white;
    border: none;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2.5rem;
}

.google-cta-widget h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.google-cta-widget p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}





@media (max-width: 992px) {
    .main-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .google-hero-section {
        padding: 3rem 0;
    }

    .google-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-left-column {
        text-align: center;
    }

    .google-hero-container h1 {
        font-size: 2.4rem;
    }

    .google-search-bar {
        margin: 0 auto;
    }

    .google-grid {
        grid-template-columns: 1fr;
    }

    .filters-section {
        position: relative;
        top: 0;
    }

    .filters-container {
        flex-direction: column;
        height: auto;
        padding: 12px 24px;
        gap: 12px;
    }

    .category-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border: 1px solid var(--bs-border-color);
    background-color: #ffffff;
    color: var(--bs-secondary-color);
    cursor: pointer;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-material);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.filters-section.is-sticky {
    background: white;
    position: sticky;
    top: 64px;
    z-index: 90;
}

.filters-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}

.category-list {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--bs-border-color);
    background: white;
    font-size: 0.88rem;
    color: var(--bs-secondary-color);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-material);
}

.filter-btn:hover {
    background: #f1f3f4;

}

.filter-btn.active {
    background: var(--brand-light);
    color: var(--brand);
    border-color: transparent;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    margin-bottom: 8px;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.read-more-btn:hover {
    color: var(--brand-dark);
}

.read-more-btn svg {
    transition: transform 0.2s;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

.sidebar-widget {
    background: var(--bs-gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--bs-border-color);
    margin-bottom: 2.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;

    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.google-cta-widget {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: white;
    border: none;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2.5rem;
}

.google-cta-widget h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.google-cta-widget p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}





@media (max-width: 992px) {
    .main-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .google-hero-section {
        padding: 3rem 0;
    }

    .google-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-left-column {
        text-align: center;
    }

    .google-hero-container h1 {
        font-size: 2.4rem;
    }

    .google-search-bar {
        margin: 0 auto;
    }

    .google-grid {
        grid-template-columns: 1fr;
    }

    .filters-section {
        position: relative;
        top: 0;
    }

    .filters-container {
        flex-direction: column;
        height: auto;
        padding: 12px 24px;
        gap: 12px;
    }

    .category-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border: 1px solid var(--bs-border-color);
    background-color: #ffffff;
    color: var(--bs-secondary-color);
    cursor: pointer;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-material);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--brand-light);
    color: var(--brand);
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ==========================================================================
   VSTEP SPEAKING PREMIUM POST COMPONENTS (PART 1, 2, 3)
   ========================================================================== */

/* Author and Meta Styles */
.author-meta-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}



.meta-details-column {
    display: flex;
    flex-direction: column;
}

.author-name-text {
    font-weight: 700;

    font-size: 0.95rem;
}

.pub-date-text {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    margin-top: 2px;
}

/* Article Layout & Media */
.article-figure-cover {
    margin: 0 0 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-figure-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.reading-lead-paragraph {
    font-size: 20px;
    line-height: 30px;

    font-weight: 400;
    margin-bottom: 32px;
}

/* Left Sticky Share Bar */
.sticky-share-bar-left {
    width: 50px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 180px;
    height: fit-content;
    flex-shrink: 0;
}

.share-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--bs-border-color);
    background: white;
    color: var(--bs-secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-material);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.share-circle-btn:hover {
    color: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
}

.share-circle-btn.messenger:hover {
    color: #00B2FF;
    border-color: #00B2FF;
}

.share-tooltip-toast {
    position: absolute;
    left: 55px;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

/* Quick Navigation Capsules */
.quick-nav-block {
    background: var(--bs-gray-200);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 40px;
}

.quick-nav-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;

    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-nav-title svg {
    color: var(--brand);
}

.quick-nav-flex-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-nav-capsule {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);

    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-material);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.quick-nav-capsule:hover {
    background-color: var(--brand-light) !important;
    color: var(--brand) !important;
    border-color: var(--brand) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Main Content & Section Styling */
.main-reading-column {
    flex: 1;
    min-width: 0;
}

.speaking-post-content {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;

}

/* Topic Headers */
.speaking-topic-header {
    margin-top: 50px;
    border-bottom: 2px solid var(--bs-border-color);
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 1.5rem;

    display: flex;
    align-items: center;
    gap: 12px;
}

.speaking-topic-number {
    background: var(--brand);
    color: #fff;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Topic Mindmap Image wrapper */
.topic-mindmap-card {
    margin: 24px 0;
    text-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bs-border-color);
    background: #fdfdfd;
    padding: 8px;
}

.topic-mindmap-card img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

/* Level Sections */
.level-b1-block {
    margin-top: 30px;
}

.level-b2-block {
    margin-top: 40px;
    border-top: 1px dashed var(--bs-border-color);
    padding-top: 30px;
}

.level-header-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.level-header-title.b1 {
    color: var(--bs-primary);
}

.level-header-title.b2 {
    color: var(--brand-dark);
}

.level-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.level-badge {
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.level-badge.b1 {
    background: var(--bs-primary);
}

.level-badge.b2 {
    background: var(--brand);
}

/* Premium Audio Players */
.audio-card-wrapper {
    background: var(--bs-gray-100);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.audio-card-circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.audio-card-circle-icon.b1 {
    background: var(--bs-primary);
}

.audio-card-circle-icon.b2 {
    background: var(--brand);
}

.audio-card-info {
    flex: 1;
    min-width: 200px;
}

.audio-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;

}

.audio-card-subtitle {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}

.audio-card-player {
    width: 100%;
    max-width: 320px;
    height: 36px;
}

/* Sample Answer Q&A Box */
.sample-answer-block {
    margin-bottom: 24px;
}

.sample-answer-english {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 12px;

    background: var(--bs-gray-200);
}

.sample-answer-english.b1 {
    border-left: 3px solid var(--bs-primary);
}

.sample-answer-english.b2 {
    border-left: 3px solid var(--brand);
}

.sample-answer-translation {
    font-style: italic;

    font-size: 0.95rem;
    padding-left: 16px;
    border-left: 3px solid var(--bs-border-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Vocabulary Box styling */
.speaking-vocab-focus-box {
    background: var(--brand-light);
    border: 1px solid hsla(var(--brand-hsl), 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.speaking-vocab-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.speaking-vocab-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.speaking-vocab-item {
    font-size: 0.95rem;
    line-height: 1.5;

    list-style: none !important;
    display: block;
}

.speaking-vocab-word {
    color: var(--brand-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.speaking-vocab-type {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
}

.speaking-vocab-ipa {
    background: rgba(235, 85, 5, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--brand-dark);
    font-family: monospace;
    font-size: 0.85rem;
    margin: 0 4px;
}

.speaking-vocab-meaning {
    font-weight: 500;
}

/* Premium Material CTA Practice Card */
.material-cta-practice-card {
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    border-radius: var(--radius-md);
    padding: 32px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: var(--shadow-google-card);
    margin: 40px 0;
}

.cta-practice-card-content {
    flex: 1;
    min-width: 280px;
}

.cta-practice-card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.cta-practice-card-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cta-practice-button {
    background: white;
    color: #1a73e8;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition-material);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.cta-practice-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Writing Specific Premium Post Components */
.writing-prompt-card {
    background-color: var(--bs-gray-100);
    border-left: 4px solid var(--brand);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 20px 0;
}

.writing-prompt-title {
    margin-top: 0;
    font-weight: 600;

}

.writing-prompt-text {
    font-style: italic;
    color: var(--bs-secondary-color);
}

.writing-sample-answer {
    background: var(--bs-gray-200);
    padding: 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
}

/* Subtopic & Question Elements (Speaking Part 1 & Part 2) */
.speaking-subtopic-block {
    margin-bottom: 16px;
}

.speaking-subtopic-title {
    margin-bottom: 8px;
    font-weight: 600;

}

.speaking-subtopic-list {
    padding-left: 20px;
    list-style-type: disc !important;
}

.speaking-subtopic-item {
    margin-bottom: 4px;
    list-style: disc !important;
    list-style-type: disc !important;
}

.speaking-subtopic-translation {
    color: var(--bs-secondary-color);
    font-style: italic;
}

/* Sample Q&A items */
.sample-qa-item {
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--bs-border-color);
    padding-bottom: 20px;
}

.sample-qa-question {
    font-weight: 700;

    margin-bottom: 6px;
}

.sample-qa-question-translation {
    font-weight: 400;
    font-style: italic;
    color: var(--bs-secondary-color);
    display: block;
    margin-top: 2px;
}

/* Extra premium styling helpers to avoid all inline styles */
.speaking-post-content hr {
    border: 0;
    height: 1px;
    background: var(--bs-border-color);
    margin: 32px 0;
}

.speaking-post-content hr.final-divider {
    margin: 48px 0;
}

.speaking-post-content h3.sample-answer-title {
    margin-top: 24px;
}

.speaking-post-content h4.vocab-structures-title {
    margin-top: 20px;
}


/* Premium DataTables Pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 9999px !important;
    margin: 0 4px !important;
    border: 1px solid #e5e7eb !important;
    background: white !important;
    color: var(--bs-body-color) !important;
    padding: 6px 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--brand-light) !important;
    color: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--brand-dark) !important;
    color: white !important;
    border-color: var(--brand-dark) !important;
}

/* Premium Link Brand */
.btn-link-brand {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-link-brand:hover {
    color: #d04600;
    border-bottom-color: #d04600;
}

/* ========================================================= */
/* --- CONSOLIDATED POST STYLES (Migrated from inline) --- */
/* ========================================================= */
html {
    scroll-behavior: smooth;
}

.post-content h2,
.post-content h3,
.speaking-post-content h2,
.speaking-post-content h3 {
    scroll-margin-top: 130px;
}

.quick-nav-item:hover {
    background-color: var(--brand-light) !important;
    color: var(--brand) !important;
    border-color: var(--brand) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Sticky Quick Nav Bar styling */
.sticky-quick-nav-bar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    z-index: 99;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.sticky-quick-nav-bar.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-quick-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sticky-quick-nav-container::-webkit-scrollbar {
    display: none;
}

.sticky-quick-nav-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-quick-nav-links {
    display: flex;
    gap: 8px;
}

.sticky-quick-nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    background: #f3f4f6;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.sticky-quick-nav-links a:hover {
    background: var(--brand-light);
    color: var(--brand);
    border-color: var(--brand);
}

/* Elegant comparison table */
.comparison-table-container {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    vertical-align: top;
    line-height: 1.65;
}

.comparison-table thead tr {
    background-color: #f3f4f6;
}

.comparison-table thead td {
    color: #1f2937;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding: 16px 20px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: #f9fafb;
}

/* Sticky share responsive handling */
@media (max-width: 1280px) {
    .sticky-share-bar-left {
        position: static;
        flex-direction: row;
        margin-bottom: 30px;
        justify-content: flex-start;
    }
}


.list-brand,
.article-text ul:not([class]) {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 8px;
    margin-bottom: 22px;
}

.list-brand li,
.article-text ul:not([class]) li {
    margin-bottom: 12px;
    line-height: 1.8;
    position: relative;
    padding-left: 24px;
}

/* Brand-Orange Custom Bullet Points */
ul.list-brand li::before,
.article-text ul:not([class]) li::before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: var(--brand);
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 0.85em;
    transform: translateY(-50%);
}

/* Elegant blue block */
.highlight-blue-box {
    background-color: #f0f9ff;
    border-left: 4px solid #0284c7;
    padding: 20px;
    border-radius: 4px 8px 8px 4px;
    margin: 28px 0;
}

.highlight-blue-box-title {
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================================= */
/* --- HOMEPAGE STYLES --- */
/* ========================================================= */

.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff2eb 100%);
    border-bottom: 1px solid #e5e7eb;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;

    margin-bottom: 24px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
}

/* Post Navigation */
.post-nav-btn {
    font-weight: 500;
}

.post-nav-btn-prev {
    color: #4b5563 !important;
}

/* Social Icons */
.list-social-icon {
    width: 18px;
    height: 18px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-social-icon:hover,
a:hover .list-social-icon {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* --- Brand Button Variants --- */
.btn-brand,
.btn-outline-brand,
.btn-brand-light {
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-border-radius: 50rem;
    font-weight: 500;
}

.btn-brand {
    color: white;
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
    color: white !important;
    background-color: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
    box-shadow: var(--shadow-sm);
}

.btn-brand:disabled,
.btn-brand.disabled {
    color: white;
    background-color: var(--brand);
    border-color: var(--brand);
    opacity: 0.65;
}

.btn-outline-brand {
    color: var(--brand);
    border-color: var(--brand);
    background-color: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus,
.btn-outline-brand:active {
    color: white !important;
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-outline-brand:disabled,
.btn-outline-brand.disabled {
    color: var(--brand);
    background-color: transparent;
    opacity: 0.65;
}

.btn-brand-light {
    color: var(--brand);
    background-color: transparent;
    border-color: var(--brand);
}

.btn-brand-light:hover,
.btn-brand-light:focus,
.btn-brand-light:active {
    color: var(--brand) !important;
    background-color: var(--brand-light) !important;
    border-color: var(--brand) !important;
}

.btn-brand-light:disabled,
.btn-brand-light.disabled {
    color: var(--brand);
    background-color: transparent;
    border-color: var(--brand);
    opacity: 0.65;
}

/* --- FAQ Accordion Customization --- */
.accordion-flush {
    --bs-accordion-active-color: var(--brand);
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23eb5505'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-flush .accordion-button {
    font-weight: 600;
    padding: 1.25rem 0;
    color: var(--bs-secondary-color);
    transition: color 0.2s ease-in-out;
}

.accordion-flush .accordion-button:hover {
    color: var(--brand-dark);
}

.accordion-flush .accordion-button:not(.collapsed) {
    color: var(--brand-dark);
    box-shadow: none;
    background-color: transparent;
}

.accordion-flush .accordion-body {
    padding: 0 0 1.5rem 0;
    color: #4b5563;
    line-height: 1.6;
}


/* Documentation Layout */
body.docs-page {
    background-color: #fafafa;
}

.docs-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
}

.docs-sidebar {
    width: 280px;
    position: sticky;
    top: 90px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-right: 32px;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.docs-main {
    flex-grow: 1;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.docs-section {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.docs-section-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

/* Account Dashboard Layout */
.account-nav .nav-link {

    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-weight: 500;
    transition: var(--transition-material);
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-nav .nav-link:hover {
    background-color: #f3f4f6;
    color: var(--brand);
}

.account-nav .nav-link.active {
    background-color: var(--brand-light);
    color: var(--brand);
    font-weight: 600;
}

.stat-card {
    background: white;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-material);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.25rem rgba(235, 85, 5, 0.25);
}

/* Card Hover Animation */
.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

/* Google Footer Component Styles */
.google-footer {
    background-color: #f8f9fa;
    color: #5f6368;
    font-size: 14px;
    border-top: 1px solid #dadce0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.google-footer .footer-links a,
.google-footer .global-links a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s ease;
}

.google-footer .footer-links a:hover,
.google-footer .global-links a:hover {
    color: #eb5505;
}

.google-footer .footer-title {
    color: #3c4043;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 20px;
}

.google-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.google-footer .footer-links li {
    margin-bottom: 14px;
}

.google-footer .social-row {
    border-bottom: 1px solid #dadce0;
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.google-footer .social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-footer .social-icon:hover {
    opacity: 1;
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.google-footer .global-bar {
    border-top: 1px solid #dadce0;
    padding: 24px 0 16px 0;
    margin-top: 48px;
}

.google-footer .global-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.google-footer .global-links li {
    margin-right: 32px;
}

.google-footer .global-links li:last-child {
    margin-right: 0;
}

/* Extracted from index.html */

.navbar {
    min-height: 76px;
    backdrop-filter: blur(12px);
}

.navbar-brand-img {
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand {
    min-height: 44px;
}

.navbar .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #374151;
    transition: .18s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #eb5505;
}

.navbar .btn-warning {
    background: #eb5505;
    border-color: #eb5505;
    color: #fff;
}

.navbar .btn-warning:hover {
    background: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

.dropdown-item {
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f9fafb;
}


@keyframes float-1 {
    0% {
        transform: translateY(0px) translate(-50%, -50%);
    }

    50% {
        transform: translateY(-12px) translate(-50%, -50%);
    }

    100% {
        transform: translateY(0px) translate(-50%, -50%);
    }
}

@keyframes float-2 {
    0% {
        transform: translateY(0px) translateY(-50%);
    }

    50% {
        transform: translateY(12px) translateY(-50%);
    }

    100% {
        transform: translateY(0px) translateY(-50%);
    }
}

.hero-float-1 {
    animation: float-1 4s ease-in-out infinite;
}

.hero-float-2 {
    animation: float-2 5s ease-in-out infinite reverse;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(235, 85, 5, 0.2) !important;
}

.btn-outline-dark:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) !important;
}


.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.bg-primary-soft {
    background-color: rgba(235, 85, 5, 0.1);
}


.text-gradient {
    background: linear-gradient(135deg, #eb5505 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tracking-wide {
    letter-spacing: 1.5px;
}

@media (min-width: 768px) {
    .stat-col:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20%;
        right: 0;
        height: 60%;
        width: 1px;
        background-color: #e5e7eb;
    }
}

@media (max-width: 767px) {
    .stat-col:nth-child(odd)::after {
        content: '';
        position: absolute;
        top: 20%;
        right: 0;
        height: 60%;
        width: 1px;
        background-color: #e5e7eb;
    }

    .stat-col {
        margin-bottom: 2rem;
    }
}


.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

/* Hai lớp mờ ở 2 mép để tạo cảm giác chìm dần */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
    gap: 5rem;
    padding-left: 5rem;
}

/* Tạm dừng khi rê chuột */
.marquee-content:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 45px;
    /* Kích thước nhỏ & đồng bộ */
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.partner-logo:hover {
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2.5rem));
    }
}

@media (max-width: 768px) {
    .partner-logo {
        height: 32px;
    }

    .marquee-content {
        gap: 3rem;
        padding-left: 3rem;
        animation-duration: 30s;
    }

    @keyframes scroll-marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 1.5rem));
        }
    }

    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 50px;
    }
}


.navbar {
    min-height: 76px;
    backdrop-filter: blur(12px);
}

.navbar-brand-img {
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand {
    min-height: 44px;
}

.navbar .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #374151;
    transition: .18s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #eb5505;
}

.navbar .btn-warning {
    background: #eb5505;
    border-color: #eb5505;
    color: #fff;
}

.navbar .btn-warning:hover {
    background: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

.dropdown-item {
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f9fafb;
}


@keyframes float-1 {
    0% {
        transform: translateY(0px) translate(-50%, -50%);
    }

    50% {
        transform: translateY(-12px) translate(-50%, -50%);
    }

    100% {
        transform: translateY(0px) translate(-50%, -50%);
    }
}

@keyframes float-2 {
    0% {
        transform: translateY(0px) translateY(-50%);
    }

    50% {
        transform: translateY(12px) translateY(-50%);
    }

    100% {
        transform: translateY(0px) translateY(-50%);
    }
}

.hero-float-1 {
    animation: float-1 4s ease-in-out infinite;
}

.hero-float-2 {
    animation: float-2 5s ease-in-out infinite reverse;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(235, 85, 5, 0.2) !important;
}

.btn-outline-dark:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) !important;
}


.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.bg-primary-soft {
    background-color: rgba(235, 85, 5, 0.1);
}


.text-gradient {
    background: linear-gradient(135deg, #eb5505 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tracking-wide {
    letter-spacing: 1.5px;
}

@media (min-width: 768px) {
    .stat-col:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20%;
        right: 0;
        height: 60%;
        width: 1px;
        background-color: #e5e7eb;
    }
}

@media (max-width: 767px) {
    .stat-col:nth-child(odd)::after {
        content: '';
        position: absolute;
        top: 20%;
        right: 0;
        height: 60%;
        width: 1px;
        background-color: #e5e7eb;
    }

    .stat-col {
        margin-bottom: 2rem;
    }
}


.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

/* Hai lớp mờ ở 2 mép để tạo cảm giác chìm dần */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
    gap: 5rem;
    padding-left: 5rem;
}

/* Tạm dừng khi rê chuột */
.marquee-content:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 45px;
    /* Kích thước nhỏ & đồng bộ */
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.partner-logo:hover {
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2.5rem));
    }
}

@media (max-width: 768px) {
    .partner-logo {
        height: 32px;
    }

    .marquee-content {
        gap: 3rem;
        padding-left: 3rem;
        animation-duration: 30s;
    }

    @keyframes scroll-marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 1.5rem));
        }
    }

    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 50px;
    }
}


#contact-buttons .contact-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

#contact-buttons .contact-btn:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

/* Announcement Bar - Premium Gradient */
.announcement-bar {
    background: linear-gradient(90deg, #eb5505, #ff8c00);
    padding: 12px 40px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(235, 85, 5, 0.2);
    overflow: hidden;
}

.announcement-link {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.announcement-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.announcement-link:hover .announcement-icon {
    transform: translateX(5px);
}

.announcement-bar .badge {
    animation: pulse-hot 2s infinite;
}

@keyframes pulse-hot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Blog Card & Image Zoom */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.blog-card:hover .img-hover-zoom img,
.img-hover-zoom:hover img {
    transform: scale(1.05);
}

.article-title-hover {
    transition: color 0.2s ease;
}

.article-title-hover:hover {
    color: var(--brand) !important;
}

/* Line Clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pointer-events-none {
    pointer-events: none;
}

/* Avatar Component (Added for Landing Pages & Reviews) */
.avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
}

.avatar-sm {
    width: 3.5rem;
    height: 3.5rem;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
}

/* Premium Table Styling for Landing Pages */
.premium-table th {
    border-bottom: 2px solid #e5e7eb !important;
    padding: 16px 20px !important;
    font-weight: 600;
}

.premium-table td {
    padding: 24px 20px !important;
    border-bottom: 1px solid #f3f4f6;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tbody tr {
    transition: all 0.2s ease;
}

.premium-table tbody tr:hover {
    background-color: #f9fafb;
}

.premium-table .table-primary td {
    background-color: var(--brand-light) !important;
    border-bottom: 1px solid var(--brand-light);
}


/* Premium Course Cards */
.premium-course-card {
    border: none !important;
    border-radius: 24px !important;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.premium-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    z-index: 2;
}

.card-b1::before {
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
}

.card-b2::before {
    background: linear-gradient(90deg, #36D1DC, #5B86E5);
}

.course-badge-b1 {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.course-badge-b2 {
    background: linear-gradient(135deg, #36D1DC, #5B86E5) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(54, 209, 220, 0.3);
}

.course-features li {
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features li i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-box {
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.price-box-b1 {
    background: rgba(255, 107, 107, 0.03);
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.price-box-b2 {
    background: rgba(54, 209, 220, 0.03);
    border: 1px solid rgba(54, 209, 220, 0.1);
}




/* Feature Boxes */
.features-section {
    padding: 80px 0;
    background: #ffffff;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #ffffff;
    text-align: center;
}

/* Feedback Cards */
.feedback-card {
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-material);
}

.feedback-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}


/* Premium Pagination Styles */
.pagination {
    gap: 6px;
}

.pagination .page-item .page-link {
    border-radius: 8px !important;
    margin: 0;
    border: 1px solid #e5e7eb;
    background: white;
    color: var(--text-body, #4b5563);
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pagination .page-item.active .page-link {
    background: var(--brand-orange, #eb5505) !important;
    color: white !important;
    border-color: var(--brand-orange, #eb5505) !important;
    box-shadow: 0 4px 12px rgba(235, 85, 5, 0.2);
}

.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background: var(--brand-light, #fef2eb) !important;
    color: var(--brand-orange, #eb5505) !important;
    border-color: var(--brand-orange, #eb5505) !important;
    transform: translateY(-1px);
}

.pagination .page-item.disabled .page-link {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #f3f4f6;
}

/* Document Pagination Blocks */
.doc-pagination {
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.doc-pagination:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

.doc-pagination .doc-pagination-title {
    color: var(--bs-secondary);
    transition: color 0.2s ease;
}

.doc-pagination:hover .doc-pagination-title {
    color: var(--brand);
}

.doc-pagination i {
    transition: transform 0.2s ease;
}

.doc-pagination.prev-page:hover i {
    transform: translateX(-4px);
}

.doc-pagination.next-page:hover i {
    transform: translateX(4px);
}

/* Sidebar Active Item styling for left sidebar */
.design-sidebar .nav-link,
.docs-toc .nav-link {
    color: var(--bs-secondary);
    font-size: 0.875rem;
    padding: 0.35rem 0.75rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.docs-toc .nav-link {
    margin-left: -2px;
    /* Pull back to overlap the ul border-start */
}

.design-sidebar .nav-link:hover,
.docs-toc .nav-link:hover {
    color: var(--brand);
    background-color: #f8f9fa;
}

.design-sidebar .nav-item.active>.nav-link,
.design-sidebar .nav-link.active,
.docs-toc .nav-item.active>.nav-link,
.docs-toc .nav-link.active {
    color: var(--brand);
    font-weight: 500;
    border-left-color: var(--brand);
    background-color: var(--brand-light, #fef2eb);
    border-radius: 0 4px 4px 0;
}

/* Documentation Page Layout (Replaces inline styles) */
.docs-page {
    color: #374151;
}

.docs-sidebar-left {
    width: 280px;
    height: 100vh;
    padding: 32px 24px;
    background-color: #fafafa;
    border-right: 1px solid #e5e7eb;
    flex-shrink: 0;
    margin-right: 20px;
}

.docs-sidebar-right {
    width: 240px;
    height: 100vh;
    flex-shrink: 0;
}

.sidebar-heading {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.docs-search-input {
    border-color: #eaeaea;
}

.min-w-0 {
    min-width: 0;
}

.docs-title {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}

.docs-lead {
    line-height: 1.6;
}

.docs-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
}

.docs-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    border-color: #f0f0f0 !important;
    color: #111827;
}

.docs-img-cover {
    max-height: 400px;
    object-fit: cover;
}

.docs-code-container {
    background-color: #1e293b !important;
}

.docs-code-btn {
    font-size: 0.8rem;
    border-color: rgba(255, 255, 255, 0.2);
    color: #94a3b8;
}

.docs-code-block {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #f8fafc;
}

.doc-pagination .pagination-label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Nền 1: Soft Mesh Gradient */
.bg-hero-mesh {
    background: linear-gradient(to right, rgba(235, 85, 5, 0.1) 0%, rgba(255, 230, 215, 0.3) 50%, rgba(255, 255, 255, 1) 100%);
}

/* Custom Expanded Spacing Utilities for Landing Pages */
@media (min-width: 768px) {
    .py-md-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
    .py-md-7 { padding-top: 6.5rem !important; padding-bottom: 6.5rem !important; }
}

/* ==========================================================================
   VSTEP DESIGN SYSTEM MASTER COMPONENTS
   ========================================================================== */

/* Callout Cards Component */
.callout-card {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--brand);
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease-in-out;
}

.callout-card.callout-brand {
    border-left-color: var(--brand);
}

.callout-card.callout-filled {
    background-color: var(--brand-light);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.callout-card.callout-info {
    border-left-color: #0dcaf0;
    background-color: rgba(13, 202, 240, 0.05);
}

.callout-card.callout-warning {
    border-left-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.05);
}

.callout-card.callout-danger {
    border-left-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.callout-card.callout-success {
    border-left-color: #198754;
    background-color: rgba(25, 135, 84, 0.05);
}

/* Google Article Card Component */
.google-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.google-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.google-article-card .google-card-img {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
}

.google-article-card .google-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.google-article-card:hover .google-card-img img {
    transform: scale(1.04);
}

.google-article-card .google-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.google-article-card .google-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}



/* Announcement Bar Component */
.announcement-bar {
    background: linear-gradient(90deg, #eb5505 0%, #ff7300 100%);
    color: #ffffff;
    padding: 10px 16px;
    font-size: 0.9rem;
    z-index: 1020;
}

.announcement-link {
    color: #ffffff !important;
}

.announcement-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Hero Background Blurs & Mesh */
.bg-blur-brand-hero {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(235, 85, 5, 0.2) 0%, rgba(235, 85, 5, 0) 70%);
    filter: blur(40px);
}

.bg-blur-primary-hero {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0) 70%);
    filter: blur(40px);
}

/* General Utilities & Micro-Interactions */
.hover-shadow-md {
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.hover-shadow-md:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-2px);
}

.transition-all {
    transition: all 0.2s ease-in-out !important;
}

.transition-hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

.transition-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.12) !important;
}

.hover-brand {
    transition: color 0.2s ease-in-out;
}

.hover-brand:hover {
    color: var(--brand) !important;
}

/* Responsive Mobile Header & Global Overflow Protection */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

@media (max-width: 991.98px) {
    .site-header {
        height: auto !important;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .header-container {
        flex-wrap: wrap;
        padding: 0 16px;
    }
    .main-nav.collapse:not(.show) {
        display: none !important;
    }
    .main-nav {
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #f1f5f9;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .main-nav .nav-link {
        display: block;
        padding: 8px 12px;
        border-radius: 8px;
        font-weight: 500;
    }
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        background-color: var(--brand-light);
        color: var(--brand);
    }
    .main-nav .btn-brand-light {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}