/* Campaigns and two core destinations on the Kubtan front page. */
.kb-home .kb-campaign-hero,
.kb-home .kb-destinations {
    font-family: Tajawal, sans-serif;
}

.kb-home section.kb-campaign-hero {
    padding: clamp(16px, 2vw, 30px) 0 20px !important;
    background: #f7f6f2;
}

.kb-destination__kicker {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    color: var(--site-gold-text, #8b6828);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.kb-destination__kicker > span:not(.kb-destination__gold-kicker-icon) {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
}

.kb-campaign-carousel {
    min-width: 0;
}

.kb-campaign-slide {
    position: relative;
    min-width: 0;
    isolation: isolate;
}

.kb-campaign-slide__visual {
    position: relative;
    height: clamp(400px, 43vw, 550px);
    overflow: hidden;
    border-radius: 12px;
    background: #103550;
}

.kb-campaign-slide__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kb-campaign-slide__visual--empty {
    background: radial-gradient(
        circle at 72% 20%,
        #335e7c 0,
        #143b59 37%,
        #102b47 73%
    );
}

.kb-campaign-slide__visual--empty::before {
    content: "";
    position: absolute;
    inset: 11% 8%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: scaleX(1.5);
}

.kb-campaign-slide__monogram {
    position: absolute;
    inset-inline-end: 13%;
    inset-block-start: 12%;
    color: rgba(255, 255, 255, 0.13);
    font-family: Georgia, serif;
    font-size: clamp(170px, 27vw, 340px);
    line-height: 1;
}

.kb-campaign-slide__card {
    position: absolute;
    z-index: 1;
    right: clamp(18px, 3.4vw, 48px);
    bottom: clamp(18px, 3.4vw, 48px);
    width: min(450px, 46%);
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(11, 37, 56, 0.15);
    backdrop-filter: blur(8px);
}

.kb-campaign-slide__label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8b6828;
    font-size: 12px;
    font-weight: 800;
}

.kb-campaign-slide__label-rule {
    width: 15px;
    height: 1px;
    background: currentColor;
}

.kb-campaign-slide__card :is(h1, h2) {
    margin: 12px 0 0;
    color: #142b49;
    font-size: clamp(25px, 2.7vw, 39px);
    font-weight: 800;
    line-height: 1.25;
}

.kb-campaign-slide__card p {
    margin: 12px 0 0;
    color: #536276;
    font-size: 15px;
    line-height: 1.65;
}

.kb-campaign-slide__link {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    min-height: 44px;
    margin-block-start: 16px;
    color: #244a80 !important;
    font-size: 14px;
    font-weight: 800;
}

.kb-campaign-slide__link:hover {
    color: #142b49 !important;
}

.kb-campaign-carousel__toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 66px;
    gap: 16px;
}

.kb-campaign-carousel__status {
    justify-self: start;
    color: #607084;
    direction: ltr;
    font-size: 13px;
    font-weight: 700;
}

.kb-campaign-carousel__status strong {
    color: #244a80;
}

.kb-campaign-carousel__dots,
.kb-campaign-carousel__arrows {
    display: flex;
    align-items: center;
    gap: 7px;
}

.kb-campaign-carousel__dots button {
    width: 21px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.kb-campaign-carousel__dots button::after {
    content: "";
    display: block;
    width: 21px;
    height: 3px;
    border-radius: 20px;
    background: #c0cad4;
    transition:
        background-color 160ms ease,
        height 160ms ease;
}

.kb-campaign-carousel__dots button[aria-current="true"]::after {
    height: 5px;
    background: #244a80;
}

.kb-campaign-carousel__arrows {
    justify-self: end;
}

.kb-campaign-carousel__arrows button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #dce2e8;
    border-radius: 50%;
    background: white;
    color: #244a80;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}

.kb-campaign-carousel__arrows button:hover {
    border-color: #244a80;
    background: #edf2f8;
}

.kb-campaign-hero__fallback {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 12px;
    background: linear-gradient(130deg, #102b47, #245073);
    color: white;
}

.kb-campaign-hero__fallback-mark {
    position: absolute;
    inset-inline-end: 8%;
    inset-block-start: -18%;
    color: rgba(255, 255, 255, 0.09);
    font:
        340px/1 Georgia,
        serif;
    pointer-events: none;
}

.kb-campaign-hero__fallback h1 {
    position: relative;
    max-width: 560px;
    margin: 0 0 18px;
    color: white;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.35;
}

.kb-campaign-hero__fallback a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #fff !important;
    font-weight: 800;
}

.kb-home section.kb-destinations {
    padding: 0 0 clamp(48px, 5.5vw, 80px) !important;
    background: #f7f6f2;
}

.kb-destinations__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 18px;
}

