/*
Theme Name: GreekEdu Editorial
Description: Classic WordPress editorial theme for GreekEdu.
Version: 1.0.15
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: greekedu-editorial
*/
:root{--ge-accent:#245797;--ge-ink:#142b45;--ge-muted:#4f6172;--ge-line:#dce3eb;--ge-paper:#f5f7fa;--ge-blue-gradient:linear-gradient(145deg,#eff7ff,#dceefa)}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ge-ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--ge-accent);text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d79b34;outline-offset:3px}
img{max-width:100%;height:auto;vertical-align:middle}
h1,h2,h3{line-height:1.22;margin:0 0 .65em}
h1{font-size:clamp(2rem,4.6vw,3.5rem);letter-spacing:-.045em}
h2{font-size:1.35rem}
p{margin:0 0 1em}
.ge-wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.ge-header,.ge-footer{background:linear-gradient(110deg,#204e78,#173d63);color:#fff}
.ge-header{border-bottom:1px solid #ffffff2e}
.ge-head-row,.ge-footer-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.ge-head-row{min-height:90px;padding-block:12px}
.ge-brand{color:white;font-size:1.6rem;font-weight:800;text-decoration:none;line-height:1.2;flex:none}
.ge-logo{width:auto;max-height:54px;max-width:210px}
.ge-nav ul,.ge-footer ul,.ge-topic ul,.ge-aside ul{list-style:none;margin:0;padding:0}
.ge-nav>ul,.ge-footer nav>ul{display:flex;gap:6px;flex-wrap:wrap}
.ge-nav>ul{padding:4px;border:1px solid #ffffff26;border-radius:20px;background:#102d492e}
.ge-nav li{position:relative}
.ge-nav a{display:block;padding:9px 15px;border:1px solid transparent;border-radius:999px;color:#fff;text-decoration:none;font-size:1.05rem;font-weight:700;line-height:1.35}
.ge-nav a:hover,.ge-nav a:focus-visible,.ge-nav .current-menu-item>a,.ge-nav .current-menu-ancestor>a{border-color:#ffffff38;background:#ffffff1c}
.ge-nav .current-menu-item>a,.ge-nav .current-menu-ancestor>a{border-color:#ebc7778c;color:#ffe4a1}
.ge-nav .sub-menu{display:none;background:#204e78;position:absolute;z-index:5;min-width:180px;padding:8px;border:1px solid #ffffff38;border-radius:14px;box-shadow:0 8px 20px #0003}
.ge-nav li:hover>.sub-menu,.ge-nav li:focus-within>.sub-menu{display:block}
@media(min-width:511px){
    .ge-nav>ul{gap:8px;border-radius:24px}
    .ge-nav>ul>li+li::before{content:"";position:absolute;inset-block-start:50%;inset-inline-start:-4.5px;width:1px;height:14px;border-radius:1px;background:#ffffff45;transform:translateY(-50%);pointer-events:none}
}
.ge-hero,.ge-home-hero{color:#173b61;background:var(--ge-blue-gradient);border-bottom:1px solid #d5e4f2;}
.ge-hero{padding:clamp(32px,4.5vw,64px) 0}
.ge-hero h1{max-width:900px;margin:0}
.ge-hero .search-form{margin-top:24px}
.ge-intro{max-width:850px;color:var(--ge-muted);margin-top:14px}
.ge-intro p:last-child{margin-bottom:0}
.ge-content{padding-block:40px 58px}
.ge-grid,.ge-topic-grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.ge-topic-grid{margin-bottom:44px}
.ge-card,.ge-topic{border:1px solid var(--ge-line);border-radius:12px;overflow:hidden}
.ge-card-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.ge-card-content,.ge-topic{padding:20px}
.ge-card-title{font-size:1.3rem;margin-bottom:10px}
.ge-card-title a,.ge-topic a{text-decoration:none;color:var(--ge-ink)}
.ge-card-title a:hover,.ge-topic a:hover{text-decoration:underline}
.ge-category{display:inline-block;font-size:.73rem;font-weight:750;text-transform:uppercase;letter-spacing:.07em;margin-bottom:9px;text-decoration:none}
.ge-card p{color:var(--ge-muted);font-size:.94rem;margin-bottom:0}
.ge-topic h2{border-bottom:2px solid var(--ge-accent);padding-bottom:10px}
.ge-topic li+li{border-top:1px solid var(--ge-line)}
.ge-topic li a{display:flex;gap:10px;align-items:center;padding:10px 0;font-size:.91rem;line-height:1.34;font-weight:600}
.ge-topic li img{border-radius:50%;width:36px;height:36px;object-fit:cover;flex:none}
.ge-section-title{font-size:clamp(1.5rem,3vw,2.15rem);letter-spacing:-.03em;margin-bottom:20px}
.ge-pagination{margin-top:28px}
.page-numbers{display:inline-block;padding:5px 10px;margin-right:4px}
.page-numbers.current{background:var(--ge-accent);color:white;border-radius:5px}
.ge-article-layout{display:grid;grid-template-columns:minmax(0,800px) minmax(200px,1fr);gap:clamp(28px,5vw,65px)}
.ge-reading{max-width:800px;min-width:0}
.ge-feature{margin-bottom:26px}
.ge-feature img{width:100%;border-radius:10px}
.ge-prose{font-size:1.06rem;line-height:1.78;overflow-wrap:anywhere}
.ge-prose h2,.ge-prose h3{margin-top:1.45em}
.ge-prose h2{font-size:1.65rem}
.ge-prose iframe{max-width:100%}
.ge-prose table{display:block;overflow-x:auto}
.ge-single-prose{color:#465362;line-height:1.8}
.ge-single-prose :is(h2,h3,h4,h5,h6,.h2,.h3,.h4,.h5,.h6){color:#101419;font-weight:700;line-height:1.5}
.ge-single-prose :is(h2,.h2){font-size:1.7rem}
.ge-single-prose :is(h3,.h3){display:inline-block;font-size:1.5rem;border-bottom:2.5px solid #2e5d9f;margin-bottom:20px}
.ge-single-prose :is(h4,h5,.h4,.h5){font-size:1.4rem}
.ge-single-prose :is(h6,.h6){font-size:1.25rem}
.ge-single-prose :is(h2,h3,h4,h5,h6) a{color:inherit}
.ge-single-prose p>a{color:#2e5d9f;font-weight:700}
.ge-single-prose .faq{background:#2e5d9f;padding:5px 14px;border-radius:14px;color:#fff;text-align:center}
.ge-single-prose .myth{border-left:5px solid #2e5d9f;padding:1rem;background:#f5f5f5;margin:0 0 1rem}
.ge-single-prose .myth>:last-child{margin-bottom:0}
.ge-comments{border-top:1px solid var(--ge-line);margin-top:36px;padding-top:24px}
.ge-comments .comment-list,.ge-comments .children{display:grid;gap:12px;list-style:none;margin:0;padding:0}
.ge-comments .children{margin:10px 0 0 clamp(8px,2vw,22px);padding-inline-start:clamp(8px,1.5vw,16px);border-inline-start:2px solid #d5e4f2}
.ge-comments .children .children{margin-inline-start:0;padding-inline-start:8px}
.ge-comments .comment-body{padding:clamp(14px,2.3vw,22px);border:1px solid #d5e4f2;border-radius:14px;background:#f8fbfe;overflow-wrap:anywhere}
.ge-comments .comment-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:11px}
.ge-comments .comment-author{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ge-ink)}
.ge-comments .comment-author .avatar{width:44px;height:44px;border-radius:50%;flex:none}
.ge-comments .comment-author .says{display:none}
.ge-comments .comment-metadata{display:flex;flex-wrap:wrap;gap:4px 9px;font-size:.8rem;color:var(--ge-muted)}
.ge-comments .comment-metadata a{color:inherit}
.ge-comments .comment-metadata>a{text-decoration:none}
.ge-comments .comment-content>:last-child{margin-bottom:0}
.ge-comments .reply{margin-top:12px}
.ge-comments .comment-reply-link{display:inline-block;padding:4px 12px;border:1px solid #cadcec;border-radius:999px;background:#eaf4fd;font-size:.83rem;font-weight:700;text-decoration:none}
.ge-comments .comment-reply-link:hover{background:#dbeefa;text-decoration:underline}
.ge-comments .comment-navigation{margin-top:14px}
.ge-comments .comment-respond{margin-top:24px;padding:clamp(16px,3vw,28px);border:1px solid #d5e4f2;border-radius:16px;background:var(--ge-blue-gradient)}
.ge-comments .comment-respond:first-child{margin-top:0}
.ge-comments .comment-reply-title{margin:0 0 12px;font-size:1.35rem}
.ge-comments #cancel-comment-reply-link{display:inline-block;margin-inline-start:8px;font-size:.8rem;font-weight:600}
.ge-comments :is(.comment-notes,.logged-in-as,.must-log-in){color:var(--ge-muted);font-size:.88rem}
.ge-comments .comment-form label{display:block;margin-bottom:5px;font-size:.9rem;font-weight:650}
.ge-comments .comment-form :is(textarea,input[type=text],input[type=email],input[type=url]){display:block;width:100%;padding:10px 12px;border-color:#9db6ce;border-radius:9px;background:#fff;color:var(--ge-ink)}
.ge-comments .comment-form textarea{min-height:140px;resize:vertical}
.ge-comments .comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px}
.ge-comments .comment-form .comment-form-cookies-consent label{margin:0;font-weight:400}
.ge-comments .comment-form :is(.form-submit,.must-log-in):last-child{margin-bottom:0}
.ge-comments .comment-form .submit{padding:10px 18px;border-radius:9px;font-weight:700}
.ge-comments .comment-form .submit:hover{background:#173b61}
.ge-article-footer{margin-top:32px}
.ge-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:clamp(16px,2.5vw,28px);border-inline-start:5px solid #d2dae2;background:#f2f2f2}
.ge-meta time{margin-inline-start:auto;color:var(--ge-muted);font-size:.87rem}
.ge-post-categories{display:flex;flex-wrap:wrap;gap:6px}
.ge-post-categories a{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:4px;background:#2e5d9f;color:#fff;font-size:.78rem;font-weight:750;line-height:1.3;text-decoration:none;text-transform:uppercase}
.ge-post-categories a::before{content:"";width:.85em;height:.7em;background:currentColor;clip-path:polygon(0 0,43% 0,57% 24%,100% 24%,100% 100%,0 100%)}
.ge-article-footer .nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}
.ge-article-footer .nav-links>div:only-child{grid-column:1/-1}
.ge-article-footer .nav-links a{display:flex;align-items:center;gap:10px;height:100%;padding:clamp(14px,2.2vw,24px);background:#f2f2f2;color:var(--ge-ink);font-weight:650;line-height:1.4;overflow-wrap:anywhere;text-decoration:none}
.ge-article-footer .nav-next a{justify-content:flex-end;text-align:end}
.ge-article-footer .nav-links [aria-hidden]{flex:none;color:var(--ge-accent)}
.ge-post-categories a:hover,.ge-article-footer .nav-links a:hover,.ge-share a:hover{text-decoration:underline}
.ge-share{display:flex;flex-wrap:wrap;gap:4px;margin-top:30px}
.ge-share a{flex:1 1 100px;max-width:156px;padding:12px 9px;color:#fff;font-size:.78rem;font-weight:750;text-align:center;text-transform:uppercase;text-decoration:none}
.ge-share-facebook{background:#2d5b90}
.ge-share-twitter{background:#087394}
.ge-share-pinterest{background:#b91425}
.ge-aside{align-self:start;display:grid;gap:18px;min-width:0;overflow-wrap:anywhere}
.ge-aside .ge-widget{min-width:0;margin:0;padding:clamp(16px,2vw,22px);border:1px solid #d5e4f2;border-radius:14px;background:var(--ge-blue-gradient);box-shadow:0 4px 12px #173b610a}
.ge-aside .ge-widget h2{margin:0 0 12px;color:#173b61;font-size:1.12rem}
.ge-aside .ge-widget li{padding:8px 0;border-bottom:1px solid #d0dfed;line-height:1.4}
.ge-aside .ge-widget li:last-child{border-bottom:0}
.ge-aside .ge-widget li a{color:var(--ge-ink);font-size:.93rem;font-weight:600;text-decoration:none}
.ge-aside .ge-widget li a:hover{text-decoration:underline}
.ge-aside .ge-widget .search-form{display:flex;flex-wrap:wrap;gap:7px}
.ge-aside .ge-widget .search-form label{flex:1 1 120px;min-width:0}
.ge-aside .ge-widget .search-form input[type=search]{width:100%}
.ge-aside .ge-widget :is(.ge-recent-posts,.wp-block-latest-posts){display:grid;gap:8px}
.ge-aside .ge-widget :is(.ge-recent-posts,.wp-block-latest-posts)>li{width:auto;margin:0;padding:0;border:0}
.ge-aside .ge-recent-posts>li>a,.ge-aside .ge-widget .wp-block-latest-posts>li{padding:8px;border:1px solid #d5e4f2;border-radius:9px;background:#fff}
.ge-aside .ge-recent-posts>li>a{display:flex;align-items:center;gap:10px}
.ge-aside .ge-recent-posts>li>a:hover,.ge-aside .ge-recent-posts>li>a:focus-visible,.ge-aside .ge-widget .wp-block-latest-posts>li:focus-within{border-color:#9dbbd7}
.ge-aside .ge-recent-posts img,.ge-aside .wp-block-latest-posts__featured-image img{display:block;width:56px;height:46px;border-radius:6px;object-fit:cover;flex:none}
.ge-aside .wp-block-latest-posts__featured-image.alignleft{float:left;margin:0 10px 0 0}
.ge-aside .wp-block-latest-posts>li{display:flow-root}
.ge-aside .ge-recent-posts time,.ge-aside .wp-block-latest-posts__post-date{display:block;margin-top:3px;color:var(--ge-muted);font-size:.75rem;font-weight:400}
.ge-aside .ge-recent-myths>li>a{padding:10px 12px;border-inline-start:3px solid #b27d32;background:linear-gradient(110deg,#fff8e9,#fff 65%)}
.ge-aside .ge-recent-myths>li>a:hover,.ge-aside .ge-recent-myths>li>a:focus-visible{border-inline-start-color:#805519}
.ge-aside .ge-recent-myths time{color:#775526}
.ge-aside .ge-widget .ge-recent-lifestyle{gap:0}
.ge-aside .ge-widget .ge-recent-lifestyle>li+li{border-top:1px solid #c8daeb}
.ge-aside .ge-recent-lifestyle>li>a{align-items:center;gap:9px;padding:9px 0;border:0;border-radius:0;background:transparent;font-size:.9rem;font-weight:700;line-height:1.29}
.ge-aside .ge-recent-lifestyle>li:first-child>a{padding-top:3px}
.ge-aside .ge-recent-lifestyle>li:last-child>a{padding-bottom:0}
.ge-lifestyle-thumb{position:relative;align-self:stretch;flex:none;width:55px;min-height:61px;overflow:hidden;border-radius:7px}
.ge-aside .ge-lifestyle-thumb img{position:absolute;inset:0;width:100%;height:100%;border-radius:0}
.ge-aside .ge-recent-lifestyle time{margin-top:2px;line-height:1.25}
.ge-aside .ge-widget .ge-recent-comments{display:grid;gap:8px}
.ge-aside .ge-widget .ge-recent-comments>li{padding:0;border:0}
.ge-aside .ge-recent-comments>li>a{display:grid;gap:3px;padding:9px 11px;border:1px solid #d5e4f2;border-radius:9px;background:#fff}
.ge-aside .ge-recent-comments>li>a:hover,.ge-aside .ge-recent-comments>li>a:focus-visible{border-color:#9dbbd7}
.ge-recent-comment-author{color:var(--ge-accent);font-size:.78rem;font-weight:750}
.ge-recent-comment-excerpt{color:var(--ge-muted);font-size:.82rem;font-weight:400}
@media(max-width:510px){.ge-article-footer .nav-links{grid-template-columns:minmax(0,1fr)}}
.ge-footer{border-top:3px solid #83add2}
.ge-footer-row{padding-block:30px}
.ge-footer .ge-logo{max-width:180px;max-height:48px}
.ge-footer nav a{display:block;padding:7px 13px;border-radius:999px;color:#e7f3ff;font-size:.9rem;font-weight:650;text-decoration:none}
.ge-footer nav a:hover,.ge-footer nav a:focus-visible,.ge-footer nav .current-menu-item>a{background:#ffffff1c;color:#fff;text-decoration:underline}
input,textarea,select,button{font:inherit}
textarea,input[type=search],input[type=text],input[type=email],input[type=url]{max-width:100%;border:1px solid #aab9ca;border-radius:6px;padding:7px 10px}
button,input[type=submit]{padding:7px 12px;border:0;border-radius:6px;background:var(--ge-accent);color:#fff;cursor:pointer}
.screen-reader-text,.skip-link:not(:focus){position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:absolute;z-index:99999;background:white;padding:10px}
@media(max-width:820px){.ge-head-row{align-items:flex-start;flex-direction:column;gap:10px;padding-block:14px}}
@media(max-width:760px){.ge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ge-article-layout{grid-template-columns:minmax(0,1fr)}.ge-wrap{width:calc(100% - 32px)}.ge-footer-row{align-items:flex-start;flex-direction:column;gap:14px;padding-block:22px}}
@media(max-width:510px){.ge-grid{grid-template-columns:minmax(0,1fr)}.ge-nav>ul{gap:3px}.ge-nav a{padding:8px 9px;font-size:.96rem}.ge-footer nav a{padding-inline:8px}.ge-content{padding-block:25px 40px}}

.ge-home-hero{padding:clamp(38px,6vw,78px) 0;text-align:center}
.ge-home-hero h1{max-width:800px;margin:0 auto;color:#173b61;font-size:clamp(2rem,4.8vw,3.6rem);letter-spacing:-.045em;text-wrap:balance}
.ge-home-search{display:flex;align-items:center;gap:8px;width:min(100%,480px);margin:24px auto 0;padding:6px;background:white;border:1px solid #bccfe3;border-radius:14px;box-shadow:0 7px 22px #204d7820;text-align:left}
.ge-home-search input[type=search]{min-width:0;flex:1;border:0;border-radius:8px;padding:9px 11px;color:var(--ge-ink);background:transparent}
.ge-home-search button{padding:9px 19px;border-radius:9px;font-weight:650}
@media(min-width:761px){
    .ge-topic-grid{row-gap:0}
    .ge-topic,.ge-topic ul{display:grid;grid-template-rows:subgrid}
    .ge-topic{grid-row:span 6}
    .ge-topic ul{grid-row:span 5}
    .ge-topic li{display:grid;align-items:center}
}
.ge-home-myths-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(22px,4vw,48px);margin-bottom:44px;padding:clamp(18px,3.3vw,38px);background:var(--ge-blue-gradient);border:1px solid #d5e4f2;border-radius:20px}
.ge-home-myths-panel>section:only-child{grid-column:1/-1}
.ge-home-myths-panel .ge-section-title{color:#173b61}
.ge-home-myths-panel h2 a{color:inherit;text-decoration:none}
.ge-home-myths-panel h2 a:hover{text-decoration:underline}
.ge-home-story-links{display:grid;gap:8px;list-style:none;margin:0;padding:0}
.ge-home-story-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 14px;border:1px solid #d2e1ee;border-radius:10px;background:#fff;box-shadow:0 2px 6px #173b610a;color:var(--ge-ink);font-weight:650;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.ge-home-story-links a span[aria-hidden]{flex:none;color:var(--ge-accent)}
.ge-home-story-links-with-images a{justify-content:flex-start}
.ge-home-story-links-with-images a span[aria-hidden]{margin-inline-start:auto}
.ge-home-story-thumb{width:60px;height:44px;border-radius:6px;object-fit:cover;flex:none}
.ge-home-story-links a:hover,.ge-home-story-links a:focus-visible{border-color:#9dbbd7;text-decoration:underline}
@supports(grid-template-rows:subgrid){
    @media(min-width:761px){
        .ge-home-myths-panel{row-gap:8px}
        .ge-home-myths-panel>section{display:grid;grid-row:span 6;grid-template-rows:subgrid}
        .ge-home-myths-panel .ge-section-title{margin-bottom:12px}
        .ge-home-story-links{grid-row:span 5;grid-template-rows:subgrid}
        .ge-home-story-links li{display:grid}
    }
}
@media(max-width:760px){.ge-topic-grid,.ge-home-myths-panel{grid-template-columns:minmax(0,1fr)}}
@media(max-width:510px){.ge-home-search button{padding-inline:12px}}

.ge-category-hero h1{margin-inline:auto;text-align:center;text-wrap:balance}
.ge-category-hero .ge-intro{width:min(100%,860px);margin:22px auto 0;padding:clamp(16px,3vw,30px) clamp(17px,4vw,38px);background:#fff;border:1px solid #ccdeef;border-radius:16px;box-shadow:0 7px 22px #204d7810;color:#344b61;font-size:clamp(1rem,1.25vw,1.095rem);line-height:1.72;overflow-wrap:anywhere}
.ge-category-hero .ge-intro p{margin:0 0 .82em}
.ge-category-hero .ge-intro p:last-child{margin-bottom:0}
.ge-collection-hero .ge-intro{width:100%;max-width:none;background:#ffffff87;border-inline-start:3px solid #b78a46;box-shadow:none}
.ge-collection-title{padding:0 0 14px;margin:0 0 24px;border-bottom:1px solid #cadcec;font-size:clamp(1.55rem,2.7vw,2.05rem);letter-spacing:-.025em;color:#173b61}
.ge-category-grid,.ge-home-latest .ge-grid{row-gap:36px}
.ge-home-latest-heading{margin-bottom:20px}
.ge-home-latest-heading .ge-section-title{margin-bottom:4px}
.ge-home-latest-heading p{margin:0;color:var(--ge-muted);font-size:.94rem;font-weight:650}
@media(max-width:760px){.ge-category-grid,.ge-home-latest .ge-grid{row-gap:28px}}
