
/* =========================================================
   AJEEB EXPRESS
   GUIDE DETAILS — PREMIUM SOFT DESIGN
========================================================= */

.guide-details-page {
    --gd-primary: var(--primary, #B11917);
    --gd-bg: var(--bg, #f8f8f7);
    --gd-surface: var(--surface, #ffffff);
    --gd-text: var(--text, #202936);
    --gd-muted: var(--text-secondary, #697586);
    --gd-border: var(--border, rgba(32, 41, 54, .09));
    --gd-radius: 22px;
    --gd-shadow: 0 16px 45px rgba(20, 30, 45, .055);

    position: relative;
    overflow: hidden;
    background: var(--gd-bg);
    color: var(--gd-text);
    isolation: isolate;
    padding-top: 50px;
}
/* Minimal note inside hero image */
.gd-hero__visual {
    position: relative;
    min-width: 0;
}

.gd-hero__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: var(--gd-surface);
}

.gd-hero__image::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, .62)
    );
    pointer-events: none;
}

.gd-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.gd-hero__visual:hover .gd-hero__image img {
    transform: scale(1.035);
}

.gd-image-caption {
    position: absolute;
    z-index: 2;
    bottom: 23px;
    inset-inline: 23px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
}

.gd-image-caption__line {
    width: 3px;
    height: 34px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 5px;
    opacity: .85;
}

.gd-image-caption div {
    flex: 1;
    min-width: 0;
}

.gd-image-caption small {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    opacity: .8;
    margin-bottom: 4px;
}

.gd-image-caption strong {
    display: block;
    font-size: 13px;
    font-weight: 750;
}

.gd-image-caption > i {
    font-size: 13px;
    opacity: .8;
}

@media (max-width: 600px) {
    .gd-hero__image {
        border-radius: 19px;
    }

    .gd-image-caption {
        bottom: 17px;
        inset-inline: 17px;
        gap: 9px;
    }

    .gd-image-caption strong {
        font-size: 11px;
    }
}


.guide-details-page *,
.guide-details-page *::before,
.guide-details-page *::after {
    box-sizing: border-box;
}

.guide-container {
    width: min(
        calc(100% - (var(--side-padding, clamp(18px, 6vw, 80px)) * 2)),
        var(--container, 1140px)
    );
    margin-inline: auto;
}

.guide-details-page a {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   01. BREADCRUMB
========================================================= */

.guide-breadcrumb {
    position: relative;
    z-index: 2;
    padding: 23px 0;
    margin-top: 50px;
    border-bottom: 1px solid var(--gd-border);
    background: transparent
}

.guide-breadcrumb nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--gd-muted);
    font-size: 11px;
    line-height: 1.8;
}

.guide-breadcrumb a {
    color: var(--gd-muted);
    text-decoration: none;
    transition: color .25s ease;
}

.guide-breadcrumb a:hover {
    color: var(--gd-primary);
}

.guide-breadcrumb nav > span:not(.current) {
    opacity: .45;
}

.guide-breadcrumb .current {
    max-width: min(360px, 45vw);
    overflow: hidden;
    color: var(--gd-text);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   02. HERO
========================================================= */

.gd-hero {
    position: relative;
    padding: clamp(55px, 7vw, 92px) 0;
    isolation: isolate;
}

.gd-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -170px;
    inset-inline-end: -170px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--gd-primary) 7%, transparent);
    filter: blur(100px);
    pointer-events: none;
}

.gd-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    align-items: center;
    gap: clamp(40px, 7vw, 95px);
}

.gd-hero__content {
    min-width: 0;
}

.gd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 23px;
    color: var(--gd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.gd-eyebrow__line {
    width: 27px;
    height: 2px;
    border-radius: 5px;
    background: var(--gd-primary);
}

.gd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.gd-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 0 13px;
    border: 1px solid color-mix(in srgb, var(--gd-primary) 18%, var(--gd-border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--gd-primary) 6%, var(--gd-surface));
    color: var(--gd-primary);
    font-size: 10px;
    font-weight: 750;
}