.kb-destination {
    position: relative;
    display: flex;
    min-height: 385px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(28px, 3vw, 42px);
    border-radius: 11px;
}

.kb-destination__body {
    position: relative;
    z-index: 1;
    max-width: 455px;
}

.kb-destination h2 {
    max-width: 425px;
    margin: 20px 0 11px;
    font-size: clamp(29px, 2.9vw, 40px);
    font-weight: 800;
    line-height: 1.23;
}

.kb-destination__body > p {
    max-width: 390px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.kb-destination__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 47px;
    margin-block-start: 23px;
    padding: 11px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.kb-destination__primary:hover {
    transform: translateY(-2px);
}

.kb-destination--gold {
    border: 1px solid #e0cfa9;
    background: radial-gradient(
        circle at 12% 18%,
        #fbf8ef 0,
        #f3ebd9 65%,
        #eadbb8 100%
    );
    color: #322b1e;
}

.kb-destination--gold h2 {
    color: #322b1e;
}

.kb-destination--gold .kb-destination__body > p {
    color: #655941;
}

.kb-destination--gold .kb-destination__primary {
    background: #8b6828;
    color: white !important;
}

.kb-destination--gold .kb-destination__primary:hover {
    background: #6c4e1d;
}

.kb-destination__gold-mark {
    position: absolute;
    inset-block-start: 26px;
    inset-inline-end: 28px;
    display: flex;
    width: 130px;
    height: 130px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 104, 40, 0.35);
    border-radius: 16px;
    color: #8b6828;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.33);
    transform: rotate(-5deg);
}

.kb-destination__gold-mark svg {
    display: block;
    width: 104px;
    height: 78px;
}

.kb-destination__gold-mark small {
    margin-block-start: -5px;
    color: #654817;
    font:
        800 12px/1 Tajawal,
        sans-serif;
    letter-spacing: 0.08em;
}

.kb-destination__gold-kicker-icon {
    display: inline-grid;
    width: 28px;
    height: 24px;
    place-items: center;
}

.kb-destination__gold-kicker-icon svg {
    width: 28px;
    height: 24px;
}

.kb-destination__gold-prices {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-block: 20px 17px;
    padding: 15px 17px 12px;
    border: 1px solid rgba(139, 104, 40, 0.24);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.88);
}

.kb-destination__gold-prices-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-block-end: 12px;
    color: #65502e;
    font-size: 12px;
}

.kb-destination__gold-prices-head strong {
    font-weight: 800;
}

.kb-destination__gold-status {
    color: #746e62;
    font-weight: 700;
}

.kb-destination__gold-status.is-live {
    color: #247151;
}

.kb-destination__gold-status.is-live::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-end: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    vertical-align: middle;
}

.kb-destination__gold-rates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.kb-destination__gold-rate {
    min-width: 0;
    color: #594726;
}

.kb-destination__gold-rate + .kb-destination__gold-rate {
    padding-inline-start: 13px;
    border-inline-start: 1px solid rgba(139, 104, 40, 0.18);
}

.kb-destination__gold-rate > span {
    display: block;
    margin-block-end: 4px;
    font-size: 13px;
    font-weight: 800;
}

