/*
Theme Name: Cyprus24 Bold
Theme URI: https://cyprus24.news/
Description: Ένα νέο, δυναμικό editorial theme για το Cyprus24.news. Μεγάλη ελληνική τυπογραφία, ζωντανή ροή, dark mode, γρήγορη φόρτωση και πλήρης υποστήριξη των live/featured/ads υποδομών του σταθμού.
Author: Cyprus24 Newsroom
Author URI: https://cyprus24.news/
Template: Cyprus24
Version: 1.31.4
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyprus24-bold
Tags: news, editorial, dark-mode, custom-menu, featured-images, translation-ready, right-sidebar
*/

/* =====================================================================
   1. Design tokens
   ===================================================================== */

:root {
    /* Brand palette — warm newsprint, ink and press red. */
    --c24b-paper: #ffffff;
    --c24b-surface: #ffffff;
    --c24b-surface-2: #f4f4f2;
    --c24b-ink: #151515;
    --c24b-ink-2: #3a3a3a;
    --c24b-muted: #737373;
    --c24b-line: #e3e3e0;
    --c24b-line-soft: #efefec;
    --c24b-red: #c8102e;
    --c24b-red-dark: #960b21;
    --c24b-red-soft: rgba(200, 16, 46, 0.09);
    --c24b-black: #12100e;

    /* Category identities */
    --cat-cyprus: #c8102e;
    --cat-politics: #1d4ed8;
    --cat-economy: #0b7a53;
    --cat-world: #6d28d9;
    --cat-police: #1d3557;
    --cat-lifestyle: #be185d;
    --cat-greece: #0e7490;
    --cat-opinion: #16120e;
    --cat-general: #c8102e;

    /* Compatibility aliases used by Cyprus24 plugins and legacy content. */
    --accent: var(--c24b-red);
    --accent-hover: var(--c24b-red-dark);
    --primary: var(--c24b-ink);
    --primary-light: var(--c24b-ink-2);
    --bg-site: var(--c24b-paper);
    --bg-card: var(--c24b-surface);
    --text-heading: var(--c24b-ink);
    --text-body: var(--c24b-ink-2);
    --text-muted: var(--c24b-muted);
    --border: var(--c24b-line);
    --border-hover: var(--c24b-muted);
    --container-width: 1320px;

    /* Type */
    --c24b-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --c24b-serif: "Literata", Georgia, "Times New Roman", serif;

    /* Rhythm */
    --c24b-gutter: 28px;
    --c24b-radius: 3px;
    --c24b-shadow: 0 18px 40px -24px rgba(22, 18, 14, 0.45);
    --c24b-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-theme="dark"] {
    --c24b-paper: #0d0c0b;
    --c24b-surface: #171513;
    --c24b-surface-2: #201d1a;
    --c24b-ink: #f6f0e6;
    --c24b-ink-2: #d6ccbd;
    --c24b-muted: #a79b8b;
    --c24b-line: #2f2a25;
    --c24b-line-soft: #24211d;
    --c24b-red: #ff4058;
    --c24b-red-dark: #e12a43;
    --c24b-red-soft: rgba(255, 64, 88, 0.12);
    --c24b-black: #050505;

    --cat-cyprus: #ff6070;
    --cat-politics: #7aa2ff;
    --cat-economy: #3ddc97;
    --cat-world: #b794ff;
    --cat-police: #8fb4e0;
    --cat-lifestyle: #ff7ab8;
    --cat-greece: #4dd0e1;
    --cat-opinion: #f6f0e6;
    --cat-general: #ff6070;

    --accent: var(--c24b-red);
    --bg-site: var(--c24b-paper);
    --bg-card: var(--c24b-surface);
    --text-heading: var(--c24b-ink);
    --text-body: var(--c24b-ink-2);
    --text-muted: var(--c24b-muted);
    --border: var(--c24b-line);
}

/* =====================================================================
   2. Reset & base
   ===================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--c24b-paper);
    color: var(--c24b-ink-2);
    font-family: var(--c24b-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.c24b-no-scroll {
    overflow: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

a {
    color: var(--c24b-ink);
    text-decoration: none;
    transition: color 0.2s var(--c24b-ease);
}

a:hover {
    color: var(--c24b-red);
}

p {
    margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--c24b-ink);
    font-family: var(--c24b-serif);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

input,
textarea,
select {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

hr {
    border: 0;
    border-top: 1px solid var(--c24b-line);
    margin: 2rem 0;
}

::selection {
    background: var(--c24b-red);
    color: #fff;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--c24b-red);
    outline-offset: 3px;
}

/* =====================================================================
   3. Layout helpers
   ===================================================================== */

