/* Atamendra Journal — builds on assets/new/css/style.css (fonts, colours, navbar, footer) */

body.journal {
    background: var(--color-background);
    color: var(--color-text);
    padding-top: 0;
}

.journal .navbar { background-color: var(--color-background); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); padding: 10px 40px; }
.journal .navbar-left span { color: var(--color-text); }

.j-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.j-narrow { max-width: 740px; margin: 0 auto; padding: 0 24px; }

/* ---------- Breadcrumb ---------- */
.j-breadcrumb { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--color-accent); margin: 0 0 18px; }
.j-breadcrumb a { color: var(--color-accent); }
.j-breadcrumb a:hover { color: var(--color-primary); }
.j-breadcrumb span { margin: 0 8px; }

/* ---------- Journal index ---------- */
.j-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; margin-top: 64px; }
.j-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.j-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, 0.05) 30%, rgba(20, 16, 12, 0.7)); }
.j-hero .j-wrap { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; }
.j-eyebrow { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 12px; opacity: 0.9; }
.j-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; margin: 0 0 14px; font-weight: 400; color: #fff; }
.j-hero p { max-width: 560px; font-size: 1.08rem; line-height: 1.6; margin: 0; }

.j-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 32px; }
.j-filters button {
    font-family: 'IowanOldStyleBT', serif; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
    background: transparent; border: 1px solid #d6cbbf; color: var(--color-primary); padding: 8px 18px; cursor: pointer; transition: all .2s;
}
.j-filters button:hover, .j-filters button.active { background: var(--color-button); border-color: var(--color-button); color: #fff; }

.j-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.j-featured img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.j-featured h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin: 10px 0 16px; color: var(--color-primary); font-weight: 400; }
.j-featured p { line-height: 1.7; margin-bottom: 22px; }

.j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-bottom: 96px; }
.j-card { display: flex; flex-direction: column; color: inherit; }
.j-card[hidden] { display: none; }
.j-card .j-thumb { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; background: #e9e2d8; }
.j-card .j-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.j-card:hover .j-thumb img { transform: scale(1.04); }
.j-card h3 { font-size: 1.35rem; line-height: 1.3; margin: 8px 0 10px; color: var(--color-primary); font-weight: 400; }
.j-card p { font-size: 0.97rem; line-height: 1.65; margin: 0 0 14px; }
.j-card:hover h3 { color: var(--color-button); }
.j-card.j-soon { pointer-events: none; }
.j-card.j-soon .j-thumb { display: flex; align-items: center; justify-content: center; color: var(--color-accent); letter-spacing: 0.2em; font-size: 0.8rem; text-transform: uppercase; }

.j-meta { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); }
.j-meta b { color: var(--color-primary); font-weight: 400; }
.j-more { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-button); border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }

/* ---------- Article ---------- */
.j-article-head { padding: 150px 0 36px; text-align: center; }
.j-article-head .j-breadcrumb { text-align: center; }
.j-article-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.15; color: var(--color-primary); font-weight: 400; margin: 14px 0 18px; }
.j-article-head .j-dek { font-size: 1.15rem; line-height: 1.6; max-width: 640px; margin: 0 auto; }
.j-cover { max-width: 1120px; margin: 0 auto 56px; padding: 0 24px; }
.j-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.j-cover figcaption { font-size: 0.85rem; color: var(--color-accent); margin-top: 10px; text-align: center; }