.gd-category i {
    font-size: 10px;
}

.gd-meta-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gd-muted);
    opacity: .45;
}

.gd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gd-muted);
    font-size: 10px;
    font-weight: 600;
}

.gd-meta-item i {
    color: var(--gd-primary);
    font-size: 11px;
}

.gd-hero__title {
    max-width: 700px;
    margin: 0;
    color: var(--gd-text);
    font-size: clamp(35px, 4.4vw, 57px);
    line-height: 1.18;
    font-weight: 850;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.gd-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 19px;
    margin-top: 33px;
}

.gd-primary-btn {
    min-height: 49px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid var(--gd-primary);
    border-radius: 12px;
    background: var(--gd-primary);
    color: #fff !important;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 9px 23px color-mix(in srgb, var(--gd-primary) 19%, transparent);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.gd-primary-btn:hover {
    transform: translateY(-3px);
    background: color-mix(in srgb, var(--gd-primary) 88%, #000);
    box-shadow: 0 13px 28px color-mix(in srgb, var(--gd-primary) 25%, transparent);
}

.gd-primary-btn i {
    font-size: 11px;
    transition: transform .25s ease;
}

.gd-primary-btn:hover i {
    transform: translateY(3px);
}

.gd-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gd-muted);
    font-size: 10px;
    font-weight: 600;
}

.gd-hero__note i {
    color: var(--gd-primary);
}

/* Hero Image */

.gd-hero__visual {
    position: relative;
    min-width: 0;
    padding: 0 0 18px 18px;
}

.gd-hero__image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1.12 / 1;
    overflow: hidden;
    border: 1px solid var(--gd-border);
    border-radius: 26px;
    background: var(--gd-surface);
    box-shadow: var(--gd-shadow);
}

.gd-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s ease;
}

.gd-hero__visual:hover .gd-hero__image img {
    transform: scale(1.035);
}

.gd-hero__image-decoration {
    position: absolute;
    z-index: 0;
    inset: 19px -1px -1px 36px;
    border: 1px solid color-mix(in srgb, var(--gd-primary) 25%, transparent);
    border-radius: 26px;
}

.gd-hero__image-label {
    position: absolute;
    z-index: 2;
    inset-inline-start: -3px;
    bottom: 0;
    min-width: 175px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gd-border);
    border-radius: 14px;
    background: var(--gd-surface);
    box-shadow: 0 12px 32px rgba(20, 30, 45, .10);
}

.gd-hero__image-label-icon {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--gd-primary) 9%, var(--gd-surface));
    color: var(--gd-primary);
}

.gd-hero__image-label small,
.gd-hero__image-label strong {
    display: block;
}

.gd-hero__image-label small {
    margin-bottom: 4px;
    color: var(--gd-muted);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .13em;
}

.gd-hero__image-label strong {
    color: var(--gd-text);
    font-size: 11px;
    font-weight: 800;
}

/* =========================================================
   03. CONTENT SECTION
========================================================= */

.gd-content-section {
    position: relative;
    padding: 35px 0 clamp(75px, 8vw, 110px);
    scroll-margin-top: 35px;
}

.gd-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    align-items: start;
    gap: 27px;
}

/* Main Article */

.gd-article {
    min-width: 0;
    padding: clamp(25px, 4vw, 43px);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    background: var(--gd-surface);
    box-shadow: var(--gd-shadow);
}

.gd-article__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gd-section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gd-primary);
    font-size: 9px;
    line-height: 1.4;
    font-weight: 850;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.gd-article__heading h2 {
    margin: 0;
    color: var(--gd-text);
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -.025em;
}

.gd-article__icon {
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--gd-primary) 15%, var(--gd-border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--gd-primary) 7%, var(--gd-surface));
    color: var(--gd-primary);
    font-size: 18px;
}

