/*
Theme Name: Astra Child - Sukiyaki Travel Japan
Theme URI: https://sukiyaki-travel-japan.com
Description: Child theme for Astra — SUKIYAKI TRAVEL JAPAN hotel review site
Author: Sukiyaki Travel Japan
Author URI: https://sukiyaki-travel-japan.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* ==========================================================================
   SUKIYAKI TRAVEL JAPAN — Custom Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens (CSS Variables)
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --stj-gold:         #C9A84C;
    --stj-gold-light:   #E8D5A3;
    --stj-gold-dark:    #9A7A2E;
    --stj-navy:         #0D1B2A;
    --stj-navy-mid:     #1A2E42;
    --stj-navy-light:   #2C4A63;
    --stj-white:        #FFFFFF;
    --stj-off-white:    #F8F6F1;
    --stj-gray-light:   #E8E4DC;
    --stj-gray-mid:     #9A9087;
    --stj-gray-dark:    #4A4440;
    --stj-text:         #1A1614;

    /* Typography */
    --stj-font-heading: 'Playfair Display', 'Noto Serif JP', Georgia, serif;
    --stj-font-body:    'Inter', 'Noto Sans JP', sans-serif;
    --stj-font-accent:  'Cormorant Garamond', 'Noto Serif JP', serif;

    /* Spacing */
    --stj-section-gap:  80px;
    --stj-card-radius:  4px;

    /* Transitions */
    --stj-transition:   all 0.3s ease;
}

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --------------------------------------------------------------------------
   Base Typography
   -------------------------------------------------------------------------- */
body {
    font-family: var(--stj-font-body);
    color: var(--stj-text);
    background-color: var(--stj-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
    font-family: var(--stj-font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--stj-navy);
}

/* --------------------------------------------------------------------------
   Site Header
   -------------------------------------------------------------------------- */
.site-header,
#masthead {
    background-color: var(--stj-navy);
    border-bottom: 1px solid var(--stj-gold-dark);
}