.c24b-wrap {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--c24b-gutter);
}

.c24b-main {
    display: block;
    min-height: 40vh;
    padding-bottom: 4rem;
}

.c24b-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.c24b-skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    transform: translateY(-160%);
    background: var(--c24b-ink);
    color: var(--c24b-paper);
    padding: 12px 18px;
    border-radius: var(--c24b-radius);
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s var(--c24b-ease);
}

.c24b-skip:focus {
    transform: translateY(0);
    color: var(--c24b-paper);
}

.c24b-dot {
    margin-inline: 7px;
    color: var(--c24b-muted);
}

.c24b-grid {
    display: grid;
    gap: 26px;
}

.c24b-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =====================================================================
   4. Top bar
   ===================================================================== */

.c24b-topbar {
    background: var(--c24b-paper);
    border-bottom: 1px solid var(--c24b-line-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c24b-muted);
}

.c24b-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 40px;
}

.c24b-topbar__date {
    margin: 0;
    white-space: nowrap;
}

.c24b-topbar__center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.c24b-topbar__tag {
    color: var(--c24b-muted);
}

.c24b-topbar__links {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.c24b-topbar__links a {
    color: var(--c24b-muted);
}

.c24b-topbar__links a:hover {
    color: var(--c24b-red);
}

.c24b-topbar__sep {
    width: 1px;
    height: 12px;
    background: var(--c24b-line);
}

.c24b-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--c24b-line);
    border-radius: 50%;
    color: var(--c24b-ink);
    transition: border-color 0.2s, color 0.2s, transform 0.3s;
}

.c24b-theme-toggle:hover {
    border-color: var(--c24b-red);
    color: var(--c24b-red);
    transform: rotate(-18deg);
}

.c24b-icon-moon {
    display: none;
}

html[data-theme="dark"] .c24b-icon-sun {
    display: none;
}

html[data-theme="dark"] .c24b-icon-moon {
    display: block;
}

/* Live pill */
.c24b-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 5px 12px;
    border: 1px solid var(--c24b-red);
    border-radius: 999px;
    color: var(--c24b-red);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

.c24b-live-pill:hover {
    background: var(--c24b-red);
    color: #fff;
}

.c24b-live-pill__title {
    max-width: 34ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 11.5px;
}

.c24b-live-pill__dot,
.c24b-live-dot {
    position: relative;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c24b-red);
    flex: none;
}

.c24b-live-pill__dot::after,
.c24b-live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: currentColor;
    color: var(--c24b-red);
    animation: c24b-pulse 1.9s ease-out infinite;
}

.c24b-live-pill:hover .c24b-live-pill__dot::after {
    color: #fff;
}

@keyframes c24b-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    70%,
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* =====================================================================
   5. Masthead
   ===================================================================== */

.c24b-masthead {
    background: var(--c24b-paper);
    border-bottom: 1px solid var(--c24b-ink);
}

.c24b-masthead__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px 18px;
    position: relative;
}

.c24b-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--c24b-ink);
    line-height: 1;
}

.c24b-brand:hover {
    color: var(--c24b-ink);
}

.c24b-brand__main {
    display: inline-block;
    font-family: var(--c24b-sans);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    white-space: nowrap;
}

.c24b-brand__num {
    display: inline-block;
    margin-left: 5px;
    padding: 5px 7px;
    border-radius: 3px;
    background: var(--c24b-red);
    color: #fff;
    font-size: 1em;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    vertical-align: baseline;
}

.c24b-brand__tag {
    margin-top: 10px;
    font-family: var(--c24b-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    color: var(--c24b-muted);
    line-height: 1.2;
}

.c24b-masthead__tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.c24b-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: var(--c24b-radius);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--c24b-ink);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.c24b-icon-btn:hover {
    color: var(--c24b-red);
    border-color: var(--c24b-line);
    background: var(--c24b-surface);
}

.c24b-icon-btn--live {
    color: var(--c24b-red);
    border-color: var(--c24b-red-soft);
    background: var(--c24b-red-soft);
}

.c24b-burger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.c24b-burger__lines {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
}

.c24b-burger__lines span {
    height: 2px;
    background: var(--c24b-ink);
    width: 100%;
}

