/*
Theme Name: Exclusive Tourism Blog by Roezi
Theme URI: https://roezi.id/
Author: Roezi
Description: Lightweight editorial tourism theme for Destinasindo.
Version: 0.1.0
Text Domain: exclusive-tourism-blog
*/

:root {
    --dst-ink: #08243a;
    --dst-ink-soft: #123b57;
    --dst-muted: #637282;
    --dst-line: #e3edf2;
    --dst-paper: #ffffff;
    --dst-soft: #f6fafb;
    --dst-warm: #fff8ea;
    --dst-blue: #0a8bb8;
    --dst-sky: #1ab7c8;
    --dst-coral: #e85b34;
    --dst-gold: #f4bd42;
    --dst-green: #0a7d76;
    --dst-shadow: 0 18px 48px rgba(8, 36, 58, 0.1);
    --dst-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--dst-ink);
    background: var(--dst-paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(244, 189, 66, 0.65);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(227, 237, 242, 0.86);
    box-shadow: 0 16px 42px rgba(8, 36, 58, 0.07);
    backdrop-filter: blur(16px);
}

.site-header__inner,
.site-main,
.site-footer {
    width: min(var(--dst-max), calc(100% - 36px));
    margin: 0 auto;
}

.site-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 152px;
    filter: drop-shadow(0 8px 18px rgba(8, 36, 58, 0.1));
}

.site-nav {
    justify-self: end;
    min-width: 0;
}

.site-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    color: var(--dst-ink-soft);
    text-decoration: none;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
    color: var(--dst-blue);
    transform: translateY(-1px);
}

.site-search {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dst-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dst-ink);
    text-decoration: none;
    font-size: 21px;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(8, 36, 58, 0.08);
    transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-search:hover {
    color: var(--dst-blue);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(8, 36, 58, 0.11);
}

.menu-toggle {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 1px solid var(--dst-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dst-ink);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(8, 36, 58, 0.08);
}

.menu-toggle span {
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.site-main {
    padding: 0 0 72px;
}

.front-hero {
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    align-items: end;
    gap: 28px;
    margin: 34px 0 54px;
    padding: clamp(38px, 7vw, 72px);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-image:
        linear-gradient(90deg, rgba(8, 36, 58, 0.88) 0%, rgba(8, 36, 58, 0.72) 47%, rgba(8, 36, 58, 0.18) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 70px rgba(8, 36, 58, 0.16);
}

.front-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 750px;
    position: relative;
    z-index: 1;
}

.eyebrow,
.entry-type,
.content-card__type {
    margin: 0 0 10px;
    color: var(--dst-green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.front-hero h1,
.hero h1,
.archive-hero h1,
.single-hero h1 {
    margin: 0;
    color: var(--dst-ink);
    font-size: clamp(42px, 6.2vw, 78px);
    line-height: 1.02;
    letter-spacing: 0;
}

.front-hero h1 {
    max-width: 760px;
    color: #fff;
    text-wrap: balance;
}

.front-hero__copy > p:not(.eyebrow),
.hero p:not(.eyebrow),
.archive-hero p,
.single-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--dst-muted);
    font-size: clamp(17px, 1.6vw, 20px);
}

.front-hero__copy > p:not(.eyebrow) {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.86);
}

.front-hero .eyebrow {
    color: var(--dst-gold);
}