.site-header .site-title,
.site-header .site-title a {
    font-family: var(--stj-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--stj-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-header .site-description {
    font-family: var(--stj-font-accent);
    font-size: 0.75rem;
    color: var(--stj-gold-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Navigation */
.main-header-menu > li > a,
.ast-header-menu-item > a {
    font-family: var(--stj-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stj-white) !important;
    transition: var(--stj-transition);
}

.main-header-menu > li > a:hover,
.ast-header-menu-item > a:hover {
    color: var(--stj-gold) !important;
}

/* --------------------------------------------------------------------------
   Hero / Page Header
   -------------------------------------------------------------------------- */
.ast-archive-description,
.page-header {
    background-color: var(--stj-navy);
    padding: 60px 0;
    text-align: center;
}

.ast-archive-description .ast-archive-title,
.page-header .page-title {
    font-family: var(--stj-font-heading);
    color: var(--stj-white);
    font-size: 2.5rem;
}

/* Gold Divider Accent */
.stj-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--stj-gold), transparent);
    margin: 16px auto;
    border: none;
}

/* --------------------------------------------------------------------------
   Hotel Review Cards
   -------------------------------------------------------------------------- */
.stj-hotel-card {
    background: var(--stj-white);
    border: 1px solid var(--stj-gray-light);
    border-radius: var(--stj-card-radius);
    overflow: hidden;
    transition: var(--stj-transition);
    position: relative;
}

.stj-hotel-card:hover {
    box-shadow: 0 8px 32px rgba(13, 27, 42, 0.12);
    transform: translateY(-2px);
}

.stj-hotel-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.stj-hotel-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.stj-hotel-card:hover .stj-hotel-card__image img {
    transform: scale(1.04);
}

.stj-hotel-card__body {
    padding: 24px;
}

.stj-hotel-card__category {
    font-family: var(--stj-font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stj-gold-dark);
    margin-bottom: 8px;
}

.stj-hotel-card__title {
    font-family: var(--stj-font-heading);
    font-size: 1.15rem;
    color: var(--stj-navy);
    margin-bottom: 8px;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: break-word;
}

.stj-hotel-card__title a {
    color: inherit;
    text-decoration: none;
}

.stj-hotel-card__title a:hover {
    color: var(--stj-gold-dark);
}

.stj-hotel-card__location {
    font-size: 0.8rem;
    color: var(--stj-gray-mid);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Star Rating */
.stj-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stj-rating__stars {
    color: var(--stj-gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.stj-rating__score {
    font-family: var(--stj-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--stj-navy);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.stj-btn,
.wp-block-button__link,
.ast-button,
.button {
    font-family: var(--stj-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--stj-transition);
}

/* Primary: Gold */
.stj-btn--primary,
.wp-block-button.is-style-fill .wp-block-button__link {
    background-color: var(--stj-gold);
    color: var(--stj-navy) !important;
    border: 1px solid var(--stj-gold);
    padding: 14px 32px;
}

.stj-btn--primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
    background-color: var(--stj-gold-dark);
    border-color: var(--stj-gold-dark);
}

/* Secondary: Outline */
.stj-btn--outline {
    background-color: transparent;
    color: var(--stj-navy) !important;
    border: 1px solid var(--stj-navy);
    padding: 12px 28px;
}

.stj-btn--outline:hover {
    background-color: var(--stj-navy);
    color: var(--stj-white) !important;
}

/* YouTube Button */
.stj-btn--youtube {
    background-color: #FF0000;
    color: var(--stj-white) !important;
    border: none;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stj-btn--youtube:hover {
    background-color: #CC0000;
    color: var(--stj-white) !important;
}

/* Agoda Affiliate Button */
.stj-btn--agoda {
    background-color: var(--stj-navy);
    color: var(--stj-white) !important;
    border: 1px solid var(--stj-gold);
    padding: 14px 32px;
}

.stj-btn--agoda:hover {
    background-color: var(--stj-gold);
    color: var(--stj-navy) !important;
}

/* --------------------------------------------------------------------------
   YouTube Embed
   -------------------------------------------------------------------------- */
.stj-youtube-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background-color: var(--stj-navy);
    margin-bottom: 32px;
}

.stj-youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.stj-youtube-embed__label {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 0, 0, 0.9);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   Hero — Single Hotel Review (full-bleed split layout)
   -------------------------------------------------------------------------- */

/*
 * Full-bleed trick: escape the ast-container padding & max-width.
 * calc(50% - 50vw) works for both full-width and max-width containers.
 */
.stj-hero {
    background-color: var(--stj-navy);
    color: var(--stj-white);
    padding: 40px 0;
    margin-left:  calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

/* Inner wrapper re-centers content to match ast-container width */
.stj-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;   /* 両カラムをトップ揃え — センタリングによる余白を排除 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.stj-hero__eyebrow {
    font-family: var(--stj-font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stj-gold);
    margin-bottom: 12px;
}

.stj-hero__title {
    font-family: var(--stj-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--stj-white);
    line-height: 1.25;
    margin-bottom: 20px;
}

/* dl/dt/dd meta grid (Score, Stayed, Room, Price) */
.stj-hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
}

.stj-hero__meta-item {
    display: flex;
    flex-direction: column;
}

.stj-hero__meta-item dt {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stj-gold-light);
    margin-bottom: 3px;
    font-weight: 400;
}

.stj-hero__meta-item dd {
    font-family: var(--stj-font-heading);
    font-size: 1rem;
    color: var(--stj-white);
    margin: 0;
}

.stj-hero__meta-item dd span {
    font-family: var(--stj-font-body);
    font-size: 0.75rem;
    color: var(--stj-gold-light);
}

/* YouTube embed — 16:9 */
.stj-hero__embed {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: var(--stj-card-radius);
    background-color: #000;
}

.stj-hero__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Featured image fallback */
.stj-hero__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--stj-card-radius);
}

.stj-hero__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Left-aligned divider variant */
.stj-divider--left {
    margin: 16px 0;
}

/* --------------------------------------------------------------------------
   Body wrapper — ast-container の二重ネストを避けるためのカスタムラッパー
   stj-hero__inner と同じ max-width / padding に揃える
   -------------------------------------------------------------------------- */
.stj-body-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Review Columns (70% main + 30% sidebar)
   -------------------------------------------------------------------------- */
.stj-review-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 56px 0;
}