.c24b-burger__lines span:nth-child(2) {
    width: 70%;
}

/* =====================================================================
   6. Navigation
   ===================================================================== */

.c24b-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--c24b-paper);
    border-top: 2px solid var(--c24b-ink);
    border-bottom: 1px solid var(--c24b-line);
    transition: box-shadow 0.25s var(--c24b-ease), background 0.25s;
}

.c24b-nav.is-stuck {
    box-shadow: 0 12px 30px -22px rgba(22, 18, 14, 0.8);
    background: color-mix(in srgb, var(--c24b-paper) 92%, transparent);
    backdrop-filter: saturate(140%) blur(10px);
}

.admin-bar .c24b-nav {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .c24b-nav {
        top: 46px;
    }
}

.c24b-nav__inner {
    display: flex;
    align-items: stretch;
    position: relative;
}

.c24b-nav__items {
    display: flex;
    align-items: stretch;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.c24b-nav__items::-webkit-scrollbar {
    display: none;
}

.c24b-nav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 15px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    color: var(--c24b-ink);
    white-space: nowrap;
}

.c24b-nav__item::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 3px;
    background: var(--c24b-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--c24b-ease);
}

.c24b-nav__item:hover::after,
.c24b-nav__item.is-active::after {
    transform: scaleX(1);
}

.c24b-nav__item.is-active {
    color: var(--c24b-red);
}

.c24b-nav__scroll {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    border-left: 1px solid var(--c24b-line);
    color: var(--c24b-muted);
    flex: none;
}

.c24b-nav__scroll[hidden] {
    display: none;
}

.c24b-nav__scroll:hover {
    color: var(--c24b-red);
    background: var(--c24b-surface);
}

.c24b-nav__more {
    position: relative;
    display: flex;
    align-items: stretch;
    flex: none;
}

.c24b-nav__more summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    border-left: 1px solid var(--c24b-line);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    color: var(--c24b-muted);
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.c24b-nav__more summary::-webkit-details-marker {
    display: none;
}

.c24b-nav__more summary:hover,
.c24b-nav__more[open] summary {
    color: var(--c24b-red);
    background: var(--c24b-surface);
}

.c24b-nav__dropdown {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    z-index: 95;
    min-width: 260px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 10px;
    background: var(--c24b-surface);
    border: 1px solid var(--c24b-line);
    box-shadow: var(--c24b-shadow);
    display: grid;
    grid-template-columns: 1fr;
}

.c24b-nav__dropdown a {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
}

.c24b-nav__dropdown a:hover {
    background: var(--c24b-surface-2);
    color: var(--c24b-red);
}

/* =====================================================================
   7. Ticker
   ===================================================================== */

.c24b-ticker {
    background: var(--c24b-ink);
    color: var(--c24b-paper);
    overflow: hidden;
    border-bottom: 1px solid var(--c24b-ink);
}

html[data-theme="dark"] .c24b-ticker {
    background: var(--c24b-surface-2);
    color: var(--c24b-ink);
    border-color: var(--c24b-line);
}

.c24b-ticker__inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding-inline: 0;
    max-width: none;
}

.c24b-ticker__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    background: var(--c24b-red);
    color: #fff;
    padding: 10px 18px;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.c24b-ticker__label .c24b-live-dot {
    background: #fff;
    color: #fff;
}

.c24b-ticker__label .c24b-live-dot::after {
    color: #fff;
}

.c24b-ticker__viewport {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
}

.c24b-ticker__track {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-left: 22px;
    width: max-content;
    animation: c24b-marquee 58s linear infinite;
    will-change: transform;
}

.c24b-ticker:hover .c24b-ticker__track,
.c24b-ticker:focus-within .c24b-ticker__track {
    animation-play-state: paused;
}

.c24b-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--c24b-paper);
    white-space: nowrap;
    padding-block: 10px;
}

html[data-theme="dark"] .c24b-ticker__item {
    color: var(--c24b-ink);
}

.c24b-ticker__item:hover {
    color: var(--c24b-red);
}

.c24b-ticker__time {
    font-weight: 800;
    color: #ff8a99;
    font-variant-numeric: tabular-nums;
}

html[data-theme="dark"] .c24b-ticker__time {
    color: var(--c24b-red);
}

.c24b-ticker__cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #b9ab99;
    text-transform: uppercase;
}

.c24b-ticker__title {
    font-weight: 500;
}