.front-hero__story {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    color: var(--dst-ink);
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(8, 36, 58, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.front-hero__story:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 56px rgba(8, 36, 58, 0.22);
}

.front-hero__story span {
    color: var(--dst-green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.front-hero__story strong {
    display: block;
    font-size: 23px;
    line-height: 1.14;
}

.front-hero__story em {
    color: var(--dst-muted);
    font-style: normal;
}

.front-hero__panel {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border: 1px solid rgba(227, 237, 242, 0.95);
    border-radius: 8px;
    background: var(--dst-ink);
    color: #fff;
    box-shadow: var(--dst-shadow);
}

.front-hero__panel span {
    color: var(--dst-gold);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.front-hero__panel strong {
    display: block;
    margin: 12px 0;
    font-size: 28px;
    line-height: 1.1;
}

.front-hero__panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button-primary,
.button-secondary,
.text-link,
.location-note a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 780;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background-color 160ms ease;
}

.button-primary {
    background: var(--dst-ink);
    color: #fff;
    box-shadow: 0 14px 34px rgba(8, 36, 58, 0.16);
}

.button-secondary {
    border: 1px solid var(--dst-line);
    background: #fff;
    color: var(--dst-ink);
}

.front-hero .button-primary {
    background: var(--dst-gold);
    color: var(--dst-ink);
}

.front-hero .button-secondary {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.button-primary:hover,
.button-secondary:hover,
.text-link:hover,
.location-note a:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(8, 36, 58, 0.12);
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 26px 0 58px;
    border: 1px solid var(--dst-line);
    border-radius: 8px;
    background: var(--dst-line);
    overflow: hidden;
}

.feature-strip div {
    min-height: 120px;
    padding: 22px;
    background: var(--dst-paper);
}

.feature-strip strong,
.section-head h2,
.split-band h2,
.side-box strong,
.site-footer strong {
    color: var(--dst-ink);
}

.feature-strip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
}

.feature-strip span,
.content-card__body span,
.entry-card p,
.side-box p,
.site-footer p,
.site-footer__bottom,
.mini-list span {
    color: var(--dst-muted);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin: 58px 0 20px;
}

.section-head .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -8px;
}

.section-head h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
}

.section-head a,
.text-link {
    color: var(--dst-blue);
    font-weight: 800;
    text-decoration: none;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    min-width: 0;
    border: 1px solid var(--dst-line);
    border-radius: 8px;
    background: var(--dst-paper);
    overflow: hidden;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.content-card:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 139, 184, 0.35);
    box-shadow: var(--dst-shadow);
}

.content-card a {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    color: inherit;
    text-decoration: none;
}

.content-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--dst-soft);
    overflow: hidden;
}

.content-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.content-card:hover img {
    transform: scale(1.025);
}

.content-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dst-ink);
    color: var(--dst-gold);
    font-size: 74px;
    font-weight: 900;
}

.content-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.content-card__body strong {
    color: var(--dst-ink);
    font-size: 20px;
    line-height: 1.22;
}

.split-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 34px;
    align-items: center;
    margin: 72px 0 20px;
    padding: 42px;
    border: 1px solid var(--dst-line);
    border-radius: 8px;
    background: var(--dst-warm);
}

.split-band h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.05;
}

.split-band p:not(.eyebrow) {
    max-width: 620px;
    color: var(--dst-muted);
}

.mini-list {
    display: grid;
    gap: 10px;
}

.mini-list a {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 72px;
    padding: 14px;
    border: 1px solid rgba(8, 36, 58, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.mini-list a:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(8, 36, 58, 0.08);
}

.mini-list span {
    font-weight: 900;
}

.archive-hero,
.hero {
    padding: 64px 0 38px;
    border-bottom: 1px solid var(--dst-line);
}

.archive-hero h1 {
    max-width: 840px;
}

.archive-grid {
    padding-top: 34px;
}

.navigation.pagination {
    margin-top: 36px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.page-numbers {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--dst-line);
    border-radius: 8px;
    color: var(--dst-ink);
    text-decoration: none;
}

.page-numbers.current {
    border-color: var(--dst-ink);
    background: var(--dst-ink);
    color: #fff;
}

.single-main {
    max-width: var(--dst-max);
    padding-top: 34px;
}

.single-hero {
    max-width: 980px;
    padding: 0 0 34px;
}

.single-hero h1 {
    max-width: 960px;
    font-size: clamp(38px, 5.2vw, 68px);
    text-wrap: balance;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    color: var(--dst-muted);
    font-size: 14px;
    font-weight: 720;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--dst-line);
    border-radius: 999px;
    background: var(--dst-soft);
}

