/* Θέμα «syllogos»: βασικά styles (ίδια με το εγκεκριμένο prototype/site.css). Οι προσθήκες για το WordPress είναι στο wp.css. */
:root {
  --navy: #273D86;
  --navy-ink: #1B2B63;
  --sky: #31B0E5;
  --sky-soft: #E7F6FD;
  --sun: #FECF03;
  --mist: #EDF1FA;
  --sky-light: #A8DDF5;
  --sky-ink: #0B6E99;
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --ink: #1E2433;
  --muted: #545D72;
  --line: #E4E7EF;
  --ok: #1F7A4D;
  --ok-soft: #E3F4EA;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(27, 43, 99, .06), 0 8px 24px rgba(27, 43, 99, .07);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-head: "Commissioner", "Noto Sans", system-ui, sans-serif;
  --font-body: "Noto Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  overflow-wrap: break-word;
}
.sp-card-body a, .sp-footer a, .sp-form small { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-ink); line-height: 1.18; letter-spacing: -0.01em; margin: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
h1 { font-size: clamp(30px, 5.4vw, 54px); font-weight: 700; }
h2 { font-size: clamp(25px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 600; }
p { margin: 0; }

.sp-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sp-section { padding-block: clamp(48px, 7vw, 88px); overflow-x: clip; }
.sp-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.sp-head > div { min-width: 0; max-width: 640px; }
.sp-head p { color: var(--muted); margin-top: 10px; }
.sp-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--mist); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.sp-kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.sp-more { font-weight: 600; white-space: nowrap; }

.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn--accent { background: var(--sky); color: var(--navy-ink); }
.sp-btn--accent:hover { background: #55C0EC; color: var(--navy-ink); }
.sp-btn--navy { background: var(--navy); color: var(--white); }
.sp-btn--navy:hover { background: var(--navy-ink); color: var(--white); }
.sp-btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }

/* Prototype notice */
.sp-proto { background: var(--navy-ink); color: var(--white); font-size: 14px; text-align: center; padding: 8px var(--gutter); }

/* Header */
.sp-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sp-header .sp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.sp-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.sp-brand img { width: 48px; height: 50px; flex: none; }
.sp-brand span { display: grid; min-width: 0; line-height: 1.25; }
.sp-brand strong { font: 700 15px/1.25 var(--font-head); color: var(--navy-ink); }
.sp-brand small { font-size: 13px; color: var(--muted); }
.sp-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.sp-nav a { display: block; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.sp-nav a:hover { background: var(--sky-soft); color: var(--navy-ink); }
.sp-nav .sp-nav-cta { background: var(--navy); color: var(--white); margin-left: 6px; }
.sp-nav .sp-nav-cta:hover { background: var(--navy-ink); color: var(--white); }
.sp-menu-btn { display: none; flex: none; white-space: nowrap; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font: 600 15px var(--font-body); color: var(--navy-ink); cursor: pointer; }
.sp-menu-btn svg { width: 20px; height: 20px; }

/* Hero */
.sp-hero { position: relative; background: linear-gradient(180deg, var(--sky-soft) 0%, var(--paper) 100%); overflow-x: clip; }
.sp-hero .sp-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.sp-hero-copy > p { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); margin-top: 18px; max-width: 34em; }
.sp-hero h1 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, var(--sky-light) 62%, var(--sky-light) 92%, transparent 92%); }
.sp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sp-hero-art { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; }
.sp-hero-art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 10px dashed var(--sky); opacity: .55; animation: sp-spin 60s linear infinite; }
.sp-hero-art .sp-hero-logo { position: absolute; inset: 9%; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.sp-hero-logo img { width: 86%; height: auto; }
.sp-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 5vw, 56px); color: var(--paper); }
@keyframes sp-spin { to { transform: rotate(360deg); } }

/* Quick links */
.sp-quick { position: relative; z-index: 2; margin-top: clamp(-40px, -4vw, -24px); }
.sp-quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sp-quick a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.sp-quick a:hover { transform: translateY(-2px); border-color: var(--sky); }
.sp-quick strong { display: block; font: 600 16px/1.3 var(--font-head); color: var(--navy-ink); }
.sp-quick small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.sp-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); color: var(--navy); }
.sp-icon svg { width: 24px; height: 24px; }
.sp-icon--mist { background: var(--mist); }

/* Cards grid */
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sp-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sp-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.sp-card-body p { color: var(--muted); font-size: 15px; }
.sp-card h3 a { color: inherit; text-decoration: none; }
.sp-card h3 a:hover { text-decoration: underline; }
.sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }
.sp-chip { display: inline-block; font: 700 12px/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); }
.sp-chip--mist { background: var(--mist); color: var(--sky-ink); }
.sp-chip--ok { background: var(--ok-soft); color: var(--ok); }
.sp-card-link { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; }

/* Photo placeholder (no children's faces: objects, drawings, places) */
.sp-photo { aspect-ratio: 16 / 10; background: var(--sky-soft); display: grid; place-items: center; color: var(--navy); position: relative; }
.sp-photo svg { width: 56px; height: 56px; opacity: .55; }
.sp-photo--mist { background: var(--mist); }
.sp-photo--mix { background: linear-gradient(135deg, var(--sky-soft), var(--mist)); }

