/*
 * From Tokyo Hub — Page-Specific Styles
 * Inherits all design tokens from main.css (:root variables).
 * No token redefinitions here.
 *
 * Sibling to from-singapore.css. Where the markup reuses shared components
 * (TOC accordion, FAQ accordion, .sg-platform-btn from the shared CTA
 * renderer, image bleed), those rules are re-declared here so the template
 * is self-contained without loading from-singapore.css.
 *
 * @package Explore_Osaka
 */

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.tk-hero {
    position: relative;
    background: var(--ink);
    min-height: clamp(420px, 70vh, 720px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.tk-hero-bg {
    position: absolute;
    inset: 0;
}

.tk-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.tk-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(26, 23, 20, .95) 0%,
            rgba(26, 23, 20, .65) 45%,
            rgba(26, 23, 20, .3) 100%);
}

.tk-hero-content {
    position: relative;
    z-index: 2;
    padding-block: clamp(3rem, 8vh, 5rem);
    max-width: var(--max);
    width: 100%;
}

/* Breadcrumb */
.tk-breadcrumb {
    font-family: var(--sans);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--w);
}

.tk-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.tk-breadcrumb a:hover {
    text-decoration: underline;
}

.tk-breadcrumb .breadcrumb_last {
    opacity: 0.7;
    color: #fff;
}

.tk-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.tk-hero-eyebrow-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--g);
    border-radius: 2px;
}

.tk-hero-eyebrow-text {
    font-family: var(--cond);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--g);
}

.tk-hero-h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -.03em;
    font-optical-sizing: auto;
    margin-bottom: 1rem;
    max-width: 20ch;
}

.tk-hero-sub {
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, .72);
    max-width: 54ch;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tk-hero-stats {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.tk-stat-val {
    display: block;
    font-family: var(--cond);
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 900;
    color: var(--g);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: .25rem;
}

.tk-stat-lbl {
    display: block;
    font-family: var(--cond);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

/* ══════════════════════════════════════════════
   BODY LAYOUT
   ══════════════════════════════════════════════ */
.tk-body {
    background: var(--w);
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

/* ══════════════════════════════════════════════
   TOC COLLAPSIBLE BUTTON (shared dt-toc pattern)
   ══════════════════════════════════════════════ */
.dt-toc-toggle-wrapper {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    margin-bottom: 2rem;
    overflow: hidden;
}

.dt-toc-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    transition: background-color 0.2s;
    text-align: left;
}

.dt-toc-toggle-btn:hover {
    background: var(--rt);
}

.dt-toc-toggle-btn svg:first-child {
    flex-shrink: 0;
    color: var(--r);
}

.dt-toc-toggle-label {
    flex: 1;
}

.dt-toc-toggle-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--p3);
}

.dt-toc-toggle-btn[aria-expanded="true"] .dt-toc-toggle-icon {
    transform: rotate(180deg);
}

.dt-toc-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dt-toc-nav:not([hidden]) {
    max-height: 2000px;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--p2);
}

.dt-toc-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dt-toc-list li {
    margin: 0;
}

.dt-toc-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--ink3);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    line-height: 1.4;
    font-size: 0.875rem;
}

.dt-toc-list a:hover {
    color: var(--r);
    background: var(--rt);
    border-left-color: var(--r);
}

.dt-toc-list a.is-active,
.dt-toc-list a.toc-link--active {
    color: var(--r);
    font-weight: 600;
    border-left-color: var(--r);
    background: var(--rt);
}

.dt-toc-list .toc-sub-link {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem 0.375rem 1.75rem;
}

/* ══════════════════════════════════════════════
   DISCLOSURE
   ══════════════════════════════════════════════ */
