/* Internal page styles for the Onexbet Bangladesh guide section (onexbet-bd.com).
   Loaded after site.css; adds layout and the coded CTA card only, never changes the palette. */

/* ------------------------------------------------------------------
   1. Coded CTA separator card.
   The whole card is ONE anchor (a.hero-cta-card.cta-banner-card): logo,
   offer line, rating and the visual button all navigate. The visual
   button is a <span>, never a nested <a>.
   The theme card is white, so the title uses the site's indigo
   (var(--primary-color)) - gold on white would be unreadable.
   The theme reveals .hero-cta-card with opacity:0 + fadeInUp; the
   inline banner switches the animation off, so opacity:1 !important is
   required or the card renders as blank space (PROJECT_MEMORY 8.16/8.23).
   ------------------------------------------------------------------ */
.cta-banner { margin: 1.7rem 0; }

/* No underline anywhere in the card, including pseudo-states and descendants
   (text-decoration propagates to inline children and Bootstrap underlines <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; }

a.hero-cta-card.cta-banner-card {
    display: block;
    text-decoration: none !important;
    color: inherit;
    opacity: 1 !important;
    animation: none !important;
    transform: none;
    background: #fff;
    border: 1px solid rgba(75, 0, 130, 0.14);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    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(75, 0, 130, 0.22);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid rgba(75, 0, 130, 0.55); outline-offset: 3px; }

.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: 1rem; min-width: 0; flex: 1 1 auto; }
.cta-banner .hero-cta-logo { height: 40px; width: auto; max-height: 42px; flex: 0 0 auto; }
.cta-banner .hero-cta-info { min-width: 0; flex: 1 1 auto; }
.cta-banner .cta-banner-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.25;
}
.cta-banner .bonus-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color, #2c3e50);
    margin-bottom: 0.15rem;
    line-height: 1.3;
}
.cta-banner .rating { color: var(--star-color, #FFD700); font-size: 0.95rem; letter-spacing: 1px; line-height: 1.2; }
.cta-banner .hero-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #283593, #5c6bc0);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    text-transform: none;
    box-shadow: 0 5px 18px rgba(40, 53, 147, 0.32);
    position: relative;
    z-index: 3;
}

/* Stretched overlay link: turns an existing theme card (the home hero card,
   the promo cards) into one click target without nesting anchors. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.hero-cta-card .hero-cta-button,
.casino-card .casino-logo-link,
.casino-card .btn-play { position: relative; z-index: 3; }

/* ------------------------------------------------------------------
   2. Page shell: minimal header, breadcrumb, hero, article body.
   ------------------------------------------------------------------ */
.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: var(--primary-color); text-decoration: none; font-weight: 600; }
.breadcrumb-bar span.sep { color: #98a2b3; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: #56606e; }

.nav-cta {
    display: inline-block;
    background: linear-gradient(135deg, #283593, #5c6bc0);
    color: #fff !important;
    font-weight: 700;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 0.95rem;
}
.nav-cta:hover, .nav-cta:focus { color: #fff !important; filter: brightness(1.08); }

.page-hero {
    background: linear-gradient(135deg, #283593 0%, #5c6bc0 100%);
    color: #fff;
    padding: 2.6rem 0 2.2rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(255, 215, 0, 0.22), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 2rem; line-height: 1.4; margin-bottom: 0.7rem; }
.page-hero .page-hero-sub { color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; max-width: 56rem; margin: 0; }

.page-body { max-width: 880px; padding-top: 2rem; padding-bottom: 3rem; }
.page-body p { margin-bottom: 1.05rem; }
.page-body h2 { margin-top: 2.3rem; padding-top: 0.3rem; color: #24103a; font-size: 1.55rem; line-height: 1.45; }
.page-body h3 { margin-top: 1.5rem; font-size: 1.2rem; color: #2f1a4a; line-height: 1.5; }
.page-body ul, .page-body ol { margin: 0 0 1.2rem 1.1rem; }
.page-body li { margin-bottom: 0.45rem; }
.page-body a { color: var(--primary-color); font-weight: 600; }
.page-body .lead { font-size: 1.12rem; color: #33415c; }

.page-faq h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.page-faq p { margin-bottom: 0.85rem; }

/* 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: #24103a; font-weight: 700; }
.author-box #bio-text { color: #3b3b4f; margin-bottom: 0; font-size: 0.98rem; }

/* Related links block. */
.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 .related-title { color: #24103a; font-weight: 700; margin-bottom: 0.8rem; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.4rem 1rem; }
.related-links li { padding-left: 0; margin-bottom: 0; }
.related-links a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* Footer nav (Home + the seven guide pages + sitemap), kept inside the existing footer. */
#main-footer { background-color: #212529; }
.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 li { padding-left: 0; }
.footer-nav a { color: #f5f0e6; text-decoration: none; font-size: 0.9rem; opacity: 0.9; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* ------------------------------------------------------------------
   3. Responsive banner + layout.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .page-hero h1 { font-size: 1.5rem; }
    .page-body { padding-top: 1.3rem; }
    .page-body h2 { font-size: 1.3rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.9rem; }
    .cta-banner .hero-cta-left { width: 100%; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; white-space: normal; }
    .cta-banner .hero-cta-logo { max-height: 34px; height: 34px; }
    .footer-nav ul { gap: 0.3rem 0.75rem; }
}