.tax-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tax-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #edf8fa;
    color: #08637d;
    font-size: 13px;
    font-weight: 760;
    text-decoration: none;
}

.single-featured {
    margin: 0 0 34px;
}

.single-featured img {
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    border-radius: 8px;
}

.single-featured--hero {
    margin: 0 0 34px;
}

.single-featured--hero img {
    display: block;
    height: min(52vw, 560px);
    max-height: none;
    min-height: 340px;
    box-shadow: 0 24px 68px rgba(8, 36, 58, 0.14);
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 42px;
    align-items: start;
}

.single-content {
    max-width: 760px;
    color: #173247;
    font-size: 18px;
}

.single-content > *:first-child {
    margin-top: 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: var(--dst-ink);
    line-height: 1.18;
}

.single-content h2 {
    margin: 42px 0 14px;
    font-size: 34px;
}

.single-content h3 {
    margin: 30px 0 12px;
    font-size: 26px;
}

.single-content p,
.single-content ul,
.single-content ol {
    margin: 0 0 20px;
}

.single-content a {
    color: var(--dst-blue);
    font-weight: 700;
}

.single-content img {
    border-radius: 8px;
}

.single-sidebar {
    position: sticky;
    top: 158px;
    display: grid;
    gap: 14px;
}

.side-box,
.location-note {
    padding: 18px;
    border: 1px solid var(--dst-line);
    border-radius: 8px;
    background: var(--dst-soft);
}

.side-box p {
    margin: 8px 0 0;
}

.location-note span {
    display: block;
    color: var(--dst-ink);
    font-weight: 760;
}

.location-note a {
    margin-top: 12px;
    background: #fff;
    border: 1px solid var(--dst-line);
    color: var(--dst-blue);
}

.site-footer {
    padding: 46px 0 30px;
    border-top: 1px solid var(--dst-line);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
    gap: 28px;
}

.site-footer__brand img {
    width: 170px;
    padding: 8px;
    border-radius: 8px;
    background: var(--dst-ink);
}

.site-footer p {
    max-width: 360px;
    margin: 14px 0 0;
}

.site-footer nav {
    display: grid;
    align-content: start;
    gap: 8px;
}

.site-footer nav a,
.site-footer__note a {
    color: var(--dst-muted);
    text-decoration: none;
}

.site-footer nav a:hover,
.site-footer__note a:hover {
    color: var(--dst-blue);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--dst-line);
    font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

@media (max-width: 980px) {
    .front-hero,
    .split-band,
    .single-layout,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .front-hero {
        min-height: 0;
        padding: 42px;
        background-image:
            linear-gradient(180deg, rgba(8, 36, 58, 0.88) 0%, rgba(8, 36, 58, 0.7) 100%),
            var(--hero-image);
    }

    .front-hero__story {
        max-width: 520px;
    }

    .card-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header__inner,
    .site-main,
    .site-footer {
        width: min(100% - 28px, var(--dst-max));
    }

    .site-header__inner {
        min-height: 70px;
        grid-template-columns: auto 1fr auto auto;
        gap: 12px;
    }

    .brand img {
        width: 136px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding: 10px 0 14px;
        border-top: 1px solid var(--dst-line);
    }

    .site-header.is-open .site-nav {
        display: block;
    }

    .site-nav ul {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .site-nav a {
        min-height: 42px;
        padding: 0;
        border-bottom: 1px solid var(--dst-line);
    }

    .site-search {
        justify-self: end;
    }

    .front-hero h1,
    .hero h1,
    .archive-hero h1,
    .single-hero h1 {
        font-size: clamp(34px, 12vw, 50px);
    }

    .front-hero {
        margin-top: 20px;
        padding: 28px;
    }

    .front-hero__story {
        padding: 20px;
    }

    .feature-strip,
    .card-grid--three,
    .single-sidebar {
        grid-template-columns: 1fr;
    }

    .section-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .split-band {
        padding: 26px;
    }

    .single-content {
        font-size: 17px;
    }

    .single-content h2 {
        font-size: 28px;
    }
}