.tk-disclosure {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    background: var(--rt);
    border: 1px solid rgba(193, 40, 26, .2);
    border-radius: var(--r1);
    padding: .85rem 1rem;
    font-size: .78rem;
    color: var(--ink3);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tk-disclosure svg {
    flex-shrink: 0;
    color: var(--r);
    margin-top: 1px;
}

/* ══════════════════════════════════════════════
   CONTENT SECTIONS
   ══════════════════════════════════════════════ */
.tk-content {
    max-width: 900px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    border-top: 3px solid var(--r);
    padding-top: 2.5rem;
    border-bottom: 3px solid var(--r);
    padding-bottom: 2.5rem;
}

.tk-section {
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--p2);
}

.tk-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.tk-section-intro {
    font-size: .9rem;
    color: var(--ink3);
    line-height: 1.72;
    max-width: 64ch;
    margin-block: .75rem 1.5rem;
}

.tk-callout {
    background: var(--p);
    border-left: 3px solid var(--r);
    border-radius: 0 var(--r1) var(--r1) 0;
    padding: .85rem 1.1rem;
    font-size: .82rem;
    color: var(--ink3);
    line-height: 1.65;
    margin-top: 1.25rem;
}

.tk-callout a {
    color: var(--r);
    text-decoration: underline;
}

.tk-callout a:hover {
    color: var(--rd);
}

/* ══════════════════════════════════════════════
   TRANSPORT COMPARISON TABLE (Shinkansen / Plane / Bus)
   ══════════════════════════════════════════════ */
.tk-transport-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r1);
    border: 1px solid var(--p2);
    margin-bottom: 1rem;
}

.tk-transport-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.tk-transport-table thead th {
    background: var(--p);
    padding: .75rem 1rem;
    text-align: left;
    font-family: var(--cond);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--p3);
    border-bottom: 1px solid var(--p2);
    white-space: nowrap;
}

.tk-transport-table tbody td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--p2);
    color: var(--ink3);
    vertical-align: top;
    line-height: 1.5;
}

.tk-transport-table tbody tr:last-child td {
    border-bottom: none;
}

.tk-transport-table tbody tr:hover td {
    background: rgba(237, 231, 218, .4);
}

.tk-transport-mode {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.tk-transport-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--rp);
    font-family: var(--cond);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    width: fit-content;
}

.tk-transport-badge--fast {
    background: #e6f4ea;
    color: #1e7e34;
}

.tk-transport-badge--cheap {
    background: var(--rt);
    color: var(--r);
}

.tk-transport-badge--neutral {
    background: var(--p);
    color: var(--p3);
}

.tk-transport-cta-cell {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
}

.tk-transport-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .35rem .75rem;
    border-radius: var(--r1);
    background: var(--r);
    color: #fff;
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 150ms, transform 120ms;
    white-space: nowrap;
}

.tk-transport-btn:hover {
    background: var(--rd);
    transform: translateY(-1px);
}

.tk-transport-btn:active {
    transform: translateY(0);
}

.tk-transport-btn svg {
    flex-shrink: 0;
    transition: transform 150ms;
}

.tk-transport-btn:hover svg {
    transform: translateX(2px);
}

/* Mobile: table becomes cards */
@media (max-width: 640px) {

    .tk-transport-table,
    .tk-transport-table thead,
    .tk-transport-table tbody,
    .tk-transport-table th,
    .tk-transport-table td,
    .tk-transport-table tr {
        display: block;
    }

    .tk-transport-table thead {
        display: none;
    }

    .tk-transport-table tbody tr {
        border-bottom: 1px solid var(--p2);
        padding: .85rem 1rem;
    }

    .tk-transport-table tbody tr:last-child {
        border-bottom: none;
    }

    .tk-transport-table tbody td {
        padding: .2rem 0;
        border-bottom: none;
    }

    .tk-transport-table tbody td::before {
        content: attr(data-label) ': ';
        font-family: var(--cond);
        font-size: .58rem;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--p3);
        display: block;
        margin-bottom: .1rem;
    }
}

/* ══════════════════════════════════════════════
   TRAIN-TYPE CARDS (Nozomi / Hikari / Kodama)
   ══════════════════════════════════════════════ */
.tk-train-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 1rem;
}