/* Events */
.sp-events-band { background: var(--white); border-block: 1px solid var(--line); }
.sp-events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.sp-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sp-event { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.sp-event > div { min-width: 0; }
.sp-date { flex: none; width: 64px; padding: 8px 0; border-radius: 14px; background: var(--navy); color: var(--white); text-align: center; line-height: 1.1; }
.sp-date b { display: block; font: 700 24px/1.1 var(--font-head); }
.sp-date span { display: block; font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; color: var(--sun); }
.sp-event h3 { font-size: 17px; }
.sp-event p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.sp-cal { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--sky-soft); }
.sp-cal p { color: var(--muted); margin-top: 10px; }
.sp-cal .sp-btn { margin-top: 20px; }

/* Needs / sponsorship */
.sp-need .sp-card-body { gap: 12px; }
.sp-progress { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.sp-progress i { display: block; height: 100%; border-radius: inherit; background: var(--sky); }
.sp-progress--done i { background: var(--ok); }
.sp-progress-label { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.sp-sponsor-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--navy); color: var(--white); }
.sp-sponsor-cta > div { min-width: 0; max-width: 640px; }
.sp-sponsor-cta h3 { color: var(--white); }
.sp-sponsor-cta p { color: rgba(255, 255, 255, .82); margin-top: 6px; }

/* Study material */
.sp-study-band { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.sp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sp-tab { min-height: 44px; min-width: 52px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; }
.sp-tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sp-subjects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-subject { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sp-subject:hover { border-color: var(--sky); }
.sp-subject > span:last-child { min-width: 0; }
.sp-subject strong { display: block; font: 600 17px/1.3 var(--font-head); color: var(--navy-ink); }
.sp-subject small { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.sp-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sp-type { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 8px; background: var(--sky-soft); color: var(--navy); }
.sp-useful { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Two-up */
.sp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sp-panel { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius-lg); min-width: 0; }
.sp-panel p { color: var(--muted); }
.sp-panel ul { margin: 4px 0 0; padding-left: 20px; color: var(--ink); font-size: 15px; display: grid; gap: 4px; }
.sp-panel .sp-btn { align-self: flex-start; margin-top: auto; }
.sp-panel .sp-kicker, .sp-cal .sp-kicker { align-self: flex-start; margin-bottom: 0; }
.sp-panel--sky { background: var(--sky-soft); }
.sp-panel--mist { background: var(--mist); }

/* Notifications */
.sp-notify { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sp-notify p { color: var(--muted); margin-top: 10px; }
.sp-form { display: grid; gap: 10px; }
.sp-form label { font-weight: 600; font-size: 15px; }
.sp-form-row { display: flex; gap: 8px; }
.sp-form input[type="email"] { flex: 1; min-width: 0; min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid #C9CEDB; font: 400 16px var(--font-body); color: var(--ink); background: var(--white); }
.sp-form small { font-size: 13px; color: var(--muted); }
.sp-or { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-block: 6px; }
.sp-or::before, .sp-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Footer */
.sp-footer { margin-top: clamp(48px, 7vw, 88px); border-top: 4px solid var(--sun); background: var(--navy-ink); color: rgba(255, 255, 255, .84); font-size: 15px; }
.sp-footer .sp-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 48px 32px; }
.sp-footer a { color: var(--white); }
.sp-footer h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-light); margin-bottom: 12px; font-family: var(--font-body); }
.sp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.sp-footer-brand img { width: 56px; height: 59px; border-radius: 12px; background: var(--white); padding: 4px; flex: none; }
.sp-footer-brand p + p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.sp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.sp-footer-bottom .sp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; grid-template-columns: none; font-size: 14px; color: rgba(255, 255, 255, .7); }
.sp-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .sp-nav a { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 960px) {
  .sp-menu-btn { display: inline-flex; }
  .sp-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .sp-nav.is-open { display: block; }
  .sp-nav ul { flex-direction: column; gap: 2px; padding: 12px var(--gutter) 20px; }
  .sp-nav a { padding: 12px 14px; font-size: 16px; }
  .sp-nav .sp-nav-cta { margin: 8px 0 0; text-align: center; }
  .sp-quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-grid, .sp-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-grid > :nth-child(3) { display: none; }
  .sp-events, .sp-notify { grid-template-columns: minmax(0, 1fr); }
  .sp-footer .sp-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .sp-hero .sp-wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .sp-hero-copy > p { margin-inline: auto; }
  .sp-hero-ctas { justify-content: center; }
  .sp-hero-art { width: min(72%, 280px); grid-row: 1; }
  .sp-head { text-align: left; }
  .sp-grid, .sp-subjects, .sp-duo { grid-template-columns: minmax(0, 1fr); }
  .sp-grid > :nth-child(3) { display: flex; }
  .sp-brand small { display: none; }
}
@media (max-width: 480px) {
  .sp-quick ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sp-quick a { padding: 14px; }
  .sp-hero-ctas .sp-btn, .sp-sponsor-cta .sp-btn, .sp-cal .sp-btn, .sp-panel .sp-btn { width: 100%; }
  .sp-panel .sp-btn { align-self: stretch; }
  .sp-form-row { flex-direction: column; }
  .sp-footer .sp-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