.j-toc { border-top: 1px solid #e0d6ca; border-bottom: 1px solid #e0d6ca; padding: 22px 0; margin: 0 0 44px; }
.j-toc p { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 10px; }
.j-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.j-toc li { margin: 4px 0; break-inside: avoid; }
.j-toc a { color: var(--color-primary); }
.j-toc a:hover { color: var(--color-button); }

.j-body { font-size: 1.09rem; line-height: 1.85; }
.j-body p { margin: 0 0 1.3em; }
.j-body h2 { font-size: 1.85rem; line-height: 1.25; color: var(--color-primary); font-weight: 400; margin: 2.2em 0 0.6em; scroll-margin-top: 90px; }
.j-body h3 { font-size: 1.3rem; color: var(--color-primary); font-weight: 400; margin: 1.6em 0 0.4em; }
.j-body ul { padding-left: 22px; margin: 0 0 1.3em; }
.j-body li { margin-bottom: 0.4em; }
.j-body a { color: var(--color-button); border-bottom: 1px solid rgba(53, 68, 91, 0.3); }
.j-body a:hover { border-color: var(--color-button); }
.j-body strong { color: var(--color-primary); font-weight: 700; }

.j-place { display: flex; gap: 18px; align-items: baseline; }
.j-place .j-num { font-size: 2.6rem; line-height: 1; color: var(--color-accent); min-width: 54px; }
.j-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.88rem; color: var(--color-accent); margin: -0.5em 0 1.1em; }
.j-facts b { color: var(--color-primary); font-weight: 400; }

.j-pull { font-size: 1.45rem; line-height: 1.5; color: var(--color-primary); border-left: 3px solid var(--color-accent); padding: 4px 0 4px 24px; margin: 2em 0; font-style: italic; }