.tk-train-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: box-shadow 200ms var(--ease), border-color 200ms;
}

.tk-train-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--p3);
}

.tk-train-card--featured {
    border-color: var(--r);
    border-width: 2px;
}

.tk-train-speed {
    font-family: var(--cond);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--r);
}

.tk-train-name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    font-optical-sizing: auto;
}

.tk-train-duration {
    font-family: var(--cond);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.02em;
}

.tk-train-jrpass {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--cond);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: var(--rp);
    width: fit-content;
}

.tk-train-jrpass--yes {
    background: #e6f4ea;
    color: #1e7e34;
}

.tk-train-jrpass--no {
    background: var(--rt);
    color: var(--r);
}

.tk-train-note {
    font-size: .78rem;
    color: var(--ink3);
    line-height: 1.55;
    max-width: none;
}

@media (max-width: 720px) {
    .tk-train-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* JR Pass math callout — gold-accented for emphasis */
.tk-jrpass-callout {
    background: linear-gradient(180deg, #fdf6e3 0%, var(--p) 100%);
    border: 1px solid var(--g);
    border-left: 4px solid var(--gd);
    border-radius: var(--r2);
    padding: 1.15rem 1.35rem;
    font-size: .85rem;
    color: var(--ink3);
    line-height: 1.7;
    margin-top: 1.25rem;
}

.tk-jrpass-callout strong {
    color: var(--ink);
}

.tk-jrpass-callout a {
    color: var(--r);
    text-decoration: underline;
}

.tk-jrpass-callout a:hover {
    color: var(--rd);
}

.tk-jrpass-callout p {
    margin: 0 0 .5rem;
    max-width: none;
}

.tk-jrpass-callout p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   BUDGET CARDS
   ══════════════════════════════════════════════ */
.tk-budget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 1rem;
}

.tk-budget-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.25rem 1.35rem;
    position: relative;
    transition: box-shadow 200ms var(--ease), border-color 200ms;
}

.tk-budget-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--p3);
}

.tk-budget-card--mid {
    border-color: var(--r);
    border-width: 2px;
}

.tk-budget-popular {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--r);
    color: #fff;
    font-family: var(--cond);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--rp);
    white-space: nowrap;
}

.tk-budget-tier {
    font-family: var(--cond);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--r);
    margin-bottom: .5rem;
}

.tk-budget-range {
    font-family: var(--cond);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    margin-bottom: .3rem;
    letter-spacing: -.02em;
}

.tk-budget-day {
    font-size: .75rem;
    font-weight: 600;
    color: var(--p3);
}

.tk-budget-approx {
    font-size: .72rem;
    color: var(--p3);
    margin-bottom: .85rem;
}

.tk-budget-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.tk-budget-list li {
    font-size: .78rem;
    color: var(--ink3);
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
    max-width: none;
}

.tk-budget-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--r);
    opacity: .5;
}

@media (max-width: 720px) {
    .tk-budget-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tk-budget-popular {
        position: static;
        transform: none;
        margin-bottom: .5rem;
        display: inline-block;
    }
}

/* ══════════════════════════════════════════════
   TOKYO vs OSAKA COMPARISON
   ══════════════════════════════════════════════ */
.tk-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r2);
    border: 1px solid var(--p2);
}

.tk-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.tk-compare-table thead th {
    padding: .8rem 1.1rem;
    text-align: left;
    font-family: var(--cond);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--p2);
    white-space: nowrap;
}

.tk-compare-table thead th:first-child {
    background: var(--p);
    color: var(--p3);
}

.tk-compare-table thead th.tk-compare-col-tokyo {
    background: var(--ink);
    color: var(--w);
}

.tk-compare-table thead th.tk-compare-col-osaka {
    background: var(--r);
    color: #fff;
}

.tk-compare-table tbody td {
    padding: .85rem 1.1rem;
    border-bottom: 1px solid var(--p2);
    color: var(--ink3);
    vertical-align: top;
    line-height: 1.55;
}

