/* ============================================================
   GST REGISTRATION — PREMIUM PAGE THEME
   Keeps existing PHP/HTML functions and components intact.
   ============================================================ */

:root {
    --gst-green: #087a4b;
    --gst-green-dark: #075d39;
    --gst-green-soft: #edf9f3;
    --gst-gold: #e7a91a;
    --gst-ink: #17212b;
    --gst-text: #3d4852;
    --gst-muted: #6b7680;
    --gst-border: #e6ebee;
    --gst-bg: #f6f9f8;
    --gst-white: #ffffff;
    --gst-shadow: 0 10px 35px rgba(19, 45, 35, .08);
    --gst-shadow-hover: 0 16px 42px rgba(19, 45, 35, .13);
    --gst-radius: 18px;
}


/* Announcement */
.announcement-bar {
    display: flex;
    align-items: stretch;
    min-height: 42px;
    background: linear-gradient(135deg, #075d39, #087a4b);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
}

.announcement-label {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 0 16px;
    background: rgba(0,0,0,.13);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
}

.announcement-icon {
    font-size: 15px;
}

.announcement-marquee {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.announcement-track {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: max-content;
    padding: 11px 18px;
    font-size: 12px;
    line-height: 1.5;
}

/* Breadcrumb */
.gst-page-layout .breadcrumb {
    margin: 18px 0 12px;
    padding: 10px 14px;
    background: #f8faf9;
    border: 1px solid var(--gst-border);
    border-radius: 10px;
    font-size: 12px;
}

.gst-page-layout .breadcrumb a {
    color: var(--gst-green);
    font-weight: 600;
    text-decoration: none;
}

.gst-page-layout .breadcrumb a:hover {
    color: var(--gst-green-dark);
    text-decoration: underline;
}

/* Main title / hero */
.gst-page-layout .capt {
    position: relative;
    margin-bottom: 22px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at 95% 10%, rgba(25,195,125,.12), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7fbf9);
    border: 1px solid var(--gst-border);
    border-radius: var(--gst-radius);
    box-shadow: var(--gst-shadow);
    overflow: hidden;
}

.gst-page-layout .capt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--gst-green), var(--gst-gold));
}

.gst-page-layout .capt h1 {
    margin: 0 0 12px;
    color: var(--gst-ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.7px;
}

.gst-page-layout .capt > p {
    margin: 0;
}

.gst-page-layout .capt > p[style] {
    color: var(--gst-muted);
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 14px;
}

.gst-page-layout .lead {
    max-width: 900px;
    color: var(--gst-text);
    font-size: 18px;
    line-height: 1.75;
}

/* Process */
.gst-page-layout .process-section {
    margin: 24px 0;
    padding: 28px;
    background: var(--gst-white);
    border: 1px solid var(--gst-border);
    border-radius: var(--gst-radius);
    box-shadow: var(--gst-shadow);
}

.gst-page-layout .process-section .section-title {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--gst-ink);
    font-size: 27px;
    font-weight: 800;
}

.gst-page-layout .steps-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gst-page-layout .step-card {
    min-height: 190px;
    padding: 20px 17px;
    background: linear-gradient(180deg, #fff, #f8fbfa);
    border: 1px solid var(--gst-border);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(20,40,60,.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gst-page-layout .step-card:hover {
    transform: translateY(-4px);
    border-color: #bfe4d1;
    box-shadow: var(--gst-shadow-hover);
}

.gst-page-layout .step-head {
    display: grid;
    grid-template-columns: 32px 38px 1fr;
    align-items: center;
    gap: 9px;
}

.gst-page-layout .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gst-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.gst-page-layout .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gst-green-soft);
    color: var(--gst-green);
}

.gst-page-layout .step-title {
    margin: 0;
    color: var(--gst-ink);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 750;
}

.gst-page-layout .step-desc {
    margin: 17px 0 0;
    color: var(--gst-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* CTA */
.gst-page-layout .hero-cta {
    margin: 20px 0 26px;
    text-align: left;
}

.gst-page-layout .hero-cta .btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 25px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--gst-green), #13a86c);
    color: #fff !important;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(8,122,75,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gst-page-layout .hero-cta .btn-green:hover,
.gst-page-layout .hero-cta .btn-green:focus {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8,122,75,.28);
}

/* Certificate block */
.gst-page-layout .certificate-slideshow {
    position: relative;
    padding: 14px;
    background: linear-gradient(145deg, #f7fbf9, #fff);
    border: 1px solid var(--gst-border);
    border-radius: 16px;
    box-shadow: var(--gst-shadow);
}

.gst-page-layout .certificate-slideshow img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.gst-page-layout .hero-badges {
    display: grid;
    gap: 8px;
}

.gst-page-layout .hero-badges h4 {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e2eee8;
    border-radius: 9px;
    background: #f8fcfa;
    color: #315343;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 650;
}

.gst-page-layout .hero-badges h4:first-child {
    color: var(--gst-green-dark);
}

/* Main content typography */
.gst-page-layout .services {
    color: var(--gst-text);
    font-size: 16px;
    line-height: 1.8;
}

.gst-page-layout .services h2 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--gst-ink);
    font-weight: 800;
    line-height: 1.3;
    scroll-margin-top: 90px;
}