.gd-article__divider {
    height: 1px;
    margin: 25px 0 29px;
    background: var(--gd-border);
}

/* Rich Content */

.gd-rich-content {
    color: var(--gd-text);
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.gd-rich-content > :first-child {
    margin-top: 0;
}

.gd-rich-content > :last-child {
    margin-bottom: 0;
}

.gd-rich-content h1,
.gd-rich-content h2,
.gd-rich-content h3,
.gd-rich-content h4,
.gd-rich-content h5,
.gd-rich-content h6 {
    margin: 30px 0 13px;
    color: var(--gd-text);
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -.02em;
}

.gd-rich-content h1 {
    font-size: 27px;
}

.gd-rich-content h2 {
    font-size: 23px;
}

.gd-rich-content h3 {
    font-size: 19px;
}

.gd-rich-content h4 {
    font-size: 16px;
}

.gd-rich-content p {
    margin: 0 0 18px;
    color: var(--gd-muted);
    font-size: 14px;
    line-height: 2;
}

.gd-rich-content strong,
.gd-rich-content b {
    color: var(--gd-text);
    font-weight: 800;
}

.gd-rich-content a {
    color: var(--gd-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--gd-primary) 35%, transparent);
    text-underline-offset: 4px;
}

.gd-rich-content ul,
.gd-rich-content ol {
    margin: 18px 0 23px;
    padding-inline-start: 25px;
    color: var(--gd-muted);
}

.gd-rich-content li {
    margin-bottom: 9px;
    padding-inline-start: 4px;
    line-height: 1.9;
}

.gd-rich-content li::marker {
    color: var(--gd-primary);
}

.gd-rich-content blockquote {
    margin: 25px 0;
    padding: 17px 21px;
    border-inline-start: 3px solid var(--gd-primary);
    border-radius: 0 12px 12px 0;
    background: color-mix(in srgb, var(--gd-primary) 5%, var(--gd-surface));
    color: var(--gd-text);
}

.gd-rich-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 23px auto;
    border: 1px solid var(--gd-border);
    border-radius: 15px;
}

.gd-rich-content figure {
    max-width: 100%;
    margin: 25px 0;
}

.gd-rich-content figcaption {
    margin-top: 9px;
    color: var(--gd-muted);
    font-size: 11px;
    text-align: center;
}

.gd-rich-content table {
    width: 100%;
    margin: 23px 0;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--gd-border);
    border-radius: 12px;
    font-size: 12px;
}

.gd-rich-content th,
.gd-rich-content td {
    padding: 12px 14px;
    border: 1px solid var(--gd-border);
    text-align: start;
}

.gd-rich-content th {
    background: color-mix(in srgb, var(--gd-primary) 7%, var(--gd-surface));
    color: var(--gd-text);
    font-weight: 800;
}

.gd-rich-content td {
    color: var(--gd-muted);
}

.gd-rich-content hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--gd-border);
}

.gd-rich-content pre {
    max-width: 100%;
    padding: 18px;
    overflow-x: auto;
    border: 1px solid var(--gd-border);
    border-radius: 12px;
    background: var(--gd-bg);
    font-size: 12px;
    line-height: 1.7;
}

.gd-rich-content iframe {
    max-width: 100%;
    border: 0;
    border-radius: 14px;
}

/* Article Footer */

.gd-article__footer {
    margin-top: 34px;
    padding-top: 19px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--gd-border);
}

.gd-article__footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gd-muted);
    font-size: 10px;
}

.gd-article__footer span i {
    color: var(--gd-primary);
}

.gd-article__footer strong {
    color: var(--gd-primary);
    font-size: 11px;
    font-weight: 850;
}

/* =========================================================
   04. SIDEBAR
========================================================= */

.gd-sidebar {
    position: sticky;
    top: 25px;
    display: grid;
    gap: 17px;
}