.tk-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.tk-compare-aspect {
    font-family: var(--cond);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .68rem;
    color: var(--ink);
    background: var(--p);
    white-space: nowrap;
}

.tk-compare-table tbody td.tk-compare-osaka {
    background: rgba(248, 237, 235, .45);
    color: var(--ink2);
    font-weight: 500;
}

@media (max-width: 640px) {

    .tk-compare-table,
    .tk-compare-table thead,
    .tk-compare-table tbody,
    .tk-compare-table th,
    .tk-compare-table td,
    .tk-compare-table tr {
        display: block;
    }

    .tk-compare-table thead {
        display: none;
    }

    .tk-compare-table tbody tr {
        border-bottom: 1px solid var(--p2);
        padding: .5rem 0;
    }

    .tk-compare-table tbody tr:last-child {
        border-bottom: none;
    }

    .tk-compare-table tbody td {
        padding: .35rem 1.1rem;
        border-bottom: none;
    }

    .tk-compare-table tbody td.tk-compare-osaka {
        background: transparent;
    }

    .tk-compare-table tbody td:not(.tk-compare-aspect)::before {
        content: attr(data-label) ': ';
        font-family: var(--cond);
        font-size: .58rem;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--p3);
        display: block;
        margin-bottom: .1rem;
    }
}

/* "Read more" CTA under the comparison table */
.tk-compare-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    padding: 1.1rem 1.35rem;
    background: var(--p);
    border: 1px solid var(--p2);
    border-left: 3px solid var(--r);
    border-radius: var(--r2);
}

.tk-compare-more__text {
    flex: 1 1 280px;
    margin: 0;
    max-width: none;
    font-size: .85rem;
    line-height: 1.6;
    color: var(--ink3);
}

.tk-compare-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.2rem;
    border-radius: var(--r1);
    background: var(--r);
    color: #fff;
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms ease, transform 120ms ease, box-shadow 180ms ease;
}

.tk-compare-btn:hover {
    background: var(--rd);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}

.tk-compare-btn:active {
    transform: translateY(0);
}

.tk-compare-btn svg {
    flex-shrink: 0;
    transition: transform 150ms ease;
}

.tk-compare-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .tk-compare-more {
        flex-direction: column;
        align-items: flex-start;
    }

    .tk-compare-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════
   BOOKING PLATFORM (Agoda vs Booking.com)
   ══════════════════════════════════════════════ */
.tk-platform-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    margin-bottom: 1rem;
}

.tk-platform-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
}

.tk-platform-card--primary {
    border-color: var(--r);
    border-width: 2px;
}

.tk-platform-label {
    font-family: var(--cond);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--r);
    margin-bottom: .4rem;
}

.tk-platform-name {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .65rem;
    font-optical-sizing: auto;
}

.tk-platform-pros {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.tk-platform-pros li {
    font-size: .78rem;
    color: var(--ink3);
    padding-left: 1rem;
    position: relative;
    max-width: none;
    line-height: 1.5;
}

.tk-platform-pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--r);
    font-weight: 700;
}

@media (max-width: 640px) {
    .tk-platform-grid {
        grid-template-columns: 1fr;
    }
}

/* Activities */
.tk-activity-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    margin-top: 1rem;
}

.tk-activity-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.tk-activity-card--primary {
    border-color: var(--r);
    border-width: 2px;
}

.tk-activity-platform {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    font-optical-sizing: auto;
}

.tk-activity-card p {
    font-size: .82rem;
    color: var(--ink3);
    line-height: 1.65;
    margin: 0;
    max-width: none;
}

@media (max-width: 640px) {
    .tk-activity-grid {
        grid-template-columns: 1fr;
    }
}

/* Secondary providers row — even 3-up grid */
.tk-activity-grid--trio {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
}

@media (max-width: 860px) {
    .tk-activity-grid--trio {
        grid-template-columns: 1fr;
    }
}

