/* Internal page styles for the 1xbet 우회주소 guide section (Korean, dark navy + amber theme).
   Loaded after the site stylesheet (assets/css/site.css); adds layout only, never overrides the
   theme colours. Theme facts used here: --card #243044, --surface #1e293b, --line #334155,
   --amber #f59e0b, --ink #f8fafc, --muted #94a3b8.

html { scroll-behavior: smooth; }

/* ---------------------------------------------------------------- coded CTA separator card */
.cta-banner { margin: 1.6rem 0; }

/* Kill default/UA/Bootstrap underlines on the whole-card link and on every descendant. */
.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 34px rgba(245, 158, 11, 0.22);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.cta-banner .cta-banner-card {
    margin-top: 0;
    padding: 1rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  }
.cta-banner .hero-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.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(--amber);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    line-height: 1.3;
}
.cta-banner .bonus-text { margin: 0 0 0.15rem; font-size: 0.98rem; color: var(--ink); font-weight: 600; }
.cta-banner .rating { font-size: 0.9rem; color: var(--amber); letter-spacing: 1px; line-height: 1.2; }
.cta-banner .hero-cta-button {
    display: inline-block;
    background: var(--amber);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
    z-index: 3;
}

/* Stretched link: makes the existing hero CTA card fully clickable without nesting anchors.
   On the home page the CTA row (#ub-hero-actions) is the card: button + bonus note. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
#ub-hero-actions {
    position: relative;
    padding: 1rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
}
#ub-hero-actions #ub-hero-btn { position: relative; z-index: 3; }
#ub-hero-actions #ub-hero-note { position: relative; z-index: 1; }

/* ------------------------------------------------------------------- internal page chrome */
.breadcrumb-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
}
.breadcrumb-bar .ub-crumb-inner { max-width: var(--max); margin: 0 auto; padding: 0.55rem 1.25rem; }
.breadcrumb-bar a { color: var(--amber); text-decoration: none; font-weight: 600; }
.breadcrumb-bar span.sep { color: #64748b; margin: 0 0.45rem; }
.breadcrumb-bar .current { color: var(--muted); }

.inner-page #ub-h1 { font-size: clamp(1.42rem, 3.6vw, 1.95rem); font-weight: 700; line-height: 1.4; margin-bottom: 0.8rem; word-break: keep-all; }
#ub-hero .page-hero-sub { color: var(--muted); font-size: 1rem; max-width: 54ch; margin: 0; word-break: keep-all; }

/* ------------------------------------------------------------------------ article body */
.page-body { word-break: keep-all; }
.page-body p { color: #cbd5e1; font-size: 1rem; line-height: 1.82; margin-bottom: 0.95rem; }
.page-body h2 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1.45;
    margin: 2rem 0 0.7rem;
    padding-top: 0.3rem;
}
.page-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.5;
    margin: 1.35rem 0 0.5rem;
}
.page-body a { color: var(--amber); font-weight: 600; }
.page-body a:hover { text-decoration: underline; }
.page-body .lead { color: var(--ink); font-size: 1.02rem; line-height: 1.85; }

.key-points {
    background: var(--amber-soft);
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 1.3rem 0 1.6rem;
    color: #fde68a;
}
.key-points p { color: #fde68a; margin-bottom: 0.4rem; }
.key-points p:last-child { margin-bottom: 0; }

.page-faq { margin-top: 0.2rem; }
.page-faq h3 { color: var(--ink); }
.page-faq p { color: #cbd5e1; }

/* --------------------------------------------------------------------- author bio block */
.author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.3rem 1.4rem;
    margin-top: 2rem;
}
.author-box img#bio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    flex: 0 0 auto;
}
.author-box #bio-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin: 0 0 0.35rem; }
.author-box #bio-text { font-size: 0.86rem; color: var(--muted); line-height: 1.68; margin: 0; }

/* ---------------------------------------------------------------------- related links */
.related-links {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    margin-top: 1.5rem;
}
.related-links p.h5 { font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0 0 0.7rem; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.35rem 1rem; }
.related-links li { margin: 0; }
.related-links a { color: var(--amber); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.related-links a:hover { text-decoration: underline; }

/* --------------------------------------------------------- footer navigation (9 links) */
.footer-nav { padding: 0.2rem 0 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1rem; }
.footer-nav li { margin: 0; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 0.85rem; }
.footer-nav a:hover { color: var(--amber); text-decoration: underline; }

/* ----------------------------------------------------------------------------- mobile */
@media (max-width: 600px) {
    .inner-page #ub-h1 { font-size: 1.34rem; }
    .page-body h2 { font-size: 1.08rem; }
    .page-body h3 { font-size: 0.99rem; }
    .cta-banner .hero-cta-content { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    .author-box { flex-direction: column; }
    .footer-nav ul { gap: 0.3rem 0.8rem; }
}