.gd-info-card,
.gd-help-card {
    padding: 23px;
    border: 1px solid var(--gd-border);
    border-radius: 19px;
    background: var(--gd-surface);
    box-shadow: var(--gd-shadow);
}

.gd-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
}

.gd-card-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: color-mix(in srgb, var(--gd-primary) 8%, var(--gd-surface));
    color: var(--gd-primary);
    font-size: 15px;
}

.gd-card-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--gd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .16em;
}

.gd-card-heading h3 {
    margin: 0;
    color: var(--gd-text);
    font-size: 16px;
    font-weight: 800;
}

.gd-info-list {
    display: grid;
}

.gd-info-row {
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid var(--gd-border);
}

.gd-info-row:first-child {
    border-top: 0;
}

.gd-info-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gd-muted);
    font-size: 10px;
}

.gd-info-row span i {
    width: 14px;
    color: var(--gd-primary);
}

.gd-info-row strong {
    color: var(--gd-text);
    font-size: 12px;
    font-weight: 750;
}

/* Help Card */

.gd-help-card {
    position: relative;
    overflow: hidden;
    background: color-mix(in srgb, var(--gd-primary) 4%, var(--gd-surface));
}

.gd-help-card::after {
    content: "";
    position: absolute;
    inset-inline-end: -55px;
    bottom: -75px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--gd-primary) 8%, transparent);
    filter: blur(15px);
    pointer-events: none;
}

.gd-help-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--gd-surface);
    color: var(--gd-primary);
    box-shadow: 0 6px 18px rgba(20, 30, 45, .06);
}

.gd-help-card__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--gd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .13em;
}

.gd-help-card h3 {
    margin: 0 0 10px;
    color: var(--gd-text);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
}

.gd-help-card p {
    margin: 0;
    color: var(--gd-muted);
    font-size: 11px;
    line-height: 1.9;
}

.gd-help-card > a {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gd-primary);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .25s ease;
}

.gd-help-card > a:hover {
    gap: 15px;
}

/* =========================================================
   05. RELATED SECTIONS
========================================================= */

.gd-related-section {
    position: relative;
    padding: clamp(65px, 7vw, 90px) 0;
    border-top: 1px solid var(--gd-border);
    isolation: isolate;
}

.gd-related-articles {
    background: color-mix(in srgb, var(--gd-surface) 55%, var(--gd-bg));
}

.gd-related-guides {
    background: var(--gd-bg);
}

.gd-related-heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.gd-related-heading .gd-section-kicker {
    margin-bottom: 13px;
}

.gd-related-heading h2 {
    margin: 0;
    color: var(--gd-text);
    font-size: clamp(27px, 3.5vw, 38px);
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -.035em;
}

.gd-related-heading p {
    margin: 13px auto 0;
    color: var(--gd-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================================
   06. RELATED BLOG CARDS
========================================================= */

.gd-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.gd-blog-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gd-border);
    border-radius: 18px;
    background: var(--gd-surface);
    color: var(--gd-text);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(20, 30, 45, .035);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.gd-blog-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--gd-primary) 25%, var(--gd-border));
    box-shadow: 0 18px 38px rgba(20, 30, 45, .09);
}

.gd-blog-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gd-bg);
}

.gd-blog-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.gd-blog-card:hover .gd-blog-card__image img {
    transform: scale(1.045);
}

.gd-blog-card__category {
    position: absolute;
    inset-inline-start: 13px;
    bottom: 13px;
    max-width: calc(100% - 26px);
    padding: 7px 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(25, 30, 38, .72);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.gd-blog-card__body {
    padding: 19px;
}

.gd-blog-card__body h3 {
    margin: 0;
    color: var(--gd-text);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
    transition: color .25s ease;
}

.gd-blog-card:hover .gd-blog-card__body h3 {
    color: var(--gd-primary);
}

.gd-blog-card__body p {
    min-height: 48px;
    margin: 10px 0 18px;
    color: var(--gd-muted);
    font-size: 11px;
    line-height: 1.8;
}

.gd-blog-card__meta {
    padding-top: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    border-top: 1px solid var(--gd-border);
}

.gd-blog-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gd-muted);
    font-size: 9px;
}

