/* Internal page styles for the 1xBet Kenya guide section of 1xbetregistration.co.ke.
   Loaded after the site stylesheet (assets/css/site.css); adds layout only and never
   changes the theme's palette (black / #bb0000 red / #006600 green). */

/* ---------------------------------------------------------------
   Coded CTA separator card. One anchor wraps the whole card, so the
   logo, the offer line, the stars and the button are all clickable.
   --------------------------------------------------------------- */

/* Kill every default/UA underline on the card link and its children.
   text-decoration propagates to descendants, and resets can re-apply it. */
.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 *,
.cta-banner a.hero-cta-card:hover *,
.cta-banner a.hero-cta-card:focus * {
    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;
}

/* The theme's cards start at opacity:0 and are revealed by a fadeInUp animation.
   The inline banner disables the animation, so opacity must be forced back on. */
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 32px rgba(0, 0, 0, 0.18);
}
a.hero-cta-card.cta-banner-card:focus-visible {
    outline: 3px solid var(--green, #006600);
    outline-offset: 3px;
}

.cta-banner { margin: 1.6rem 0; }
.cta-banner .cta-banner-card {
    background: var(--white, #ffffff);
    margin-top: 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
    border-left: 4px solid var(--red, #bb0000);
    border-radius: var(--radius, 4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.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: 42px;
    width: auto;
    height: auto;
    flex: 0 0 auto;
}
.cta-banner .hero-cta-info { min-width: 0; }
/* White card here, so the title uses the site red rather than gold:
   gold on white is unreadable. */
.cta-banner .cta-banner-title {
    color: var(--red, #bb0000);
    font-family: var(--font-display, sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    line-height: 1.2;
}
.cta-banner .bonus-text {
    font-size: 1rem;
    color: var(--ink, #121212);
    margin: 0 0 0.15rem;
    font-weight: 600;
}
.cta-banner .rating {
    font-size: 0.9rem;
    color: #b8860b;
    letter-spacing: 0.08em;
    line-height: 1;
}
.cta-banner .hero-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red, #bb0000);
    color: #ffffff;
    font-family: var(--font-display, sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius, 4px);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 3;
    animation: none;
}
a.hero-cta-card.cta-banner-card:hover .hero-cta-button { background: var(--red-deep, #8f0000); }

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

/* ---------------------------------------------------------------
   Internal page chrome (shared by the seven guide pages)
   --------------------------------------------------------------- */

#main-nav #nav-cta { margin-left: auto; }

.breadcrumb-bar {
    background: var(--white, #ffffff);
    border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.12));
    font-size: 0.85rem;
}
.breadcrumb-bar .container { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.breadcrumb-bar a { color: var(--green-deep, #004d00); text-decoration: none; font-weight: 700; }
.breadcrumb-bar a:hover { color: var(--red, #bb0000); }
.breadcrumb-bar span.sep { color: #98a2b3; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: var(--ink-soft, #3d3d3d); }

.page-hero {
    background: var(--black, #000000);
    color: #ffffff;
    border-bottom: 4px solid var(--green, #006600);
    padding: 2.5rem 0 2.4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(187, 0, 0, 0.35), transparent 58%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; padding: 0 1.25rem; max-width: 820px; }
.page-hero h1 {
    color: #ffffff;
    font-family: var(--font-display, sans-serif);
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1.18;
    margin: 0 0 0.7rem;
    letter-spacing: -0.01em;
}
.page-hero-sub {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    max-width: 54rem;
    margin: 0;
}

.page-body { max-width: 820px; padding: 2.2rem 1.25rem 3rem; }
.page-body p { margin-bottom: 1.1rem; }
.page-body .lead { font-size: 1.12rem; color: var(--ink-soft, #3d3d3d); }
.page-body h2 {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line, rgba(0, 0, 0, 0.12));
    color: var(--ink, #121212);
}
.page-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1.6rem; }
.page-body h3 {
    margin-top: 1.5rem;
    font-size: 1.08rem;
    color: var(--ink, #121212);
}
.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(--green-deep, #004d00); }

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

/* Author bio, placed after the FAQ on every page (same markup as the home page). */
.author-box { margin: 2.2rem 0 0; }
.author-box #bio-name {
    font-family: var(--font-display, sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.author-box #bio-text { margin-bottom: 0; }

.related-links {
    background: var(--white, #ffffff);
    border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
    border-top: 3px solid var(--green, #006600);
    border-radius: var(--radius, 4px);
    padding: 1.2rem 1.3rem;
    margin: 2rem 0 0;
}
.related-links p {
    font-family: var(--font-display, sans-serif);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 0.8rem;
}
.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: var(--green-deep, #004d00); font-weight: 600; text-decoration: none; }
.related-links a:hover { color: var(--red, #bb0000); text-decoration: underline; }

/* Footer navigation: Home + the seven guide pages + sitemap, on every page. */
.footer-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.1rem;
}
.footer-nav a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}
.footer-nav a:hover { color: #ffffff; text-decoration: underline; }

/* Home page promo card: its heading was converted to a non-heading paragraph so the
   home page's heading outline stays clean and unique. */
.final-offer .h5 {
    font-family: var(--font-display, sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem;
}

@media (max-width: 767px) {
    .page-hero { padding: 2rem 0 1.9rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .page-body { padding-top: 1.4rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.8rem; }
    .cta-banner .hero-cta-left { width: 100%; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    .cta-banner .hero-cta-info { flex: 1 1 auto; }
}