.gst-page-layout .services h3 {
    margin-top: 25px;
    color: #20332b;
    font-weight: 750;
    line-height: 1.4;
    scroll-margin-top: 90px;
}

.gst-page-layout .services p {
    margin-bottom: 16px;
}

.gst-page-layout .services li {
    margin-bottom: 7px;
}

.gst-page-layout .services a {
    color: var(--gst-green);
    font-weight: 600;
}

/* FAQ */
.gst-page-layout .faq-container {
    margin-top: 25px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--gst-border);
    border-radius: var(--gst-radius);
    box-shadow: var(--gst-shadow);
}

.gst-page-layout .faq-title h2 {
    margin-top: 0;
    color: var(--gst-ink);
    font-size: 27px;
    line-height: 1.3;
    font-weight: 800;
}

.gst-page-layout .faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--gst-border);
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
}

.gst-page-layout .faq-item:last-child {
    margin-bottom: 0;
}

.gst-page-layout .faq-question {
    min-height: 54px;
    padding: 14px 17px;
    background: #fff;
    color: var(--gst-ink);
    font-size: 15px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

.gst-page-layout .faq-question:hover,
.gst-page-layout .faq-question[aria-expanded="true"] {
    background: var(--gst-green-soft);
    color: var(--gst-green-dark);
}

.gst-page-layout .faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f5f2;
    color: var(--gst-green);
    font-weight: 800;
}

.gst-page-layout .faq-answer {
    padding: 16px 18px 18px;
    border-top: 1px solid #edf1ef;
    color: var(--gst-text);
    font-size: 14px;
    line-height: 1.75;
    background: #fbfdfc;
}

.gst-page-layout .faq-answer p:last-child,
.gst-page-layout .faq-answer ul:last-child,
.gst-page-layout .faq-answer ol:last-child {
    margin-bottom: 0;
}


/* Sidebar visual polish */
.gst-sidebar-card {
    background: rgba(255,255,255,.98);
    border: 1px solid var(--gst-border);
    box-shadow: var(--gst-shadow);
}

.gst-sidebar-card:hover {
    box-shadow: 0 13px 38px rgba(19,45,35,.11);
}

.gst-sidebar-card-head h2 {
    letter-spacing: -.2px;
}

.gst-sidebar-toc a {
    border-radius: 8px;
}

.gst-sidebar-toc a:hover {
    background: #f3faf6;
}

/* ============================================================
   GST REGISTRATION — CONSOLIDATED DESKTOP/CLS LAYOUT
   - One stable grid instead of repeated float/flex/grid overrides.
   - Desktop content is centered.
   - Empty/hidden sidebar no longer leaves a large blank column.
   - Bootstrap row pseudo-elements and column floats are neutralized.
   - Mobile layout remains a single-column flow.
   ============================================================ */

/* ---------- Stable page shell ---------- */
.container.gst-page-shell,
.gst-page-shell {
    width: min(1340px, calc(100% - 40px)) !important;
    max-width: 1340px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    color: var(--gst-text);
    background: var(--gst-bg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.72;
}

/* Prevent Bootstrap's .row negative margins and pseudo-elements from
   changing the geometry after the first layout pass. */
.gst-page-shell > .gst-page-layout,
.gst-page-shell > .row.gst-page-layout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px;
    align-items: start;
    position: relative;
    box-sizing: border-box;
}

.gst-page-shell > .gst-page-layout::before,
.gst-page-shell > .gst-page-layout::after {
    display: none !important;
    content: none !important;
}

