/* 
   
   1. Site-wide helpers
   2. Mobile polish (phones and small tablets)
   3. Shared components (filter chips, buttons, page intro, pager,
      archive months, detail headings, facts card, sign-in buttons, share bar)
   4. Stories & Profiles   (/profiles, /profile/{slug})   – was profiles.css
   5. Reports              (/reports, /report/{slug})      – was inline in the views
   6. 404 page             (errors/404)                    – was inline in the view
   7. Pop-up advertisement (partials/ads/popup)            – was inline in the partial
========================================================= */



.cms-alert { border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.cms-alert i { font-size: 18px; line-height: 1.2; }
.cms-alert-success { background: #eef8f1; color: #1d6b3a; border: 1px solid #cbe9d5; }
.cms-alert-error { background: #fdf0f0; color: #9b2c2c; border: 1px solid #f3cccc; }
.cms-form-note { font-size: 13px; margin-top: 10px; min-height: 18px; }
.cms-form-note.ok { color: #1d6b3a; }
.cms-form-note.err { color: #c0392b; }
.cms-empty { padding: 48px 0; text-align: center; color: var(--muted, #777); }
.cms-pagination { display: flex; justify-content: center; }
.cms-ad-code { width: 100%; text-align: center; overflow: hidden; }
.cms-ad-image img { width: 100%; height: auto; display: block; border-radius: inherit; }
.subscribe-btn[aria-disabled="true"] { cursor: default; opacity: .85; }
.subscribe-btn i { font-size: 15px; vertical-align: -2px; }
.um-flash { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 50px; background: #111; color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 14px 40px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; z-index: 2100; }
.um-flash.show { opacity: 1; transform: translate(-50%, 0); }
.um-flash i { font-size: 20px; color: #7ddc9a; }
.um-flash.err i { color: #ff9c9c; }
.main-menu > li.menu-more > a { gap: 6px; cursor: pointer; }
.main-menu > li.menu-more > a i { font-size: 16px; line-height: 1; }
.canvas-more { margin-bottom: 0; }
.canvas-more .canvas-links { margin-top: 0; }
.canvas-links a.active { font-weight: 700; color: #000; }

/* Page headings: list pages (category, tag, latest, archive, search, profiles, reports)
   now use <h1 class="section-title"> instead of <h2>. .section-title in custom.css sets
   the size, weight and margin, so the H1 looks exactly like the old H2. */
h1.section-title { margin: 0; }


/* =========================================================
   2. MOBILE POLISH (phones and small tablets)
========================================================= */
html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; }
.section-header, .featured-stories, section { max-width: 100%; }

/* ---- Text that was too small to read on phones ---- */
@media (max-width: 767.98px) {
    .founder-badge { font-size: 9px !important; }
    .founder-date { font-size: 10px !important; }
    .founder-bottom span { font-size: 11px !important; }
    .funding-badge { font-size: 9px !important; }
    .funding-card-title { font-size: 13px !important; line-height: 1.4 !important; }
    .author-date, .author-date span, .related-meta span, .unicorn-related-meta span, .unicorn-main-meta span { font-size: 11px !important; }
    .profile-label { font-size: 10px !important; }
    .profile-description { font-size: 12px !important; line-height: 1.5 !important; }
    .team-info span { font-size: 11px !important; }
    .career-perk-card p { font-size: 12px !important; line-height: 1.55 !important; }
    .advertise-option p { font-size: 12.5px !important; }
    .career-job-title div > span { font-size: 11px !important; }
    .breadcrumb .breadcrumb-item, .breadcrumb .breadcrumb-item a { font-size: 11px; }
    .form-consent span, .about-subscribe-form small { font-size: 11px !important; }
}

/* ---- Breadcrumb: long article titles stay on one line ---- */
@media (max-width: 767.98px) {
    .breadcrumb-bar .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
    .breadcrumb-bar .breadcrumb-item { white-space: nowrap; flex: 0 0 auto; }
    .breadcrumb-bar .breadcrumb-item.active { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* ---- Buttons and form fields: comfortable to tap, no zoom-in on iPhone ---- */
@media (max-width: 767.98px) {
    input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
    input[type="number"], input[type="url"], select, textarea { font-size: 16px !important; }
    .subscribe-btn { min-height: 34px; }
    .view-all { min-height: 36px; display: inline-flex; align-items: center; }
}

/* ---- Advertisement areas never push the page wider than the screen ---- */
.cms-ad-code, .cms-ad-image { max-width: 100%; }
.cms-ad-code iframe, .cms-ad-code ins, .cms-ad-code img { max-width: 100% !important; }
@media (max-width: 575.98px) {
    .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .brand-logo-card { min-height: 64px !important; padding: 10px !important; }
}

/* ---- Footer: less empty space on phones ---- */
@media (max-width: 767.98px) {
    .footer-top { padding: 44px 0 34px; }
    .footer-top .row { row-gap: 30px !important; }
    .footer-description { margin-bottom: 20px; }
    .footer-links li { margin-bottom: 11px; }
    .footer-social a { width: 40px; height: 40px; }
}

/* ---- Pop-ups fit small screens ---- */
@media (max-width: 575.98px) {
    .subscribe-modal .modal-dialog { margin: 12px; }
    .subscribe-modal .modal-content { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
    .offcanvas.offcanvas-end { width: min(88vw, 360px); }
}


/* =========================================================
   3. SHARED COMPONENTS
========================================================= */

/* ---- Short text under a page title ---- */
.page-intro { max-width: 760px; }

/* ---- Type filter chips (All profiles / Founders …, All reports / Market …) ---- */
.type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
}
.type-chips a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}
.type-chips a:hover { border-color: #111; color: #111; }
.type-chips a.active { background: #111; border-color: #111; color: #fff; }

/* ---- Buttons ---- */
.um-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #111;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.um-btn:hover { background: #333; border-color: #333; color: #fff; }
.um-btn i { font-size: 16px; }
.um-btn-outline { background: #fff; color: #111; }
.um-btn-outline:hover { background: #111; color: #fff; }

/* ---- Headings inside a profile / report body ---- */
.detail-heading {
    margin: 8px 0 16px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}
.post-body .detail-heading:not(:first-child) { margin-top: 34px; }

/* ---- "Details" box in the right column (profile + report pages) ---- */
.facts-card {
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
}
.facts-card h3 { margin: 0 0 12px; font-family: "Merriweather", Georgia, serif; font-size: 17px; font-weight: 700; }
.facts-card dl { margin: 0; }
.facts-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.facts-card dl > div:last-child { border-bottom: 0; }
.facts-card dt { color: #777; font-weight: 500; }
.facts-card dd { margin: 0; color: #111; font-weight: 600; text-align: right; }

/* ---- Numbered pages under "Load More" (partials/pager) ---- */
.um-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 4px 0 30px;
}
.um-pager-num,
.um-pager-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}
.um-pager-step i { font-size: 18px; line-height: 1; }
a.um-pager-num:hover,
a.um-pager-step:hover { border-color: #111; color: #111; }
.um-pager-num.is-active { background: #111; border-color: #111; color: #fff; }
.um-pager-step.is-disabled { opacity: .35; }
.um-pager-gap { padding: 0 2px; color: #999; font-size: 13px; }
.um-pager-gap.is-phone { display: none; }           /* "…" that only phones need */

/* ---- Archive: one chip per month ---- */
.archive-months {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
}
.archive-months a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all .25s ease;
}
.archive-months a span { color: #999; font-size: 11px; font-weight: 500; }
.archive-months a:hover { border-color: #111; color: #111; }
.archive-months a.active { background: #111; border-color: #111; color: #fff; }
.archive-months a.active span { color: #ccc; }

/* ---- "Browse all stories by month" under a list ---- */
.archive-link { margin: 0 0 30px; text-align: center; font-size: 13px; font-weight: 600; }
.archive-link a { display: inline-flex; align-items: center; gap: 6px; color: #333; text-decoration: none; border-bottom: 1px solid #ddd; padding-bottom: 2px; }
.archive-link a:hover { color: #111; border-color: #111; }

/* ---- "Continue with Google / LinkedIn" are <button>s now (were links with rel="nofollow") ---- */
button.social-login-btn { width: 100%; font-family: "Instrument Sans", sans-serif; line-height: 1.2; -webkit-appearance: none; appearance: none; }

/* ---- Share bar on article / profile / report pages (was inline in partials/share-bar) ---- */
/* "Link copied" message: fixed at the bottom of the screen, so it never changes the share bar's position */
.share-copied { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 10px); white-space: nowrap; padding: 9px 16px; border-radius: 50px; background: #111; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 1500; }
.share-copied.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 991.98px) { .post-share { flex-wrap: wrap; gap: 8px; } }

@media (max-width: 767.98px) {
    .um-btn { min-height: 44px; }

    /* chips scroll sideways instead of wrapping into several rows */
    .type-chips,
    .archive-months {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -24px;
        padding: 0 24px 4px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .type-chips::-webkit-scrollbar,
    .archive-months::-webkit-scrollbar { display: none; }
    .type-chips a,
    .archive-months a { flex: 0 0 auto; }

    .um-pager { gap: 5px; }
    .um-pager-num,
    .um-pager-step { min-width: 36px; height: 36px; padding: 0 8px; }
}
@media (max-width: 575.98px) {
    /* phones: 1 … 6 [7] 8 … 21 – fits one row */
    .um-pager .is-far { display: none; }
    .um-pager-gap.is-phone { display: inline; }
}


/* =========================================================
   4. STORIES & PROFILES  ( /profiles  and  /profile/{slug} )
   (was public/css/profiles.css)
========================================================= */

/* ---- Lead profile card (image on the left, details on the right) ---- */
.profile-hero {
    display: grid;
    grid-template-columns: 42% 1fr;
    min-height: 380px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: box-shadow .3s ease, border-color .3s ease;
}
a.profile-hero:hover {
    color: #111;
    border-color: #d2d2d2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .07);
}
.profile-hero-image {
    position: relative;
    overflow: hidden;
    background: #e9e9e9;
    min-height: 300px;
}
.profile-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;          /* fills the box without stretching */
    object-position: top center;
    filter: grayscale(100%);
    transition: transform .6s ease, filter .4s ease;
}
a.profile-hero:hover .profile-hero-image img {
    transform: scale(1.03);
    filter: grayscale(70%);
}
.profile-hero-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 36px 40px;
    min-width: 0;
}
.profile-hero .story-category { margin-bottom: 14px; }
.profile-hero-name {
    margin: 0 0 8px;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.12;
    color: #111;
}
.profile-hero-role {
    margin-bottom: 16px;
    color: #b08a4a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
}
.profile-hero-text {
    margin: 0 0 18px;
    max-width: 560px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}
.profile-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
    color: #444;
    font-size: 13px;
}
.profile-hero-facts:empty { display: none; }
.profile-hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.profile-hero-facts i { color: #b08a4a; font-size: 16px; }

/* ---- The listing grid (3 cards per row on desktop) ---- */
.profiles-grid.listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- Profile detail page ---- */
.profile-hero.detail { min-height: 460px; }
.profile-hero.detail .profile-hero-body { justify-content: center; padding: 48px 52px; }

.profile-links { display: flex; gap: 10px; }
.profile-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    color: #111;
    font-size: 17px;
    text-decoration: none;
    transition: all .25s ease;
}
.profile-links a:hover { background: #111; border-color: #111; color: #fff; }

.achievement-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.achievement-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    line-height: 1.55;
}
.achievement-list i { color: #b08a4a; font-size: 20px; line-height: 1.2; }

.profile-story-card {
    position: relative;
    display: block;
    margin-top: 30px;
    padding: 22px 60px 22px 24px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    text-decoration: none;
    transition: background .3s ease;
}
.profile-story-card:hover { background: #222; color: #fff; }
.profile-story-label { display: block; color: #d7b36d; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.profile-story-card strong { font-family: "Merriweather", Georgia, serif; font-size: 18px; line-height: 1.35; }
.profile-story-card i { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #d7b36d; }

@media (max-width: 1199.98px) {
    .profiles-grid.listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .profile-hero,
    .profile-hero.detail { grid-template-columns: 1fr; min-height: 0; }
    .profile-hero-image { min-height: 0; aspect-ratio: 16 / 10; }
    .profile-hero-body,
    .profile-hero.detail .profile-hero-body { padding: 26px 22px; }
}
@media (max-width: 767.98px) {
    .profiles-grid.listing { grid-template-columns: 1fr; }
    .profile-hero-image { aspect-ratio: 16 / 9; }
    .profile-hero-name { font-size: 24px; }
    .profile-hero-text { font-size: 14px; }
    .profile-story-card { padding: 18px 54px 18px 18px; }
    .profile-hero .um-btn { width: 100%; justify-content: center; }
}
@media (max-width: 359.98px) {
    .profile-hero-body { padding: 20px 16px; }
}


/* =========================================================
   5. REPORTS  ( /reports  and  /report/{slug} )
   (was a <style> block inside reports/index and reports/show)
========================================================= */

/* ---- Lead report card on /reports ---- */
.report-hero {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: linear-gradient(135deg, #fbf8f2, #fff 60%);
    color: #111;
    text-decoration: none;
    transition: box-shadow .3s ease, border-color .3s ease;
}
a.report-hero:hover {
    color: #111;
    border-color: #d2d2d2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .07);
}
.report-hero-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    background: #e9e9e9;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.report-hero-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
a.report-hero:hover .report-hero-cover img { transform: scale(1.03); }
.report-hero-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 8px 0;
}
.report-hero-title {
    margin: 6px 0 14px;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    line-height: 1.18;
    color: #111;
}
.report-hero-text {
    margin: 0 0 18px;
    max-width: 640px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}
.featured-meta.dark { margin-bottom: 18px; color: #666; }
.featured-meta.dark .meta-dot { background: #bbb; }

/* ---- "Exclusive" pill next to the type chip ---- */
.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    background: #111;
    color: #d7b36d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    vertical-align: middle;
}

/* ---- Report page: Download / All reports buttons under the meta line ---- */
.featured-large-content.detail-page .detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* ---- Report page: "Get the full report" box ---- */
.report-download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    padding: 20px 22px;
    border: 1px dashed #d8c39a;
    border-radius: 14px;
    background: #fbf8f2;
}
.report-download-box strong { display: block; font-family: "Merriweather", Georgia, serif; font-size: 17px; }
.report-download-box span { color: #777; font-size: 13px; }

/* ---- Tablets ---- */
@media (max-width: 1199.98px) {
    .report-hero { grid-template-columns: 240px 1fr; gap: 28px; }
}

/* ---- Phones ---- */
@media (max-width: 767.98px) {
    .report-hero { grid-template-columns: 1fr; gap: 18px; padding: 16px; }

    /* Cover goes full width and landscape on phones – a 3/4 portrait
       box crops a wide cover photo down to a thin strip. */
    .report-hero-cover { max-width: 100%; aspect-ratio: 16 / 9; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
    .report-hero-body { padding: 0; }
    .report-hero-title { margin: 4px 0 10px; font-size: 22px; line-height: 1.3; }
    .report-hero-text { margin-bottom: 14px; font-size: 14px; line-height: 1.6; }
    .featured-meta.dark { margin-bottom: 14px; }
    .report-hero .um-btn { width: 100%; justify-content: center; }

    .report-download-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
    .featured-large-content.detail-page .detail-actions { gap: 8px; margin-top: 14px; }
    .featured-large-content.detail-page .detail-actions .um-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---- Report rows: one report per row on phones (home "Reports", /reports, "More reports") ---- */
@media (max-width: 767.98px) {
    .reports-list { display: block; padding: 14px; }
    .report-item {
        grid-template-columns: 38% 1fr;
        gap: 14px;
        align-items: stretch;
        padding: 0 0 16px;
        margin: 0 0 16px;
    }
    .report-item:last-of-type { margin-bottom: 0; }
    .report-image { height: 100%; min-height: 128px; border-radius: 10px; }
    .report-content { padding: 0; }
    .report-meta { margin-bottom: 8px; gap: 8px; flex-wrap: wrap; }
    .report-category { padding: 6px 10px; font-size: 10px; }
    .report-date { font-size: 11px; }
    .report-title { margin-bottom: 6px; font-size: 16px; line-height: 1.35; }
    .report-title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
    .report-description {
        font-size: 13px; line-height: 1.5;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
    }
    .report-bottom { padding-top: 10px; }
    .report-reading { font-size: 12px; }
    .report-reading i { display: none; }
    .report-arrow { width: 32px; height: 32px; flex-basis: 32px; }
    .report-arrow i { font-size: 17px; }
    .reports-explore { padding-top: 4px; }
    .reports-explore-btn { gap: 14px; min-height: 44px; padding: 0 18px; font-size: 13px; }
}
@media (max-width: 359.98px) {
    .report-item { grid-template-columns: 1fr; }
    .report-image { height: 170px; }
}


/* =========================================================
   6. 404 PAGE  ( errors/404.blade.php )
========================================================= */
.nf-section { padding: 70px 0 50px; background: #fff; }
.nf-wrap { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.nf-big {
    font-family: "Merriweather", Georgia, serif; font-weight: 900;
    font-size: clamp(120px, 24vw, 260px); line-height: .9; letter-spacing: -6px;
    color: transparent; -webkit-text-stroke: 1.5px var(--border, #e7e7e7);
    user-select: none; margin-bottom: -40px;
}
.nf-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--black, #0a0a0a); background: #f4f4f4; border-radius: 50px; padding: 7px 14px;
}
.nf-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #e63946; }
.nf-title {
    position: relative; font-family: "Merriweather", Georgia, serif; font-weight: 900;
    font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; color: var(--black, #0a0a0a);
    margin: 18px 0 16px;
}
.nf-text { font-size: 17px; line-height: 1.7; color: var(--muted, #777); max-width: 620px; margin: 0 auto 30px; }
.nf-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.nf-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 50px;
    font-size: 15px; font-weight: 600; text-decoration: none; transition: all .25s ease;
    border: 1px solid var(--black, #0a0a0a);
}
.nf-btn-dark { background: var(--black, #0a0a0a); color: #fff; }
.nf-btn-dark:hover { background: #333; border-color: #333; color: #fff; transform: translateY(-2px); }
.nf-btn-light { background: #fff; color: var(--black, #0a0a0a); }
.nf-btn-light:hover { background: var(--black, #0a0a0a); color: #fff; transform: translateY(-2px); }
.nf-search { max-width: 560px; margin: 40px auto 0; position: relative; }
.nf-search label { display: block; font-size: 13px; font-weight: 600; color: var(--text, #181818); margin-bottom: 10px; }
.nf-search-box { display: flex; align-items: center; border: 1px solid var(--border, #e7e7e7); border-radius: 50px; padding: 6px 6px 6px 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.nf-search-box:focus-within { border-color: var(--black, #0a0a0a); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.nf-search-box i { color: var(--muted, #777); font-size: 18px; }
.nf-search-box input { flex: 1; border: 0; outline: 0; padding: 10px 12px; font-size: 15px; background: transparent; min-width: 0; }
.nf-search-box button { border: 0; background: var(--black, #0a0a0a); color: #fff; border-radius: 50px; padding: 10px 22px; font-weight: 600; font-size: 14px; }
.nf-search-box button:hover { background: #333; }
.nf-stories { padding: 30px 0 60px; border-top: 1px solid var(--border, #e7e7e7); }
.nf-stories .top-picks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 991px) { .nf-stories .top-picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .nf-section { padding: 45px 0 35px; }
    .nf-big { margin-bottom: -22px; letter-spacing: -3px; }
    .nf-stories .top-picks-grid { grid-template-columns: 1fr; }
    .nf-btn { width: 100%; justify-content: center; }
}


/* =========================================================
   7. POP-UP ADVERTISEMENT  ( partials/ads/popup.blade.php )
========================================================= */
.um-popup { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.um-popup[hidden] { display: none; }
.um-popup-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .62); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s ease; }
.um-popup-box { position: relative; width: 100%; max-width: 600px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .3s ease, transform .3s ease; }
.um-popup.large .um-popup-box { max-width: 800px; }
.um-popup.open .um-popup-backdrop { opacity: 1; }
.um-popup.open .um-popup-box { opacity: 1; transform: none; }
.um-popup-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; z-index: 2; pointer-events: none; }
.um-popup-label { pointer-events: auto; padding: 3px 9px; border-radius: 50px; background: rgba(255, 255, 255, .92); color: #777; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.um-popup-close { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; min-width: 36px; height: 36px; padding: 0 10px; border: 0; border-radius: 50px; background: #111; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s ease, opacity .2s ease; }
.um-popup-close i { font-size: 18px; }
.um-popup-close:disabled { background: rgba(17, 17, 17, .55); cursor: default; }
.um-popup-close:disabled i { display: none; }
.um-popup-close:not(:disabled):hover { background: #333; }
.um-popup-image { display: block; }
.um-popup-image img { display: block; width: 100%; height: auto; }
.um-popup-body .cms-ad-code { padding: 48px 16px 16px; }
.um-popup-text { padding: 56px 32px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.um-popup-text .square-ad-icon { margin: 0 auto 16px; }
.um-popup-text h3 { font-family: "Merriweather", Georgia, serif; font-size: 26px; font-weight: 700; margin: 0 0 10px; color: #111; }
.um-popup-text p { color: #666; font-size: 15px; line-height: 1.6; margin: 0 0 22px; max-width: 440px; }
.um-popup-text .um-btn { align-self: center; }
.um-popup-progress { height: 4px; background: #eee; }
.um-popup-progress span { display: block; height: 100%; width: 100%; background: #b08a4a; transform-origin: left; }
@media (max-width: 575.98px) { .um-popup { padding: 12px; } .um-popup-text { padding: 52px 20px 26px; } .um-popup-text h3 { font-size: 21px; } }
