/* Internal guide styles for xn--1xbet-ti0tt48hhxdg0m9l2a.com (Korean).
   Loaded after the site stylesheet (/assets/css/site.css) and after the home page inline style.
   This theme has NO hero-cta-card component of its own, so the coded CTA card, the breadcrumb,
   the article typography, the footer nav and the author box are all defined here, using the
   theme's own variables: --blue #1d4ed8, --blue-dark #1e3a8a, --paper #fff, --line #d4dce8,
   --muted #4a5f82, --ink #0c1a3a, --gold #b45309, --font Noto Sans KR.
   The theme also has no Bootstrap, so no utility classes are relied on anywhere. */

/* ---------- Coded CTA separator card ----------
   The whole card is one <a>; the visual button is a <span>. The theme never defines
   .hero-cta-card, so opacity/animation cannot hide it — the rules are kept anyway because the
   banner is reused from the shared component (§8.16, §8.23). */
.cta-banner { margin: 1.6rem 0; }

.cta-banner a.hero-cta-card,
.cta-banner a.hero-cta-card:hover,
.cta-banner a.hero-cta-card:focus,
.cta-banner a.hero-cta-card:active,
.cta-banner a.hero-cta-card:visited,
.cta-banner a.hero-cta-card * {
    text-decoration: none !important;
    border-bottom: 0 !important;
}
.cta-stretched-link,
.cta-stretched-link:hover,
.cta-stretched-link:focus,
.cta-stretched-link:active,
.cta-stretched-link:visited {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

a.hero-cta-card.cta-banner-card {
    display: block;
    text-decoration: none !important;
    color: inherit;
    opacity: 1 !important;
    animation: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 10px rgba(12, 26, 58, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.hero-cta-card.cta-banner-card:hover,
a.hero-cta-card.cta-banner-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 78, 216, 0.18);
}
a.hero-cta-card.cta-banner-card:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}
.cta-banner .hero-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cta-banner .hero-cta-left { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.cta-banner .hero-cta-logo { max-height: 40px; width: auto; display: block; }
.cta-banner .hero-cta-info { min-width: 0; }
.cta-banner .cta-banner-title {
    color: var(--blue-dark);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.15rem;
}
.cta-banner .bonus-text {
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.1rem;
}
.cta-banner .rating {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    line-height: 1.3;
}
.cta-banner .hero-cta-button {
    position: relative;
    z-index: 3;
    display: inline-block;
    flex-shrink: 0;
    background: var(--blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none !important;
    border-bottom: 0 !important;
}

/* Stretched overlay link: for a card that must stay structurally untouched. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

/* ---------- Breadcrumb ---------- */
.os-crumb-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
}
.os-crumb-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    color: var(--muted);
}
.os-crumb-inner a { color: var(--blue); font-weight: 600; text-decoration: none; }
.os-crumb-inner a:hover { text-decoration: underline; }
.os-crumb-inner .sep { color: #98a2b3; margin: 0 0.4rem; }
.os-crumb-inner .current { color: var(--muted); }

/* ---------- Internal page hero (matches the home hero: light gradient, blue-dark H1) ---------- */
.page-hero {
    background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    padding: 2.2rem 1.25rem 1.8rem;
    text-align: center;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
    color: var(--blue-dark);
    font-size: clamp(1.4rem, 3.6vw, 1.95rem);
    font-weight: 800;
    line-height: 1.38;
    margin-bottom: 0.7rem;
    word-break: keep-all;
}
.page-hero-sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.72;
    max-width: 52ch;
    margin: 0 auto;
    word-break: keep-all;
}

/* ---------- Article ---------- */
.page-body { word-break: keep-all; }
.page-body p { color: #334155; font-size: 1rem; line-height: 1.82; margin-bottom: 0.95rem; }
.page-body p.lead { color: var(--ink); font-size: 1.06rem; line-height: 1.8; }
.page-body h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 2.3rem 0 0.9rem;
    color: var(--blue-dark);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.42;
}
.page-body h2::before {
    content: "";
    width: 4px;
    height: 1.1em;
    background: var(--blue);
    border-radius: 2px;
    flex-shrink: 0;
}
.page-body h3 {
    margin: 1.5rem 0 0.6rem;
    color: #1a237e;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.5;
}
.page-body ul, .page-body ol { margin: 0 0 1rem 1.2rem; }
.page-body li { color: #334155; line-height: 1.8; margin-bottom: 0.35rem; }
.page-body a { color: var(--blue); font-weight: 600; text-decoration: none; }
.page-body a:hover { text-decoration: underline; }
.page-body strong { color: var(--ink); font-weight: 700; }

.key-points {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0 1.5rem;
}
.key-points ul { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.page-faq h3 {
    margin: 1.35rem 0 0.45rem;
    color: var(--blue-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}
.page-faq p { margin-bottom: 0.75rem; }

/* ---------- Author box (mirrors the home page #os-author block) ---------- */
.author-box {
    margin-top: 2.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem 0 0;
    border-top: 1px solid var(--line);
}
.author-box img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blue-soft);
    flex-shrink: 0;
}
.author-box .bio-name { font-weight: 800; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.3rem; }
.author-box .bio-text { font-size: 0.86rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ---------- Related links ---------- */
.related-links {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    margin: 1.8rem 0 0;
}
.related-links p {
    font-weight: 800;
    color: var(--ink);
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}
.related-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.related-links a { color: var(--blue); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* ---------- Footer navigation: Home + the eight guide pages + sitemap ---------- */
.footer-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
}
.footer-nav a {
    color: #dbeafe;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.92;
}
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 600px) {
    .page-hero { padding: 1.6rem 1.1rem 1.4rem; }
    .page-body h2 { font-size: 1.14rem; margin-top: 1.9rem; }
    .page-body h3 { font-size: 1rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.8rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { max-height: 32px; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .footer-nav a { font-size: 0.8rem; }
}
