/* ============================================================
   Newsletters (/newsletters, /newsletters/{year}, /newsletters/search) · v2.0 (11/2026)
   Blades: Modules/Newsletter/Resources/views/{index,search}.blade.php
   Λευκό φόντο, μπλε του κόμβου, Open Sans (ίδια γλώσσα με την Ανασκόπηση).
   ============================================================ */

.nl2 {
    --nl-brand:     #005a77;
    --nl-brand-2:   #019bcc;
    --nl-ink:       #0f2a35;
    --nl-text:      #14262e;
    --nl-text-2:    #33454d;
    --nl-muted:     #5b6b73;
    --nl-faint:     #a3b1b8;
    --nl-line:      #e3e8eb;
    --nl-line-soft: #edf1f3;
    --nl-field:     #d5dfe4;
    --nl-hover:     #f5f9fa;
    --nl-tint:      #eef6f9;
    --nl-tint-line: #d5e5ec;
    --nl-head:      #f6f8f9;
    --nl-urgent:    #a02020;
    --nl-urgent-bg: #fdecec;
    --nl-mark:      #fff1b8;

    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nl-text);
    background: #fff;
}
.nl2 *, .nl2 *::before, .nl2 *::after { box-sizing: border-box; }
.nl2 a { color: var(--nl-brand); }
.nl2 a:hover { color: var(--nl-brand-2); }
.nl2 h1, .nl2 h2, .nl2 h3 { font-family: inherit; }
.nl2 mark { background: var(--nl-mark); color: var(--nl-text); padding: 0 2px; border-radius: 3px; }

.nl2-wrap { max-width: 1260px; margin: 0 auto; padding: 0 20px; }

/* Breadcrumb */
.nl2-crumb { font-size: 12px; color: var(--nl-muted); padding: 14px 0 0; }
.nl2 .nl2-crumb a { text-decoration: none; }
.nl2-crumb-sep { margin: 0 6px; color: var(--nl-faint); }
.nl2-crumb-cur { color: var(--nl-ink); font-weight: 600; }

/* ── Hero ───────────────────────────────────────────── */
.nl2-hero { display: flex; gap: 40px; align-items: flex-start; padding: 22px 0 26px; border-bottom: 1px solid var(--nl-line); }
.nl2-hero-text { flex: 1 1 520px; min-width: 0; }
.nl2-hero h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.15; color: var(--nl-ink); font-weight: 700; }
.nl2-hero p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--nl-text-2); max-width: 560px; }
.nl2-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.nl2-stat-num { font-size: 26px; font-weight: 700; color: var(--nl-brand); line-height: 1; }
.nl2-stat-label { font-size: 12.5px; color: var(--nl-muted); margin-top: 4px; }

.nl2-subscribe { flex: 0 1 460px; min-width: 300px; background: var(--nl-tint); border: 1px solid var(--nl-tint-line); border-radius: 12px; padding: 22px 24px; }
.nl2-subscribe-title { font-size: 15px; font-weight: 700; color: var(--nl-ink); margin-bottom: 4px; }
.nl2-subscribe-sub { font-size: 13px; color: var(--nl-text-2); margin-bottom: 12px; line-height: 1.5; }
.nl2-subscribe-note { font-size: 11.5px; color: var(--nl-muted); margin-top: 10px; }
/* Η φόρμα του Moosend μέσα στο πλαίσιο: χωρίς δικά της περιθώρια/φόντα */
.nl2-subscribe [data-mooform-id] { min-height: 44px; }
.nl2-subscribe [data-mooform-id] form, .nl2-subscribe .moosend-main-form-wrapper { margin: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; max-width: none !important; }

