/*
Theme Name: APELA Next
Theme URI: https://www.apela.gr/
Author: APELA
Description: Σύγχρονο, γρήγορο ειδησεογραφικό θέμα για την APELA.
Version: 1.24.6
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: apela-next
*/

:root {
  --apela-blue: #006699;
  --apela-blue-dark: #004b73;
  --apela-orange: #f27600;
  --apela-ink: #15191d;
  --apela-muted: #66717b;
  --apela-line: #e4e8eb;
  --apela-soft: #f5f7f8;
  --apela-white: #fff;
  --apela-radius: 14px;
  --apela-shadow: 0 10px 30px rgba(17, 32, 45, .08);
  --apela-width: 1278px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--apela-ink);
  background: var(--apela-white);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
}
img, picture, video, iframe { max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--apela-blue); }
.container { width: min(calc(100% - 32px), var(--apela-width)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-topbar { background: var(--apela-ink); color: #e8edf0; font-size: 13px; }
.site-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-topbar__links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-topbar a:hover { color: #fff; }
.site-topbar__live { color: #fff; font-weight: 800; }
.site-topbar__live span { color: var(--apela-orange); }

.header-ad-wrap { display:block!important; visibility:visible!important; opacity:1!important; min-height:86px; }
.header-ad-wrap .apela-ad-zone { margin:16px auto 8px; }
.header-ad-fallback { width:min(100%,1200px); margin:16px auto 8px; }
.brand-toolbar { position:sticky; top:0; z-index:70; background:#fff; border-bottom:1px solid var(--apela-line); box-shadow:0 5px 18px rgba(0,0,0,.08); }
.admin-bar .brand-toolbar { top:32px; }
.brand-toolbar__inner { min-height:86px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:22px; }
.brand-toolbar__left { display:flex; align-items:center; gap:14px; justify-self:start; }
.brand-toolbar .menu-toggle { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; width:50px; height:54px; padding:3px 4px 2px; border:1px solid rgba(242,118,0,.4); border-radius:9px; color:var(--apela-orange); background:#fff8f1; line-height:1; }
.menu-toggle__icon { display:block; font-size:25px; line-height:26px; }
.menu-toggle__label { display:block; color:var(--apela-orange); font-size:9px; font-weight:900; line-height:12px; letter-spacing:.11em; }
.brand-toolbar .menu-toggle:hover,
.brand-toolbar .menu-toggle:focus-visible { border-color:var(--apela-orange); background:#fff1e4; }
.jobs-link { color:var(--apela-blue-dark); font-size:14px; font-weight:900; margin-left:12px; }
.jobs-link:hover { color:var(--apela-orange); }
.site-branding { display:flex; flex-direction:column; align-items:center; justify-content:center; }
.site-branding .site-logo, .site-branding .custom-logo-link { display:block; line-height:0; }
.site-branding img { display:block; width:auto; max-height:54px; }
.site-tagline { margin-top:3px; color:var(--apela-orange); font-size:14px; font-weight:600; line-height:1.1; letter-spacing:.01em; white-space:nowrap; }
.site-title { margin: 0; font-size: 34px; font-weight: 900; color: var(--apela-blue); }
.site-description { margin: 3px 0 0; color: var(--apela-muted); font-size: 13px; }
.ad-slot { display: grid; place-items: center; min-height: 90px; padding: 12px; border: 1px dashed #cbd2d8; border-radius: 8px; background: var(--apela-soft); color: #8a949d; font-size: 12px; letter-spacing: .05em; text-align: center; }
.apela-fallback-rotation { width: min(100%, 950px); min-height: 160px; margin: 24px auto; }
.toolbar-search { justify-self:end; display:flex; align-items:center; width:min(100%,270px); border:1px solid var(--apela-line); border-radius:999px; background:var(--apela-soft); overflow:hidden; }
.toolbar-search input { width:100%; min-width:0; padding:10px 5px 10px 16px; border:0; outline:0; background:transparent; font:inherit; font-size:13px; }
.toolbar-search button { width:42px; height:40px; border:0; background:transparent; color:var(--apela-blue); font-size:21px; cursor:pointer; }

.site-navigation { display:none; position:sticky; top:86px; z-index:65; background:linear-gradient(90deg, var(--apela-blue-dark), var(--apela-blue) 48%, #0877a8); border-top:1px solid rgba(255,255,255,.12); box-shadow:0 7px 22px rgba(0,55,84,.18); }
.admin-bar .site-navigation { top:118px; }
.site-navigation.is-open { display:block; }
.nav-inner { min-height: 62px; display: flex; align-items: stretch; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 26px; cursor: pointer; }
.primary-menu, .primary-menu ul { margin: 0; padding: 0; list-style: none; }
.primary-menu { display:flex; align-items:stretch; justify-content:space-between; width:100%; }
.primary-menu > li { position:relative; display:flex; align-items:stretch; min-width:0; }
.primary-menu > li > a { position:relative; display:flex; align-items:center; justify-content:center; min-height:62px; padding:0 clamp(7px, .82vw, 12px); color:#fff; font-weight:800; font-size:clamp(11px, .94vw, 13px); line-height:1.15; text-align:center; white-space:nowrap; }
.primary-menu > li > a::before { content:""; position:absolute; left:9px; right:9px; bottom:0; height:4px; border-radius:4px 4px 0 0; background:var(--apela-orange); opacity:0; transform:scaleX(.35); transition:opacity .2s ease, transform .2s ease; }
.primary-menu > .menu-item-has-children > a::after { content:"▾"; margin-left:6px; color:#8ed4f4; font-size:10px; transition:transform .2s ease; }
.primary-menu > li:hover > a, .primary-menu > .current-menu-item > a, .primary-menu > .current-menu-ancestor > a { background:rgba(0,0,0,.14); color:#fff; }
.primary-menu > li:hover > a::before, .primary-menu > .current-menu-item > a::before, .primary-menu > .current-menu-ancestor > a::before { opacity:1; transform:scaleX(1); }
.primary-menu > li:hover > a::after { transform:rotate(180deg); }
.primary-menu .sub-menu { display:none; position:absolute; top:100%; left:0; min-width:290px; padding:12px; border-top:4px solid var(--apela-orange); border-radius:0 0 12px 12px; background:#fff; box-shadow:0 16px 34px rgba(18,42,56,.18); }
.primary-menu > li:nth-last-child(-n+4) > .sub-menu { left:auto; right:0; }
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu li + li { border-top:1px solid var(--apela-line); }
.primary-menu .sub-menu a { display:block; padding:10px 12px; color:var(--apela-ink); font-size:13px; font-weight:700; line-height:1.3; border-radius:6px; }
.primary-menu .sub-menu a:hover { padding-left:16px; background:#eef7fb; color:var(--apela-blue-dark); }
.primary-menu .apela-useful-menu > a::before { background:#ffb15f; }
.nav-search { color: #fff; font-size: 20px; padding: 8px; }

/* Contact page */
.contact-page { background:linear-gradient(180deg,#fff 0,#f7f9fa 100%); }
.contact-breadcrumbs { margin-bottom:28px; }
.contact-heading { max-width:780px; margin-bottom:28px; }
.contact-eyebrow { margin:0 0 5px; color:var(--apela-orange); font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.contact-heading h1 { margin:0; font-size:clamp(30px,4vw,52px); line-height:1.08; letter-spacing:-.035em; }
.contact-heading > p:last-child { margin:12px 0 0; color:var(--apela-muted); font-size:clamp(16px,1.6vw,19px); }
.contact-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr); gap:clamp(22px,3vw,42px); align-items:start; }
.contact-card { border:1px solid var(--apela-line); border-radius:18px; background:#fff; box-shadow:var(--apela-shadow); overflow:hidden; }
.contact-card h2 { margin:0 0 22px; font-size:clamp(22px,2.2vw,30px); line-height:1.2; }
.contact-form-card { padding:clamp(22px,3vw,38px); border-top:5px solid var(--apela-orange); }
.contact-form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-field { margin-bottom:18px; }
.contact-field label,.contact-security label { display:block; margin-bottom:7px; color:#28333b; font-size:14px; font-weight:800; }
.contact-field label span { color:#b73024; }
.contact-field input,.contact-field textarea,.contact-security input {
  display:block; width:100%; border:1px solid #cbd3d9; border-radius:9px; background:#fff; color:var(--apela-ink);
  padding:12px 14px; font:inherit; line-height:1.4; transition:border-color .2s,box-shadow .2s;
}
.contact-field textarea { resize:vertical; min-height:190px; }
.contact-field input:focus,.contact-field textarea:focus,.contact-security input:focus { outline:0; border-color:var(--apela-blue); box-shadow:0 0 0 3px rgba(0,102,153,.12); }
.contact-security { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:2px 0 18px; padding:14px 16px; border:1px solid #d9e4e9; border-radius:10px; background:#f3f8fa; }
.contact-security label { margin:0; }
.contact-security input { flex:0 0 90px; width:90px; }
.contact-consent { display:flex; align-items:flex-start; gap:10px; margin-bottom:20px; color:#4e5a63; font-size:13px; line-height:1.5; cursor:pointer; }
.contact-consent input { flex:0 0 auto; width:18px; height:18px; margin-top:2px; accent-color:var(--apela-blue); }
.contact-consent a { color:var(--apela-blue-dark); font-weight:800; text-decoration:underline; }
.contact-submit { min-height:48px; padding:11px 24px; border:0; border-radius:9px; background:linear-gradient(135deg,var(--apela-blue-dark),var(--apela-blue)); color:#fff; font:inherit; font-weight:900; cursor:pointer; box-shadow:0 8px 18px rgba(0,89,133,.2); }
.contact-submit:hover { background:linear-gradient(135deg,var(--apela-orange),#ff8b1d); }
.contact-required { margin:12px 0 0; color:var(--apela-muted); font-size:12px; }
.contact-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.contact-details { padding:clamp(22px,2.5vw,32px); border-top:5px solid var(--apela-blue); }
.contact-details ul { margin:0 0 24px; padding:0; list-style:none; }
.contact-details li { display:grid; grid-template-columns:110px 1fr; gap:14px; padding:13px 0; border-bottom:1px solid var(--apela-line); }
.contact-details li strong { color:var(--apela-muted); font-size:13px; }
.contact-details li span,.contact-details li a { font-weight:700; }
.contact-details li a { color:var(--apela-blue-dark); }
.contact-map { overflow:hidden; border-radius:12px; background:var(--apela-soft); aspect-ratio:1.15/1; }
.contact-map iframe { display:block; width:100%; height:100%; border:0; }
.contact-notice { margin:0 0 24px; padding:14px 18px; border-radius:10px; font-weight:750; }
.contact-notice--success { border:1px solid #acd8b6; background:#edf9ef; color:#235c31; }
.contact-notice--error { border:1px solid #efb8b2; background:#fff2f0; color:#8c271d; }

@media (max-width: 820px) {
  .contact-layout { grid-template-columns:1fr; }
  .contact-details { order:-1; }
  .contact-map { aspect-ratio:16/9; }
}
@media (max-width: 560px) {
  .contact-form-row { grid-template-columns:1fr; gap:0; }
  .contact-security { align-items:flex-start; flex-direction:column; }
  .contact-security input { width:100%; }
  .contact-details li { grid-template-columns:1fr; gap:3px; }
}

.breaking { margin-top: 22px; border: 1px solid var(--apela-line); border-left: 5px solid var(--apela-orange); border-radius: 8px; overflow: hidden; }
.breaking__inner { min-height: 46px; display: flex; align-items: center; gap: 14px; }
.breaking__label { color: var(--apela-orange); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.breaking__title { font-weight: 750; font-size: 14px; }

.site-main { padding-block: 28px 64px; }
.hero-grid { display: block; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-ad { width: min(100%, 300px); min-height: 500px; }
.hero-ad .apela-ad-zone { height: 100%; margin: 0; }
.hero-ad .apela-ad-zone--rail_big { aspect-ratio: 3/5; }
.hero-ad__fallback { width: min(100%, 300px); min-height: 500px; }
.home-ad-layout, .single-ad-layout, .category-ad-layout { display:grid; grid-template-columns:minmax(0, 3.166667fr) minmax(0, 1fr); gap:clamp(12px, 2.2vw, 28px); align-items:start; }
.home-ad-rail { display:flex; flex-direction:column; gap:30px; width:min(100%, 300px); min-width:0; }
.home-ad-rail .apela-ad-zone { margin:0; }
.home-ad-rail .apela-ad-zone:empty { display:none; }
.home-ad-rail__lead {
  display:flex;
  flex-direction:column;
  gap:0;
  width:100%;
}
.home-ad-rail__fixed { margin:0; }
/* Η μπάρα κοινωνικών δικτύων εμφανίζεται πάντα, ανεξάρτητα από το αν υπάρχει άμεση διαφήμιση. */
.home-social-panel {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:100%;
  min-height:70px;
  padding:7px 9px 9px;
  border:1px solid #c7d2d9;
  border-radius:10px;
  background:linear-gradient(135deg, #edf2f4 0%, #dfe7eb 100%);
  box-shadow:0 8px 22px rgba(17,32,45,.10), inset 0 1px 0 rgba(255,255,255,.72);
}
/* Στην desktop αρχική, η μπάρα «Ακολούθησε την APELA» ξεκινά ακριβώς
   στο ύψος της πορτοκαλί γραμμής κάτω από την κεντρική φωτογραφία.
   Η διαφορά προκύπτει από τις αναλογίες 950×580 (κύριο θέμα) και 300×500 (πρώτη δεξιά διαφήμιση). */
@media (min-width: 981px) {
  /* Το ακριβές desktop ύψος της μπάρας ρυθμίζεται δυναμικά από home-rail-align.js. */
  .home-social-panel { margin-top:16px; }
  .apela-gam-fixed { margin-top:16px; }
}

.home-social-panel__title {
  color:var(--apela-orange);
  font-size:9px;
  font-weight:900;
  line-height:1;
  letter-spacing:.08em;
  text-align:center;
  text-transform:uppercase;
}
.home-social-panel__links { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); align-items:center; gap:5px; }
.home-social-panel__links a {
  display:block;
  min-width:0;
  width:100%;
  height:auto;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  transition:transform .18s ease;
}
.home-social-panel__links a:hover,
.home-social-panel__links a:focus-visible {
  transform:translateY(-1px);
}
.home-social-panel__links img { display:block; width:100%; max-width:74px; height:auto; margin:auto; }
.apela-gam-fixed {
  display:block;
  width:300px;
  max-width:100%;
  min-height:250px;
  margin:0;
}
.apela-gam-fixed > div {
  width:300px;
  max-width:100%;
  min-height:250px;
  margin:0 auto;
}

.apela-ad-zone .apela-ad,
.apela-ad-zone .apela-ad > a,
.apela-ad-zone picture,
.apela-ad-zone .apela-ad-code { width:100%; max-width:100%; min-width:0; }
.apela-ad-zone img { display:block; width:100%!important; max-width:100%!important; height:auto!important; object-fit:contain; }
.apela-ad-zone .apela-ad-code { overflow:hidden; }
.apela-ad-zone .apela-ad-code iframe { max-width:100%!important; }
.story-card { position: relative; min-height: 250px; overflow: hidden; border-radius: var(--apela-radius); background: #222; box-shadow: var(--apela-shadow); }
.story-card--lead { min-height: 520px; }
.home-main-column, .single-main-column, .category-main-column { width:950px; max-width:100%; min-width:0; }
.home-main-column .story-card--lead { width:950px; max-width:100%; min-height:0; }
.home-main-column .story-card--lead > a { display:block; position:relative; overflow:hidden; border-radius:var(--apela-radius); box-shadow:var(--apela-shadow); }
.home-main-column .story-card--lead > a > img { position:static; inset:auto; display:block; width:100%; height:auto; object-fit:contain; }
.home-main-column .story-card--lead > a > span { aspect-ratio:950/580; }
.home-main-column .story-card--lead { overflow:visible; border-radius:0; background:transparent; box-shadow:none; }
.home-main-column .story-card--lead::after { display:none; }
.home-main-column .story-card--lead > a > img,
.home-main-column .story-card--lead > a > span { overflow:hidden; border-radius:var(--apela-radius) var(--apela-radius) 0 0; box-shadow:none; }
.home-main-column .story-card--lead:hover img { transform:none; }
.home-main-column .story-card--lead .story-card__content { position:static; padding:18px 24px 21px; border:1px solid var(--apela-line); border-top:6px solid var(--apela-orange); border-radius:0 0 var(--apela-radius) var(--apela-radius); color:var(--apela-ink); background:#fff; }
.home-main-column .story-card--lead .story-card__category { margin-bottom:7px; padding:0; color:var(--apela-orange); background:transparent; font-size:12px; letter-spacing:.04em; }
.home-main-column .story-card--lead h2 { max-width:900px; color:var(--apela-ink); font-size:clamp(25px, 2.8vw, 35px); line-height:1.13; letter-spacing:-.025em; }
.home-main-column .story-card--lead a:hover h2 { color:var(--apela-blue-dark); }
.home-main-column .story-card--lead .story-card__meta { margin-top:8px; color:var(--apela-muted); opacity:1; }
.story-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .35s ease; }
.story-card:hover img { transform: scale(1.025); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9) 100%); }
.story-card__content { position: absolute; inset: auto 0 0; z-index: 2; padding: 22px; color: #fff; }
.story-card__category { display: inline-block; margin-bottom: 8px; padding: 4px 9px; border-radius: 5px; background: var(--apela-orange); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.story-card h2, .story-card h3 { margin: 0; line-height: 1.18; text-wrap: balance; }
.story-card h2 { font-size: clamp(24px, 3vw, 44px); }
.story-card h3 { font-size: clamp(16px, 1.4vw, 18px); }
.story-card__meta { margin-top: 9px; opacity: .86; font-size: 12px; }

.home-secondary-story {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 52.6316%) minmax(0, 1fr);
  min-height: 0;
  margin: 32px 0 42px;
  overflow: hidden;
  border: 1px solid var(--apela-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 32, 45, .10);
}
.home-secondary-story::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 44%;
  height: 7px;
  background: linear-gradient(90deg, var(--apela-orange) 0 35%, var(--apela-blue) 35% 100%);
}
.home-secondary-story::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -82px;
  bottom: -105px;
  width: 235px;
  height: 235px;
  border: 30px solid rgba(0, 102, 153, .06);
  border-radius: 50%;
}
.home-secondary-story__image {
  position: relative;
  align-self: start;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--apela-soft);
}
.home-secondary-story__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--apela-blue), var(--apela-orange));
}
.home-secondary-story__image img,
.home-secondary-story__image > span {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  transition: transform .35s ease;
}
.home-secondary-story__image > span { aspect-ratio: 950/580; }
.home-secondary-story:hover .home-secondary-story__image img { transform: scale(1.025); }
.home-secondary-story__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 2.05vw, 26px) clamp(22px, 2.2vw, 28px) clamp(20px, 1.9vw, 24px);
}
.home-secondary-story__number {
  position: absolute;
  top: 17px;
  right: 24px;
  color: rgba(0, 75, 115, .10);
  font-size: 66px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}
.home-secondary-story__category {
  align-self: flex-start;
  margin-bottom: 9px;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  background: var(--apela-orange);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-secondary-story h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-secondary-story h2 a:hover { color: var(--apela-blue); }
.home-secondary-story p {
  margin: 10px 0 0;
  color: var(--apela-muted);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.58;
}
.home-secondary-story__link {
  align-self: flex-start;
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--apela-orange);
  color: var(--apela-blue-dark);
  font-size: 13px;
  font-weight: 900;
}
.home-secondary-story__link span { color: var(--apela-orange); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; margin-top: 38px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 18px; border-bottom: 3px solid var(--apela-ink); }
.section-head h2 { margin: 0 0 -3px; padding: 0 0 9px; border-bottom: 3px solid var(--apela-orange); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.2; }
.section-head a { padding-bottom: 10px; color: var(--apela-muted); font-size: 13px; font-weight: 700; }
.home-news-heading { margin-top: 34px; }
.home-news-heading + .home-secondary-story { margin-top: 0; }
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.home-news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.home-news-list .news-card { padding-bottom: 19px; }
.home-news-list .news-card__category { margin-top: 11px; font-size: 10px; }
.home-news-list .news-card h3 { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.28; }
.home-news-list .news-card p { font-size: clamp(12px, 1.05vw, 13px); line-height: 1.5; }

.apela-recommends {
  position: relative;
  margin: 44px 0;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid #e4e8eb;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 102, 153, .09), transparent 34%),
    linear-gradient(145deg, #f7f8f9, #fff);
  box-shadow: 0 16px 38px rgba(17, 32, 45, .08);
}
.apela-recommends::after {
  content: "APELA";
  position: absolute;
  right: -12px;
  bottom: -25px;
  color: rgba(0, 75, 115, .035);
  font-size: clamp(70px, 10vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}
.apela-recommends::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--apela-orange) 0 33%, var(--apela-blue) 33% 100%);
}
.apela-recommends__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--apela-ink);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
}
.apela-recommends__heading::before {
  content: "A";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--apela-orange);
  font-size: 18px;
  font-weight: 900;
}
.apela-recommends__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 32, 45, .12);
}
.apela-recommends__main-media {
  display: block;
  aspect-ratio: 950/580;
  overflow: hidden;
  background: linear-gradient(135deg, var(--apela-blue), var(--apela-orange));
}
.apela-recommends__main-media img { width:100%; height:100%; object-fit:cover; transition:opacity .18s ease; }
.apela-recommends__main-body {
  position: relative;
  padding: clamp(20px, 2.5vw, 30px);
  border-top: 6px solid var(--apela-orange);
  background: linear-gradient(90deg, #fff, #f7fafc);
}
.apela-recommends__main-title { margin:0; font-size:clamp(22px, 2vw, 30px); line-height:1.16; text-wrap:balance; }
.apela-recommends__main-title a:hover { color:var(--apela-blue); }
.apela-recommends__grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; margin-top:24px; }
.apela-recommend-card { cursor:pointer; padding-bottom:12px; border-bottom:3px solid transparent; transition:border-color .2s ease; }
.apela-recommend-card__image { display:block; aspect-ratio:950/580; overflow:hidden; border-radius:9px; background:linear-gradient(135deg, var(--apela-blue), var(--apela-orange)); }
.apela-recommend-card__image img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.apela-recommend-card:hover img, .apela-recommend-card:focus-within img { transform:scale(1.035); }
.apela-recommend-card:hover, .apela-recommend-card:focus-within { border-bottom-color:var(--apela-orange); }
.apela-recommend-card h3 { margin:10px 0 0; font-size:14px; line-height:1.32; text-wrap:balance; }
.home-flow-tail { margin-top:0; }
.home-news-heading--after-recommends { margin-top:0; margin-bottom:22px; }
.home-flow-tail__featured { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:26px; }
.home-flow-tail__featured .news-card h3 { font-size:clamp(19px, 1.8vw, 24px); line-height:1.24; }
.home-flow-tail__featured .news-card p { font-size:14px; line-height:1.55; }
.home-flow-tail__final { margin-top:28px; }
.latest-news-page { padding-top:32px; }
.latest-news-page__title { margin:0; font-size:clamp(27px, 3.2vw, 42px); line-height:1.12; }
.latest-news-page__intro { margin:8px 0 0; color:var(--apela-muted); font-size:14px; }
.latest-news-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px 20px; margin-top:26px; }
.latest-news-grid .news-card__category,
.latest-news-grid .news-card p,
.latest-news-grid .entry-meta { display:none; }
.latest-news-grid .news-card h3 { margin-top:10px; font-size:clamp(15px, 1.35vw, 17px); line-height:1.28; }
.news-card { border-bottom: 1px solid var(--apela-line); padding-bottom: 22px; }
.news-card__image { display: block; aspect-ratio: 950/580; overflow: hidden; border-radius: 10px; background: var(--apela-soft); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card:hover img { transform: scale(1.025); }
.news-card__category { margin: 13px 0 6px; color: var(--apela-orange); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.news-card h3 { margin: 0; font-size: clamp(16px, 1.55vw, 20px); line-height: 1.3; text-wrap: balance; }
.news-card p { margin: 8px 0 0; color: var(--apela-muted); font-size: clamp(13px, 1.15vw, 14px); }
.entry-meta { color: var(--apela-muted); font-size: 12px; }

.sidebar-widget { margin-bottom: 26px; padding: 20px; border: 1px solid var(--apela-line); border-radius: 12px; }
.sidebar-widget h2, .sidebar-widget h3 { margin: 0 0 15px; font-size: 18px; border-bottom: 2px solid var(--apela-orange); padding-bottom: 8px; }
.sidebar-widget ul { margin: 0; padding: 0; list-style: none; }
.sidebar-widget li { padding: 9px 0; border-bottom: 1px solid var(--apela-line); }
.sidebar-widget li:last-child { border: 0; }
.sidebar .ad-slot { min-height: 280px; margin-bottom: 26px; }
.sidebar-related__list { display: grid; gap: 18px; }
.sidebar-related__card { padding-bottom: 16px; border-bottom: 1px solid var(--apela-line); }
.sidebar-related__card:last-child { padding-bottom: 0; border-bottom: 0; }
.sidebar-related__image { display: block; aspect-ratio: 950/580; overflow: hidden; border-radius: 7px; background: var(--apela-soft); }
.sidebar-related__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sidebar-related__card h3 { margin: 8px 0 0; padding: 0; border: 0; font-size: 16px; line-height: 1.3; }

.archive-header { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 3px solid var(--apela-orange); }
.archive-header h1 { margin: 0; font-size: clamp(27px, 4vw, 48px); line-height: 1.1; }
.category-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 24px; padding:0 0 13px; border-bottom:3px solid var(--apela-orange); font-size:14px; font-weight:800; line-height:1.4; }
.category-breadcrumb span { color:var(--apela-muted); }
.category-breadcrumb a:hover, .category-breadcrumb .is-current { color:var(--apela-blue); }
.category-description { margin:-10px 0 24px; color:var(--apela-muted); font-size:14px; }
.category-news-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
.category-news-grid .news-card { padding-bottom:18px; }
.category-news-grid .news-card__category { margin-top:10px; font-size:10px; }
.category-news-grid .news-card h3 { font-size:clamp(15px, 1.35vw, 17px); line-height:1.28; }
.category-news-grid .news-card p { font-size:clamp(12px, 1.05vw, 13px); line-height:1.5; }
.pagination { margin-top: 30px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 5px 10px; border: 1px solid var(--apela-line); border-radius: 6px; }
.pagination .current { background: var(--apela-blue); color: #fff; border-color: var(--apela-blue); }

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 38px; }
.article-header { max-width: 900px; }
.article-category { color: var(--apela-orange); font-weight: 900; font-size: 13px; text-transform: uppercase; }
.article-title { margin: 8px 0 12px; font-family: Helvetica, Arial, sans-serif; font-size: clamp(24px, 2.35vw, 28px); line-height: 1.16; letter-spacing: -.02em; text-wrap: balance; }
.article-excerpt { margin: 0 0 18px; color: #4d5962; font-family: Helvetica, Arial, sans-serif; font-size: clamp(16px, 1.65vw, 20px); line-height: 1.5; }
.article-featured { margin: 24px 0; overflow: hidden; border-radius: var(--apela-radius); }
.article-featured img { display: block; width: 100%; height: auto; object-fit: contain; }
.article-content { font-family: Helvetica, Arial, sans-serif; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.72; }
.article-content > * { max-width: 800px; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2, .article-content h3 { font-family: Helvetica, Arial, sans-serif; line-height: 1.25; }
.article-content blockquote { margin: 28px 0; padding: 15px 22px; border-left: 5px solid var(--apela-orange); background: var(--apela-soft); font-size: clamp(18px, 1.7vw, 21px); }
.apela-extra-media { clear:both; margin:30px 0; width:100%; }
.apela-extra-media__item { margin:0 auto 30px; max-width:100%; width:var(--apela-media-width, 950px); }
.apela-extra-media__item img,
.apela-extra-media__item iframe,
.apela-extra-media__item video { display:block; height:auto; max-width:100%; width:100%; }
.apela-extra-media__item iframe { aspect-ratio:16 / 9; border:0; }
.apela-pdf-link { align-items:center; background:#f3f5f7; border-left:5px solid var(--apela-orange); color:#0b608e; display:flex; font-weight:700; min-height:64px; padding:14px 18px; text-decoration:none; }
.article-reading::after { content:""; display:table; clear:both; }
.article-reading .article-content > * { max-width:none; }
.article-related { float:right; width:300px; max-width:38%; margin:0 0 30px 36px; }
.article-related h2 { margin:0 0 16px; padding:0 0 9px; border-bottom:3px solid var(--apela-orange); font-family:"Noto Sans", "Segoe UI", Arial, sans-serif; font-size:clamp(22px, 2vw, 26px); line-height:1.2; }
.article-related .sidebar-related__card h3 { font-family:"Noto Sans", "Segoe UI", Arial, sans-serif; font-size:17px; font-weight:800; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.article-tags a { padding: 6px 10px; border-radius: 999px; background: var(--apela-soft); font-size: 12px; font-weight: 700; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.share-row a, .share-row button { padding: 8px 15px; border: 0; border-radius: 4px; color: #fff; background: var(--apela-blue); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.share-row .share-x { min-width: 74px; text-align: center; background: #000; }
.share-row .share-print { margin-left: auto; background: #59636c; }
.category-previous { margin-top: 42px; }
.category-previous__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 21px; }
.category-previous__card { overflow: hidden; border: 1px solid var(--apela-line); border-radius: 10px; background: #fff; }
.category-previous__image { display: block; aspect-ratio: 950/580; overflow: hidden; background: var(--apela-soft); }
.category-previous__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.category-previous__card:hover img { transform: scale(1.025); }
.category-previous__body { padding: 14px 16px 17px; }
.category-previous__body h3 { margin: 5px 0 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.3; }

.site-footer { background: #101519; color: #c8d0d5; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, 1fr); gap: 42px; padding-block: 52px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 17px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a:hover { color: var(--apela-orange); }
.footer-legal { border-top: 1px solid #2b3339; background: #0b1014; }
.footer-legal__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px 38px; padding-block: 22px; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-legal__links a { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border: 1px solid #41505b; border-radius: 7px; color: #fff; font-weight: 800; }
.footer-legal__links a:hover { border-color: var(--apela-orange); color: #fff; background: rgba(242,118,0,.12); }
.footer-legal p { max-width: 760px; margin: 0; color: #aeb8bf; font-size: 12px; line-height: 1.65; }
.footer-bottom { padding: 18px 0; border-top: 1px solid #2b3339; font-size: 12px; color: #89949c; }

.legal-page { padding-block: 48px 70px; }
.legal-page__hero { max-width: 920px; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 4px solid var(--apela-orange); }
.legal-page__eyebrow { margin: 0 0 8px; color: var(--apela-orange); font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.legal-page__title { margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; }
.legal-page__intro { max-width: 820px; margin: 15px 0 0; color: var(--apela-muted); font-size: clamp(16px, 1.5vw, 19px); }
.legal-page__layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(220px, 300px); align-items: start; gap: 52px; }
.legal-page__content { padding: clamp(22px, 3vw, 38px); border: 1px solid var(--apela-line); border-radius: 12px; background: #fff; box-shadow: var(--apela-shadow); }
.legal-page__content h2 { margin: 2em 0 .55em; font-size: clamp(20px, 2vw, 25px); line-height: 1.25; }
.legal-page__content h2:first-child { margin-top: 0; }
.legal-page__content p, .legal-page__content li { color: #30373d; }
.legal-page__content ul { padding-left: 22px; }
.legal-page__content a { color: var(--apela-blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-page__aside { position: sticky; top: 105px; padding: 22px; border-left: 4px solid var(--apela-blue); border-radius: 8px; background: var(--apela-soft); }
.legal-page__aside h2 { margin: 0 0 10px; font-size: 18px; }
.legal-page__aside p { margin: 0 0 9px; font-size: 13px; }
.legal-page__updated { color: var(--apela-muted); font-size: 12px; }

@media (max-width: 1100px) {
  .site-navigation .nav-inner { min-height:0; padding-block:10px; }
  .primary-menu { display:block; max-height:calc(100vh - 155px); overflow:auto; border-radius:10px; background:rgba(0,0,0,.08); }
  .primary-menu > li { display:block; }
  .primary-menu > li + li { border-top:1px solid rgba(255,255,255,.12); }
  .primary-menu > li > a { justify-content:flex-start; min-height:0; padding:13px 17px; font-size:14px; line-height:1.25; text-align:left; white-space:normal; }
  .primary-menu > li > a::before { top:9px; bottom:9px; left:0; right:auto; width:4px; height:auto; transform:scaleY(.35); }
  .primary-menu > li:hover > a::before,
  .primary-menu > .current-menu-item > a::before,
  .primary-menu > .current-menu-ancestor > a::before { transform:scaleY(1); }
  .primary-menu .sub-menu,
  .primary-menu > li:nth-last-child(-n+4) > .sub-menu { display:grid; position:static; grid-template-columns:repeat(2, minmax(0,1fr)); min-width:0; margin:0 12px 12px; padding:8px; border-top:0; border-radius:8px; box-shadow:none; }
  .primary-menu .sub-menu li + li { border-top:0; }
  .primary-menu .sub-menu a { padding:9px 10px; }
}

@media (max-width: 980px) {
  .home-social-panel { margin-top:12px; }
  .apela-gam-fixed { margin-top:12px; }
  .brand-row { grid-template-columns: 1fr; gap: 18px; padding-block: 22px; }
  .hero-grid, .content-grid, .single-layout { grid-template-columns: 1fr; }
  .home-ad-rail { width:100%; margin-inline:0; }
  .hero-ad { width: min(100%, 300px); min-height: 0; margin-inline: auto; }
  .story-card--lead { min-height: 0; }
  .home-news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .sidebar > * { margin: 0; }
}

@media (max-width: 760px) {
  .apela-extra-media__item { width:100% !important; }
  .container { width: min(calc(100% - 22px), var(--apela-width)); }
  .site-topbar__inner { padding-block: 8px; align-items: flex-start; }
  .site-topbar__links { gap: 7px 14px; }
  .brand-toolbar__inner { min-height:70px; grid-template-columns:auto 1fr auto; gap:9px; }
  .brand-toolbar .site-branding img { max-height:45px; }
  .site-tagline { margin-top:2px; font-size:11px; }
  .jobs-link { display:none; }
  .toolbar-search { width:42px; border:0; background:transparent; }
  .toolbar-search input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; }
  .site-navigation { top:70px; }
  .admin-bar .brand-toolbar { top:46px; }
  .admin-bar .site-navigation { top:116px; }
  .primary-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 54px); overflow: auto; background: var(--apela-blue); }
  .primary-menu.is-open { display: block; }
  .primary-menu > li > a { border-top: 1px solid rgba(255,255,255,.12); }
  .primary-menu .sub-menu { display: block; position: static; min-width: 0; margin: 0 10px 8px; box-shadow: none; }
  .hero-side, .news-list, .sidebar, .footer-grid { grid-template-columns: 1fr; }
  .home-news-list { grid-template-columns: 1fr; }
  .apela-recommends { margin:32px 0; padding:21px 17px; }
  .apela-recommends__main { min-height:0; }
  .apela-recommends__main-media, .apela-recommends__main-media img { min-height:0; }
  .apela-recommends__grid { grid-template-columns:1fr; gap:18px; }
  .home-flow-tail__featured { grid-template-columns:1fr; }
  .category-news-grid { grid-template-columns:1fr; }
  .story-card--lead { min-height: 0; }
  .story-card { min-height: 270px; }
  .home-secondary-story { grid-template-columns: 1fr; min-height: 0; margin: 24px 0 34px; }
  .home-secondary-story::before { width: 100%; }
  .home-secondary-story__image { width:100%; min-height:0; aspect-ratio: 950/580; }
  .home-secondary-story__image img,
  .home-secondary-story__image > span { min-height:0; }
  .home-secondary-story__body { padding: 28px 23px 25px; }
  .home-secondary-story__number { top: 13px; right: 19px; font-size: 52px; }
  .article-related { float:none; width:100%; max-width:none; margin:0 0 28px; }
  .category-previous__grid { grid-template-columns: 1fr; }
  .share-row .share-print { margin-left: 0; }
  .footer-legal__inner, .legal-page__layout { grid-template-columns: 1fr; }
  .legal-page__aside { position: static; }
  .footer-legal__links a { flex: 1 1 210px; justify-content: center; }
}

@media print {
  #wpadminbar, .site-topbar, .header-ad-wrap, .brand-toolbar, .site-navigation,
  .sidebar, .home-ad-rail, .article-related, .share-row, .article-tags, .apela-ad-zone, .ad-slot,
  .category-previous, .site-footer { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font-size: 12pt; }
  .site-main { padding: 0; }
  .container { width: 100%; max-width: none; }
  .single-layout { display: block; }
  .article-header, .article-content > * { max-width: none; }
  .article-title { font-size: 28pt; }
  .article-featured { max-width: 950px; }
  a { color: #000; text-decoration: none; }
}

/* APELA 1.24.1 — Τελευταίες αγγελίες στην αρχική */
.home-classifieds {
  margin-top: 30px;
  padding-top: 0;
}
.home-classifieds__heading {
  margin: 0 0 14px;
}
.home-classifieds__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 0 26px;
  padding: 10px 12px;
  border: 1px solid var(--apela-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
  box-shadow: 0 7px 18px rgba(17, 32, 45, .05);
}
.home-classifieds__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #dce3e7;
  border-radius: 999px;
  background: #fff;
  color: var(--apela-blue-dark);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(17, 32, 45, .04);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.home-classifieds__nav a:hover,
.home-classifieds__nav a:focus-visible {
  transform: translateY(-1px);
  border-color: var(--apela-orange);
  background: #fff8f1;
  color: var(--apela-orange);
  box-shadow: 0 5px 13px rgba(242, 118, 0, .12);
}
.home-classifieds__nav a.home-classifieds__nav-all {
  border-color: var(--apela-orange);
  background: var(--apela-orange);
  color: #fff;
}
.home-classifieds__nav a.home-classifieds__nav-all:hover,
.home-classifieds__nav a.home-classifieds__nav-all:focus-visible {
  background: #d96800;
  color: #fff;
}
.home-classifieds__grid {
  margin-top: 0;
}
.home-classifieds__grid .news-card {
  min-width: 0;
}
.home-classifieds__empty {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--apela-line);
  border-radius: 10px;
  color: var(--apela-muted);
  background: var(--apela-soft);
}
@media (max-width: 760px) {
  .home-classifieds { margin-top: 26px; }
  .home-classifieds__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 9px 10px 11px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .home-classifieds__nav a { flex: 0 0 auto; min-height: 33px; font-size: 11px; }
}
