/*
Theme Name: Ogrenen
Theme URI: https://ogrenen.net/
Author: Ogrenen.net
Description: A clean, editorial WordPress theme for education, research and technology publications.
Version: 1.1.0
Text Domain: ogrenen
Requires at least: 6.4
Requires PHP: 7.4
*/
:root{--og-ink:#111713;--og-muted:#66706a;--og-green:#173b32;--og-accent:#ec7838;--og-line:#e8e5df;--og-paper:#fffdfa;--og-wash:#f5f3ee;--og-width:1120px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f1efea;color:var(--og-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}body.admin-bar .site-header{top:32px}a{color:inherit;text-decoration:none}a:hover{color:var(--og-accent)}img{max-width:100%;height:auto;display:block}.site-shell{max-width:1220px;margin:18px auto;background:var(--og-paper);box-shadow:0 8px 30px #26322812;border-radius:12px;overflow:hidden}.wrap{width:min(var(--og-width),calc(100% - 40px));margin-inline:auto}.site-header{min-height:76px;border-bottom:1px solid var(--og-line);display:flex;align-items:center;background:var(--og-paper);position:relative;z-index:10}.nav-wrap{display:flex;align-items:center;gap:26px;min-height:76px}.custom-logo-link{margin-right:auto}.custom-logo{max-height:48px;width:auto}.brand{font-size:20px;font-weight:850;margin-right:auto}.primary-menu{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0;font-size:13px;font-weight:650}.primary-menu .current-menu-item>a{color:var(--og-accent)}.header-actions{display:flex;gap:14px;align-items:center;font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--og-ink);border-radius:6px;padding:10px 17px;font-weight:750;cursor:pointer}.button-dark{background:var(--og-ink);color:#fff}.menu-toggle{display:none;background:none;border:0;font-size:25px}.section{padding:50px 0;border-bottom:1px solid var(--og-line)}.eyebrow{font-size:12px;font-weight:800;color:var(--og-green);letter-spacing:.04em;text-transform:uppercase}.home-hero{display:grid;grid-template-columns:1fr 1.05fr;min-height:470px;align-items:center;gap:35px}.home-hero h1{font-size:clamp(42px,5vw,62px);line-height:1.01;margin:12px 0 18px;letter-spacing:-.045em}.home-hero p{font-size:17px;color:var(--og-muted);max-width:520px}.hero-media{height:410px;border-radius:48% 18% 40% 18%;overflow:hidden;background:linear-gradient(140deg,#faf0e7,#eef3ee)}.hero-media img{width:100%;height:100%;object-fit:cover}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-heading h2,.section h2{font-size:26px;margin:0}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{background:var(--og-wash);border-radius:13px;overflow:hidden}.post-card img,.card-placeholder{width:100%;height:200px;object-fit:cover;background:linear-gradient(145deg,#e5ece7,#f5eee7)}.post-card-content{padding:16px 17px 19px}.tag{display:inline-block;font-size:11px;background:#fff;border-radius:20px;padding:5px 9px;margin-bottom:9px}.post-card h3{font-size:19px;line-height:1.25;margin:0 0 11px}.meta{font-size:12px;color:var(--og-muted)}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:22px}.category-card{padding:16px;background:var(--og-wash);border-radius:10px;font-weight:750;font-size:13px}.category-card span{display:block;color:var(--og-muted);font-size:11px;font-weight:500}.latest-layout{display:grid;grid-template-columns:1.5fr .8fr;gap:30px}.latest-item{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:13px 0;border-bottom:1px solid var(--og-line)}.latest-item img,.latest-placeholder{width:120px;height:78px;object-fit:cover;border-radius:8px;background:#e6ece8}.latest-item h3{font-size:16px;line-height:1.3;margin:3px 0}.day-card{background:linear-gradient(145deg,#eef3ed,#e2eee7);border-radius:14px;overflow:hidden;padding:18px}.day-card img{width:100%;height:165px;object-fit:cover;border-radius:9px;margin:10px 0 16px}.day-card h3{font-size:23px;line-height:1.15;margin:2px 0 9px}.day-card .button{width:100%;margin-top:15px}.breadcrumb{font-size:12px;color:var(--og-muted);margin:25px 0}.entry-header{max-width:850px}.entry-header h1{font-size:clamp(36px,5vw,52px);line-height:1.08;letter-spacing:-.035em;margin:12px 0}.author-row{display:flex;gap:10px;align-items:center;font-size:12px;margin:18px 0}.author-row img{border-radius:50%}.podcast-player{margin:18px 0 28px;padding:16px 18px;border:1px solid #d8e2dd;border-radius:12px;background:linear-gradient(135deg,#f3f7f4,#edf2ee)}.podcast-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.play-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--og-green);color:#fff}.podcast-player h2{font-size:16px;margin:2px 0 0}.podcast-player audio{display:block;width:100%}.single-layout{display:grid;grid-template-columns:64px minmax(0,1fr) 235px;gap:26px}.share-links{position:sticky;top:25px;height:max-content}.share-links a{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--og-line);border-radius:50%;margin:8px}.entry-content{font-family:Georgia,"Times New Roman",serif;font-size:17px}.entry-content>*{max-width:100%}.entry-content h2{font-family:Inter,sans-serif;font-size:27px;margin:34px 0 10px;scroll-margin-top:25px}.entry-content h3{font-family:Inter,sans-serif}.entry-content .wp-block-image img,.entry-featured{border-radius:12px}.entry-content blockquote{background:#edf4ef;border-left:5px solid #9ccab8;padding:18px;border-radius:6px}.toc,.related{background:var(--og-wash);padding:18px;border-radius:11px;font-size:12px}.toc{position:sticky;top:25px}.toc a{display:block;margin:9px 0}.toc a.is-active{color:var(--og-accent);font-weight:800}.related{margin-top:24px}.ai-notice,.source-notice{font-family:Inter,sans-serif;font-size:13px;border-radius:10px;padding:17px 18px;margin:28px 0 14px}.ai-notice{border:1px solid #e8d6b6;background:#fff8e9;color:#5b4b30}.source-notice{border:1px solid #cfded7;background:#f1f7f4;color:#34483f}.source-notice a{color:#175f4c;text-decoration:underline;font-weight:700}.author-box{display:grid;grid-template-columns:80px 1fr;gap:18px;background:var(--og-wash);padding:20px;border-radius:12px;margin-top:25px}.author-box img{border-radius:50%}.page-hero{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;min-height:380px}.page-hero-media img{width:100%;height:380px;object-fit:cover}.page-content{max-width:800px}.archive-title{font-size:45px;margin:0}.pagination{margin-top:30px}.pagination .page-numbers{display:inline-grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--og-line);border-radius:6px}.site-footer{padding:35px 0 14px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:35px}.footer-title{font-weight:850;font-size:18px}.site-footer h3{font-size:14px;margin:0 0 10px}.site-footer p,.site-footer a{font-size:12px;color:var(--og-muted);display:block;margin:5px 0}.footer-menu{list-style:none;margin:0;padding:0}.copyright{text-align:center;font-size:11px;color:var(--og-muted);border-top:1px solid var(--og-line);margin-top:28px;padding-top:14px}.screen-reader-text{position:absolute;left:-9999px}.not-found{text-align:center;padding:100px 20px}.search-form{display:flex;gap:8px}.search-field{padding:11px;border:1px solid var(--og-line);border-radius:6px;width:100%}@media(max-width:850px){.site-shell{margin:0;border-radius:0}.primary-menu{display:none;position:absolute;left:0;right:0;top:76px;background:var(--og-paper);padding:20px;box-shadow:0 10px 20px #0001;flex-direction:column;align-items:flex-start}.primary-menu.is-open{display:flex}.menu-toggle{display:block}.home-hero,.page-hero,.latest-layout{grid-template-columns:1fr}.hero-media{height:320px}.post-grid{grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:1fr 1fr}.single-layout{grid-template-columns:1fr}.share-links{display:flex;position:static}.toc{position:static}.footer-grid{grid-template-columns:1fr 1fr}.page-hero-media img{height:280px}}@media(max-width:540px){.wrap{width:min(100% - 28px,var(--og-width))}.post-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.section{padding:36px 0}.header-actions .language{display:none}.latest-item{grid-template-columns:95px 1fr}.latest-item img,.latest-placeholder{width:95px}.author-box{grid-template-columns:1fr}}