.gd-blog-card__meta i {
    color: var(--gd-primary);
}

.gd-card-arrow {
    position: absolute;
    inset-inline-end: 17px;
    top: 17px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(25, 30, 38, .55);
    color: #fff;
    opacity: 0;
    transform: translateY(5px);
    transition: .25s ease;
    backdrop-filter: blur(8px);
}

.gd-blog-card:hover .gd-card-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   07. RELATED GUIDE CARDS
========================================================= */

.gd-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.gd-guide-card {
    position: relative;
    min-width: 0;
    min-height: 205px;
    padding: 21px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gd-border);
    border-radius: 18px;
    background: var(--gd-surface);
    color: var(--gd-text);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(20, 30, 45, .035);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.gd-guide-card::before {
    content: "";
    position: absolute;
    inset-inline-end: -90px;
    top: -100px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--gd-primary) 7%, transparent);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.gd-guide-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--gd-primary) 25%, var(--gd-border));
    box-shadow: 0 18px 38px rgba(20, 30, 45, .08);
}

.gd-guide-card:hover::before {
    opacity: 1;
}

.gd-guide-card__top {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gd-guide-card__category {
    max-width: calc(100% - 43px);
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--gd-primary) 17%, var(--gd-border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--gd-primary) 5%, var(--gd-surface));
    color: var(--gd-primary);
    font-size: 9px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gd-guide-card__icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--gd-primary) 8%, var(--gd-surface));
    color: var(--gd-primary);
    font-size: 13px;
}

.gd-guide-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--gd-text);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
    transition: color .25s ease;
}

.gd-guide-card:hover h3 {
    color: var(--gd-primary);
}

.gd-guide-card > p {
    position: relative;
    z-index: 1;
    margin: 10px 0 20px;
    color: var(--gd-muted);
    font-size: 11px;
    line-height: 1.8;
}

.gd-guide-card__footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--gd-border);
}

.gd-guide-card__footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gd-muted);
    font-size: 9px;
    font-weight: 650;
}

.gd-guide-card__footer span i {
    color: var(--gd-primary);
}

.gd-guide-card__arrow {
    color: var(--gd-primary);
    font-size: 12px;
    transition: transform .25s ease;
}

.gd-guide-card:hover .gd-guide-card__arrow {
    transform: translateX(-4px);
}

.gd-empty {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed var(--gd-border);
    border-radius: 15px;
    color: var(--gd-muted);
    font-size: 12px;
    text-align: center;
}

/* Related Footer */

.gd-related-footer {
    margin-top: 31px;
    display: flex;
    justify-content: center;
}

.gd-related-footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gd-primary);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .25s ease;
}

.gd-related-footer a:hover {
    gap: 15px;
}

/* =========================================================
   08. BOTTOM CTA
========================================================= */

.gd-bottom-cta {
    position: relative;
    padding: 35px 0 75px;
}

.gd-bottom-cta__inner {
    position: relative;
    padding: clamp(28px, 5vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--gd-primary) 15%, var(--gd-border));
    border-radius: 24px;
    background: color-mix(in srgb, var(--gd-primary) 5%, var(--gd-surface));
}

.gd-bottom-cta__inner::after {
    content: "";
    position: absolute;
    inset-inline-end: -90px;
    top: -130px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--gd-primary) 8%, transparent);
    filter: blur(45px);
    pointer-events: none;
}

.gd-bottom-cta__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.gd-bottom-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--gd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .16em;
}

.gd-bottom-cta__content h2 {
    margin: 0;
    color: var(--gd-text);
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.35;
    font-weight: 850;
    letter-spacing: -.025em;
}