.c24b-ticker__item::after {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--c24b-red);
    margin-left: 24px;
    flex: none;
}

@keyframes c24b-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =====================================================================
   8. Buttons, chips, forms
   ===================================================================== */

.c24b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    background: var(--c24b-ink);
    color: var(--c24b-paper);
    border: 1px solid var(--c24b-ink);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.c24b-btn:hover {
    background: var(--c24b-red);
    border-color: var(--c24b-red);
    color: #fff;
    transform: translateY(-1px);
}

.c24b-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--c24b-line);
    border-radius: 999px;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--c24b-ink-2);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.c24b-chip::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c24b-red);
    opacity: 0.9;
}

.c24b-chip span {
    font-size: 10px;
    color: var(--c24b-muted);
    font-variant-numeric: tabular-nums;
}

.c24b-chip:hover {
    border-color: var(--c24b-red);
    color: var(--c24b-red);
    background: var(--c24b-red-soft);
}

.c24b-chip--tag::before {
    display: none;
}

.c24b-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--c24b-line);
    background: var(--c24b-surface);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.c24b-search-form:focus-within {
    border-color: var(--c24b-ink);
    box-shadow: 0 0 0 3px var(--c24b-red-soft);
}

.c24b-search-form__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 13px 16px;
    color: var(--c24b-ink);
    font-size: 15px;
    outline: none;
}

.c24b-search-form__input::placeholder {
    color: var(--c24b-muted);
}

.c24b-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    flex: none;
    background: var(--c24b-ink);
    color: var(--c24b-paper);
    transition: background 0.2s;
}

.c24b-search-form__submit:hover {
    background: var(--c24b-red);
}

/* =====================================================================
   9. Drawer & search overlay
   ===================================================================== */

.c24b-drawer,
.c24b-search-panel {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.c24b-drawer__backdrop,
.c24b-search-panel__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.62);
    backdrop-filter: blur(3px);
    animation: c24b-fade 0.25s ease both;
}

.c24b-drawer__panel {
    position: relative;
    width: min(430px, 92vw);
    height: 100%;
    background: var(--c24b-paper);
    border-right: 3px solid var(--c24b-ink);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 22px 24px 30px;
    animation: c24b-slide 0.3s var(--c24b-ease) both;
}

.c24b-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--c24b-line);
}

.c24b-drawer__head .c24b-brand__main {
    font-size: 38px;
}

.c24b-drawer__close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c24b-line);
    border-radius: 50%;
    color: var(--c24b-ink);
}

.c24b-drawer__close:hover {
    border-color: var(--c24b-red);
    color: var(--c24b-red);
}

.c24b-drawer__search {
    padding: 18px 0;
}

.c24b-drawer__nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--c24b-line);
}

.c24b-drawer__nav > a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--c24b-line-soft);
    font-family: var(--c24b-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--c24b-ink);
}

.c24b-drawer__nav > a:hover {
    color: var(--c24b-red);
    padding-left: 8px;
}

.c24b-drawer__label {
    margin: 22px 0 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c24b-muted);
}

.c24b-drawer__nav > a.c24b-drawer__sub {
    font-family: var(--c24b-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 2px;
}

.c24b-drawer__foot {
    margin-top: auto;
    padding-top: 26px;
    display: flex;
    gap: 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c24b-muted);
}

.c24b-search-panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 20px 20px;
}

.c24b-search-panel__box {
    position: relative;
    width: min(720px, 100%);
    background: var(--c24b-paper);
    border-top: 4px solid var(--c24b-red);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
    padding: 28px 30px 24px;
    animation: c24b-pop 0.25s var(--c24b-ease) both;
}

.c24b-search-panel__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--c24b-line);
    border-radius: 50%;
    color: var(--c24b-ink);
}

.c24b-search-panel__close:hover {
    border-color: var(--c24b-red);
    color: var(--c24b-red);
}

.c24b-search-panel__label {
    margin: 0 0 16px;
    font-family: var(--c24b-serif);
    font-size: 26px;
    font-weight: 800;
    color: var(--c24b-ink);
}

.c24b-search-panel__hint {
    margin: 16px 0 0;
    font-size: 12px;
    color: var(--c24b-muted);
}

kbd {
    padding: 1px 6px;
    border: 1px solid var(--c24b-line);
    border-bottom-width: 2px;
    border-radius: 3px;
    background: var(--c24b-surface);
    font-family: var(--c24b-sans);
    font-size: 11px;
}

