@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Text:wght@300;400;500;700&family=Google+Sans:wght@300;400;500;700&display=swap');

:root {
    /* Google Material Palette mapped to luyenthivstep.vn Brand Orange */
    --primary-hsl: 21, 96%, 47%;
    /* #eb5505 - Signature VSTEP Orange */
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(21, 100%, 96%);
    /* Pastel Orange background */
    --primary-dark: #c2410c;
    /* Brand hover color */
    --brand-orange: #d04600;
    /* Primary Dark Alias */

    --secondary: #1a73e8;
    /* Google Blue */
    --border-google: #dadce0;
    /* Google's standard divider gray */
    --bg-google-gray: #f8f9fa;
    /* Google's standard light background */
    --bg-google-blue: #f0f4f9;
    /* Google One light blue-gray background */

    /* Google Standard Typography Colors */
    --text-main: #202124;
    /* Google's primary dark color for headers */
    --text-body: #3c4043;
    /* Google's standard body text */
    --text-muted: #5f6368;
    /* Google's standard muted gray */
    --text-light: #80868b;

    /* 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;

    /* 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 Reset with Absolute List-Style Removal */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--text-body);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Absolute reset for lists to prevent any bullet points */
ul,
ol,
li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    /* Real Google article titles use regular/medium weight for an elegant airy look! */
    color: var(--text-main);
    line-height: 1.25;
}

a {
    color: #1a73e8;
    /* Google blue link */
    text-decoration: none;
    transition: var(--transition-material);
}

a:hover {
    color: #174ea6;
}

/* 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(--primary);
    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(--border-google);
    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(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--primary-dark);
}

.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(--text-muted);
    padding: 8px 12px;
    /* Elegant padding */
    border-radius: var(--radius-sm);
    transition: var(--transition-material);
    display: block;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.cta-button {
    background: var(--primary);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 8px 18px;
    /* Elegant refined padding */
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.cta-outline-button {
    background: transparent;
    color: var(--primary) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    border: 1px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: var(--transition-material);
}

.cta-outline-button:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
    border-color: var(--primary);
}

/* Asymmetric Reading Layout */
.article-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 48px 24px;
}

.article-header {
    max-width: 860px;
    /* Expanded header width (from 650px) to prevent title from feeling cramped */
    margin: 0 auto 32px auto;
}

/* Authentic Google Breadcrumbs */
.google-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 20px;
}

.google-breadcrumb-link {
    color: var(--text-muted);
    font-weight: 500;
}

.google-breadcrumb-separator {
    color: #dadce0;
}

.google-breadcrumb-current {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-header h1 {
    font-size: 56px;
    /* Google standard H1 desktop size */
    font-weight: 400;
    /* Authentic elegant editorial weight */
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
    /* Sleek letter spacing for modern look */
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.meta-details {
    display: flex;
    flex-direction: column;
}

.meta-details .author-name {
    font-weight: 500;
    color: var(--text-main);
}

.meta-details .pub-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* 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;
}

/* Body layout */
.article-body-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
}

.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: #ffffff;
    border: 1px solid var(--border-google);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition-material);
}

.share-btn:hover {
    transform: scale(1.15) translateY(-2px);
}

.share-bar-left .share-btn:not(#copyLinkBtn) {
    background: transparent;
    border: none;
}

.share-bar-left .share-btn:not(#copyLinkBtn) img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#copyLinkBtn:hover {
    background: #f1f3f4;
    border-color: var(--primary);
    color: var(--primary);
}

/* Share Toast Message Popup */
.share-toast {
    position: absolute;
    left: 50px;
    background: var(--primary);
    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(--primary);
    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;
}

/* Central Reading Area */
.article-main-content {
    max-width: 760px;
    /* Expanded body content width (from 650px) to prevent squeezed paragraphs */
    margin: 0 auto;
    width: 100%;
}

.post-content {
    font-family: var(--font-body);
    font-size: 16.5px;
    /* Google's exact reading text size, slightly enhanced */
    color: var(--text-body);
    line-height: 1.65;
    /* Exactly 27px line-height for absolute breathing space */
    letter-spacing: 0px;
}

.post-content p {
    margin-bottom: 0;
}

.post-content p+p {
    margin-top: 18px;
    /* Elegant paragraph separation margin */
}

.post-content a:not([class*="btn"]):not([class*="cta-"]):not(.quick-nav-capsule) {
    color: #1a73e8;
    border-bottom: 1px solid transparent;
    transition: var(--transition-material);
}

