/* Internal page styles for the 1xbet 한국 guide section of labsensorsolutions.com.
   Loaded after the site stylesheet (assets/css/site.css); adds layout only, never overrides the theme.
   Theme facts used here: --indigo #312e81, --indigo-dark #1e1b4b, --coral #ea580c,
   --bg #fafaf9, --line #e7e5e4, --max 820px, Noto Sans KR. The card used by the coded banner is
   white, so the banner title is indigo (readable), not the coral accent. */

:root {
    --primary-color: var(--indigo, #312e81);
    --star-color: var(--coral, #ea580c);
    --text-color: var(--ink, #1c1917);
}

html { scroll-behavior: smooth; }

/* Coded CTA separator: reuses the site's card look, compacted for inline use.
   The whole card is the link (single anchor), so logo, offer, rating and button are clickable.
   Some themes start the hero card at opacity 0 and reveal it with an animation, so the inline
   instance must disable the animation AND force opacity back to 1. */
.cta-banner { margin: 1.6rem 0; }
/* Kill any inherited/default underline on the whole-card link. */
.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;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(28, 25, 23, 0.06);
    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(49, 46, 129, 0.18);
}
a.hero-cta-card.cta-banner-card:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

.cta-banner .hero-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cta-banner .hero-cta-left { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.cta-banner .hero-cta-logo { height: 34px; width: auto; flex-shrink: 0; }
.cta-banner .hero-cta-info { min-width: 0; }
.cta-banner .cta-banner-title {
    color: var(--indigo);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    line-height: 1.25;
}
.cta-banner .bonus-text { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.15rem; color: var(--ink); }
.cta-banner .rating { font-size: 0.88rem; color: var(--coral); letter-spacing: 2px; line-height: 1; }
.cta-banner .hero-cta-button {
    display: inline-block;
    flex-shrink: 0;
    background: var(--coral);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
}

/* Stretched 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; }
#ls-hero-offer { position: relative; }
#ls-hero-offer > strong, #ls-hero-offer > span { position: relative; z-index: 3; }

/* Internal page hero: the site's indigo gradient. */
.page-hero {
    background: linear-gradient(180deg, var(--indigo-dark) 0%, var(--indigo) 100%);
    color: #fff;
    padding: 2.6rem 1.25rem 2.3rem;
    text-align: center;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.9rem;
    word-break: keep-all;
}
.page-hero-sub {
    color: #c7d2fe;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 40rem;
    margin: 0 auto;
    word-break: keep-all;
}

/* Header CTA on internal pages (brand logo + register button only, no page menu). */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.breadcrumb-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
}
.breadcrumb-bar a { color: var(--indigo); text-decoration: none; font-weight: 600; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar span.sep { color: #a8a29e; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: var(--muted); }

.page-body {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.6rem 1.25rem 3rem;
    word-break: keep-all;
}
.page-body p { margin-bottom: 1rem; font-size: 1.02rem; line-height: 1.8; color: #44403c; }
.page-body h2 {
    margin: 2.2rem 0 0.9rem;
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--indigo);
    line-height: 1.45;
}
.page-body h3 {
    margin: 1.5rem 0 0.6rem;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--indigo-dark);
    line-height: 1.5;
}
.page-body ul, .page-body ol { margin: 0 0 1.2rem 1.15rem; }
.page-body li { margin-bottom: 0.45rem; line-height: 1.8; color: #44403c; }
.page-body a { color: var(--indigo); font-weight: 600; text-decoration: underline; }
.page-body a:hover { color: var(--coral); }
.page-body .lead { font-size: 1.06rem; line-height: 1.85; color: #292524; }

/* FAQ: same card language as the home page accordion, opened up for reading. */
.page-faq { margin-top: 0.6rem; }
.page-faq .faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1rem 1.15rem 0.55rem;
    margin-bottom: 0.6rem;
}
.page-faq h3 { margin: 0 0 0.45rem; font-size: 0.98rem; color: var(--indigo-dark); }
.page-faq p { margin-bottom: 0.5rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* Author bio, shown after the FAQ on every page (mirrors the home page block). */
.author-box {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: var(--coral-light);
    border-top: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 1.3rem;
    margin-top: 2.2rem;
}
.author-box #bio-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fdba74;
}
.author-box #bio-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--ink); }
.author-box #bio-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }

.related-links {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    margin-top: 2rem;
}
.related-links .related-title { font-weight: 700; color: var(--indigo); margin-bottom: 0.7rem; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.45rem 1rem; }
.related-links a { color: var(--indigo); font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* Footer navigation: Home + the eight guide pages + sitemap. */
#ls-footer .footer-nav { margin-bottom: 1.1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1rem; }
.footer-nav a { color: #c7d2fe; text-decoration: none; font-size: 0.86rem; opacity: 0.92; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; color: #fff; }

@media (max-width: 767px) {
    .page-hero h1 { font-size: 1.45rem; }
    .page-body { padding: 1.2rem 1.1rem 2.4rem; }
    .page-body h2 { font-size: 1.18rem; }
    .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 { height: 28px; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .footer-nav ul { gap: 0.3rem 0.75rem; }
    .footer-nav a { font-size: 0.8rem; }
}