.j-callout { background: #efe8de; padding: 28px 30px; margin: 2.4em 0; }
.j-callout h3 { margin-top: 0; }
.j-callout p:last-child { margin-bottom: 0; }

.j-cta { background: var(--color-button); color: #fff; text-align: center; padding: 48px 30px; margin: 3em 0; }
.j-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.8rem; font-weight: 400; }
.j-cta p { opacity: 0.9; margin: 0 auto 24px; max-width: 480px; }
.j-cta a.j-btn { display: inline-block; background: var(--color-background); color: var(--color-button); padding: 12px 30px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; border: 0; }
.j-cta a.j-btn:hover { background: #fff; }

.j-faq details { border-bottom: 1px solid #e0d6ca; padding: 16px 0; }
.j-faq summary { cursor: pointer; font-size: 1.12rem; color: var(--color-primary); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.j-faq summary::-webkit-details-marker { display: none; }
.j-faq summary::after { content: "+"; color: var(--color-accent); font-size: 1.4rem; line-height: 1; }
.j-faq details[open] summary::after { content: "–"; }
.j-faq details p { margin: 12px 0 0; }

.j-author { display: flex; gap: 16px; align-items: center; border-top: 1px solid #e0d6ca; padding-top: 28px; margin-top: 48px; font-size: 0.95rem; }
.j-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #fff; padding: 8px; }

.j-related { background: #efe8de; padding: 72px 0 24px; margin-top: 80px; }
.j-related h2 { text-align: center; color: var(--color-primary); font-weight: 400; font-size: 2rem; margin: 0 0 40px; }
.j-related .j-grid { margin-bottom: 48px; }

@media (max-width: 900px) {
    .j-featured { grid-template-columns: 1fr; gap: 22px; }
    .j-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
    .journal .navbar { padding: 10px 16px; }
    .j-wrap, .j-narrow, .j-cover { padding: 0 16px; }
    .j-grid { grid-template-columns: 1fr; }
    .j-toc ol { columns: 1; }
    .j-hero { min-height: 52vh; }
    .j-place .j-num { font-size: 2rem; min-width: 40px; }
    .j-body { font-size: 1.03rem; }
}

/* Long headlines read better in sentence case than the site's global uppercase headings */
.j-featured h2, .j-card h3, .j-article-head h1, .j-body h2, .j-body h3, .j-related h2, .j-cta h2 { text-transform: none; letter-spacing: 0; }

/* ---------- Generated guides ---------- */
.j-cover figcaption .j-credit { display: block; font-size: 0.75rem; opacity: 0.85; margin-top: 2px; }
.j-cover figcaption .j-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.j-series { font-size: 0.9rem; letter-spacing: 0.04em; color: var(--color-accent); margin: 0 0 22px; }
.j-series a { color: var(--color-button); border-bottom: 1px solid rgba(53, 68, 91, 0.3); }
.j-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: #e0d6ca; border: 1px solid #e0d6ca; margin: 0 0 36px; }
.j-quick div { background: #efe8de; padding: 14px 16px; }
.j-quick dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 4px; font-weight: 400; }
.j-quick dd { margin: 0; color: var(--color-primary); line-height: 1.45; }
.j-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.97rem; }
.j-body th, .j-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e0d6ca; vertical-align: top; }
.j-body th { font-weight: 400; color: var(--color-accent); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 600px) { .j-body table { font-size: 0.9rem; } .j-body th, .j-body td { padding: 8px 6px; } }

/* ---------- Mobile-first reading experience ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.j-body, .j-dek, .j-card p { overflow-wrap: anywhere; }

.j-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.j-progress span { display: block; height: 100%; background: var(--color-button); transform-origin: 0 50%; transform: scaleX(0); }

.j-toc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); min-height: 44px; }
.j-toc summary::-webkit-details-marker { display: none; }
.j-toc summary span { letter-spacing: 0.04em; text-transform: none; font-size: 0.85rem; }
.j-toc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--color-primary); }
.j-toc[open] summary::after { content: "–"; }
.j-toc[open] ol { margin-top: 8px; }
.j-toc li a { display: inline-block; padding: 4px 0; }

.j-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; }
.j-table table { margin: 0; min-width: 480px; }

a.j-map::before { content: ""; display: inline-block; width: 0.75em; height: 0.95em; margin-right: 0.28em; vertical-align: -0.08em;
    background: currentColor; -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 16"><path d="M6 0a6 6 0 0 0-6 6c0 4.5 6 10 6 10s6-5.5 6-10a6 6 0 0 0-6-6zm0 8.5A2.5 2.5 0 1 1 6 3.5a2.5 2.5 0 0 1 0 5z"/></svg>') center / contain no-repeat;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 16"><path d="M6 0a6 6 0 0 0-6 6c0 4.5 6 10 6 10s6-5.5 6-10a6 6 0 0 0-6-6zm0 8.5A2.5 2.5 0 1 1 6 3.5a2.5 2.5 0 0 1 0 5z"/></svg>') center / contain no-repeat; }

.j-cta { display: flex; flex-direction: column; align-items: center; }
.j-cta a.j-btn + a.j-btn { margin-top: 12px; }
.j-cta a.j-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.j-cta a.j-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.j-cta a.j-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.j-cta p.j-cta-more { margin: 22px auto 0; font-size: 0.95rem; }
.j-cta p.j-cta-more a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* WebP photos sit in a <picture>; let the <img> keep its usual layout rules */
.journal picture { display: contents; }

.j-mobilebar { display: none; }

@media (max-width: 768px) {
    /* Compact header so content starts sooner */
    .journal .navbar { padding: 8px 16px; }
    .journal .main-logo { height: 32px; margin-bottom: 0; }
    .journal .navbar-center span, .journal .logo-text { display: none; }
    .journal .btn-reserve { padding: 8px 14px; font-size: 0.8em; }
    .journal .menu-toggle { min-width: 44px; min-height: 44px; }

    .j-article-head { padding: 92px 0 20px; }
    .j-article-head h1 { font-size: 1.85rem; line-height: 1.2; margin: 10px 0 12px; }
    .j-article-head .j-dek { font-size: 1.05rem; }
    .j-cover { margin-bottom: 28px; padding: 0; }
    .j-cover img { aspect-ratio: 4 / 3; }
    .j-cover figcaption { padding: 0 16px; text-align: left; }

    .j-quick { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
    .j-quick div { padding: 12px; }
    .j-quick a.j-map { display: inline-block; padding: 4px 0; }
    .j-toc { margin-bottom: 28px; padding: 6px 0; }
    .j-toc ol { columns: 1; }

    .j-body { font-size: 1.06rem; line-height: 1.75; }
    .j-body h2 { font-size: 1.5rem; margin-top: 1.8em; scroll-margin-top: 76px; }
    .j-body h2.j-place { gap: 12px; }
    .j-body a { padding: 2px 0; }
    .j-pull { font-size: 1.2rem; padding-left: 16px; }
    .j-callout { padding: 22px 18px; margin-left: -4px; margin-right: -4px; }
    .j-cta { padding: 36px 20px; margin-left: -16px; margin-right: -16px; }
    .j-cta a.j-btn { width: 100%; max-width: 340px; }
    .j-faq summary { min-height: 44px; align-items: center; font-size: 1.05rem; }
    .j-related { padding-top: 48px; margin-top: 56px; }
    .j-related h2 { font-size: 1.6rem; margin-bottom: 24px; }

    /* Index */
    .j-hero { margin-top: 60px; min-height: 58vh; }
    .j-hero .j-wrap { padding-bottom: 32px; }
    .j-filters { flex-wrap: nowrap; overflow-x: auto; margin: 24px -16px 24px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .j-filters::-webkit-scrollbar { display: none; }
    .j-filters button { flex: 0 0 auto; min-height: 44px; }
    .j-featured { margin-bottom: 40px; }
    .j-featured h2 { font-size: 1.6rem; }
    .j-card h3 { font-size: 1.25rem; }
    .j-more { padding: 8px 0 4px; }

    /* Sticky booking bar */
    .j-mobilebar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 245, 240, 0.97);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
    .j-mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 0.85rem;
        letter-spacing: 0.1em; text-transform: uppercase; font-family: 'IowanOldStyleBT', serif; }
    .j-mb-wa { border: 1px solid var(--color-button); color: var(--color-button); }
    .j-mb-book { background: var(--color-button); color: #fff; }
    .j-mb-book:hover { color: #fff; }
    body.j-has-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* Site menu: a narrow panel that slides in from the left. The homepage has the same rules inline (navbar.blade.php). */
.journal .navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
.journal .menu-toggle { cursor: pointer; display: flex; align-items: center; color: var(--color-text); }
.journal .menu { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 82vw); z-index: 1100; display: flex; flex-direction: column;
    background: #F8F5F0; padding: 76px 28px 32px; text-align: left; box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%); visibility: hidden; transition: transform 0.35s cubic-bezier(.22, .61, .36, 1), visibility 0s linear 0.35s; }
.journal .menu.active { transform: none; visibility: visible; transition: transform 0.35s cubic-bezier(.22, .61, .36, 1); }
.journal .menu a { color: #333; text-decoration: none; padding: 14px 0; display: block; font-size: 1.05rem; letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); transition: color 0.2s, padding-left 0.2s; }
.journal .menu a:hover { color: var(--color-button); padding-left: 6px; background: none; }
.journal .menu-close { position: absolute; top: 18px; left: 20px; width: 44px; height: 44px; border: 0; background: none; color: #333;
    font-size: 28px; line-height: 1; cursor: pointer; }
.journal .menu-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(20, 20, 20, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.journal .menu-backdrop.active { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .journal .menu, .journal .menu.active, .journal .menu-backdrop { transition: none; } }

/* ---------- Cinematic article opening ---------- */
.j-cine { position: relative; min-height: min(82vh, 760px); margin-top: 64px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #1d1813; }
.j-cine-media, .j-cine-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-cine-media img { object-fit: cover; filter: saturate(1.06) contrast(1.06); transform-origin: 50% 60%; animation: jKenBurns 22s ease-out both; }
.j-cine::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 10, 8, 0.35) 0%, rgba(12, 10, 8, 0) 28%, rgba(12, 10, 8, 0.15) 55%, rgba(12, 10, 8, 0.82) 100%),
                radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%); }
.j-cine-text { position: relative; z-index: 1; width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px 56px; text-align: center; }
.j-cine .j-breadcrumb, .j-cine .j-breadcrumb a, .j-cine .j-meta, .j-cine .j-meta b { color: rgba(255, 255, 255, 0.85); }
.j-cine h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.1; font-weight: 400; margin: 14px 0 16px; text-transform: none; letter-spacing: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.j-cine .j-dek { color: rgba(255, 255, 255, 0.92); font-size: 1.15rem; line-height: 1.6; max-width: 640px; margin: 0 auto; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4); }
.j-cine-credit { max-width: 1120px; margin: 10px auto 48px; padding: 0 24px; font-size: 0.82rem; color: var(--color-accent); text-align: right; }
.j-cine-credit .j-credit { display: inline; opacity: 0.85; margin-left: 6px; }
.j-cine-credit .j-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.j-hero img { animation: jKenBurns 22s ease-out both; filter: saturate(1.06) contrast(1.05); }
.j-card .j-thumb img, .j-featured .j-thumb img { filter: saturate(1.05) contrast(1.04); }
@keyframes jKenBurns { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .j-cine-media img, .j-hero img { animation: none; } }
@media (max-width: 768px) {
    .j-cine { margin-top: 60px; min-height: 76vh; }
    .j-cine-text { padding: 0 18px 32px; }
    .j-cine h1 { font-size: 2rem; line-height: 1.15; }
    .j-cine .j-dek { font-size: 1rem; }
    .j-cine .j-breadcrumb { font-size: 0.78rem; margin-bottom: 10px; }
    .j-cine-credit { text-align: left; margin: 8px auto 28px; padding: 0 16px; font-size: 0.75rem; }
}
/* Stronger shading behind the title block for busy photos */
.j-cine::after { background: linear-gradient(180deg, rgba(12, 10, 8, 0.35) 0%, rgba(12, 10, 8, 0) 26%, rgba(12, 10, 8, 0.28) 50%, rgba(12, 10, 8, 0.9) 100%),
                radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%); }
.j-cine .j-breadcrumb, .j-cine .j-meta { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); color: rgba(255, 255, 255, 0.92); }

/* ---------- Demo mode banner (admin demo edits shown on this device) ---------- */
.j-demo-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1200;
    max-width: calc(100% - 32px); background: #2f2a26; color: #f8f5f0; padding: 10px 16px; font: 13px/1.4 system-ui, -apple-system, sans-serif;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2); text-align: center; }
.j-demo-banner a { color: #f3d9a4; margin-left: 6px; text-decoration: underline; }
@media (max-width: 768px) { .j-demo-banner { bottom: calc(84px + env(safe-area-inset-bottom)); font-size: 12px; } }
.j-demo-banner button { background: none; border: 0; color: inherit; font-size: 18px; line-height: 1; margin-left: 10px; padding: 2px 4px; cursor: pointer; opacity: .8; vertical-align: middle; }
.j-demo-banner button:hover { opacity: 1; }

/* Bigger tap areas for small links on phones (breadcrumb, photo credit, footer contacts) */
@media (max-width: 768px) {
    .j-breadcrumb a, .j-cine-credit a, .journal .main-footer a { display: inline-block; padding: 6px 0; min-height: 28px; }
    .j-breadcrumb span { margin: 0 6px; }
}

/* ---------- Cite this guide ---------- */
.j-source { margin-top: 32px; background: #fbf8f3; border: 1px solid #e6ddd1; border-radius: 10px; overflow: hidden; }
.j-cite { padding: 20px 22px 18px; }
.j-cite-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.j-cite-label { margin: 0; font: 600 0.72rem/1 system-ui, -apple-system, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); }
.j-cite-text { margin: 0; font-size: 0.98rem; line-height: 1.6; color: var(--color-primary); overflow-wrap: anywhere; }
.j-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border: 1px solid #d9cec1; border-radius: 999px;
    background: #fff; color: var(--color-primary); font: 500 0.8rem system-ui, -apple-system, sans-serif; cursor: pointer; transition: border-color .2s, background .2s; }
.j-copy:hover { border-color: var(--color-primary); }
.j-copy.is-done { background: #e8f1e8; border-color: #a9c9a9; color: #2f6b3a; }
@media (max-width: 600px) {
    .j-cite { padding: 18px 16px 16px; }
}

/* Show the whole logo in the round author picture (photos still fill the circle) */
.j-author img[src$="logo.png"] { object-fit: contain; padding: 6px; }