/* ── Αναζήτηση ──────────────────────────────────────── */
.nl2-search { padding: 22px 0 8px; }
.nl2-search-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--nl-field); border-radius: 12px; padding: 10px 12px; }
.nl2-search-form.is-active { border-color: var(--nl-brand); box-shadow: 0 0 0 3px var(--nl-tint); }
.nl2-search-form svg { flex: none; margin-left: 6px; }
.nl2-search-form input[type="search"] { flex: 1 1 320px; min-width: 0; height: 44px; border: 0; padding: 0 6px; font: inherit; font-size: 15px; color: var(--nl-text); background: transparent; outline: none; box-shadow: none; }
.nl2-search-form input[type="search"]::placeholder { color: #8a979d; }
.nl2-search-form select { height: 44px; border: 1px solid var(--nl-field); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--nl-text); background: #fff; }
.nl2-search-form button { height: 44px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--nl-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.nl2-search-form button:hover { background: var(--nl-brand); }
.nl2-search-help { font-size: 12px; color: var(--nl-muted); margin: 8px 0 0 6px; }
.nl2-search-error { margin: 10px 0 0 6px; font-size: 13px; color: var(--nl-urgent); font-weight: 600; }
.nl2-sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Δύο στήλες ─────────────────────────────────────── */
.nl2-cols { display: flex; gap: 40px; align-items: flex-start; padding: 18px 0 40px; }
.nl2-main { flex: 1 1 560px; min-width: 0; }
.nl2-side { width: 300px; flex: none; }

/* Τελευταίο newsletter */
.nl2-latest { border: 1px solid var(--nl-tint-line); border-left: 4px solid var(--nl-brand); border-radius: 12px; padding: 18px 22px; margin-bottom: 28px; background: #fff; }
.nl2-latest-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.nl2-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--nl-brand); }
.nl2-latest-date { font-size: 12.5px; color: var(--nl-muted); }
.nl2 .nl2-latest-title { display: block; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--nl-ink); text-decoration: none; margin-bottom: 12px; }
.nl2 .nl2-latest-title:hover { color: var(--nl-brand); }
.nl2-latest-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.nl2 .nl2-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--nl-field); color: var(--nl-text); font-size: 13.5px; font-weight: 600; text-decoration: none; background: #fff; }
.nl2 .nl2-btn:hover { border-color: var(--nl-brand); color: var(--nl-brand); }
.nl2 .nl2-btn--primary { background: var(--nl-brand); border-color: var(--nl-brand); color: #fff; font-weight: 700; }
.nl2 .nl2-btn--primary:hover { background: #004a62; border-color: #004a62; color: #fff; }

.nl2-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.nl2-badge--daily { background: var(--nl-tint); color: var(--nl-brand); }
.nl2-badge--urgent { background: var(--nl-urgent-bg); color: var(--nl-urgent); }

/* Επικεφαλίδα έτους */
.nl2-year-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.nl2-year-head h2 { margin: 0; font-size: 22px; color: var(--nl-ink); }
.nl2-year-head span { font-size: 12.5px; color: var(--nl-muted); }

/* Μήνες (accordion) */
.nl2-month { border: 1px solid var(--nl-line); border-radius: 10px; margin-bottom: 10px; background: #fff; scroll-margin-top: 90px; }
.nl2-month summary { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; list-style: none; cursor: pointer; user-select: none; }
.nl2-month summary::-webkit-details-marker { display: none; }
.nl2-month[open] summary { background: var(--nl-head); border-radius: 10px 10px 0 0; }
.nl2-month summary:hover { background: var(--nl-head); }
.nl2-month-chev { flex: none; transition: transform .15s; }
.nl2-month[open] .nl2-month-chev { transform: rotate(90deg); }
.nl2-month-name { font-size: 15px; font-weight: 700; color: var(--nl-ink); }
.nl2-month-count { font-size: 12.5px; color: var(--nl-muted); }

.nl2-row { display: flex; gap: 14px; align-items: baseline; padding: 11px 16px; border-top: 1px solid var(--nl-line-soft); }
.nl2-row:hover { background: var(--nl-hover); }
.nl2-row.is-hidden { display: none; }
.nl2-row-date { width: 64px; flex: none; font-size: 13px; color: var(--nl-muted); }
.nl2-row-date b { color: var(--nl-text); font-weight: 700; }
.nl2 .nl2-row-title { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.45; color: var(--nl-ink); text-decoration: none; }
.nl2 .nl2-row-title:hover { color: var(--nl-brand); }
.nl2-month-more { padding: 10px 16px; border-top: 1px solid var(--nl-line-soft); text-align: center; }
.nl2-month-more button { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--nl-brand); cursor: pointer; }
.nl2-month-more button:hover { color: var(--nl-brand-2); }

.nl2-empty { padding: 28px 16px; text-align: center; color: var(--nl-muted); border: 1px dashed var(--nl-line); border-radius: 10px; }

/* Αρχείο ετών */
.nl2-archive { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--nl-line); }
.nl2-archive-title { font-size: 13px; font-weight: 700; color: var(--nl-ink); margin-bottom: 10px; }
.nl2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.nl2 .nl2-chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--nl-field); font-size: 13px; font-weight: 600; color: var(--nl-text); text-decoration: none; background: #fff; }
.nl2 .nl2-chip:hover { border-color: var(--nl-brand); color: var(--nl-brand); }
.nl2 .nl2-chip.is-on { background: var(--nl-ink); border-color: var(--nl-ink); color: #fff; }
.nl2 .nl2-chip--soft { background: var(--nl-tint); border-color: var(--nl-tint); color: var(--nl-brand); font-size: 12.5px; padding: 5px 11px; }
.nl2-archive-note { font-size: 12px; color: var(--nl-muted); margin-top: 8px; }

/* Sidebar */
.nl2-box { border: 1px solid var(--nl-line); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.nl2-box--tint { background: var(--nl-tint); border-color: var(--nl-tint-line); }
.nl2-box-title { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--nl-muted); margin-bottom: 10px; }
.nl2-monthnav { display: flex; flex-direction: column; gap: 2px; }
.nl2 .nl2-monthnav a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--nl-text); font-size: 13.5px; text-decoration: none; }
.nl2-monthnav a span:last-child { color: var(--nl-muted); }
.nl2 .nl2-monthnav a:hover { background: var(--nl-hover); color: var(--nl-brand); }
.nl2 .nl2-monthnav a.is-on { background: var(--nl-tint); color: var(--nl-brand); font-weight: 700; }
.nl2-monthnav a.is-on span:last-child { color: var(--nl-brand); }
.nl2-box select { width: 100%; height: 40px; border: 1px solid var(--nl-field); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--nl-text); background: #fff; }
.nl2-benefits { display: flex; flex-direction: column; gap: 12px; }
.nl2-benefit { display: flex; gap: 10px; }
.nl2-benefit svg { flex: none; margin-top: 2px; }
.nl2-benefit b { display: block; font-size: 13.5px; font-weight: 700; color: var(--nl-ink); }
.nl2-benefit span { font-size: 12.5px; color: var(--nl-muted); line-height: 1.5; }
.nl2-box ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: var(--nl-text-2); }
.nl2-box-cta-title { font-size: 14px; font-weight: 700; color: var(--nl-ink); margin-bottom: 6px; }
.nl2-box-cta-text { font-size: 12.5px; color: var(--nl-text-2); line-height: 1.5; margin-bottom: 10px; }

