/* Adverts. MOBILE-FIRST. Always labelled "Sponsored" or "Example advert". */

.ad-spot { margin: 0 0 1.25rem; }
.ad-spot-compact { margin: 0 0 1rem; }
.ad-eyebrow {
    margin: 0 0 .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5d7383;
}

.ad-card {
    display: grid; overflow: hidden; background: #fff; border: 1px solid #d9e4e8; border-radius: .75rem;
    box-shadow: 0 4px 16px rgba(11, 45, 91, .08);
}
.ad-card.is-example { border: 2px dashed #6cc7bd; background: linear-gradient(180deg, #fff 0%, #f4fbfa 100%); }
.ad-media { aspect-ratio: 16 / 9; background: #dfe9ee; overflow: hidden; }
.ad-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-body { padding: .9rem 1rem 1rem; display: grid; gap: .3rem; align-content: start; }
.ad-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0; font-size: .75rem; }
.ad-tag {
    display: inline-block; padding: .1rem .55rem; border-radius: 2rem; background: #e8eef5; color: #274560; font-weight: 800;
    letter-spacing: .03em; text-transform: uppercase; font-size: .68rem;
}
.is-example .ad-tag { background: #d3f3ee; color: #00594f; }
.ad-area { color: #5d7383; }
.ad-sponsor { margin: .15rem 0 0; font-size: .82rem; font-weight: 700; color: #4f6676; }
.ad-headline { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: var(--lookout-navy); overflow-wrap: anywhere; }
.ad-text { margin: 0; font-size: .95rem; line-height: 1.45; color: #35505f; }
.ad-cta {
    display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 2.75rem; margin-top: .45rem;
    padding: .5rem 1.15rem; border-radius: .5rem; background: var(--lookout-navy); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none;
}
a.ad-cta:hover { background: #12427f; color: #fff; }
a.ad-cta:focus-visible { outline: 3px solid var(--lookout-teal); outline-offset: 3px; }
.is-example .ad-cta { background: #00BAA6; color: #062c36; }

.ad-promo { margin: .6rem 0 0; font-size: .85rem; line-height: 1.45; color: #4f6676; }
.ad-promo a { font-weight: 700; white-space: nowrap; }

/* compact: a slim horizontal card (small picture left, text right) used in the results panel once someone has searched,
   so the advert never pushes the actual results off the screen */
.ad-compact { grid-template-columns: 6.25rem minmax(0, 1fr); align-items: stretch; }
.ad-compact .ad-media { aspect-ratio: auto; height: 100%; min-height: 6.25rem; }
.ad-compact .ad-body { padding: .6rem .75rem .65rem; gap: .12rem; }
.ad-compact .ad-meta { font-size: .7rem; }
.ad-compact .ad-sponsor { margin: 0; font-size: .75rem; }
.ad-compact .ad-headline { font-size: .98rem; line-height: 1.2; }
.ad-compact .ad-text {
    font-size: .82rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-compact .ad-cta { min-height: 2.5rem; margin-top: .25rem; padding: .3rem .9rem; font-size: .86rem; }
.ad-spot-compact .ad-promo { margin-top: .4rem; font-size: .78rem; }
/* ---- advertise page ---- */
.adv-hero { background: linear-gradient(135deg, #0B2D5B 0%, #12427f 60%, #0e5b73 100%); color: #fff; padding: 2rem 0 2.25rem; }
.adv-hero h1 { color: #fff; font-size: clamp(1.8rem, 6vw, 2.9rem); font-weight: 800; line-height: 1.12; margin: 0 0 .6rem; max-width: 22ch; }
.adv-hero p { color: #cfe3f5; font-size: 1.05rem; max-width: 40rem; margin: 0 0 1.25rem; }
.adv-hero .btn-row { gap: .6rem; }
.adv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.adv-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: .6rem; padding: .8rem; }
.adv-stat strong { display: block; font-size: 1.15rem; color: #fff; }
.adv-stat span { font-size: .85rem; color: #b8d4ee; }

.adv-section { padding: 2rem 0; }
.adv-section h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; color: var(--lookout-navy); margin: 0 0 .4rem; }
.adv-section .lead { color: #4f6676; margin: 0 0 1.25rem; max-width: 42rem; }
.adv-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.adv-card { background: #fff; border: 1px solid #d9e4e8; border-radius: .75rem; padding: 1.15rem; }
.adv-card h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 .4rem; color: var(--lookout-navy); }
.adv-card p { margin: 0; color: #35505f; }
.adv-icon { width: 2.6rem; height: 2.6rem; border-radius: .65rem; background: #e0f6f3; color: #007c70; display: grid; place-items: center; margin-bottom: .7rem; }
.adv-icon svg { width: 1.4rem; height: 1.4rem; }
.adv-step { counter-increment: step; position: relative; padding-left: 3rem; }
.adv-step::before {
    content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: var(--lookout-navy); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.adv-steps { counter-reset: step; display: grid; gap: 1.1rem; }

.adv-preview { background: #eef4f8; border-radius: .9rem; padding: 1rem; }
.adv-preview-label { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5d7383; margin: 0 0 .6rem; }

.pkg { display: grid; gap: .5rem; align-content: start; position: relative; }
.pkg.is-popular { border: 2px solid var(--lookout-teal); box-shadow: 0 8px 24px rgba(0,186,166,.15); }
.pkg-badge { position: absolute; top: -.7rem; left: 1rem; background: var(--lookout-teal); color: #062c36; font-size: .72rem; font-weight: 800; padding: .2rem .7rem; border-radius: 2rem; letter-spacing: .04em; text-transform: uppercase; }
.pkg-price { font-size: 1.5rem; font-weight: 800; color: var(--lookout-navy); }
.pkg-price small { font-size: .85rem; font-weight: 600; color: #5d7383; }
.pkg ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; color: #35505f; }

.faq details { background: #fff; border: 1px solid #d9e4e8; border-radius: .6rem; padding: .85rem 1rem; }
.faq details + details { margin-top: .6rem; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--lookout-navy); min-height: 2.75rem; display: flex; align-items: center; }
.faq details p { margin: .4rem 0 0; color: #35505f; }

@media (min-width: 576px) {
    .adv-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .adv-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .adv-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adv-hero { padding: 3.25rem 0 3.5rem; }
    .adv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 992px) {
    .adv-preview-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

/* hero buttons (also defined in crime.css; repeated here so any page can use them) */
.btn-primary-ll, .btn-ghost-ll {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem;
    padding: .65rem 1.3rem; border-radius: .45rem; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; text-decoration: none;
}
.btn-primary-ll { background: var(--lookout-teal); color: #062c36; border-color: var(--lookout-teal); }
.btn-primary-ll:hover { background: #00d1bb; border-color: #00d1bb; color: #062c36; }
.btn-ghost-ll { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-ll:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-primary-ll:focus-visible, .btn-ghost-ll:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 575.98px) { .adv-hero .btn-row > a { flex: 1 1 100%; } }