/* Featured provider — Klook, set apart above the trio */
.tk-activity-featured {
    position: relative;
    background: var(--p);
    border: 2px solid var(--r);
    border-radius: var(--r2);
    padding: 1.6rem 1.6rem 1.5rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    box-shadow: var(--sh-md);
}

.tk-activity-featured__ribbon {
    position: absolute;
    top: -11px;
    left: 1.6rem;
    background: var(--r);
    color: #fff;
    font-family: var(--cond);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--rp);
    white-space: nowrap;
}

.tk-activity-platform--lg {
    font-size: 1.4rem;
}

.tk-activity-featured__sub {
    font-size: .85rem;
    color: var(--ink3);
    line-height: 1.65;
    margin: 0;
    max-width: none;
}

.tk-activity-featured__cta {
    width: 100%;
    max-width: 360px;
    margin-top: .35rem;
}

/* Two-column pros list inside the wide featured card */
.tk-platform-pros--cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem 1.75rem;
}

@media (max-width: 560px) {
    .tk-platform-pros--cols {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   SHARED BRANDED CTA BUTTON (eo_render_sg_hub_cta)
   Re-declared so the reused renderer is styled here.
   ══════════════════════════════════════════════ */
.sg-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1.1rem;
    border-radius: var(--r1);
    background: var(--brand-color, var(--r));
    color: #fff;
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background 180ms ease, transform 120ms ease, box-shadow 180ms ease;
    width: 100%;
    margin-top: auto;
    justify-content: space-between;
}

.sg-platform-btn:hover {
    background: var(--brand-color-hover, var(--rd));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.sg-platform-btn:active {
    transform: translateY(0);
}

.sg-platform-btn__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.sg-platform-btn__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.sg-platform-btn--no-filter .sg-platform-btn__icon img {
    filter: none;
}

.sg-platform-btn__label {
    flex: 1;
    text-align: left;
    line-height: 1.3;
}

.sg-platform-btn__arrow {
    flex-shrink: 0;
    opacity: .7;
    transition: transform 180ms ease;
}

.sg-platform-btn:hover .sg-platform-btn__arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* ══════════════════════════════════════════════
   PRACTICAL TIPS GRID
   ══════════════════════════════════════════════ */
.tk-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: .75rem;
}

.tk-tip-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: box-shadow 200ms, border-color 200ms;
}

.tk-tip-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--p3);
}

.tk-tip-card__num {
    font-family: var(--cond);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--r);
}

.tk-tip-card__label {
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

.tk-tip-card__text {
    font-size: .78rem;
    color: var(--ink3);
    line-height: 1.6;
    max-width: none;
}

/* ══════════════════════════════════════════════
   AMAZING PASS BLOCK
   ══════════════════════════════════════════════ */
.tk-amazing-pass {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    background: var(--p);
    border: 2px solid var(--r);
    border-radius: var(--r2);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.tk-amazing-pass__banner img {
    width: 100%;
    border-radius: var(--r1);
    display: block;
}

.tk-amazing-pass__desc {
    font-size: .85rem;
    color: var(--ink3);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tk-amazing-pass__desc p {
    margin: 0 0 .5rem;
    max-width: none;
}

.tk-pass-ctas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .6rem;
    margin-top: .25rem;
}
.tk-amazing-pass__body {
    margin: auto 0;
}
/* Each Amazing Pass button fills its grid cell evenly */
.tk-pass-ctas .sg-platform-btn {
    margin-top: 0;
}

@media (max-width: 640px) {
    .tk-amazing-pass {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   OSAKA PASSES GRID
   ══════════════════════════════════════════════ */
.tk-passes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 14px;
}

.tk-pass-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: box-shadow 200ms, border-color 200ms;
}

.tk-pass-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--p3);
}

.tk-pass-card__label {
    font-family: var(--sans);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

.tk-pass-card__subtitle {
    font-size: .76rem;
    color: var(--ink3);
    line-height: 1.55;
}

.tk-pass-card__ctas {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: auto;
}

/* ══════════════════════════════════════════════
   ESIM GRID
   ══════════════════════════════════════════════ */
.tk-esim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: .75rem;
}

