/* Internal page styles for the 1xbet-korea.co.kr guide section.
   Loaded after the theme stylesheet (site.css); adds layout only, never overrides the theme.
   Palette matches the home page: navy #1e3a5f, dark navy #0f2744, rose #e11d48, paper #ffffff. */

/* Banner shown right under the H1: keeps it inside the same column as the article. */
.cta-banner-wrap {
    max-width: 860px;
    margin: 1.2rem auto 0;
    padding: 0 1rem;
}

/* Coded CTA separator: a light card, so the title stays navy (gold would be unreadable here).
   The whole card is the link (single anchor), so logo, offer, rating and button are clickable. */
.cta-banner { margin: 1.4rem 0; }
/* Kill any inherited/default underline on the whole-card link. */
.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;
    color: inherit;
    opacity: 1 !important;
    animation: none;
    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 14px 30px rgba(30, 58, 95, 0.20);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid #1e3a5f; outline-offset: 3px; }

.cta-banner .cta-banner-card {
    margin: 0;
    padding: 0.95rem 1.15rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-left: 5px solid var(--rose);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}
.cta-banner .hero-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
}
.cta-banner .hero-cta-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.cta-banner .hero-cta-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
}
.cta-banner .cta-banner-title {
    color: #1e3a5f;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    line-height: 1.25;
}
.cta-banner .bonus-text {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.1rem;
}
.cta-banner .rating {
    color: var(--rose);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}
.cta-banner .hero-cta-button {
    display: inline-block;
    flex-shrink: 0;
    padding: 0.65rem 1.2rem;
    background: var(--rose);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 9px;
    white-space: nowrap;
    position: relative;
    z-index: 3;
}

/* Stretched link: makes an existing card fully clickable without nesting anchors. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
#kr-hero-badge { position: relative; }
#kr-hero-badge .cta-stretched-link { border-radius: 12px; }

/* Internal page shell */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #ffffff;
    padding: 2.4rem 1.25rem 2.1rem;
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 {
    font-size: clamp(1.45rem, 3.6vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.7rem;
}
.page-hero-sub {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 56ch;
    margin: 0;
}

.breadcrumb-bar {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 1.25rem;
    font-size: 0.83rem;
}
.breadcrumb-inner { max-width: 860px; margin: 0 auto; }
.breadcrumb-bar a { color: var(--navy); text-decoration: none; font-weight: 600; }
.breadcrumb-bar span.sep { color: #94a3b8; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: var(--muted); }

/* Article body: one white card, plain typography, banners nested inside it. */
.page-body {
    max-width: 860px;
    margin: 1.5rem auto 2.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.6rem 1.6rem 2rem;
}
.page-body p { color: #334155; font-size: 0.97rem; line-height: 1.8; margin-bottom: 0.9rem; }
.page-body p:last-child { margin-bottom: 0; }
.page-body strong { color: var(--ink); font-weight: 600; }
.page-body a { color: var(--navy); font-weight: 600; }
.page-body h2 {
    font-size: 1.16rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.45;
    margin: 1.9rem 0 0.7rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rose-soft);
}
.page-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.5;
    margin: 1.3rem 0 0.4rem;
}
.page-body ul, .page-body ol { margin: 0 0 1rem 1.1rem; }
.page-body li { color: #334155; font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.35rem; }

.page-faq h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.2rem 0 0.3rem;
}
.page-faq p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }

/* Author bio, shown after the FAQ on every page (mirrors the home page block). */
.author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    margin-top: 1.6rem;
}
.author-box #bio-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    flex-shrink: 0;
}
.author-box #bio-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin: 0 0 0.35rem; }
.author-box #bio-text { color: var(--muted); font-size: 0.86rem; line-height: 1.7; margin: 0; }

.related-links {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    margin-top: 1.4rem;
}
.related-links #related-title { font-weight: 700; color: var(--navy); font-size: 1rem; margin: 0 0 0.6rem; }
.related-links ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.35rem 1rem; padding: 0; margin: 0; }
.related-links a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.related-links a:hover { color: var(--rose); }

/* Footer navigation (Home + 8 pages + sitemap) on the home page and every internal page. */
#kr-foot .footer-nav {
    max-width: 860px;
    margin: 0 auto 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(203, 213, 225, 0.18);
}
#kr-foot .footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    padding: 0;
    margin: 0;
}
#kr-foot .footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.84rem;
    opacity: 0.9;
}
#kr-foot .footer-nav a:hover,
#kr-foot .footer-nav a:focus { opacity: 1; color: #ffffff; }

@media (max-width: 767px) {
    .page-hero { padding: 1.8rem 1rem 1.6rem; }
    .page-body { margin: 1rem 0 1.6rem; border-radius: 0; border-left: 0; border-right: 0; padding: 1.2rem 1rem 1.6rem; }
    .page-body h2 { font-size: 1.06rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.75rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { height: 32px; }
    .author-box { flex-direction: column; }
}