.gst-page-shell > .gst-page-layout > .content-body,
.gst-page-shell > .gst-page-layout > .gst-premium-sidebar {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Only create the second desktop column when the included sidebar actually
   contains content. This prevents the blank right-side area seen when the
   sidebar include is empty/hidden. */
@media (min-width: 992px) {
    .gst-page-shell > .gst-page-layout:has(> .gst-premium-sidebar *) {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 30px;
    }

    .gst-page-shell > .gst-page-layout:has(> .gst-premium-sidebar *) > .gst-premium-sidebar {
        position: sticky;
        top: 92px;
        align-self: start;
        z-index: 5;
    }

    .gst-page-shell > .gst-page-layout:not(:has(> .gst-premium-sidebar *)) {
        grid-template-columns: minmax(0, 1040px);
        justify-content: center;
    }

    .gst-page-shell > .gst-page-layout:not(:has(> .gst-premium-sidebar *)) > .content-body {
        width: 100% !important;
    }
}

/* ---------- Certificate block: stable two-column geometry ---------- */
.gst-page-shell .content-body > .row.mt-20 {
    display: grid !important;
    grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
    gap: 24px;
    width: 100%;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.gst-page-shell .content-body > .row.mt-20::before,
.gst-page-shell .content-body > .row.mt-20::after {
    display: none !important;
    content: none !important;
}

.gst-page-shell .content-body > .row.mt-20 > .col-sm-5,
.gst-page-shell .content-body > .row.mt-20 > main {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* ---------- Announcement: fixed geometry prevents top-page shifting ---------- */
.announcement-bar {
    position: relative;
    z-index: 20;
    width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
}

.announcement-track {
    white-space: nowrap;
}

/* ---------- Hero / process / article stability ---------- */
.gst-page-shell .steps-row {
    align-items: stretch;
}

.gst-page-shell .step-card {
    min-height: 190px;
    box-sizing: border-box;
}

.gst-page-shell .certificate-slideshow {
    min-width: 0;
    overflow: hidden;
}

.gst-page-shell .certificate-slideshow img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

/* Reserve space for article section icons before lazy images finish loading. */
.gst-page-shell .gst-article-content h2 img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* FAQ icon also needs an explicit height; the original had width only. */
.gst-page-shell .faq-title img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

/* Below-the-fold review images get a stable square box without requiring
   unknown intrinsic dimensions. */
.gst-page-shell .testim .img {
    min-height: 90px;
    min-width: 90px;
}

.gst-page-shell .testim .img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Generic image rendering: no inline baseline gap and no late font metrics. */
.gst-page-shell img {
    max-width: 100%;
}

/* ---------- Sidebar / TOC ---------- */
.gst-page-shell .gst-premium-sidebar {
    box-sizing: border-box;
}

.gst-page-shell .gst-sidebar-sticky {
    position: sticky;
    top: 92px;
    z-index: 5;
}

.gst-page-shell .gst-sidebar-card {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    border-radius: 16px;
    overflow: hidden;
}

.gst-page-shell .gst-sidebar-list {
    scrollbar-width: thin;
}

.gst-page-shell .gst-sidebar-list::-webkit-scrollbar {
    width: 5px;
}

.gst-page-shell .gst-sidebar-list::-webkit-scrollbar-thumb {
    background: #a9cdbb;
    border-radius: 10px;
}

/* ---------- Resources below FAQ ---------- */
.gst-after-faq-resources {
    width: min(1340px, calc(100% - 40px)) !important;
    max-width: 1340px !important;
    margin: 34px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.gst-after-faq-resources > .row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch;
    box-sizing: border-box;
}

.gst-after-faq-resources > .row::before,
.gst-after-faq-resources > .row::after {
    display: none !important;
    content: none !important;
}

.gst-after-faq-resources .col-lg-4,
.gst-after-faq-resources .col-md-4,
.gst-after-faq-resources .col-sm-12 {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

.gst-after-faq-resources .gst-resource-card {
    width: 100%;
    min-height: 320px;
    height: auto;
    margin: 0 !important;
    box-sizing: border-box;
}

.gst-after-faq-resources .gst-sidebar-list,
.gst-after-faq-resources .gst-download-list {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #9bc7b0 #f3f8f5;
}

.gst-after-faq-resources .gst-sidebar-list::-webkit-scrollbar,
.gst-after-faq-resources .gst-download-list::-webkit-scrollbar {
    width: 6px;
}

.gst-after-faq-resources .gst-sidebar-list::-webkit-scrollbar-thumb,
.gst-after-faq-resources .gst-download-list::-webkit-scrollbar-thumb {
    background: #9bc7b0;
    border-radius: 10px;
}

.gst-after-faq-resources .gst-sidebar-list::-webkit-scrollbar-track,
.gst-after-faq-resources .gst-download-list::-webkit-scrollbar-track {
    background: #f3f8f5;
    border-radius: 10px;
}

.resource-total {
    font-size: 13px;
    font-weight: 700;
    color: #0b8a58;
    white-space: nowrap;
}

/* ---------- Download list ---------- */
.gst-download-list {
    display: block;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.gst-download-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 4px;
    margin: 0;
    border-bottom: 1px solid #edf1ef;
    background: transparent;
    color: inherit;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.gst-download-item:last-child {
    border-bottom: 0;
}

.gst-download-item:hover,
.gst-download-item:focus {
    background: #f5faf7;
    transform: translateX(2px);
    text-decoration: none !important;
}

.gst-download-item .gst-file-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eaf7f0;
    color: #087a4b;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.gst-download-text {
    flex: 1 1 auto;
    min-width: 0;
}

.gst-download-text strong {
    display: block;
    color: #17251f;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.gst-download-text small {
    display: block;
    margin-top: 3px;
    color: #4d5d55;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.gst-download-arrow {
    flex: 0 0 auto;
    color: #087a4b;
    font-size: 17px;
    font-weight: 800;
}

.gst-download-disabled {
    cursor: default !important;
    opacity: .95;
}

.gst-download-disabled:hover,
.gst-download-disabled:focus {
    background: transparent !important;
    transform: none !important;
}

/* ---------- Content polish ---------- */
.gst-page-shell a {
    text-underline-offset: 3px;
}

.gst-page-shell .breadcrumb {
    background: transparent !important;
    border: 0 !important;
    padding: 8px 0 !important;
    margin: 0 0 12px !important;
}

.gst-page-shell .breadcrumb a {
    color: #075f3b !important;
}

.gst-page-shell .capt {
    background:
        linear-gradient(180deg,
            rgba(255,153,51,.12) 0%,
            rgba(255,255,255,.96) 46%,
            rgba(19,136,8,.09) 100%) !important;
    border: 1px solid rgba(20,50,40,.10) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 35px rgba(20,45,35,.08) !important;
    padding: 28px 30px !important;
}

.gst-page-shell .capt::before {
    width: 5px !important;
    background: linear-gradient(180deg, #ff9933 0%, #fff 48%, #138808 100%) !important;
    box-shadow: 0 0 10px rgba(19,136,8,.08);
}

.gst-page-shell .capt h1 {
    color: var(--gst-ink) !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    margin: 0 0 12px !important;
    max-width: 900px;
}

.gst-page-shell .capt .lead {
    max-width: 780px;
    color: #26332d !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.gst-page-shell .capt > p[style] {
    display: inline-block;
    margin: 0 0 14px !important;
    padding: 6px 10px;
    border: 1px solid var(--gst-border);
    border-radius: 999px;
    background: #f7faf8;
    color: #45534d !important;
}

.gst-page-shell .process-section {
    border: 1px solid var(--gst-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--gst-shadow) !important;
    padding: 24px !important;
    background: #fff !important;
    color: #26332d !important;
}

.gst-page-shell .step-card {
    background: #fff !important;
    border-color: var(--gst-border) !important;
    box-shadow: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.gst-page-shell .step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--gst-shadow) !important;
    border-color: #b9d9c9 !important;
}

.gst-page-shell .step-number {
    background: var(--gst-green) !important;
}

.gst-page-shell .step-icon {
    background: var(--gst-green-soft) !important;
    color: var(--gst-green) !important;
}

.gst-page-shell .process-section .step-title {
    color: #14231d !important;
    font-weight: 800 !important;
}

.gst-page-shell .process-section .step-desc {
    color: #34453d !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
}

.gst-page-shell .hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.gst-page-shell .hero-cta a {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 10px;
}

.gst-page-shell .hero-cta .btn-green {
    background: var(--gst-green) !important;
    color: #fff !important;
}

.gst-page-shell .certificate-slideshow {
    background: #fff !important;
    border: 1px solid var(--gst-border) !important;
    box-shadow: var(--gst-shadow) !important;
}

.gst-page-shell .hero-toc {
    position: sticky;
    top: 92px;
}

.gst-page-shell .gst-article-content {
    max-width: 820px;
}

.gst-page-shell .gst-article-content h2 {
    color: var(--gst-ink) !important;
    font-size: clamp(24px, 3vw, 31px) !important;
    line-height: 1.28 !important;
    letter-spacing: -.35px;
    margin-top: 42px !important;
}

.gst-page-shell .gst-article-content h3 {
    color: #20372d !important;
    font-size: 20px !important;
}

.gst-page-shell .gst-article-content p,
.gst-page-shell .gst-article-content li {
    color: #2f4038 !important;
    font-size: 16px;
    line-height: 1.78;
}

.gst-page-shell .gst-article-content li::marker {
    color: var(--gst-green);
    font-weight: 700;
}

.gst-page-shell .gst-article-content a {
    color: #075f3b !important;
    font-weight: 600;
}

.gst-page-shell .faq-container,
.gst-page-shell .gst-sidebar-card {
    border-color: var(--gst-border) !important;
    box-shadow: var(--gst-shadow) !important;
}

.gst-page-shell .gst-sidebar-card {
    background: #fff !important;
    border-top: 3px solid #16a36a !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.gst-page-shell .faq-question:focus-visible,
.gst-page-shell button:focus-visible,
.gst-page-shell a:focus-visible {
    outline: 3px solid #1a73e8 !important;
    outline-offset: 3px !important;
}

.gst-page-shell .gst-sidebar-list a:hover {
    background: var(--gst-green-soft);
    transform: none !important;
}

/* ---------- Mobile/tablet ---------- */
@media (max-width: 991px) {
    .container.gst-page-shell,
    .gst-page-shell {
        width: 100% !important;
        max-width: 760px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .gst-page-shell > .gst-page-layout,
    .gst-page-shell > .row.gst-page-layout {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gst-page-shell > .gst-page-layout > .content-body,
    .gst-page-shell > .gst-page-layout > .gst-premium-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .gst-page-shell > .gst-page-layout > .gst-premium-sidebar {
        position: relative !important;
        top: auto !important;
        margin-top: 28px !important;
    }

    .gst-page-shell .gst-sidebar-sticky,
    .gst-page-shell .hero-toc {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
    }

    .gst-page-shell .content-body > .row.mt-20 {
        grid-template-columns: 1fr;
    }

    .gst-page-shell .capt {
        padding: 24px 20px !important;
    }

    .gst-page-shell .gst-article-content {
        max-width: none;
    }

    .gst-page-shell .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .gst-page-shell .hero-cta a {
        width: 100%;
        text-align: center;
    }

    .gst-page-shell .steps-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gst-after-faq-resources {
        width: 100% !important;
        max-width: 760px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .gst-after-faq-resources > .row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gst-after-faq-resources .gst-resource-card {
        min-height: 0;
    }

    .gst-after-faq-resources .gst-sidebar-list,
    .gst-after-faq-resources .gst-download-list {
        max-height: 220px;
    }
}

@media (max-width: 575px) {
    .announcement-bar {
        height: 38px;
        min-height: 38px;
    }

    .announcement-label span:last-child {
        display: none;
    }

    .container.gst-page-shell,
    .gst-page-shell {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .gst-page-shell .capt h1 {
        font-size: 31px !important;
        letter-spacing: -.6px !important;
    }

    .gst-page-shell .capt .lead {
        font-size: 16px !important;
    }

    .gst-page-shell .process-section {
        padding: 18px !important;
    }

    .gst-page-shell .steps-row {
        grid-template-columns: 1fr;
    }

    .gst-page-shell .step-card {
        min-height: auto;
    }

    .gst-page-shell .step-head {
        grid-template-columns: 30px 36px 1fr;
    }

    .gst-page-shell .faq-question {
        min-height: 52px;
        padding: 12px 13px;
        font-size: 14px;
    }

    .gst-page-shell .faq-answer {
        padding: 14px;
        font-size: 14px;
    }

    .gst-page-shell .breadcrumb {
        font-size: 11px;
    }

    .gst-page-shell .gst-sidebar-card {
        border-radius: 13px;
    }

    .gst-after-faq-resources {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .gst-after-faq-resources > .row {
        gap: 15px;
    }

    .gst-after-faq-resources .gst-sidebar-list,
    .gst-after-faq-resources .gst-download-list {
        max-height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gst-page-shell *,
    .gst-page-shell *::before,
    .gst-page-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Keep content below the viewport from participating in a premature layout
   measurement, but do not use content-visibility:auto because its intrinsic
   placeholder can itself create visible shifts when sections expand. */


/* ---------- Act & Rules ---------- */

/* Same light Indian tricolour treatment as the first card/hero box. */
.gst-act-rules-section {
    margin: 28px 0 30px;
    padding: 0;
}

.gst-act-rules-section .page-content {
    border: 1px solid #dfe6e2;
    border-left: 5px solid transparent;
    border-image: linear-gradient(to bottom, #ff9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%) 1;
    border-radius: 14px;
    padding: 22px 22px 20px;
    background:
        linear-gradient(
            to bottom,
            rgba(255,153,51,.12) 0%,
            rgba(255,153,51,.12) 33.33%,
            rgba(255,255,255,.97) 33.33%,
            rgba(255,255,255,.97) 66.66%,
            rgba(19,136,8,.08) 66.66%,
            rgba(19,136,8,.08) 100%
        );
    box-shadow: 0 8px 26px rgba(20,40,60,.07);
    overflow: hidden;
}

.gst-act-rules-header h2 {
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #17212b;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}

.gst-act-rules-header p {
    margin: 0 0 18px;
    color: #4d5963;
    font-size: 14px;
    line-height: 1.55;
}

.gst-act-rules-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #087a4b;
    font-size: 25px;
}

.gst-act-rules-table-wrap {
    border: 1px solid rgba(110,125,135,.35);
    background: rgba(255,255,255,.78);
}

.gst-act-rules-row {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr) 185px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid rgba(110,125,135,.30);
}

.gst-act-rules-row:last-child {
    border-bottom: 0;
}

.gst-act-rules-type {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    box-sizing: border-box;
    border-right: 1px solid rgba(110,125,135,.30);
    color: #667484;
    font-weight: 700;
}

.gst-act-rules-name {
    padding: 12px 18px;
    color: #68778b;
    font-size: 15px;
    line-height: 1.45;
}

.gst-act-rules-note {
    display: block;
    margin-top: 4px;
    color: #7a858d;
    font-size: 11px;
    line-height: 1.4;
}

.gst-act-rules-download {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1769e0 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.gst-act-rules-download:hover,
.gst-act-rules-download:focus {
    color: #0b4fb5 !important;
    text-decoration: underline !important;
}

.gst-download-symbol {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #222;
    color: #222;
    font-size: 15px;
    line-height: 1;
}

.gst-act-rules-current-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    color: #56616a;
    font-size: 12px;
    line-height: 1.55;
}

.gst-act-rules-current-note a {
    color: #087a4b;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .gst-act-rules-section .page-content {
        padding: 17px 13px 15px;
    }
    .gst-act-rules-header h2 {
        font-size: 23px;
    }
    .gst-act-rules-row {
        grid-template-columns: 78px minmax(0, 1fr);
    }
    .gst-act-rules-download {
        grid-column: 2;
        padding: 0 18px 14px;
    }
    .gst-act-rules-name {
        padding: 12px 12px 8px;
    }
    .gst-act-rules-type {
        padding: 12px 9px;
    }
}


/* ---------- FAQ button/accessibility ---------- */

/* Keep the existing FAQ layout while making the semantic button look like the old clickable row. */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 15px 20px;
    margin: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.faq-question:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: -2px;
}

.faq-question-text {
    flex: 1 1 auto;
}

.faq-toggle {
    flex: 0 0 auto;
    margin-left: 15px;
    font-size: 20px;
    line-height: 1;
}

/* The hidden attribute controls the closed state. */
.faq-answer[hidden] {
    display: none !important;
}

.faq-answer:not([hidden]) {
    display: block;
}


/* ---------- Search-intent / content highlights ---------- */
.gst-search-intent {
    margin: 34px 0 10px;
    padding: 24px 26px;
    background: #f4faf7;
    border: 1px solid #d9ebe2;
    border-radius: 16px;
}
.gst-search-intent h2 {
    margin: 0 0 8px !important;
    color: #14231d !important;
    font-size: 25px !important;
}
.gst-search-intent p {
    margin: 0;
    color: #394840;
    line-height: 1.75;
}
.gst-highlight-box {
    margin: 22px 0;
    padding: 18px 20px;
    border: 1px solid #cfe6da;
    border-left: 4px solid #087a4b;
    border-radius: 12px;
    background: #f2faf6;
    color: #253a31;
}
.gst-classification-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 24px;
}
.gst-classification-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dfe8e3;
    border-radius: 12px;
    overflow: hidden;
}
.gst-classification-table th,
.gst-classification-table td {
    padding: 13px 15px;
    border-bottom: 1px solid #e5ece8;
    text-align: left;
}
.gst-classification-table thead th {
    background: #087a4b;
    color: #fff;
    font-weight: 700;
}
.gst-classification-table tbody tr:last-child th,
.gst-classification-table tbody tr:last-child td {
    border-bottom: 0;
}
.gst-classification-table tbody tr:nth-child(even) {
    background: #f8fbf9;
}
@media (max-width: 575px) {
    .gst-highlight-box {
        padding: 15px;
    }
}


/* Stable intrinsic dimensions for lazy section icons. */
.gst-page-shell .gst-section-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.gst-page-shell .gst-section-icon-lg {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px;
    min-height: 65px;
}
.gst-page-shell .gst-faq-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}


/* ============================================================
   PREMIUM RESOURCE SECTION — ONLY THIS PORTION
   Recent Articles / Related Services / Download Files
   ============================================================ */
.gst-after-faq-resources,
.gst-after-faq-resources * { box-sizing: border-box; }

.gst-after-faq-resources {
    width: min(1340px, calc(100% - 40px)) !important;
    max-width: 1340px !important;
    margin: 38px auto 0 !important;
    padding: 0 !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
}

.gst-after-faq-resources > .row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
}

.gst-after-faq-resources > .row::before,
.gst-after-faq-resources > .row::after { display: none !important; content: none !important; }

.gst-after-faq-resources > .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

/* Equal premium cards */
.gst-after-faq-resources .gst-resource-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 520px !important;
    min-height: 520px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e3e9e6 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(26,55,43,.08) !important;
    overflow: hidden !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.gst-after-faq-resources .gst-resource-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg,#087a4b,#2ca876) !important;
    z-index: 2 !important;
}

.gst-after-faq-resources .gst-resource-card:hover {
    transform: translateY(-3px) !important;
    border-color: #cfe0d8 !important;
    box-shadow: 0 16px 38px rgba(26,55,43,.13) !important;
}

/* Header with green circular icon */
.gst-after-faq-resources .gst-sidebar-card-head {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 17px 18px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1ef !important;
    background: #fff !important;
}

.gst-after-faq-resources .gst-sidebar-icon {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg,#087a4b,#159b63) !important;
    color: #fff !important;
    font-family: Arial,sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 5px 14px rgba(8,122,75,.18) !important;
}

.gst-after-faq-resources .gst-sidebar-card-head h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #18251f !important;
    font-family: "Segoe UI",Arial,sans-serif !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
    letter-spacing: -.2px !important;
}

.gst-after-faq-resources .resource-total {
    color: #087a4b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

/* Recent Articles / Services list */
.gst-after-faq-resources .gst-sidebar-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 6px 9px 8px 18px !important;
    list-style: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #9bc9b2 #f5f8f6 !important;
}

.gst-after-faq-resources .gst-sidebar-list::-webkit-scrollbar { width: 5px !important; }
.gst-after-faq-resources .gst-sidebar-list::-webkit-scrollbar-track { background:#f4f7f5 !important; border-radius:10px !important; }
.gst-after-faq-resources .gst-sidebar-list::-webkit-scrollbar-thumb { background:#9bc9b2 !important; border-radius:10px !important; }

.gst-after-faq-resources .gst-sidebar-list li { margin:0 !important; padding:0 !important; list-style:none !important; }

.gst-after-faq-resources .gst-sidebar-list li a {
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    min-height:40px !important;
    margin:0 !important;
    padding:8px 7px !important;
    color:#27352f !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid #eef2f0 !important;
    border-radius:7px !important;
    font-family:"Segoe UI",Arial,sans-serif !important;
    font-size:12.5px !important;
    font-weight:500 !important;
    line-height:1.35 !important;
    text-decoration:none !important;
    transition:all .18s ease !important;
}

.gst-after-faq-resources .gst-sidebar-list li:last-child a { border-bottom:0 !important; }

.gst-after-faq-resources .gst-sidebar-list li a:hover,
.gst-after-faq-resources .gst-sidebar-list li a:focus-visible {
    color:#087a4b !important;
    background:#f4faf7 !important;
    padding-left:10px !important;
    outline:none !important;
}

.gst-after-faq-resources .gst-link-arrow {
    flex:0 0 15px !important;
    width:15px !important;
    color:#169766 !important;
    font-family:Arial,sans-serif !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1 !important;
}

/* Related Services: icon bubbles + right chevron */
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li a {
    gap:8px !important;
    min-height:43px !important;
}

.gst-after-faq-resources .gst-services-card .gst-sidebar-list li a::before {
    flex:0 0 28px !important;
    width:28px !important;
    height:28px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    background:#edf8f2 !important;
    color:#087a4b !important;
    font-family:Arial,sans-serif !important;
    font-size:11px !important;
    font-weight:800 !important;
}

.gst-after-faq-resources .gst-services-card .gst-sidebar-list li a::after {
    content:"›" !important;
    flex:0 0 auto !important;
    margin-left:auto !important;
    color:#53645c !important;
    font-size:19px !important;
    line-height:1 !important;
}

.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(1) a::before { content:"▦" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(2) a::before { content:"%" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(3) a::before { content:"⚙" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(4) a::before { content:"▣" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(5) a::before { content:"▣" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(6) a::before { content:"✚" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(7) a::before { content:"▰" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(8) a::before { content:"●" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(9) a::before { content:"₹" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(10) a::before { content:"▤" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(11) a::before { content:"▤" !important; }
.gst-after-faq-resources .gst-services-card .gst-sidebar-list li:nth-child(12) a::before { content:"✪" !important; }

/* Download Files: mini-cards */
.gst-after-faq-resources .gst-download-list {
    flex:1 1 auto !important;
    min-height:0 !important;
    max-height:none !important;
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    margin:0 !important;
    padding:8px 9px 9px 10px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    scrollbar-width:thin !important;
    scrollbar-color:#9bc9b2 #f5f8f6 !important;
}

.gst-after-faq-resources .gst-download-list::-webkit-scrollbar { width:5px !important; }
.gst-after-faq-resources .gst-download-list::-webkit-scrollbar-thumb { background:#9bc9b2 !important; border-radius:10px !important; }

.gst-after-faq-resources .gst-download-item {
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    min-height:64px !important;
    margin:0 !important;
    padding:8px 9px !important;
    border:1px solid #edf0ee !important;
    border-radius:11px !important;
    background:linear-gradient(135deg,#fbfcfc,#f7f9f8) !important;
    color:inherit !important;
    text-decoration:none !important;
    transition:all .18s ease !important;
}

.gst-after-faq-resources .gst-download-item:hover,
.gst-after-faq-resources .gst-download-item:focus-visible {
    transform:translateY(-1px) !important;
    border-color:#cfe4d8 !important;
    background:#f8fcfa !important;
    box-shadow:0 5px 15px rgba(20,50,40,.07) !important;
    outline:none !important;
}

.gst-after-faq-resources .gst-file-icon {
    flex:0 0 42px !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:10px !important;
    background:#ffe9e8 !important;
    color:#e53935 !important;
    font-family:Arial,sans-serif !important;
    font-size:9px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.gst-after-faq-resources .gst-files-card .gst-download-item:nth-child(4n) .gst-file-icon {
    background:#e6f0ff !important;
    color:#1769e0 !important;
}

.gst-after-faq-resources .gst-download-text { flex:1 1 auto !important; min-width:0 !important; }

.gst-after-faq-resources .gst-download-text strong {
    display:block !important;
    margin:0 !important;
    color:#1e2c26 !important;
    font-family:"Segoe UI",Arial,sans-serif !important;
    font-size:12px !important;
    line-height:1.35 !important;
    font-weight:750 !important;
    overflow-wrap:anywhere !important;
}

.gst-after-faq-resources .gst-download-text small {
    display:block !important;
    margin:3px 0 0 !important;
    color:#69766f !important;
    font-family:"Segoe UI",Arial,sans-serif !important;
    font-size:10px !important;
    line-height:1.35 !important;
    overflow-wrap:anywhere !important;
}

.gst-after-faq-resources .gst-download-arrow {
    flex:0 0 29px !important;
    width:29px !important;
    height:29px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    color:#087a4b !important;
    font-family:Arial,sans-serif !important;
    font-size:20px !important;
    font-weight:700 !important;
    line-height:1 !important;
}

@media (max-width:1100px) and (min-width:992px) {
    .gst-after-faq-resources > .row { gap:16px !important; }
    .gst-after-faq-resources .gst-sidebar-card-head { padding-left:14px !important; padding-right:14px !important; }
    .gst-after-faq-resources .gst-sidebar-icon { flex-basis:38px !important; width:38px !important; height:38px !important; }
}

@media (max-width:991px) {
    .gst-after-faq-resources { width:100% !important; max-width:760px !important; padding-left:15px !important; padding-right:15px !important; }
    .gst-after-faq-resources > .row { grid-template-columns:1fr !important; gap:18px !important; }
    .gst-after-faq-resources .gst-resource-card { height:auto !important; min-height:0 !important; }
    .gst-after-faq-resources .gst-sidebar-list { max-height:320px !important; }
    .gst-after-faq-resources .gst-download-list { max-height:340px !important; }
}

@media (max-width:575px) {
    .gst-after-faq-resources { padding-left:12px !important; padding-right:12px !important; margin-top:28px !important; }
    .gst-after-faq-resources .gst-sidebar-card-head { min-height:70px !important; padding:14px !important; }
    .gst-after-faq-resources .gst-sidebar-card-head h2 { font-size:18px !important; }
    .gst-after-faq-resources .gst-sidebar-list { max-height:280px !important; padding-left:12px !important; }
    .gst-after-faq-resources .gst-download-list { max-height:300px !important; }
}


/* ============================================================
   CERTIFICATE SLIDESHOW — STABLE + RESPONSIVE
   ============================================================ */
.gst-page-shell .certificate-slideshow {
    position: relative !important;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 300px;
    padding: 14px !important;
    box-sizing: border-box;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid var(--gst-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--gst-shadow) !important;
}

.gst-page-shell .certificate-slideshow .slide {
    position: absolute !important;
    inset: 14px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity .35s ease, visibility .35s ease;
}

.gst-page-shell .certificate-slideshow .slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.gst-page-shell .certificate-slideshow .slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 10px;
}

.gst-page-shell .certificate-slideshow .slide-prev,
.gst-page-shell .certificate-slideshow .slide-next {
    position: absolute !important;
    top: 50% !important;
    z-index: 10 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    transform: translateY(-50%);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.8) !important;
    border-radius: 50% !important;
    background: rgba(0,43,92,.78) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.16);
}

.gst-page-shell .certificate-slideshow .slide-prev { left: 22px !important; }
.gst-page-shell .certificate-slideshow .slide-next { right: 22px !important; }

.gst-page-shell .certificate-slideshow .slide-prev:hover,
.gst-page-shell .certificate-slideshow .slide-next:hover {
    background: var(--gst-green) !important;
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 575px) {
    .gst-page-shell .certificate-slideshow {
        min-height: 230px;
    }
    .gst-page-shell .certificate-slideshow .slide-prev,
    .gst-page-shell .certificate-slideshow .slide-next {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    .gst-page-shell .certificate-slideshow .slide-prev { left: 10px !important; }
    .gst-page-shell .certificate-slideshow .slide-next { right: 10px !important; }
}

/* ============================================================
   DATABASE-FREE GST TOC — SINGLE SOURCE OF TRUTH
   ============================================================ */
.gst-page-shell .hero-toc,
.gst-page-shell .hero-toc * {
    box-sizing: border-box;
}

.gst-page-shell .hero-toc {
    position: sticky !important;
    top: 92px !important;
    z-index: 5;
}

.gst-page-shell .hero-toc .toc-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e6e6e6 !important;
    border-top: 4px solid #13b55b !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.08) !important;
    overflow: hidden !important;
}

.gst-page-shell .hero-toc .toc-header {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 22px !important;
    border: 0 !important;
    border-bottom: 1px solid #ececec !important;
    background: #fff !important;
}

.gst-page-shell .hero-toc .toc-heading {
    margin: 0 !important;
    padding: 0 !important;
    color: #002b5c !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

.gst-page-shell .hero-toc .toc-scroll {
    height: 520px !important;
    max-height: 520px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #13b55b #f1f5f3;
}

.gst-page-shell .hero-toc .toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gst-page-shell .hero-toc .toc-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.gst-page-shell .hero-toc .toc-link {
    display: block !important;
    width: calc(100% - 36px) !important;
    margin: 12px 18px !important;
    padding: 16px 20px !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 40px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease !important;
}

.gst-page-shell .hero-toc .toc-text {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gst-page-shell .hero-toc .toc-link:hover,
.gst-page-shell .hero-toc .toc-link:focus-visible,
.gst-page-shell .hero-toc .toc-link.active {
    color: #087a4b !important;
    background: #f3faf6 !important;
    border-color: #13b55b !important;
    box-shadow: 0 5px 14px rgba(19,181,91,.10) !important;
    outline: none !important;
}

.gst-page-shell .hero-toc .toc-scroll::-webkit-scrollbar {
    width: 6px;
}
.gst-page-shell .hero-toc .toc-scroll::-webkit-scrollbar-track {
    background: #f1f5f3;
}
.gst-page-shell .hero-toc .toc-scroll::-webkit-scrollbar-thumb {
    background: #13b55b;
    border-radius: 10px;
}

/* Keep every destination heading below the fixed site header. */
.gst-page-shell .gst-article-content > section,
.gst-page-shell .gst-article-content > section > h2,
.gst-page-shell #faq {
    scroll-margin-top: 92px;
}

@media (max-width: 991px) {
    .gst-page-shell .hero-toc {
        position: relative !important;
        top: auto !important;
        margin-top: 25px !important;
    }

    .gst-page-shell .hero-toc .toc-scroll {
        height: auto !important;
        max-height: none !important;
    }
}

@media (max-width: 575px) {
    .gst-page-shell .hero-toc .toc-header {
        padding: 18px !important;
    }

    .gst-page-shell .hero-toc .toc-heading {
        font-size: 23px !important;
    }

    .gst-page-shell .hero-toc .toc-link {
        width: calc(100% - 24px) !important;
        margin: 9px 12px !important;
        padding: 13px 15px !important;
        font-size: 15px !important;
        border-radius: 30px !important;
    }

    .gst-page-shell .gst-article-content > section,
    .gst-page-shell .gst-article-content > section > h2,
    .gst-page-shell #faq {
        scroll-margin-top: 78px;
    }
}
