
/*
Theme Name: AO Akrotiriou Complete
Author: OpenAI
Version: 5.0.0
Description: Πλήρες WordPress θέμα Α.Ο. Ακρωτηρίου με demo ανακοινώσεις Μπάσκετ και Βόλεϊ.
Text Domain: aoa
*/
:root{--red:#d31318;--black:#111;--white:#fff;--text:#171717;--muted:#666;--line:#e8e8e8}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}.container{width:min(1460px,95%);margin:auto}img{max-width:100%;display:block}
.site-header{background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid #eee}
.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:16px}.brand img{width:105px;height:84px;object-fit:contain}
.brand-name{font-size:32px;font-weight:900;line-height:1}.brand-tag{font-family:cursive;color:var(--red);font-size:24px;margin-top:5px}
.main-nav ul{list-style:none;display:flex;gap:30px;margin:0;padding:0;align-items:center}.main-nav a{font-weight:900;font-size:14px}
.main-nav a:hover{color:var(--red)}.menu-toggle{display:none;background:#111;color:#fff;border:0;padding:12px 15px;border-radius:8px;font-weight:800}

.hero{min-height:355px;background-position:center;background-size:cover;background-repeat:no-repeat}
.hero-overlay{min-height:355px;background:rgba(0,0,0,.06);display:flex;align-items:flex-end}
.hero-actions{width:100%;display:flex;justify-content:center;gap:18px;padding-bottom:18px}
.sport-btn{min-width:245px;padding:18px 28px;border-radius:13px;color:#fff;font-weight:900;font-size:24px;display:flex;align-items:center;justify-content:center;gap:12px}
.sport-btn.red{background:linear-gradient(90deg,#d00,#ed1c24)}.sport-btn.dark{background:linear-gradient(90deg,#222,#111)}

.values{padding:22px 0 15px;background:#fff}.values-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.value{display:flex;gap:16px;align-items:center;padding:0 36px;border-right:1px solid #ddd}.value:last-child{border-right:0}
.value .icon{font-size:40px}.value h3{margin:0 0 4px;font-size:16px}.value p{margin:0;color:#555;font-size:14px;line-height:1.4}

.news{padding:12px 0 25px}.news-title{text-align:center;font-size:26px;font-weight:1000;margin:0 0 8px}
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}
.panel{border:1px solid #cfcfcf;border-radius:14px;overflow:hidden;background:#fff}
.panel-head{height:43px;display:flex;align-items:center;justify-content:space-between;color:#fff;padding:0 16px;font-weight:900}
.panel-head.red{background:linear-gradient(90deg,#d31318 0 38%,#fff 38%);color:#111}.panel-head.red .label{color:#fff}
.panel-head.dark{background:linear-gradient(90deg,#151515 0 38%,#fff 38%);color:#111}.panel-head.dark .label{color:#fff}
.panel-head .label{font-size:20px}.panel-head .all{font-size:11px}
.cards{display:grid;grid-template-columns:repeat(3,1fr)}
.card{padding:12px 18px 14px;border-right:1px solid #eee}.card:last-child{border-right:0}
.card img{width:100%;height:105px;object-fit:cover;border-radius:7px}.card .date{font-size:11px;margin:8px 0 5px}
.card h3{font-size:16px;margin:0 0 6px;line-height:1.2}.card p{font-size:13px;color:#444;line-height:1.35;margin:0 0 9px}
.more{font-size:11px;font-weight:900;color:var(--red)}.panel.dark .more{color:#111}

.contact-strip{padding:15px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}
.contact-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1fr}
.contact-item{display:flex;gap:14px;padding:0 24px;border-right:1px solid #ddd;align-items:center}.contact-item:last-child{border-right:0}
.contact-icon{font-size:42px;color:var(--red)}.contact-item strong{display:block;font-size:14px}.contact-item span{font-size:13px;line-height:1.45;color:#333}
.redtxt{color:var(--red);font-weight:900}

.site-footer{background:#111;color:#fff;padding:22px 0 0}.footer-grid{display:grid;grid-template-columns:1.3fr .9fr .9fr 1.2fr;gap:35px}
.footer-brand{display:flex;gap:16px}.footer-brand img{width:105px;height:105px;object-fit:contain;background:#fff;border-radius:50%}
.footer-brand h3{font-size:20px;margin:5px 0 8px}.footer-brand p,.footer-links li,.newsletter p{font-size:13px;color:#ddd;line-height:1.45}
.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:8px 0}
.footer-title{font-size:15px;margin:5px 0 12px}.social{font-size:31px;margin-bottom:16px}
.newsletter{border:1px solid var(--red);padding:12px 16px;border-radius:5px}.newsletter-row{display:flex;gap:8px}.newsletter-row input{flex:1;padding:10px}.newsletter-row button{background:var(--red);color:#fff;border:0;padding:0 18px;font-weight:900}
.footer-bottom{margin-top:18px;background:var(--red);padding:10px 0;font-size:12px}.footer-bottom .container{display:flex;justify-content:space-between}

.page-hero{padding:50px 0;background:#111;color:#fff}.page-hero h1{margin:0;font-size:42px}.content{padding:50px 0}.content article{max-width:900px;margin:auto;line-height:1.7}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.archive-card{border:1px solid #ddd;border-radius:12px;overflow:hidden}.archive-card img{width:100%;height:220px;object-fit:cover}.archive-card .pad{padding:18px}

@media(max-width:1050px){.main-nav{display:none}.menu-toggle{display:block}.news-grid{grid-template-columns:1fr}.values-grid,.contact-grid{grid-template-columns:1fr 1fr}.value,.contact-item{border-bottom:1px solid #eee;padding:16px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.brand-name{font-size:22px}.brand-tag{font-size:17px}.brand img{width:70px}.hero{min-height:260px}.hero-overlay{min-height:260px}.hero-actions{flex-direction:column;align-items:center}.sport-btn{min-width:220px;font-size:19px}.values-grid,.contact-grid,.footer-grid,.archive-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.card{border-right:0;border-bottom:1px solid #eee}.value,.contact-item{border-right:0}}

.home-editable-content{max-width:1100px;margin:auto}.aoa-shortcode-grid{margin-top:24px}


/* ===== Editor-driven homepage v4 ===== */
.aoa-editor-home{overflow:hidden}
.aoa-editor-home > .wp-block-group,
.aoa-editor-home > .wp-block-columns,
.aoa-editor-home > .wp-block-heading{margin-top:0;margin-bottom:0}
.aoa-editor-hero{
  min-height:355px;
  background-size:cover!important;
  background-position:center!important;
  display:flex;
  align-items:stretch;
  max-width:none!important;
}
.aoa-editor-hero-overlay{
  min-height:355px;
  width:100%;
  max-width:none!important;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px 4% 18px;
  background:rgba(0,0,0,.08);
}
.aoa-editor-title{
  color:#fff;
  text-shadow:0 3px 18px rgba(0,0,0,.55);
  font-size:clamp(32px,4.5vw,64px);
  font-weight:1000;
  margin:auto 0 28px!important;
}
.aoa-editor-buttons{gap:18px!important}
.aoa-editor-buttons .wp-block-button__link{
  min-width:245px;
  padding:18px 28px;
  border-radius:13px;
  font-size:24px;
  font-weight:900;
}
.aoa-basket-button .wp-block-button__link{background:linear-gradient(90deg,#d00,#ed1c24)}
.aoa-volley-button .wp-block-button__link{background:linear-gradient(90deg,#222,#111)}
.aoa-values-editor{
  width:min(1460px,95%);
  margin:22px auto 15px!important;
  gap:0!important;
}
.aoa-values-editor>.wp-block-column{
  padding:0 36px;
  border-right:1px solid #ddd;
}
.aoa-values-editor>.wp-block-column:last-child{border-right:0}
.aoa-values-editor h3{font-size:16px;margin:0 0 4px}
.aoa-values-editor p{font-size:14px;color:#555;margin:0}
.aoa-editor-news-title{font-size:26px;font-weight:1000;margin:22px 0 10px!important}
.aoa-editor-news-columns{
  width:min(1460px,95%);
  margin:0 auto 25px!important;
  gap:34px!important;
}
.aoa-editor-home .wp-block-shortcode{margin:0}
.editor-styles-wrapper .aoa-editor-hero{min-height:320px}
.editor-styles-wrapper .aoa-editor-hero-overlay{min-height:320px}
.editor-styles-wrapper .aoa-editor-news-columns,
.editor-styles-wrapper .aoa-values-editor{width:100%}
@media(max-width:1050px){
  .aoa-editor-news-columns{flex-wrap:wrap!important}
  .aoa-editor-news-columns>.wp-block-column{flex-basis:100%!important}
  .aoa-values-editor{flex-wrap:wrap!important}
  .aoa-values-editor>.wp-block-column{flex-basis:50%!important;padding:16px;border-bottom:1px solid #eee}
}
@media(max-width:650px){
  .aoa-editor-hero,.aoa-editor-hero-overlay{min-height:280px}
  .aoa-editor-buttons{flex-direction:column;align-items:center}
  .aoa-editor-buttons .wp-block-button__link{min-width:220px;font-size:19px}
  .aoa-values-editor>.wp-block-column{flex-basis:100%!important;border-right:0}
}

.aoa-elementor-home{margin:0;padding:0}
.aoa-elementor-home .elementor-section.elementor-section-boxed>.elementor-container{max-width:1460px}
body.elementor-editor-active .site-header{position:relative}