.stj-review-content {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Hotel Info box (sidebar)
   -------------------------------------------------------------------------- */
.stj-hotel-info {
    background: var(--stj-off-white);
    border: 1px solid var(--stj-gray-light);
    padding: 24px;
    margin-bottom: 20px;
}

.stj-hotel-info__heading {
    font-family: var(--stj-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stj-gray-dark);
    margin-bottom: 16px;
}

.stj-hotel-info__row {
    margin-bottom: 12px;
}

.stj-hotel-info__row:last-child {
    margin-bottom: 0;
}

.stj-hotel-info__label {
    font-size: 0.7rem;
    color: var(--stj-gray-mid);
    display: block;
    margin-bottom: 2px;
}

.stj-hotel-info__value {
    font-size: 0.875rem;
}

.stj-hotel-info__value--price {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Block variant for sidebar buttons
   -------------------------------------------------------------------------- */
.stj-btn--block {
    display: block;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-family: var(--stj-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Affiliate disclosure
   -------------------------------------------------------------------------- */
.stj-affiliate-note {
    font-size: 0.65rem;
    color: var(--stj-gray-mid);
    line-height: 1.6;
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Score / Rating Box
   -------------------------------------------------------------------------- */
.stj-score-box {
    background: linear-gradient(135deg, var(--stj-navy), var(--stj-navy-mid));
    border: 1px solid var(--stj-gold);
    padding: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.stj-score-box__number {
    font-family: var(--stj-font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--stj-gold);
    line-height: 1;
}

.stj-score-box__stars {
    color: var(--stj-gold);
    font-size: 1.1rem;
    margin: 8px 0;
    letter-spacing: 2px;
}

.stj-score-box__label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stj-gold-light);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Pros & Cons
   -------------------------------------------------------------------------- */
/*
 * Good Points / Things to Note を縦積み（単列）にして
 * 本文エリア全幅（約800px）を確保 → 単語折り返し解消
 */
.stj-pros-cons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.stj-pros,
.stj-cons {
    padding: 24px;
    border-radius: var(--stj-card-radius);
    min-width: 0;
}

.stj-pros ul,
.stj-cons ul {
    margin: 0;
    padding-left: 18px;
}

.stj-pros li,
.stj-cons li {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

.stj-pros {
    background-color: #F0F7F0;
    border-left: 3px solid #4CAF50;
}

.stj-cons {
    background-color: #FDF4F4;
    border-left: 3px solid #E57373;
}

.stj-pros__title,
.stj-cons__title {
    font-family: var(--stj-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.stj-pros__title { color: #2E7D32; }
.stj-cons__title { color: #C62828; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer,
#colophon {
    background-color: var(--stj-navy);
    border-top: 1px solid var(--stj-gold-dark);
    color: var(--stj-gray-light);
}

.site-footer a {
    color: var(--stj-gold-light);
    transition: var(--stj-transition);
}

.site-footer a:hover {
    color: var(--stj-gold);
}

.site-footer .site-info {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--stj-gray-mid);
}

/* --------------------------------------------------------------------------
   Language Switcher (Polylang)
   -------------------------------------------------------------------------- */
.pll-parent-menu-item a,
.lang-item a {
    font-family: var(--stj-font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.stj-gold-text { color: var(--stj-gold); }
.stj-navy-text { color: var(--stj-navy); }
.stj-section { padding: var(--stj-section-gap) 0; }
.stj-bg-navy { background-color: var(--stj-navy); }
.stj-bg-off-white { background-color: var(--stj-off-white); }

/* Gold underline accent for headings */
.stj-heading-accent {
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--stj-gold);
}

/* --------------------------------------------------------------------------
   Responsive — Single Hotel Review (legacy hero, kept for reference)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .stj-hero {
        padding: 40px 0;
    }

    .stj-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .stj-hero__meta {
        grid-template-columns: 1fr 1fr;
    }

    .stj-review-columns {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 32px;
    }
}

/* ==========================================================================
   NEW COMPONENTS — v2 redesign
   ========================================================================== */

/* --------------------------------------------------------------------------
   Astra layout: hide sidebar, ensure content-area is block-level
   -------------------------------------------------------------------------- */
.single-hotel_review #secondary,
.single-hotel_review .ast-right-sidebar,
.single-hotel_review .ast-left-sidebar {
    display: none !important;
}

.single-hotel_review .site-main,
.single-hotel_review #primary,
.single-hotel_review .content-area {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background-color: var(--stj-white);
}

/* --------------------------------------------------------------------------
   stj-single-wrap
   One flex-column container wrapping both the hero and the body section.
   This ensures they stack vertically as ONE item in Astra's layout,
   preventing the hero from becoming a side-by-side left column.
   -------------------------------------------------------------------------- */
.stj-single-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--stj-white);
}

/* --------------------------------------------------------------------------
   Hero Banner — navy top section, width:100% of stj-single-wrap.
   Side padding matches .stj-body-section so text & content are aligned.
   -------------------------------------------------------------------------- */
.stj-hero-banner {
    background-color: var(--stj-navy);
    color: var(--stj-white);
    padding: 56px 20px 48px;
    width: 100%;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Body section — white area directly below the hero.
   Matching side padding aligns video/grid with hero text.
   -------------------------------------------------------------------------- */
.stj-body-section {
    background-color: var(--stj-white);
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.stj-hero-banner__eyebrow {
    font-family: var(--stj-font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stj-gold);
    margin-bottom: 14px;
}

.stj-hero-banner__title {
    font-family: var(--stj-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--stj-white);
    line-height: 1.2;
    margin-bottom: 0;
    max-width: 900px;
}

.stj-hero-banner__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid rgba(201, 168, 76, 0.35);
    padding-top: 24px;
    margin-top: 24px;
}

.stj-hero-banner__meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-right: 32px;
    margin-right: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stj-hero-banner__meta-item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.stj-hero-banner__meta-label {
    font-family: var(--stj-font-body);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stj-gold-light);
    font-weight: 400;
}

.stj-hero-banner__meta-value {
    font-family: var(--stj-font-heading);
    font-size: 1.05rem;
    color: var(--stj-white);
}

.stj-hero-banner__meta-unit {
    font-family: var(--stj-font-body);
    font-size: 0.75rem;
    color: var(--stj-gold-light);
}

/* White background on Astra wrappers (belt-and-suspenders) */
.single-hotel_review #primary,
.single-hotel_review .site-content,
.single-hotel_review #content,
.single-hotel_review .ast-article-single {
    background-color: var(--stj-white);
}

/* --------------------------------------------------------------------------
   Main Video Embed (large, in 70% main column)
   -------------------------------------------------------------------------- */
.stj-main-video {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: var(--stj-card-radius);
    background-color: #000;
    margin-bottom: 32px;
}

.stj-main-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.stj-main-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--stj-card-radius);
    margin-bottom: 32px;
}

.stj-main-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Pros & Cons — 2-column side-by-side grid
   font-size: 14px; padding reduced to maximise column width
   -------------------------------------------------------------------------- */
.stj-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.stj-pros-cons-grid .stj-pros,
.stj-pros-cons-grid .stj-cons {
    min-width: 0;
    padding: 16px;
}

.stj-pros-cons-grid .stj-pros li,
.stj-pros-cons-grid .stj-cons li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   Card shared helpers
   -------------------------------------------------------------------------- */
.stj-hotel-card__image-placeholder {
    aspect-ratio: 16 / 9;
    background: var(--stj-navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stj-hotel-card__image-placeholder span {
    color: var(--stj-gold);
    font-size: 2rem;
}

.stj-hotel-card__title a {
    text-decoration: none;
    color: var(--stj-navy);
    transition: var(--stj-transition);
}

.stj-hotel-card__title a:hover {
    color: var(--stj-gold-dark);
}

.stj-hotel-card__price {
    font-size: 0.82rem;
    color: var(--stj-gray-dark);
    margin-bottom: 14px;
}

.stj-hotel-card__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.stj-card-link {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--stj-font-body);
    color: var(--stj-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--stj-gold);
    padding-bottom: 2px;
    transition: var(--stj-transition);
}

.stj-card-link:hover {
    color: var(--stj-gold-dark);
    border-bottom-color: var(--stj-gold-dark);
}

.stj-card-link--agoda {
    color: var(--stj-gold-dark);
    border-bottom-color: var(--stj-gold-dark);
}

.stj-card-link--agoda:hover {
    color: var(--stj-navy);
    border-bottom-color: var(--stj-navy);
}

.stj-rating__out-of {
    font-size: 0.7rem;
    color: var(--stj-gray-mid);
    font-family: var(--stj-font-body);
}

/* --------------------------------------------------------------------------
   Related Reviews section
   -------------------------------------------------------------------------- */
.stj-related-heading {
    font-family: var(--stj-font-heading);
    font-size: 1.8rem;
    color: var(--stj-navy);
    text-align: center;
    margin-bottom: 8px;
}

.stj-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* ==========================================================================
   ARCHIVE PAGE — Astra overrides
   Removes Astra's container constraints so stj-archive-wrap controls layout.
   ========================================================================== */
.post-type-archive-hotel_review #content .ast-container,
.post-type-archive-hotel_review .site-content .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.post-type-archive-hotel_review #primary,
.post-type-archive-hotel_review .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.post-type-archive-hotel_review #secondary,
.post-type-archive-hotel_review .ast-right-sidebar,
.post-type-archive-hotel_review .ast-left-sidebar {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Archive Wrap — flex column so hero / filters / grid stack vertically
   -------------------------------------------------------------------------- */
.stj-archive-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--stj-white);
}

/* --------------------------------------------------------------------------
   Archive Hero Header — full-width navy, centered
   -------------------------------------------------------------------------- */
.stj-archive-hero {
    background-color: var(--stj-navy);
    color: var(--stj-white);
    padding: 64px 20px 48px;
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
    text-align: center;
}

.stj-archive-hero__inner {
    max-width: 900px;
    margin: 0 auto;
}

.stj-archive-hero__eyebrow {
    font-family: var(--stj-font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stj-gold);
    margin-bottom: 16px;
}

.stj-archive-hero__title {
    font-family: var(--stj-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--stj-white);
    margin-bottom: 12px;
}

.stj-archive-hero__subtitle {
    color: var(--stj-gold-light);
    font-size: 0.9rem;
    margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Archive Location Filter Bar
   -------------------------------------------------------------------------- */
.stj-archive-filters {
    background: var(--stj-navy-mid);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
}

.stj-archive-filters__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.stj-filter-btn {
    font-family: var(--stj-font-body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--stj-gold-light);
    text-decoration: none;
    transition: var(--stj-transition);
}

.stj-filter-btn:hover,
.stj-filter-btn--active {
    border-color: var(--stj-gold);
    color: var(--stj-gold);
}

/* --------------------------------------------------------------------------
   Archive Card Section — white background, centered inner container
   -------------------------------------------------------------------------- */
.stj-archive-section {
    background-color: var(--stj-white);
    width: 100%;
    padding: 64px 20px;
    box-sizing: border-box;
}

.stj-archive-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Archive Card Grid
   -------------------------------------------------------------------------- */
.stj-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* --------------------------------------------------------------------------
   Full Review — body text section below Good/Bad grid
   -------------------------------------------------------------------------- */
.stj-full-review {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--stj-gray-light);
}

.stj-full-review__title {
    font-family: var(--stj-font-heading);
    font-size: 1.5rem;
    color: var(--stj-navy);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.stj-full-review__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--stj-gold);
    margin-top: 10px;
}

.stj-full-review__body {
    font-family: var(--stj-font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: #2a2a2a;
}

.stj-full-review__body p {
    margin-bottom: 1.5em;
}

.stj-full-review__body p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.stj-pagination {
    text-align: center;
    margin-top: 48px;
}

.stj-pagination .page-numbers {
    font-family: var(--stj-font-body);
    font-size: 0.8rem;
    padding: 8px 14px;
    border: 1px solid var(--stj-gray-light);
    color: var(--stj-navy);
    text-decoration: none;
    display: inline-block;
    margin: 0 2px;
    transition: var(--stj-transition);
}

.stj-pagination .page-numbers:hover,
.stj-pagination .page-numbers.current {
    background-color: var(--stj-navy);
    color: var(--stj-gold);
    border-color: var(--stj-navy);
}

/* --------------------------------------------------------------------------
   Archive empty state
   -------------------------------------------------------------------------- */
.stj-archive-empty {
    text-align: center;
    color: var(--stj-gray-mid);
    padding: 80px 0;
}

/* --------------------------------------------------------------------------
   Responsive — all new components
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Hero banner: meta items stack vertically */
    .stj-hero-banner__meta {
        flex-direction: column;
        gap: 14px;
    }

    .stj-hero-banner__meta-item {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .stj-hero-banner__meta-label {
        min-width: 72px;
    }

    /* Review columns: stack sidebar below main */
    .stj-review-columns {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 32px;
    }

    /* Pros/cons: stack on mobile */
    .stj-pros-cons-grid {
        grid-template-columns: 1fr;
    }

    /* Related grid: 1 column */
    .stj-related-grid {
        grid-template-columns: 1fr;
    }

    /* Archive grid: 1 column */
    .stj-archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* Archive grid: 2 columns on tablet */
    .stj-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Related grid: 2 columns on tablet */
    .stj-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Pros/cons: keep 2 columns on tablet */
    .stj-pros-cons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   FRONT PAGE — SUKIYAKI TRAVEL JAPAN
   ========================================================================== */

/* --------------------------------------------------------------------------
   Astra overrides: remove container constraints so sections are full-bleed.
   The header uses .ast-primary-header-bar, not .ast-container, so it is safe.
   -------------------------------------------------------------------------- */
.home #content .ast-container,
.home .site-content .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

.home #primary,
.home .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.home #secondary { display: none !important; }

/* --------------------------------------------------------------------------
   stj-fp-wrap — flex column: stacks all 4 sections vertically
   -------------------------------------------------------------------------- */
.stj-fp-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--stj-white);
}

/* --------------------------------------------------------------------------
   Inner container — reusable max-width wrapper for section content
   -------------------------------------------------------------------------- */
.stj-fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Section base
   -------------------------------------------------------------------------- */
.stj-fp-section {
    padding: 80px 0;
    width: 100%;
}

.stj-fp-section-title {
    font-family: var(--stj-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--stj-navy);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.stj-fp-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--stj-navy);      /* solid fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    width: 100%;
}

.stj-fp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.72) 0%,
        rgba(13, 27, 42, 0.62) 100%
    );
}

.stj-fp-hero__inner {
    position: relative;
    z-index: 1;
    padding: 80px 20px;
    max-width: 840px;
    margin: 0 auto;
}

.stj-fp-hero__eyebrow {
    font-family: var(--stj-font-body);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--stj-gold);
    margin-bottom: 20px;
}

.stj-fp-hero__title {
    font-family: var(--stj-font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--stj-white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.stj-fp-hero__sub {
    font-family: var(--stj-font-body);
    font-size: 1.05rem;
    color: var(--stj-gold-light);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.stj-fp-hero__btn {
    display: inline-block;
    background-color: var(--stj-gold);
    color: var(--stj-navy) !important;
    font-family: var(--stj-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 44px;
    text-decoration: none;
    border: 2px solid var(--stj-gold);
    transition: var(--stj-transition);
}

.stj-fp-hero__btn:hover {
    background-color: transparent;
    color: var(--stj-gold) !important;
}

/* --------------------------------------------------------------------------
   2. Latest Reviews
   -------------------------------------------------------------------------- */
.stj-fp-latest {
    background-color: var(--stj-white);
}

.stj-fp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.stj-fp-cta-row {
    text-align: center;
    margin-top: 48px;
}

.stj-fp-all-btn {
    display: inline-block;
    border: 1px solid var(--stj-navy);
    color: var(--stj-navy) !important;
    font-family: var(--stj-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 36px;
    text-decoration: none;
    transition: var(--stj-transition);
}

.stj-fp-all-btn:hover {
    background-color: var(--stj-navy);
    color: var(--stj-white) !important;
}

.stj-fp-no-posts {
    text-align: center;
    color: var(--stj-gray-mid);
    padding: 48px 0;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   3. Explore by Area
   -------------------------------------------------------------------------- */
.stj-fp-areas {
    background-color: var(--stj-off-white);
}

.stj-fp-area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.stj-fp-area-btn {
    font-family: var(--stj-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 32px;
    border: 1px solid var(--stj-navy);
    color: var(--stj-navy) !important;
    text-decoration: none;
    background-color: var(--stj-white);
    transition: var(--stj-transition);
}

.stj-fp-area-btn:hover {
    background-color: var(--stj-navy);
    color: var(--stj-white) !important;
}

/* --------------------------------------------------------------------------
   4. YouTube CTA
   -------------------------------------------------------------------------- */
.stj-fp-youtube {
    background-color: var(--stj-navy);
}

.stj-fp-youtube__inner {
    text-align: center;
}

.stj-fp-youtube__icon {
    display: block;
    font-size: 2.8rem;
    color: #FF0000;
    margin-bottom: 16px;
    line-height: 1;
}

.stj-fp-youtube__title {
    font-family: var(--stj-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--stj-white);
    margin-bottom: 8px;
}

/* divider color override for navy background */
.stj-fp-youtube .stj-divider {
    background: linear-gradient(90deg, transparent, var(--stj-gold), transparent);
}

.stj-fp-youtube__text {
    font-family: var(--stj-font-body);
    color: var(--stj-gold-light);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 16px auto 36px;
}

.stj-fp-youtube__btn {
    display: inline-block;
    background-color: #FF0000;
    color: var(--stj-white) !important;
    font-family: var(--stj-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 16px 44px;
    text-decoration: none;
    transition: var(--stj-transition);
}

.stj-fp-youtube__btn:hover {
    background-color: #CC0000;
    color: var(--stj-white) !important;
}

/* --------------------------------------------------------------------------
   Front Page — Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    .stj-fp-hero {
        min-height: 60vh;
        background-attachment: scroll; /* fixed attachment breaks on iOS */
    }

    .stj-fp-hero__inner {
        padding: 56px 16px;
    }

    .stj-fp-section {
        padding: 56px 0;
    }

    .stj-fp-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stj-fp-area-grid {
        gap: 8px;
    }

    .stj-fp-area-btn {
        padding: 10px 20px;
        font-size: 0.72rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .stj-fp-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