@keyframes c24b-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes c24b-slide {
    from {
        transform: translateX(-24px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes c24b-pop {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =====================================================================
   10. Footer
   ===================================================================== */

.c24b-footer {
    background: var(--c24b-black);
    color: #cfc6b8;
    margin-top: 60px;
    border-top: 4px solid var(--c24b-red);
}

.c24b-footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 42px;
    padding-block: 56px 44px;
}

.c24b-footer__logo {
    display: inline-block;
    font-family: var(--c24b-sans);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: #f6f0e6;
}

.c24b-footer__logo span {
    display: inline-block;
    margin-left: 4px;
    padding: 4px 6px;
    border-radius: 3px;
    background: var(--c24b-red);
    color: #fff;
    font-size: 1em;
    letter-spacing: -1px;
    line-height: 1;
    vertical-align: baseline;
}

.c24b-footer__logo:hover {
    color: #fff;
}

.c24b-footer__tag {
    margin: 18px 0 0;
    max-width: 34ch;
    font-size: 13.5px;
    line-height: 1.65;
    color: #a99e8f;
}

.c24b-footer__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cfc6b8;
}

.c24b-footer__title {
    font-family: var(--c24b-sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8d8172;
    margin-bottom: 16px;
}

.c24b-footer__col {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.c24b-footer__col a {
    font-size: 13.5px;
    color: #e3dbcf;
    width: fit-content;
}

.c24b-footer__col a:hover {
    color: var(--c24b-red);
}

.c24b-footer__bottom {
    border-top: 1px solid #2a251f;
}

.c24b-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 18px;
    font-size: 11.5px;
    color: #8d8172;
}

.c24b-footer__bottom-inner p {
    margin: 0;
}

.c24b-footer__made {
    display: flex;
    align-items: center;
    gap: 14px;
}

.c24b-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e3dbcf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid #3a342c;
    padding-bottom: 2px;
}

.c24b-to-top:hover {
    color: var(--c24b-red);
    border-color: var(--c24b-red);
}

/* =====================================================================
   11. Small shared pieces
   ===================================================================== */

.c24b-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--cat, var(--c24b-red));
    line-height: 1.2;
}

.c24b-kicker--cyprus { --cat: var(--cat-cyprus); }
.c24b-kicker--politics { --cat: var(--cat-politics); }
.c24b-kicker--economy { --cat: var(--cat-economy); }
.c24b-kicker--world { --cat: var(--cat-world); }
.c24b-kicker--police { --cat: var(--cat-police); }
.c24b-kicker--lifestyle { --cat: var(--cat-lifestyle); }
.c24b-kicker--greece { --cat: var(--cat-greece); }
.c24b-kicker--opinion { --cat: var(--cat-opinion); }

/* Section accents follow each category identity. */
.c24b-sect--cyprus { --sec: var(--cat-cyprus); }
.c24b-sect--politics { --sec: var(--cat-politics); }
.c24b-sect--economy { --sec: var(--cat-economy); }
.c24b-sect--world { --sec: var(--cat-world); }
.c24b-sect--police { --sec: var(--cat-police); }
.c24b-sect--lifestyle { --sec: var(--cat-lifestyle); }
.c24b-sect--greece { --sec: var(--cat-greece); }

.c24b-section .c24b-sechead__mark {
    background: var(--sec, var(--c24b-red));
}

.c24b-section .c24b-sechead__link:hover {
    color: var(--sec, var(--c24b-red));
    border-color: var(--sec, var(--c24b-red));
}

.c24b-kicker__dot {
    width: 5px;
    height: 5px;
    background: currentColor;
    flex: none;
}

.c24b-kicker:hover {
    color: var(--c24b-red-dark);
}

.c24b-time {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    font-size: 11px;
    color: var(--c24b-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.c24b-time__clock {
    font-weight: 800;
    color: var(--c24b-ink-2);
}

.c24b-time__ago {
    opacity: 0.85;
}

.c24b-sechead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    margin-bottom: 26px;
    border-bottom: 2px solid var(--c24b-ink);
}

.c24b-sechead--tight {
    margin-bottom: 18px;
}

.c24b-sechead__title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
}

.c24b-sechead__title small {
    font-family: var(--c24b-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--c24b-muted);
    text-transform: none;
}

.c24b-sechead__mark {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--c24b-red);
    margin-right: 10px;
    transform: translateY(-2px);
}

