/* Internal page styles for the Khmer 1xBet guide section of omgtoptens.com.
   Loaded after the site stylesheet (site.css); adds layout only, never overrides the theme. */

/* Coded CTA separator: reuses the site's hero card, compacted for inline use.
   The whole card is the link (single anchor), so logo, offer, rating and button are clickable. */
.cta-banner { margin: 1.6rem 0; }

/* Kill any inherited/default underline on the whole-card link (Bootstrap underlines every <a>). */
.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; }
.hero-cta-card .cta-stretched-link,
.hero-cta-card .cta-stretched-link * { 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(0, 96, 100, 0.22);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid #14A0FF; outline-offset: 3px; }

/* The separator card is a white card on this theme, so the title uses the brand purple,
   not the gold that would be unreadable here (site palette: --primary-color #4B0082). */
.cta-banner .cta-banner-card {
    margin-top: 0;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 96, 100, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
}
.cta-banner .hero-cta-logo { max-height: 42px; }
.cta-banner .cta-banner-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}
.cta-banner .bonus-text { font-size: 1rem; margin-bottom: 0.15rem; line-height: 1.4; }
.cta-banner .rating { font-size: 0.9rem; }
.cta-banner .hero-cta-button { padding: 0.6rem 1.2rem; font-size: 0.95rem; white-space: nowrap; }

/* Home hero card: the offer title is a <p> so it never breaks the H1 -> H2 outline,
   and it keeps the theme's purple title colour on the white card. */
.hero-cta-info .hero-bonus-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

/* Stretched link: makes an existing hero card on the home page fully clickable
   without nesting anchors or touching the editor bindings. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.hero-cta-card .hero-cta-button { position: relative; z-index: 3; }

/* Minimal internal header: brand logo (links home) + Register CTA. No page menu. */
#main-nav .nav-cta {
    display: inline-block;
    background: linear-gradient(135deg, #14A0FF, #0277bd);
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(20, 160, 255, 0.4);
    line-height: 1.5;
}
#main-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); text-decoration: none; }

.breadcrumb-bar { background: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font-size: 0.85rem; }
.breadcrumb-bar .container { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.breadcrumb-bar a { color: #006064; text-decoration: none; font-weight: 600; }
.breadcrumb-bar span.sep { color: #98a2b3; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: #56606e; }

.page-hero {
    background: linear-gradient(135deg, #006064 0%, #14A0FF 50%, #006064 100%);
    color: #fff;
    padding: 2.6rem 0 2.3rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.18), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: #fff !important;
    font-size: 2.15rem;
    line-height: 1.6;
    font-weight: 800;
    margin-bottom: 0.7rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.page-hero-sub { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; line-height: 1.9; max-width: 54rem; margin: 0; }

/* Khmer body copy: taller leading, tighter paragraph rhythm than the English reference. */
.page-body { max-width: 900px; padding-top: 2.2rem; padding-bottom: 3rem; }
.page-body p { margin-bottom: 1.1rem; line-height: 1.95; }
.page-body .lead { font-size: 1.1rem; }
.page-body h2 { margin-top: 2.4rem; padding-top: 0.4rem; color: #0d3f42; line-height: 1.65; font-size: 1.6rem; }
.page-body h3 { margin-top: 1.6rem; font-size: 1.2rem; color: #123c46; line-height: 1.7; }
.page-body ul, .page-body ol { margin: 0 0 1.2rem 1.1rem; }
.page-body li { margin-bottom: 0.45rem; line-height: 1.9; }
.page-body a { color: #006064; font-weight: 600; }

.page-faq h3 { font-size: 1.12rem; margin-top: 1.5rem; }
.page-faq p { margin-bottom: 0.8rem; }

/* Author bio, shown after the FAQ on every page (mirrors the home page block). */
.author-box { margin-top: 2.4rem; }
.author-box #bio-avatar { max-width: 110px; }
.author-box #bio-name { margin-bottom: 0.35rem; color: #0d3f42; font-weight: 700; }
.author-box #bio-text { color: #3b3b4f; margin-bottom: 0; line-height: 1.9; }

.related-links { background: #fff; border-radius: 14px; padding: 1.2rem 1.3rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); margin: 2rem 0 0; }
.related-links .h5 { color: #0d3f42; font-weight: 700; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.4rem 1rem; }
.related-links a { color: #006064; font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

.footer-nav { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 1rem; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1rem; }
.footer-nav a { color: #f5f0e6; text-decoration: none; font-size: 0.9rem; opacity: 0.9; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 767px) {
    .page-hero h1 { font-size: 1.5rem; line-height: 1.65; }
    .page-body { padding-top: 1.4rem; }
    .page-body h2 { font-size: 1.3rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.9rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; white-space: normal; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    .cta-banner .hero-cta-left { flex-wrap: wrap; gap: 0.8rem; }
}