.post-content a:not([class*="btn"]):not([class*="cta-"]):not(.quick-nav-capsule):hover {
    color: #174ea6;
    border-bottom-color: transparent;
}

.post-content h2 {
    font-size: 32px;
    /* Highly optimized Google H2 reading size */
    font-weight: 400;
    color: var(--text-main);
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.post-content h3 {
    font-size: 24px;
    /* Highly optimized Google H3 reading size */
    font-weight: 400;
    color: var(--text-main);
    margin-top: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* Google blockquote */
.post-content blockquote {
    background: var(--bg-google-gray);
    border-left: 4px solid var(--primary);
    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;
    color: var(--text-main);
    line-height: 32px;
    font-style: normal;
    letter-spacing: -0.5px;
}

.post-content blockquote .quote-author {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin-top: 16px;
    letter-spacing: 0.5px;
}

.post-content blockquote .quote-role {
    font-size: 14px;
    color: var(--text-muted);
}

/* 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(--border-google);
}

.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(--border-google);
    font-size: 14px;
    color: var(--text-muted);
    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(--border-google);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-material);
}

.carousel-btn:hover {
    background: #f1f3f4;
    color: var(--text-main);
    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(--primary);
    width: 24px;
    /* Pill active state */
}

/* Material You Callout Card */
.material-cta-card {
    background: var(--bg-google-blue);
    border-radius: var(--radius-lg);
    /* 24px */
    padding: 32px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid var(--border-google);
    position: relative;
    overflow: hidden;
}

.cta-card-content {
    flex: 1;
}

.cta-card-content h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.cta-card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.material-cta-card .cta-button {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 0.95rem;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.material-cta-card .cta-button:hover {
    background: var(--primary-dark);
}

/* Article Tags */
.article-tags {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-google);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-btn {
    background: #f1f3f4;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-material);
}

.tag-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Related articles section under post */
.related-section {
    background: var(--bg-google-gray);
    padding: 64px 0;
    border-top: 1px solid var(--border-google);
    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;
    color: var(--text-main);
    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(--border-google);
    transition: var(--transition-material);
    display: flex;
    flex-direction: column;
}

.google-article-card:hover {
    box-shadow: var(--shadow-google-card);
}

.google-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.google-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.google-card-body h4 a {
    color: var(--text-main);
}

.google-card-body h4 a:hover {
    color: var(--primary);
}

.google-card-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.google-card-meta .meta-left {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.google-card-meta .meta-right {
    color: var(--text-light);
}

/* 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(--border-google);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-material);
}

.related-btn:hover {
    background: #f1f3f4;
    color: var(--text-main);
    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(--primary);
    width: 24px;
}

/* Extremely Minimalist Google-Style Blog Footer */
.site-footer {
    background: var(--bg-google-gray);
    color: var(--text-body);
    padding: 40px 0;
    border-top: 1px solid var(--border-google);
    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(--primary);
}

.footer-brand-desc {
    color: var(--text-light);
    font-size: 0.8rem;
    max-width: 320px;
    border-left: 1px solid var(--border-google);
    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(--text-muted);
    font-weight: 500;
    transition: var(--transition-material);
    white-space: nowrap;
}

.footer-links-side a:hover {
    color: var(--primary);
}

/* Social Contacts List */
.footer-social-side {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social-side a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-google);
    transition: var(--transition-material);
}

.footer-social-side a:hover {
    color: var(--primary);
    background: var(--primary-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(--border-google);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.78rem;
    color: var(--text-light);
    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;
    }

    .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;
    }

    .material-cta-card .cta-button {
        width: 100%;
        justify-content: center;
    }

    .google-article-card {
        flex: 0 0 100%;
        /* Shows 1 card on mobile */
    }

    .related-btn.related-prev {
        left: 4px;
    }

    .related-btn.related-next {
        right: 4px;
    }

    .site-header {
        height: auto;
    }

    .header-container {
        flex-direction: column;
        height: auto;
        padding: 10px 16px;
        gap: 8px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 4px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .cta-button {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    /* Minimalist Footer Mobile adjustments */
    .footer-row-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand-side {
        flex-direction: column;
        gap: 8px;
    }

    .footer-brand-desc {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .footer-links-side {
        justify-content: center;
        gap: 16px;
    }

    .footer-row-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-legal-text {
        text-align: center;
    }
}


/* ==========================================================================
   CATEGORY INDEX PAGE STYLES (AUTOMATICALLY CENTRALIZED)
   ========================================================================== */

/* Custom styles for Google-style category index page */
.google-hero-section {
    background: radial-gradient(circle at 80% 20%, hsl(21, 100%, 96%) 0%, var(--bg-google-gray) 60%);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-google);
}

.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;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.google-hero-container h1 span {
    color: var(--primary);
    font-weight: 700;
}

.google-hero-container p {
    font-size: 1.05rem;
    color: var(--text-muted);
    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(--primary);
    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;
    color: var(--text-main);
    background: transparent;
    border: none;
    outline: none;
}

.google-search-bar button {
    background: var(--primary);
    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(--primary-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(--border-google);
    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(--border-google);
    background: white;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-material);
}

.filter-btn:hover {
    background: #f1f3f4;
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: transparent;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

.read-more-btn svg {
    transition: transform 0.2s;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

.sidebar-widget {
    background: var(--bg-google-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-google);
    margin-bottom: 2.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.google-cta-widget {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    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;
}

.google-cta-widget .cta-button {
    background: white;
    color: var(--primary) !important;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.google-cta-widget .cta-button:hover {
    background: #f1f3f4;
}

@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(--border-google);
    background-color: #ffffff;
    color: var(--text-muted);
    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(--border-google);
    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(--border-google);
    background: white;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-material);
}

.filter-btn:hover {
    background: #f1f3f4;
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: transparent;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

.read-more-btn svg {
    transition: transform 0.2s;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

.sidebar-widget {
    background: var(--bg-google-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-google);
    margin-bottom: 2.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.google-cta-widget {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    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;
}

.google-cta-widget .cta-button {
    background: white;
    color: var(--primary) !important;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.google-cta-widget .cta-button:hover {
    background: #f1f3f4;
}

@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(--border-google);
    background-color: #ffffff;
    color: var(--text-muted);
    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(--border-google);
    background: white;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-material);
}

.filter-btn:hover {
    background: #f1f3f4;
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: transparent;
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.read-more-btn {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

.read-more-btn svg {
    transition: transform 0.2s;
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

.sidebar-widget {
    background: var(--bg-google-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-google);
    margin-bottom: 2.5rem;
}

.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.google-cta-widget {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    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;
}

.google-cta-widget .cta-button {
    background: white;
    color: var(--primary) !important;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.google-cta-widget .cta-button:hover {
    background: #f1f3f4;
}

@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(--border-google);
    background-color: #ffffff;
    color: var(--text-muted);
    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(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    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;
    color: var(--text-main);
    font-size: 0.95rem;
}

.pub-date-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    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;
}

.body-layout-asymmetric {
    display: flex;
    gap: 40px;
    position: relative;
}

.reading-lead-paragraph {
    font-size: 20px;
    line-height: 30px;
    color: var(--text-main);
    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(--border-google);
    background: white;
    color: var(--text-muted);
    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(--primary);
    border-color: var(--primary);
    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(--bg-google-blue);
    border: 1px solid var(--border-google);
    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;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-nav-title svg {
    color: var(--primary);
}

.quick-nav-flex-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-nav-capsule {
    background: #ffffff;
    border: 1px solid var(--border-google);
    color: var(--text-body);
    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(--primary-light) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !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;
    color: var(--text-body);
}

/* Topic Headers */
.speaking-topic-header {
    margin-top: 50px;
    border-bottom: 2px solid var(--border-google);
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.speaking-topic-number {
    background: var(--primary);
    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(--border-google);
    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(--border-google);
    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(--secondary);
}

.level-header-title.b2 {
    color: var(--primary-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(--secondary);
}

.level-badge.b2 {
    background: var(--primary);
}

/* Premium Audio Players */
.audio-card-wrapper {
    background: var(--bg-google-gray);
    border: 1px solid var(--border-google);
    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(--secondary);
}

.audio-card-circle-icon.b2 {
    background: var(--primary);
}

.audio-card-info {
    flex: 1;
    min-width: 200px;
}

.audio-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.audio-card-subtitle {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.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;
    color: var(--text-body);
    background: var(--bg-google-blue);
}

.sample-answer-english.b1 {
    border-left: 3px solid var(--secondary);
}

.sample-answer-english.b2 {
    border-left: 3px solid var(--primary);
}

.sample-answer-translation {
    font-style: italic;
    color: var(--text-body);
    font-size: 0.95rem;
    padding-left: 16px;
    border-left: 3px solid var(--border-google);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Vocabulary Box styling */
.speaking-vocab-focus-box {
    background: var(--primary-light);
    border: 1px solid hsla(var(--primary-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(--primary-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;
    color: var(--text-main);
    list-style: none !important;
    display: block;
}

.speaking-vocab-word {
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.speaking-vocab-type {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.speaking-vocab-ipa {
    background: rgba(235, 85, 5, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-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(--bg-google-gray);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 20px 0;
}

.writing-prompt-title {
    margin-top: 0;
    font-weight: 600;
    color: var(--text-main);
}

.writing-prompt-text {
    font-style: italic;
    color: var(--text-muted);
}

.writing-sample-answer {
    background: var(--bg-google-blue);
    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;
    color: var(--text-main);
}

.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(--text-muted);
    font-style: italic;
}

/* Sample Q&A items */
.sample-qa-item {
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--border-google);
    padding-bottom: 20px;
}

.sample-qa-question {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sample-qa-question-translation {
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* Extra premium styling helpers to avoid all inline styles */
.speaking-post-content hr {
    border: 0;
    height: 1px;
    background: var(--border-google);
    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(--text-body) !important;
    padding: 6px 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--primary-light) !important;
    color: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--brand-orange) !important;
    color: white !important;
    border-color: var(--brand-orange) !important;
}

/* Premium Outline Brand Button */
.btn-outline-brand {
    font-family: var(--font-heading);
    color: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    background-color: transparent;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-brand:hover {
    background-color: var(--brand-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(235, 85, 5, 0.2);
}

/* Premium Link Brand */
.btn-link-brand {
    color: var(--brand-orange);
    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(--primary-light) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !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(--primary);
    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(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* 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;
    }
}

/* Airy Spacing & Typography */
.speaking-post-content p,
.post-content p {
    margin-bottom: 22px;
    line-height: 1.85;
    color: var(--text-body);
}

.speaking-post-content h2,
.post-content h2 {
    margin-top: 52px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.speaking-post-content h3,
.post-content h3 {
    margin-top: 36px;
    margin-bottom: 18px;
    font-weight: 500;
}

.speaking-post-content ul,
.speaking-post-content ol,
.post-content ul,
.post-content ol {
    margin-top: 8px;
    margin-bottom: 22px;
}

.speaking-post-content li,
.post-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    position: relative;
    padding-left: 24px;
    color: var(--text-body);
}

/* Brand-Orange Custom Bullet Points */
.speaking-post-content ul:not(.list-unstyled) li::before,
.post-content ul:not(.list-unstyled) li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1;
    position: absolute;
    left: 2px;
    top: 14px;
    transform: translateY(-50%);
}

/* Disable custom bullet for unstyled lists */
.speaking-post-content ul.list-unstyled li,
.post-content ul.list-unstyled li {
    padding-left: 0;
}

.speaking-post-content ul.list-unstyled li::before,
.post-content ul.list-unstyled li::before {
    content: none;
    display: none;
}

.speaking-post-content ol,
.post-content ol {
    counter-reset: item;
}

.speaking-post-content ol li::before,
.post-content ol li::before {
    content: counter(item) ".";
    counter-increment: item;
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 6px;
    top: 0;
}

/* 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;
    color: var(--text-main);
    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);
}

/* Typography Utilities */
.text-display-1 {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.text-display-2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.text-lead {
    font-size: 20px;
    line-height: 30px;
    color: var(--text-main);
}

.text-body-standard {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-body);
}

/* Brand Color Utilities */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-primary-dark {
    background-color: var(--brand-orange) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-text-main {
    background-color: var(--text-main) !important;
}

.bg-text-body {
    background-color: var(--text-body) !important;
}

.bg-border {
    background-color: var(--border-google) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

.text-primary-dark {
    color: var(--brand-orange) !important;
}

.text-main {
    color: var(--text-main) !important;
}

.text-body {
    color: var(--text-body) !important;
}

/* Override Bootstrap Core Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: white !important;
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

/* 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 {
    color: var(--text-body);
    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(--primary);
}

.account-nav .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.stat-card {
    background: white;
    border: 1px solid var(--border-google);
    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(--primary);
    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 a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s ease;
}

.google-footer 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(--primary) !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(--primary-light) !important;
    border-bottom: 1px solid var(--primary-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);
}
