/*
Theme Name: Sinartisi Editorial
Description: Editorial child theme for Twenty Twenty-Five, with a Greek-first accessible educational layout.
Template: twentytwentyfive
Version: 0.1.0
Text Domain: sinartisi-editorial
License: GPL-2.0-or-later
*/
:root{--sin-bg:#faf8f4;--sin-paper:#f1ede4;--sin-ink:#141923;--sin-muted:#454d5b;--sin-blue:#1b3a5c;--sin-red:#9e3422;--sin-line:#dcd6c8;--sin-display:Georgia,'Times New Roman',serif;--sin-body:system-ui,-apple-system,'Segoe UI',sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:1.5rem}
body{background:var(--sin-bg);color:var(--sin-ink);font-family:var(--sin-body);line-height:1.65}
img,video,iframe,object{max-width:100%}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--sin-red);outline-offset:4px}
.sin-header{border-bottom:1px solid var(--sin-line);background:var(--sin-bg);padding:1.3rem clamp(1.25rem,4vw,3rem)!important}
.sin-header-inner{max-width:1180px;margin-inline:auto!important;gap:1.5rem!important}
.sin-brand{font-family:var(--sin-display);font-size:1.9rem;font-weight:700;letter-spacing:-.055em;line-height:1.15;margin:0;white-space:nowrap}
.sin-brand a{color:var(--sin-blue);text-decoration:none}
.sin-header .wp-block-navigation{font-size:.875rem;font-weight:600;gap:1.4rem}
.sin-header .wp-block-navigation a{color:var(--sin-ink)}
.sin-header .wp-block-navigation a:hover{text-decoration:underline;text-underline-offset:5px}
.sin-main{margin-block-start:0!important;padding:0!important}
.sin-editorial{width:min(100%,1180px);margin-inline:auto!important;padding-inline:clamp(1.25rem,4vw,2.5rem);overflow-wrap:anywhere}
.sin-editorial p{margin:0 0 .8rem}
.sin-editorial .wp-block-columns{gap:clamp(1rem,3vw,2.2rem);margin:0}
.sin-editorial .wp-block-column{min-width:0}
.sin-editorial h2,.sin-editorial h3{margin:0 0 .8rem;line-height:1.2}
.sin-editorial h2{font-family:var(--sin-display);font-size:clamp(1.8rem,3.2vw,2.65rem);font-weight:600;letter-spacing:-.035em}
.sin-editorial h3{font-size:clamp(1.1rem,1.7vw,1.4rem);font-weight:650;letter-spacing:-.02em}
.sin-editorial a{color:var(--sin-blue);text-decoration:underline;text-underline-offset:.2em}
.sin-editorial .sin-kicker{color:var(--sin-red);font-size:.72rem;font-weight:750;letter-spacing:.12em;line-height:1.5;margin-bottom:.8rem}
.sin-hero{padding-block:clamp(2.4rem,5.3vw,5.4rem) clamp(2rem,4vw,3.3rem)}
.sin-hero .sin-hero-grid{align-items:center;gap:clamp(1.5rem,5vw,4rem)}
.sin-hero-copy{padding-block:.5rem}
.sin-hero-copy .sin-display{font-family:var(--sin-display);font-size:clamp(2.4rem,5.2vw,4.6rem);line-height:1.04;letter-spacing:-.05em;margin:1.1rem 0 1rem}
.sin-hero-copy .sin-lead{font-family:var(--sin-display);font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.3;color:var(--sin-blue)}
.sin-hero-copy>p:not(.sin-kicker):not(.sin-lead){max-width:52ch;color:var(--sin-muted)}
.sin-hero-copy .wp-block-buttons{margin-top:1.6rem;gap:.7rem}
.sin-editorial .wp-block-button__link{background:var(--sin-blue);color:white;text-decoration:none;border:1px solid var(--sin-blue);border-radius:0;font-weight:650;font-size:.875rem;padding:.8rem 1.05rem;min-height:44px}
.sin-hero-copy .wp-block-button:nth-child(2) .wp-block-button__link{background:transparent;color:var(--sin-blue)}
.sin-editorial .wp-block-button__link:hover{filter:brightness(.92)}
.sin-hero-figure{min-height:clamp(260px,33vw,410px);position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background-color:var(--sin-paper);border:1px solid var(--sin-line);padding:2rem;isolation:isolate;overflow:hidden;background-image:linear-gradient(to right,#1b3a5c0c 1px,transparent 1px),linear-gradient(to bottom,#1b3a5c0c 1px,transparent 1px);background-size:30px 30px}
.sin-hero-figure::before{content:"";position:absolute;inset:0;z-index:-1;background:center/100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 400' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M30 340H470M250 30V370' fill='none' stroke='%231b3a5c' stroke-opacity='.2'/%3E%3Cpath d='M65 35 Q250 625 435 35' fill='none' stroke='%231b3a5c' stroke-width='1.8' stroke-opacity='.55'/%3E%3Cpath d='M68 309 L455 115' fill='none' stroke='%239e3422' stroke-width='1.2' stroke-opacity='.5' stroke-dasharray='5 5'/%3E%3C/svg%3E")}
.sin-hero-figure .sin-figure-word{font-size:.7rem;font-weight:750;letter-spacing:.25em;color:var(--sin-blue);margin:0;background:var(--sin-paper);padding:.25rem .6rem}
.sin-hero-figure .sin-equation{font-family:var(--sin-display);font-style:italic;letter-spacing:-.055em;line-height:1;font-size:clamp(3.5rem,7vw,5.75rem);color:var(--sin-blue);margin:.4rem 0 .9rem;background:var(--sin-paper);padding:.15rem .6rem}
.sin-hero-figure .sin-figure-note{font-size:.875rem;color:var(--sin-muted);max-width:27ch;background:var(--sin-paper);padding:.3rem .6rem}
.sin-jump{border-top:1px solid var(--sin-line);border-bottom:1px solid var(--sin-line);padding:1rem 0}
.sin-jump .wp-block-buttons{justify-content:flex-start;gap:.55rem}
.sin-jump .wp-block-button__link{background:transparent;color:var(--sin-blue);border:1px solid var(--sin-line);padding:.65rem .9rem;min-height:44px}
.sin-section{padding-block:clamp(2.6rem,5vw,4.6rem);border-bottom:1px solid var(--sin-line)}
.sin-section>h2{margin-bottom:1.5rem}
.sin-book-grid{background:var(--sin-paper);padding:clamp(1.3rem,4vw,2.75rem);align-items:center}
.sin-book-grid>.wp-block-column:first-child{flex:0 0 27%!important;text-align:center}
.sin-book-grid .wp-block-image{margin:0 auto;max-width:190px}
.sin-book-grid img{width:100%;height:auto;display:block;box-shadow:7px 12px 26px #14192322}
.sin-book-copy{padding:.4rem 0}
.sin-book-copy h3{font-family:var(--sin-display);font-size:clamp(1.7rem,3vw,2.5rem);font-weight:600}
.sin-card-grid{align-items:stretch}
.sin-card-grid .wp-block-column{display:flex}
.sin-study-card,.sin-resource-card{width:100%;padding:1.35rem 1.2rem;border-top:3px solid var(--sin-blue);background:var(--sin-paper)}
.sin-study-card .sin-index{font-family:var(--sin-display);font-size:2.7rem;letter-spacing:-.05em;line-height:1;color:var(--sin-red);margin:0 0 1rem}
.sin-study-card p:not(.sin-index){font-size:.9rem}
.sin-media{background:var(--sin-ink);color:var(--sin-bg);padding:clamp(1.5rem,4vw,3rem);margin-block:clamp(1.5rem,4vw,3.3rem);border:0}
.sin-media .sin-kicker{color:#e8be9e}
.sin-media a{color:#faf8f4}
.sin-media>p:not(.sin-kicker){color:#e0e4e8}
.sin-media-card{height:100%;padding:1rem;background:#232c39;border:1px solid #55606d}
.sin-media-card .wp-block-image{margin:0 0 1rem;aspect-ratio:16/9;background:#f1ede4;display:grid;place-items:center;overflow:hidden}
.sin-media-card img{display:block;width:100%;height:100%;object-fit:contain}
.sin-media-card h3{font-size:1.1rem;color:var(--sin-bg)}
.sin-media-card p{color:#e0e4e8;font-size:.9rem}
.sin-resource-card{background:transparent;border:1px solid var(--sin-line);padding:1.2rem}
.sin-resource-card h3{font-family:var(--sin-display);font-size:1.25rem;font-weight:600}
.sin-resources>p:last-child{margin-top:1.5rem}
.sin-footer{border-top:1px solid var(--sin-line);background:var(--sin-paper);padding:2.3rem clamp(1.25rem,4vw,3rem)!important;font-size:.9rem}
.sin-footer-inner{max-width:1180px;margin-inline:auto!important;gap:1rem!important}
.sin-footer a{color:var(--sin-blue)}
.sin-content-wrap{max-width:860px;margin-inline:auto!important;padding:clamp(2rem,5vw,4rem) clamp(1.25rem,4vw,2.5rem)!important}
.sin-content-wrap .wp-block-post-title{font-family:var(--sin-display);font-size:clamp(2rem,4vw,3.25rem);line-height:1.16;letter-spacing:-.035em}
.sin-content-wrap .wp-block-post-featured-image img{max-height:480px;object-fit:contain}
@media(max-width:781px){.sin-hero .wp-block-columns,.sin-editorial .wp-block-columns{flex-wrap:wrap!important}.sin-editorial .wp-block-column{flex-basis:100%!important}.sin-book-grid>.wp-block-column:first-child{flex:0 0 100%!important}.sin-hero-figure{min-height:240px}.sin-card-grid{gap:1rem!important}.sin-header-inner{gap:.75rem!important}.sin-header{padding-block:1rem!important}.sin-brand{font-size:1.55rem}.sin-media{margin-inline:0}.sin-editorial h2,.sin-editorial h3{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