.c24b-sechead__link {
    flex: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c24b-ink);
    border-bottom: 1px solid var(--c24b-line);
    padding-bottom: 3px;
}

.c24b-sechead__link:hover {
    color: var(--c24b-red);
    border-color: var(--c24b-red);
}

.c24b-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 300;
    pointer-events: none;
}

.c24b-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--c24b-red);
    transition: width 0.08s linear;
}

/* =====================================================================
   12. Responsive
   ===================================================================== */

@media (min-width: 1200px) {
    .c24b-nav__scroll {
        display: flex;
    }
}

@media (max-width: 1100px) {
    :root {
        --c24b-gutter: 22px;
    }

    .c24b-footer__top {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .c24b-footer__col:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 900px) {
    .c24b-burger {
        display: inline-flex;
    }

    .c24b-nav {
        display: none;
    }

    .c24b-masthead__inner {
        padding-block: 16px;
        gap: 12px;
    }

    .c24b-brand {
        margin-inline: auto;
        align-items: center;
    }

    .c24b-brand__main {
        font-size: 32px;
    }

    .c24b-brand__tag {
        display: none;
    }

    .c24b-masthead__tools .c24b-icon-btn > span:not(.c24b-live-dot) {
        display: none;
    }

    .c24b-masthead__tools .c24b-icon-btn {
        padding: 9px;
    }

    .c24b-masthead__tools .c24b-icon-btn--live {
        padding: 9px 10px;
        gap: 0;
    }

    .c24b-topbar__center {
        display: none;
    }

    .c24b-topbar__inner {
        justify-content: space-between;
        font-size: 10px;
    }

    .c24b-topbar__links a {
        display: none;
    }

    .c24b-topbar__links .c24b-theme-toggle {
        display: inline-flex;
    }

    .c24b-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .c24b-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-block: 40px 30px;
    }

    .c24b-footer__brand {
        grid-column: 1 / -1;
    }

    .c24b-footer__col:last-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    :root {
        --c24b-gutter: 18px;
    }

    .c24b-grid--3 {
        grid-template-columns: 1fr;
    }

    .c24b-sechead {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .c24b-sechead__title small {
        flex-basis: 100%;
        margin-left: 22px;
    }

    .c24b-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .c24b-ticker__label {
        padding-inline: 12px;
        font-size: 9.5px;
        letter-spacing: 0.1em;
    }

    .c24b-ticker__item {
        font-size: 12px;
    }

    .c24b-ticker__cat {
        display: none;
    }

    .c24b-search-panel {
        padding-top: 14vh;
    }

    .c24b-search-panel__box {
        padding: 22px 18px 18px;
    }
}

@media (max-width: 420px) {
    .c24b-footer__top {
        grid-template-columns: 1fr;
    }

    .c24b-footer__col:last-child {
        grid-column: auto;
    }
}

/* =====================================================================
   13. Preferences
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .c24b-ticker__track {
        animation: none;
        flex-wrap: nowrap;
        width: max-content;
    }

    .c24b-ticker__viewport {
        mask-image: none;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .c24b-ticker__viewport::-webkit-scrollbar {
        display: none;
    }
}

@media (prefers-contrast: more) {
    :root {
        --c24b-line: #b9ab99;
        --c24b-muted: #5c5348;
    }
}

/* =====================================================================
   14. Print
   ===================================================================== */

@media print {
    .c24b-topbar,
    .c24b-nav,
    .c24b-ticker,
    .c24b-drawer,
    .c24b-search-panel,
    .c24b-footer,
    .c24b-share,
    .c24b-share-rail,
    .c24b-more,
    .c24b-related {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .c24b-masthead {
        border-bottom: 2px solid #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}


/* Rounded news ticker directly under the navigation */
.c24b-ticker {
    width: calc(100% - 48px);
    max-width: 1264px;
    margin: 10px auto 0;
    border-bottom: 0;
    border-radius: 14px;
}

.c24b-ticker__label {
    border-radius: 14px 0 0 14px;
}

html[data-theme="dark"] .c24b-ticker {
    border-radius: 14px;
}

@media (max-width: 700px) {
    .c24b-ticker {
        width: calc(100% - 24px);
        margin-top: 8px;
        border-radius: 10px;
    }

    .c24b-ticker__label {
        border-radius: 10px 0 0 10px;
    }

    html[data-theme="dark"] .c24b-ticker {
        border-radius: 10px;
    }
}
