/* Internal page styles for the 1xbet Indonesia guide section of cecileswriters.com.
   Loaded after assets/css/site.css (the theme copy); it only adds layout and the
   inline CTA card, and never rewrites the theme's colour variables. */

/* ---------------------------------------------------------------------------
   Coded CTA separator: reuses the theme's hero card, compacted for inline use.
   The whole card is one anchor, so the logo, the offer line, the star rating and
   the visual button are all clickable. No image banners anywhere.
   --------------------------------------------------------------------------- */
.cta-banner { margin: 1.6rem 0; }

/* The post-H1 card sits outside <main>, so give it the same column as the article.
   box-sizing is repeated here so the card never overflows when a CDN fails to load. */
.cta-banner-wrap { max-width: 900px; margin-left: auto; margin-right: auto; padding-left: 0.75rem; padding-right: 0.75rem; }
.cta-banner, .cta-banner *, .cta-banner-wrap { box-sizing: border-box; }

/* Kill the default/Bootstrap underline on the whole-card link, on every
   pseudo-state and on every descendant (text-decoration propagates to children). */
.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-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;   /* the theme starts the card at opacity:0 and animates it in */
    animation: none;         /* inline cards must never wait for the fade-in */
    margin-top: 0;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(75, 0, 130, 0.12);
    border-radius: 16px;
    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(21, 101, 192, 0.24);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid #1565C0; outline-offset: 3px; }

.cta-banner .hero-cta-logo { max-height: 42px; }
/* The card is white, so the title uses the theme purple — gold on white is unreadable. */
.cta-banner .cta-banner-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}
.cta-banner .bonus-text { color: var(--text-color); font-size: 1rem; font-weight: 600; margin-bottom: 0.15rem; }
.cta-banner .rating { color: var(--star-color); font-size: 0.9rem; letter-spacing: 1px; }
.cta-banner .hero-cta-button { padding: 0.6rem 1.2rem; font-size: 0.95rem; white-space: nowrap; }

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

/* ---------------------------------------------------------------------------
   Page shell (internal pages only)
   --------------------------------------------------------------------------- */
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(21, 101, 192, 0.35);
    white-space: nowrap;
}
.nav-cta:hover, .nav-cta:focus { color: #fff !important; text-decoration: none !important; transform: translateY(-1px); }

.page-hero {
    background: linear-gradient(135deg, #1565C0 0%, #42A5F5 50%, #1565C0 100%);
    color: #fff;
    padding: 3rem 0 2.6rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff !important; font-size: 2.2rem; line-height: 1.24; margin-bottom: 0.7rem; font-weight: 800; animation: none; }
.page-hero-sub { color: rgba(255, 255, 255, 0.92); font-size: 1.05rem; max-width: 54rem; margin: 0; }

.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; }

.page-body { max-width: 900px; padding-top: 2.2rem; padding-bottom: 3rem; }
.page-body p, .page-body li { color: var(--text-color); }
.page-body p { margin-bottom: 1.1rem; font-size: 1.0625rem; }
.page-body .lead { font-size: 1.1rem; color: #33475b; }
.page-body h2 { margin-top: 2.4rem; padding-top: 0.4rem; color: #24103a; font-size: 1.8rem; line-height: 1.28; }
.page-body h3 { margin-top: 1.6rem; font-size: 1.3rem; color: #2f1a4a; line-height: 1.3; }
.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; }

.key-points { background: #fff; border-left: 4px solid var(--primary-color); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.4rem 0 1.8rem; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }
.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: #f3f0f8; color: #24103a; font-weight: 700; }

.page-faq h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.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: #24103a; font-weight: 700; }
.author-box #bio-text { color: #3b3b4f; margin-bottom: 0; }

.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: #24103a; 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: var(--primary-color); 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: #f5f7fa; text-decoration: none; font-size: 0.9rem; opacity: 0.9; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* Responsive: the coded card stacks and the button goes full width on phones. */
@media (max-width: 767px) {
    .page-hero h1 { font-size: 1.7rem; }
    .page-body { padding-top: 1.4rem; }
    .page-body h2 { font-size: 1.45rem; }
    .page-body h3 { font-size: 1.16rem; }
    .cta-banner { margin: 1.2rem 0; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.9rem; }
    .cta-banner .hero-cta-left { gap: 0.9rem; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; padding: 0.7rem 1rem; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    a.hero-cta-card.cta-banner-card { padding: 0.85rem 0.9rem; }
    .nav-cta { padding: 0.45rem 0.9rem; font-size: 0.78rem; }
}

@media (max-width: 400px) {
    .cta-banner .cta-banner-title { font-size: 1rem; }
    .cta-banner .bonus-text { font-size: 0.92rem; }
}