.gd-bottom-cta__content p {
    margin: 12px 0 0;
    color: var(--gd-muted);
    font-size: 12px;
    line-height: 1.8;
}

.gd-bottom-cta__button {
    position: relative;
    z-index: 1;
    min-height: 48px;
    padding: 0 20px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 11px;
    background: var(--gd-primary);
    color: #fff !important;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--gd-primary) 19%, transparent);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gd-bottom-cta__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 27px color-mix(in srgb, var(--gd-primary) 25%, transparent);
}

/* =========================================================
   09. RTL SUPPORT
========================================================= */

.guide-details-page[dir="rtl"] .gd-eyebrow,
.guide-details-page[dir="rtl"] .gd-section-kicker,
.guide-details-page[dir="rtl"] .gd-card-eyebrow,
.guide-details-page[dir="rtl"] .gd-help-card__eyebrow,
.guide-details-page[dir="rtl"] .gd-bottom-cta__eyebrow {
    letter-spacing: .04em;
}

.guide-details-page[dir="rtl"] .gd-hero__title,
.guide-details-page[dir="rtl"] .gd-article,
.guide-details-page[dir="rtl"] .gd-sidebar,
.guide-details-page[dir="rtl"] .gd-guide-card,
.guide-details-page[dir="rtl"] .gd-blog-card__body {
    text-align: right;
}

.guide-details-page[dir="rtl"] .gd-primary-btn i,
.guide-details-page[dir="rtl"] .gd-help-card > a i,
.guide-details-page[dir="rtl"] .gd-related-footer a i,
.guide-details-page[dir="rtl"] .gd-bottom-cta__button i {
    transform: rotate(180deg);
}

.guide-details-page[dir="rtl"] .gd-guide-card:hover .gd-guide-card__arrow {
    transform: translateX(4px);
}

.guide-details-page[dir="rtl"] .gd-rich-content blockquote {
    border-radius: 12px 0 0 12px;
}

/* =========================================================
   10. DARK MODE
========================================================= */

html[data-theme="dark"] .guide-details-page {
    --gd-shadow: 0 15px 40px rgba(0, 0, 0, .19);
}

html[data-theme="dark"] .gd-blog-card,
html[data-theme="dark"] .gd-guide-card,
html[data-theme="dark"] .gd-article,
html[data-theme="dark"] .gd-info-card,
html[data-theme="dark"] .gd-help-card {
    box-shadow: 0 13px 35px rgba(0, 0, 0, .15);
}