/* ── Αποτελέσματα αναζήτησης ────────────────────────── */
.nl2-head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0 18px; border-bottom: 1px solid var(--nl-line); flex-wrap: wrap; }
.nl2-head-row h1 { margin: 0; font-size: 26px; line-height: 1.2; color: var(--nl-ink); font-weight: 700; }
.nl2 .nl2-head-row a { font-size: 13.5px; font-weight: 600; text-decoration: none; }

.nl2-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 6px 0 12px; flex-wrap: wrap; }
.nl2-results-count { font-size: 15px; color: var(--nl-text); }
.nl2-results-count span { color: var(--nl-muted); }
.nl2-facets { display: flex; gap: 6px; flex-wrap: wrap; }
.nl2-facets .nl2-chip { font-size: 12px; padding: 5px 11px; }

.nl2-results { border: 1px solid var(--nl-line); border-radius: 12px; overflow: hidden; background: #fff; }
.nl2-res { padding: 16px 20px; border-bottom: 1px solid var(--nl-line-soft); }
.nl2-res:last-child { border-bottom: 0; }
.nl2-res:hover { background: var(--nl-hover); }
.nl2-res-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 12.5px; color: var(--nl-muted); flex-wrap: wrap; }
.nl2-res-meta b { color: var(--nl-text); }
.nl2-res-where { margin-left: auto; font-size: 11.5px; color: var(--nl-faint); }
.nl2 .nl2-res-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--nl-ink); text-decoration: none; margin-bottom: 6px; }
.nl2 .nl2-res-title:hover { color: var(--nl-brand); }
.nl2-res-snippet { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--nl-text-2); }

.nl2-pager { display: flex; justify-content: center; gap: 8px; padding: 18px 0 0; flex-wrap: wrap; }
.nl2-pager a, .nl2-pager span { padding: 9px 14px; border-radius: 8px; border: 1px solid var(--nl-field); color: var(--nl-text); font-size: 13px; font-weight: 600; text-decoration: none; }
.nl2-pager span { background: var(--nl-ink); border-color: var(--nl-ink); color: #fff; font-weight: 700; }
.nl2 .nl2-pager a:hover { border-color: var(--nl-brand); color: var(--nl-brand); }
.nl2-pager-note { text-align: center; font-size: 12px; color: var(--nl-muted); margin-top: 10px; }

/* ── Κινητό ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .nl2-hero { flex-direction: column; gap: 20px; }
    .nl2-hero-text { flex: none; width: 100%; }
    .nl2-subscribe { flex: none; width: 100%; min-width: 0; }
    .nl2-cols { flex-direction: column; gap: 24px; }
    .nl2-side { width: 100%; }
}
@media (max-width: 560px) {
    .nl2-hero h1 { font-size: 26px; }
    .nl2-hero p { font-size: 15px; }
    .nl2-search-form button { flex: 1 1 100%; }
    .nl2-search-form select { flex: 1 1 100%; }
    .nl2-row { flex-wrap: wrap; gap: 6px 12px; }
    .nl2 .nl2-row-title { flex: 1 1 100%; order: 3; }
    .nl2-res-where { display: none; }
}