.kb-destination__gold-rate > strong {
    display: inline-flex;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    color: #2f291d;
    font-size: clamp(21px, 2.1vw, 29px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1.06;
    white-space: nowrap;
}

.kb-destination__gold-rate small {
    margin-block-start: 4px;
    color: #857251;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.kb-destination__gold-updated {
    display: block;
    margin-block-start: 8px;
    color: #786d5a;
    font-size: 11px;
}

.kb-destination__gold-updated[hidden] {
    display: none;
}

.kb-destination__tools {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-block-start: 20px;
    border-top: 1px solid rgba(139, 104, 40, 0.2);
}

.kb-destination__tools a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid rgba(139, 104, 40, 0.24);
    border-radius: 5px;
    color: #654817 !important;
    background: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 800;
}

.kb-destination__tools a:hover {
    background: white;
}

.kb-destination--trading {
    border: 1px solid #244a80;
    background: #142b49;
    color: white;
}

.kb-destination--trading::before {
    content: "";
    position: absolute;
    inset-inline-end: -95px;
    inset-block-start: -105px;
    width: 315px;
    height: 315px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 32px rgba(255, 255, 255, 0.025),
        0 0 0 75px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.kb-destination--trading .kb-destination__kicker {
    color: #e1bd70;
}

.kb-destination--trading h2 {
    color: white;
}

.kb-destination--trading .kb-destination__body > p,
.kb-destination__note {
    color: #cfdae6;
}

.kb-destination--trading .kb-destination__primary {
    background: white;
    color: #142b49 !important;
}

.kb-destination--trading .kb-destination__primary:hover {
    background: #e8f0f8;
}

.kb-destination__note {
    display: block;
    margin-block-start: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.kb-destination__request {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding-block-start: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.kb-destination__request-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #e1bd70;
}

.kb-destination__request > div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: white;
    font-size: 13px;
}

.kb-destination__request > div span {
    color: #e1bd70;
    font-weight: 800;
}

.kb-destination__request > div strong {
    font-weight: 700;
}

@media (max-width: 900px) {
    .kb-destinations__grid {
        grid-template-columns: 1fr;
    }

    .kb-destination {
        min-height: 345px;
    }
}

@media (max-width: 640px) {
    .kb-home section.kb-campaign-hero {
        padding: 16px 0 20px !important;
    }

    .kb-campaign-slide {
        overflow: hidden;
        border: 1px solid #dce2e8;
        border-radius: 9px;
        background: white;
    }

    .kb-campaign-slide__visual {
        width: 100%;
        height: auto;
        min-height: 185px;
        aspect-ratio: 1.85;
        border-radius: 0;
    }

    .kb-campaign-slide__visual img {
        object-fit: contain;
    }

    .kb-campaign-slide__card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 146px;
        padding: 20px 22px 22px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .kb-campaign-slide__card :is(h1, h2) {
        font-size: 27px;
    }

    .kb-campaign-carousel__toolbar {
        min-height: 58px;
    }

    .kb-home section.kb-destinations {
        padding-block-end: 42px !important;
    }

    .kb-destinations__grid {
        gap: 12px;
    }

    .kb-destination {
        min-height: 345px;
        padding: 27px 24px;
    }

    .kb-destination h2 {
        max-width: 330px;
        font-size: 32px;
    }

    .kb-destination__gold-mark {
        width: 92px;
        height: 92px;
        inset-block-start: 18px;
        inset-inline-end: 18px;
    }

    .kb-destination__gold-mark svg {
        width: 72px;
        height: 58px;
    }

    .kb-destination__gold-mark small {
        font-size: 10px;
    }

    .kb-destination__gold-prices {
        padding-inline: 13px;
    }
}

@media (max-width: 380px) {
    .kb-destination__kicker {
        font-size: 11px;
    }

    .kb-destination__gold-mark {
        display: none;
    }

    .kb-destination h2 {
        font-size: 29px;
    }

    .kb-destination__tools a {
        font-size: 12px;
    }

    .kb-destination__gold-rates {
        gap: 7px;
    }

    .kb-destination__gold-rate + .kb-destination__gold-rate {
        padding-inline-start: 8px;
    }

    .kb-destination__gold-rate > strong {
        font-size: 21px;
    }

    .kb-destination__primary {
        gap: 9px;
        padding-inline: 10px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kb-campaign-carousel__dots button::after,
    .kb-campaign-carousel__arrows button,
    .kb-destination__primary {
        transition: none;
    }
}