html[data-theme="dark"] .gd-hero__image-label {
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .gd-rich-content pre {
    background: color-mix(in srgb, var(--gd-bg) 85%, #000);
}

html[data-theme="dark"] .gd-bottom-cta__inner {
    background: color-mix(in srgb, var(--gd-primary) 9%, var(--gd-surface));
}

/* =========================================================
   11. TABLET
========================================================= */

@media (max-width: 1000px) {
    .gd-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
        gap: 35px;
    }

    .gd-content-layout {
        grid-template-columns: minmax(0, 1fr) 255px;
        gap: 18px;
    }

    .gd-info-card,
    .gd-help-card {
        padding: 19px;
    }

    .gd-blogs-grid,
    .gd-guides-grid {
        gap: 13px;
    }
}

@media (max-width: 800px) {
    .gd-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gd-hero__content {
        max-width: 700px;
    }

    .gd-hero__visual {
        width: min(100%, 580px);
        margin-inline: auto;
    }

    .gd-content-layout {
        grid-template-columns: 1fr;
    }

    .gd-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-blogs-grid,
    .gd-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-bottom-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   12. MOBILE
========================================================= */

@media (max-width: 600px) {
    .guide-breadcrumb {
        padding: 15px 0;
    }

    .guide-breadcrumb nav {
        gap: 7px;
        font-size: 9px;
    }

    .guide-breadcrumb .current {
        max-width: 37vw;
    }

    .gd-hero {
        padding: 43px 0 48px;
    }

    .gd-eyebrow {
        margin-bottom: 18px;
        font-size: 8px;
    }

    .gd-hero__meta {
        gap: 9px;
        margin-bottom: 17px;
    }

    .gd-category {
        min-height: 28px;
        padding-inline: 10px;
        font-size: 9px;
    }

    .gd-meta-item {
        font-size: 9px;
    }

    .gd-hero__title {
        font-size: clamp(31px, 9vw, 42px);
        line-height: 1.28;
        letter-spacing: -.035em;
    }

    .gd-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .gd-primary-btn {
        min-height: 46px;
        padding-inline: 17px;
    }

    .gd-hero__visual {
        padding: 0 0 14px 12px;
    }

    .gd-hero__image {
        aspect-ratio: 1.2 / 1;
        border-radius: 19px;
    }

    .gd-hero__image-decoration {
        inset: 13px -1px -1px 24px;
        border-radius: 19px;
    }

    .gd-hero__image-label {
        min-width: 150px;
        padding: 10px 12px;
        gap: 9px;
        border-radius: 12px;
    }

    .gd-hero__image-label-icon {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .gd-content-section {
        padding: 15px 0 60px;
    }

    .gd-article {
        padding: 22px 18px;
        border-radius: 17px;
    }

    .gd-article__top {
        gap: 12px;
    }

    .gd-article__heading h2 {
        font-size: 22px;
    }

    .gd-article__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
        font-size: 15px;
    }

    .gd-article__divider {
        margin: 20px 0 23px;
    }

    .gd-rich-content {
        font-size: 13px;
        line-height: 1.9;
    }

    .gd-rich-content p {
        font-size: 13px;
        line-height: 1.9;
    }

    .gd-rich-content h1 {
        font-size: 23px;
    }

    .gd-rich-content h2 {
        font-size: 20px;
    }

    .gd-rich-content h3 {
        font-size: 17px;
    }

    .gd-rich-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .gd-article__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .gd-sidebar {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gd-info-card,
    .gd-help-card {
        padding: 20px;
        border-radius: 16px;
    }

    .gd-related-section {
        padding: 57px 0;
    }

    .gd-related-heading {
        margin-bottom: 25px;
    }

    .gd-related-heading h2 {
        font-size: 28px;
    }

    .gd-related-heading p {
        font-size: 11px;
    }

    .gd-blogs-grid,
    .gd-guides-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gd-blog-card {
        border-radius: 15px;
    }

    .gd-blog-card__body {
        padding: 17px;
    }

    .gd-blog-card__body h3 {
        font-size: 14px;
    }

    .gd-blog-card__body p {
        min-height: auto;
    }

    .gd-card-arrow {
        opacity: 1;
        transform: none;
    }

    .gd-guide-card {
        min-height: 185px;
        padding: 19px;
        border-radius: 16px;
    }

    .gd-bottom-cta {
        padding: 15px 0 55px;
    }

    .gd-bottom-cta__inner {
        padding: 25px 20px;
        gap: 22px;
        border-radius: 18px;
    }

    .gd-bottom-cta__content h2 {
        font-size: 24px;
    }

    .gd-bottom-cta__content p {
        font-size: 11px;
    }

    .gd-bottom-cta__button {
        width: 100%;
        min-height: 46px;
    }
}

/* =========================================================
   13. ACCESSIBILITY
========================================================= */

.gd-primary-btn:focus-visible,
.gd-help-card > a:focus-visible,
.gd-blog-card:focus-visible,
.gd-guide-card:focus-visible,
.gd-related-footer a:focus-visible,
.gd-bottom-cta__button:focus-visible {
    outline: 2px solid var(--gd-primary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .guide-details-page *,
    .guide-details-page *::before,
    .guide-details-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