.tk-esim-card {
    background: var(--p);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: box-shadow 200ms, border-color 200ms;
}

.tk-esim-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--p3);
}

.tk-esim-card__label {
    font-family: var(--sans);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
}

.tk-esim-card__subtitle {
    font-size: .76rem;
    color: var(--ink3);
    line-height: 1.55;
}

.tk-esim-card__ctas {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: auto;
}

/* ══════════════════════════════════════════════
   NEIGHBORHOODS MAP + GRID (reuses global .hood-card)
   ══════════════════════════════════════════════ */
.tk-neighborhoods-map {
    border-radius: var(--r2);
    overflow: hidden;
    border: 1px solid var(--p2);
    margin-top: .75rem;
}

.tk-neighborhoods-map__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r2, 1rem) !important;
    border: 1px solid var(--p2, #d9d0c0) !important;
    box-shadow:
        0 4px 16px oklch(0.15 0.02 40 / 0.10),
        0 1px 3px oklch(0.15 0.02 40 / 0.08) !important;
}

.tk-hood-grid {
    margin-top: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.tk-hood-grid .hood-card-name {
    font-size: clamp(.95rem, 1.8vw, 1.15rem);
}

@media (max-width: 720px) {
    .tk-hood-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* ══════════════════════════════════════════════
   CTA GRID
   ══════════════════════════════════════════════ */
.tk-cta-section {
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--p);
    border-radius: var(--r3);
    border: 1px solid var(--p2);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.tk-cta-heading {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
    font-optical-sizing: auto;
}

.tk-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tk-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 1.1rem .85rem;
    background: var(--w);
    border: 1px solid var(--p2);
    border-radius: var(--r2);
    text-align: center;
    transition: box-shadow 200ms var(--ease), border-color 200ms, transform 200ms;
}

.tk-cta-card:hover {
    box-shadow: var(--sh-md);
    border-color: var(--r);
    transform: translateY(-2px);
}

.tk-cta-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r1);
    background: var(--rt);
    color: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tk-cta-label {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    flex: 1;
}

.tk-cta-arrow {
    color: var(--r);
    margin-top: auto;
}

@media (max-width: 860px) {
    .tk-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tk-cta-grid {
        grid-template-columns: 1fr;
    }

    .tk-cta-card {
        flex-direction: row;
        text-align: left;
    }
}

/* ══════════════════════════════════════════════
   SOCIAL SHARE WIDTH MATCH
   ══════════════════════════════════════════════ */
.tk-social-share {
    max-width: 900px !important;
    margin: 0 auto clamp(2rem, 4vw, 3rem) !important;
    border-top: none !important;
}

/* ══════════════════════════════════════════════
   SUMMARIZE WITH AI
   ══════════════════════════════════════════════ */
.dt-main-content .share-with-ai {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 1rem 0 2.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--r);
    background: transparent !important;
    border-left: none !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-family: var(--sans);
}

.dt-main-content .share-with-ai .share-ai-text {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--p3);
    flex-shrink: 0;
    margin-right: 0 !important;
}

.dt-main-content .share-with-ai .share-ai-text span {
    color: var(--p3) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}

.dt-main-content .share-with-ai .share-ai {
    display: inline-flex !important;
    background: transparent !important;
    border-radius: var(--rp) !important;
    overflow: hidden;
}

.dt-main-content .share-with-ai .share-ai a,
.dt-main-content .share-with-ai .summarize-with-ai-icon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 5px 12px !important;
    border-radius: var(--rp) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.15s !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
}

.dt-main-content .share-with-ai .share-ai a:hover,
.dt-main-content .share-with-ai .summarize-with-ai-icon:hover {
    opacity: 0.85 !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
}

.dt-main-content .share-with-ai .share-ai img {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: inline-block !important;
}

