/* Internal page styles for onexbetonline.in (Onexbet India guide section).
   Loaded after site.css; adds layout only, never resets the theme's palette. */

/* --- Coded CTA separator: reuses the home page's promo-card look, 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; }

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(20, 33, 61, 0.22);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid #f4b942; outline-offset: 3px; }

.cta-banner .cta-banner-card {
    margin-top: 0;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(20, 33, 61, 0.08);
}
.hero-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-cta-left { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.hero-cta-info p { margin-bottom: 0.15rem; }
.cta-banner .hero-cta-logo { max-height: 42px; width: auto; }
.cta-banner .cta-banner-title {
    color: var(--primary-color, #4B0082);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}
.cta-banner .bonus-text { font-size: 1rem; font-weight: 700; color: #14213d; margin-bottom: 0.15rem; }
.cta-banner .rating { color: #FFD700; font-size: 0.95rem; letter-spacing: 2px; line-height: 1; }
.cta-banner .hero-cta-button {
    display: inline-block;
    background: #d97706;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.cta-banner img { max-width: 100%; height: auto; }

/* Stretched link: makes the home page's existing promo card fully clickable without nesting anchors. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
#main-promo-card-2 { position: relative; }
.promo-card .btn { position: relative; z-index: 3; }

/* --- Internal page chrome --- */
#main-body.internal-page { background: #eef2f6; }
.nav-cta {
    display: inline-block;
    background: #f4b942;
    color: #14213d;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.55rem 1.15rem;
    border-radius: 6px;
    text-decoration: none;
}
.nav-cta:hover, .nav-cta:focus { background: #ffce5c; color: #14213d; text-decoration: none; }

.page-hero {
    background: linear-gradient(135deg, #14213d 0%, #243b64 60%, #31598a 100%);
    color: #fff;
    padding: 2.8rem 0 2.4rem;
    border-bottom: 4px solid #f4b942;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(244, 185, 66, 0.22), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; max-width: 1080px; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
}
.page-hero-sub { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; max-width: 54rem; margin: 0; }

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

/* --- Article body --- */
.page-body { max-width: 1000px; padding-top: 1.8rem; padding-bottom: 3rem; }
.page-body p { margin-bottom: 1.1rem; line-height: 1.75; }
.page-body p.lead { font-size: 1.1rem; color: #263449; margin-bottom: 1.6rem; }
.page-body h2 {
    margin-top: 2.3rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5eaf1;
    color: #14213d;
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1.22;
}
.page-body h3 { margin-top: 1.5rem; font-size: 1.24rem; font-weight: 700; color: #1b3358; }
.page-body ul, .page-body ol { margin: 0 0 1.2rem 1.2rem; }
.page-body li { margin-bottom: 0.45rem; }
.page-body a { color: #1d4f91; font-weight: 600; }
.key-points {
    background: #f7fbff;
    border: 1px solid #cfe0ef;
    border-left: 5px solid #f4b942;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 1.4rem 0 1.8rem;
}
.key-points ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.8rem; }
.table-wrap table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.95rem; }
.table-wrap th, .table-wrap td { padding: 0.6rem 0.75rem; border-bottom: 1px solid #e6e9ef; text-align: left; vertical-align: top; }
.table-wrap th { background: #eef4fb; color: #14213d; font-weight: 700; }

/* --- FAQ --- */
.page-faq h3 { font-size: 1.1rem; margin-top: 1.35rem; color: #1b3358; }
.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.2rem; background: #fff; }
.author-box #bio-avatar { max-width: 110px; }
.author-box #bio-name { margin-bottom: 0.35rem; color: #14213d; font-weight: 700; }
.author-box #bio-text { color: #3b4657; margin-bottom: 0; }

/* --- Related links --- */
.related-links {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 6px 20px rgba(20, 33, 61, 0.06);
    margin: 2rem 0 0;
}
.related-links p.h5 { color: #14213d; 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: #1d4f91; font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* --- Footer nav (Home + 8 pages + Sitemap) --- */
.footer-nav { border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 1rem; margin-top: 1.2rem; }
.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: #eaf2fb; text-decoration: none; font-size: 0.9rem; opacity: 0.92; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* Footer contrast: the navy footer inherited the dark body text colour. */
#main-footer { color: #eaf2fb; }
#main-footer #footer-text h2,
#main-footer #footer-text p,
#main-footer .footer-kicker,
#main-footer .footer-resource-label { color: #eaf2fb; }

@media (max-width: 767px) {
    .page-hero h1 { font-size: 1.7rem; }
    .page-body { padding-top: 1.2rem; }
    .page-body h2 { font-size: 1.4rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.85rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    .hero-cta-left { gap: 0.75rem; }
}