.dt-main-content .share-with-ai .share-ai span {
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.dt-main-content .share-with-ai .share-ai.chatgpt,
.dt-main-content .share-with-ai .share-ai.chatgpt a,
.dt-main-content .share-with-ai .share-ai.chatgpt .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.chatgpt a:link,
.dt-main-content .share-with-ai .share-ai.chatgpt a:visited,
.dt-main-content .share-with-ai .share-ai.chatgpt a:hover,
.dt-main-content .share-with-ai .summarize-with-chatgpt,
.dt-main-content .share-with-ai .summarize-with-chatgpt:hover {
    background: #10a37f !important;
    background-color: #10a37f !important;
    color: #fff !important;
    border-color: #10a37f !important;
}

.dt-main-content .share-with-ai .share-ai.grok,
.dt-main-content .share-with-ai .share-ai.grok a,
.dt-main-content .share-with-ai .share-ai.grok .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.grok a:link,
.dt-main-content .share-with-ai .share-ai.grok a:visited,
.dt-main-content .share-with-ai .share-ai.grok a:hover,
.dt-main-content .share-with-ai .summarize-with-grok,
.dt-main-content .share-with-ai .summarize-with-grok:hover {
    background: var(--ink) !important;
    background-color: var(--ink) !important;
    color: #fff !important;
    border-color: var(--ink) !important;
}

.dt-main-content .share-with-ai .share-ai.perplexity,
.dt-main-content .share-with-ai .share-ai.perplexity a,
.dt-main-content .share-with-ai .share-ai.perplexity .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.perplexity a:link,
.dt-main-content .share-with-ai .share-ai.perplexity a:visited,
.dt-main-content .share-with-ai .share-ai.perplexity a:hover,
.dt-main-content .share-with-ai .summarize-with-perplexity,
.dt-main-content .share-with-ai .summarize-with-perplexity:hover {
    background: #1fb8cd !important;
    background-color: #1fb8cd !important;
    color: #fff !important;
    border-color: #1fb8cd !important;
}

.dt-main-content .share-with-ai .share-ai.claude,
.dt-main-content .share-with-ai .share-ai.claude a,
.dt-main-content .share-with-ai .share-ai.claude .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.claude a:link,
.dt-main-content .share-with-ai .share-ai.claude a:visited,
.dt-main-content .share-with-ai .share-ai.claude a:hover,
.dt-main-content .share-with-ai .summarize-with-claude,
.dt-main-content .share-with-ai .summarize-with-claude:hover {
    background: #cc785c !important;
    background-color: #cc785c !important;
    color: #fff !important;
    border-color: #cc785c !important;
}

/* ══════════════════════════════════════════════
   FAQ ACCORDION
   Mirrors single-post.css rules so the JS
   max-height animation works on this template.
   ══════════════════════════════════════════════ */
.tk-body .sec-title-faq {
    margin: 0 0 1.5rem;
    scroll-margin-top: 88px;
}

.faq-list {
    border-top: 1px solid var(--p2);
}

.faq-item {
    border-bottom: 1px solid var(--p2);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity var(--t);
}

.faq-trigger:hover {
    opacity: 0.8;
}

.faq-question {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
    font-optical-sizing: auto;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--t);
    color: var(--r);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-panel {
    overflow: hidden;
    transition: max-height 0.3s var(--ease, ease);
    max-height: 0;
}

.faq-answer {
    padding-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink3);
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-answer ul { list-style: disc; }
.faq-answer ol { list-style: decimal; }

.faq-answer li {
    margin-bottom: 0.35rem;
    line-height: 1.65;
}

.faq-answer ul li::marker { color: var(--r); }
.faq-answer ol li::marker { color: var(--r); font-weight: 700; }

.faq-answer strong { font-weight: 700; color: var(--ink); }
.faq-answer em { font-style: italic; }

.faq-answer a {
    color: var(--r);
    text-decoration: underline;
    text-decoration-color: rgba(193, 40, 26, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--t);
}
.faq-answer a:hover { text-decoration-color: var(--r); }

/* ══════════════════════════════════════════════
   FULL-WIDTH IMAGES (editor content bleed)
   ══════════════════════════════════════════════ */
.page-template-page-from-tokyo .tk-content img.aligncenter.size-full,
.page-template-page-from-tokyo .dt-article-prose img.aligncenter.size-full {
    --_bleed: 30%;

    display: block !important;
    width: calc(100% + var(--_bleed)) !important;
    max-width: none !important;
    margin-left: calc(-1 * (var(--_bleed) / 2)) !important;
    margin-right: calc(-1 * (var(--_bleed) / 2)) !important;
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    height: auto !important;

    border-radius: var(--r2, 1rem) !important;
    border: 1px solid var(--p2, #d9d0c0) !important;
    box-shadow:
        0 4px 16px oklch(0.15 0.02 40 / 0.10),
        0 1px 3px oklch(0.15 0.02 40 / 0.08) !important;
}

.page-template-page-from-tokyo .tk-content figure.wp-caption.aligncenter,
.page-template-page-from-tokyo .dt-article-prose figure.wp-caption.aligncenter {
    --_bleed: 30%;

    display: block !important;
    width: calc(100% + var(--_bleed)) !important;
    max-width: none !important;
    margin-left: calc(-1 * (var(--_bleed) / 2)) !important;
    margin-right: calc(-1 * (var(--_bleed) / 2)) !important;
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;

    border-radius: var(--r2, 1rem) !important;
    border: 1px solid var(--p2, #d9d0c0) !important;
    box-shadow:
        0 4px 16px oklch(0.15 0.02 40 / 0.10),
        0 1px 3px oklch(0.15 0.02 40 / 0.08) !important;

    overflow: hidden !important;
}

.page-template-page-from-tokyo .tk-content figure.wp-caption.aligncenter img,
.page-template-page-from-tokyo .dt-article-prose figure.wp-caption.aligncenter img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.page-template-page-from-tokyo .tk-content figure.wp-caption.aligncenter .wp-caption-text,
.page-template-page-from-tokyo .dt-article-prose figure.wp-caption.aligncenter .wp-caption-text {
    margin: 0 !important;
    padding: 0.6rem 1rem 0.7rem !important;
    font-size: 0.8125rem !important;
    color: var(--p3, #6b6559) !important;
    background: var(--p, #faf8f4) !important;
    border-top: 1px solid var(--p2, #d9d0c0) !important;
    text-align: left !important;
    line-height: 1.5 !important;
}

@media (max-width: 768px) {

    .page-template-page-from-tokyo .tk-content img.aligncenter.size-full,
    .page-template-page-from-tokyo .dt-article-prose img.aligncenter.size-full,
    .page-template-page-from-tokyo .tk-content figure.wp-caption.aligncenter,
    .page-template-page-from-tokyo .dt-article-prose figure.wp-caption.aligncenter {
        --_bleed: 0%;

        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: var(--r1, 0.75rem) !important;
    }
}

.page-template-page-from-tokyo .tk-content hr,
.page-template-page-from-tokyo .dt-article-prose hr {
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    border: none !important;
    background: var(--p2, #d9d0c0) !important;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    position: relative !important;
}

.page-template-page-from-tokyo .tk-content hr::before,
.page-template-page-from-tokyo .dt-article-prose hr::before {
    content: '◆' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 0.5rem !important;
    color: var(--r, #c1281a) !important;
    background: var(--p, #ede7da) !important;
    padding: 0 0.75rem !important;
    line-height: 1 !important;
}

/* ══════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════ */
@media print {

    .tk-hero,
    .tk-cta-section,
    .sg-platform-btn,
    .tk-transport-btn,
    .tk-disclosure {
        display: none !important;
    }

    .tk-body {
        padding: 0;
    }

    .tk-section {
        border-top: 1px solid #ccc;
        padding-top: 1rem;
    }
}
