/*
Theme Name: Hardlopen in Ede
Theme URI: https://hardlopeninede.nl
Author: Hardlopen in Ede
Description: Onafhankelijke lokale hardloopwinkelwebsite, eenvoudig om te merken.
Version: 2.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hardlopeninede
*/
:root{--ink:#172525;--accent:#df4d25;--cream:#f5f3ec;--muted:#65716e;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);line-height:1.6;background:#fff}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1160px,92%);margin:auto}.top{background:#162725;color:#fff;font-size:.83rem;padding:8px 0}.top .wrap{display:flex;justify-content:space-between;gap:12px}.header{background:#fff;border-bottom:1px solid #e7e8e5;position:sticky;top:0;z-index:20}.head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}.brand{display:flex;align-items:center;gap:12px;font-size:1.35rem;font-weight:850;letter-spacing:-.04em}.brand img{max-height:52px;max-width:240px;width:auto}.brand small{display:block;font-size:.65rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}nav ul{display:flex;gap:23px;list-style:none;padding:0;margin:0}nav a{font-weight:650;font-size:.93rem}.btn{display:inline-block;background:var(--accent);color:#fff;padding:13px 21px;border-radius:5px;font-weight:750}.btn:hover{filter:brightness(.92);text-decoration:none}.btn-outline{background:transparent;border:1px solid currentColor;color:inherit}.hero{background:var(--cream);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr 1fr;min-height:520px;align-items:center}.hero-copy{padding:65px 8% 65px 0}.eyebrow{font-size:.78rem;letter-spacing:.17em;text-transform:uppercase;color:var(--accent);font-weight:850}.hero h1{font-size:clamp(2.7rem,5.4vw,5.3rem);line-height:1.06;letter-spacing:-.055em;margin:18px 0}.hero p{font-size:1.13rem;color:#485651;max-width:510px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-art{height:100%;min-height:440px;background:linear-gradient(145deg,#264b41,#112b28);position:relative;display:grid;place-items:center;color:#fff}.hero-art:before{content:'';position:absolute;width:65%;height:65%;border:3px solid #ffffff24;border-radius:50%;transform:rotate(-25deg) scaleX(1.4)}.hero-art span{position:relative;font-size:clamp(5rem,14vw,12rem);font-weight:900;letter-spacing:-.12em;opacity:.18}.hero-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.section{padding:85px 0}.section.alt{background:var(--cream)}.section h2{font-size:clamp(2rem,3.5vw,3.3rem);letter-spacing:-.045em;line-height:1.15;margin:10px 0 22px}.lead{max-width:700px;color:#53605d;font-size:1.08rem}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px}.card{border:1px solid #e3e7e3;background:#fff;padding:32px;border-radius:8px}.card h3{font-size:1.3rem;margin:0 0 12px}.card p{color:#5a6560}.card a{color:var(--accent);font-weight:750}.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.photo-placeholder{min-height:330px;background:linear-gradient(135deg,#b7c9b5,#32594e);border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:2rem;text-align:center;padding:30px}.photo-placeholder img{width:100%;height:100%;object-fit:cover;border-radius:8px}.details{display:grid;grid-template-columns:1fr 1fr;gap:40px}.hours{width:100%;border-collapse:collapse}.hours td{padding:9px 0;border-bottom:1px solid #e2e5e0}.hours td:last-child{text-align:right}.footer{background:#142622;color:#fff;padding:55px 0 25px}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer p,.footer a{color:#d4ded8}.footer small{display:block;border-top:1px solid #39504a;margin-top:35px;padding-top:20px;color:#b6c8bd}.page-head{background:var(--cream);padding:65px 0}.page-head h1{font-size:clamp(2.3rem,5vw,4rem);letter-spacing:-.05em;margin:0}.content{max-width:850px;padding:65px 0}.event{padding:24px 0;border-bottom:1px solid #ddd}.event time{color:var(--accent);font-weight:800}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;background:white;z-index:1000;padding:10px}@media(max-width:800px){.head{flex-wrap:wrap;padding:15px 0}nav{width:100%}nav ul{gap:12px;flex-wrap:wrap}.hero-grid,.split,.details{grid-template-columns:1fr}.hero-copy{padding:55px 0}.hero-art{min-height:280px}.cards{grid-template-columns:1fr}.section{padding:55px 0}.footgrid{grid-template-columns:1fr}.top .wrap{flex-wrap:wrap}}

/* 2.1: frisse blauw-witte winkelstijl */
:root{--ink:#17283d;--accent:#2879c7;--cream:#f3f7fc;--muted:#52667d}
.top,.footer{background:#153c70}.hero-art{background:linear-gradient(145deg,#2879c7,#113b75)}
.photo-placeholder{background:linear-gradient(135deg,#8bc0eb,#174d88)}
.card{border-color:#dce7f3;box-shadow:0 6px 22px rgba(22,70,120,.05)}
.card img{width:100%;height:180px;object-fit:cover;border-radius:6px;margin-bottom:16px}
.eyebrow,.card a{color:#236eb7}.footer p,.footer a{color:#e0eaf6}.footer small{color:#c8d8ea;border-color:#376193}
.brand img{max-height:65px;max-width:260px}
@media(max-width:800px){.brand img{max-width:210px}nav ul{gap:10px}nav a{font-size:.86rem}}

/* 2.3: editorial reading experience */
.page-head{padding:38px 0 32px;background:#f0f6fc}.page-head h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.15}.content{padding:32px 0 70px}.content p{font-size:1.08rem;line-height:1.85}.content h2{margin-top:2rem;color:#174f91}.article-hero{margin:0 auto 26px;width:min(1050px,92%);height:clamp(220px,37vw,440px);overflow:hidden;border-radius:12px;background:linear-gradient(125deg,#2e79b7,#174f91)}.article-hero img{width:100%;height:100%;object-fit:cover;display:block}.article-intro{font-size:1.15rem}.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.editorial-card{border:1px solid #dce6f0;border-radius:12px;overflow:hidden;background:#fff}.editorial-card img{width:100%;height:190px;object-fit:cover;display:block}.editorial-card-body{padding:18px 22px}.editorial-card h2{font-size:1.35rem;line-height:1.3;margin:0 0 12px}.editorial-card a{color:#175ba2}.editorial-card p{font-size:.98rem;color:#566578}.article-note{background:#edf5fd;padding:22px 26px;border-radius:10px;margin:35px 0}.article-note a{color:#145a9f;font-weight:750}.article-back{display:inline-block;margin-top:22px;color:#145a9f;font-weight:700}.card img{width:100%;height:170px;object-fit:cover;border-radius:7px;margin-bottom:14px}.footer{background:#112d50}.top{background:#153b67}@media(max-width:800px){.editorial-grid{grid-template-columns:1fr}.article-hero{height:230px}.content{padding-top:26px}.page-head{padding:30px 0}}

/* 2.4 — compact beeld, ritmische redactionele lay-out */
.hero-art:before{display:none}.hero-art img{object-position:center 43%}
.editorial-list{display:grid;grid-template-columns:1fr;gap:22px;max-width:1050px;margin:auto}
.editorial-list .editorial-card{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:stretch;min-height:235px}
.editorial-list .editorial-card>a{display:block;min-height:235px;overflow:hidden}
.editorial-list .editorial-card img{width:100%;height:100%;min-height:235px;max-height:275px;object-fit:cover}
.editorial-list .editorial-card-body{padding:28px 34px;display:flex;flex-direction:column;justify-content:center}
.editorial-list .editorial-card h2{font-size:clamp(1.25rem,2vw,1.65rem);margin:0 0 8px}
.editorial-list .editorial-card p{margin:0 0 12px;line-height:1.6}
.editorial-list .editorial-card:nth-child(even)>a{order:2}
.editorial-list .editorial-card:nth-child(even){grid-template-columns:minmax(0,58%) minmax(0,42%)}
.cards .card img{height:155px;object-fit:cover}
.article-hero{height:clamp(210px,30vw,350px)}
@media(max-width:680px){.editorial-list .editorial-card,.editorial-list .editorial-card:nth-child(even){grid-template-columns:1fr}.editorial-list .editorial-card:nth-child(even)>a{order:0}.editorial-list .editorial-card>a{min-height:0}.editorial-list .editorial-card img{height:185px;min-height:0;max-height:185px}.editorial-list .editorial-card-body{padding:20px 22px}.hero-art{min-height:310px}}

/* 2.5 */
.hie-feature{padding:48px 0;background:#f3f7fc}.hie-topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px}.hie-topic{display:flex;flex-direction:column;gap:8px;background:white;border:1px solid #dce7f3;border-radius:8px;padding:20px}.hie-topic strong{font-size:1.12rem;color:#153c70}.hie-topic span{font-size:.94rem}.hie-topic .hie-more{color:#175ba2;font-weight:700;margin-top:auto}.editorial-list .editorial-card,.editorial-list .editorial-card:nth-child(even){grid-template-columns:minmax(0,30%) minmax(0,70%);min-height:0}.editorial-list .editorial-card:nth-child(even){grid-template-columns:minmax(0,70%) minmax(0,30%)}.editorial-list .editorial-card>a{min-height:0}.editorial-list .editorial-card img{height:185px;min-height:0;max-height:185px}.editorial-list .editorial-card.no-image{grid-template-columns:1fr}.article-hero{width:min(720px,92%);height:clamp(190px,26vw,290px)}.brand img{max-height:76px;max-width:280px}.content img{max-width:100%;height:auto}@media(max-width:680px){.editorial-list .editorial-card,.editorial-list .editorial-card:nth-child(even){grid-template-columns:1fr}.brand img{max-width:210px;max-height:60px}}
/* 2.5.1: keep sticky navigation below the WordPress admin toolbar */
body.admin-bar .header{top:32px}
@media(max-width:782px){body.admin-bar .header{top:46px}}
@media(max-width:600px){body.admin-bar .header{top:0}}
.hie-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.hie-topic{min-height:155px;text-decoration:none}
.hie-topic:hover{border-color:var(--accent);text-decoration:none}
@media(max-width:900px){.hie-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.hie-topic-grid{grid-template-columns:1fr}}

/* 2.6 */
.hie-topic{padding:16px;gap:6px;min-height:0}.hie-topic h3{margin:6px 0 0}.hie-topic p{margin:0 0 8px}.hie-topic-image{display:block;background:#f5f7fa;border-radius:6px;overflow:hidden}.cards .hie-topic-image img{display:block;width:100%;height:155px;object-fit:contain;margin:0}.hie-season{border:2px solid var(--accent)}.brand img{object-fit:contain;max-width:220px;max-height:65px}.hie-footer-logo{width:190px;max-width:100%;height:auto;background:white;border-radius:4px;padding:6px}.article-hero img{object-fit:contain;background:#f5f7fa}.hie-feature{padding:40px 0}@media(max-width:680px){.brand img{max-width:190px;max-height:55px}}

/* 2.7: compact editorial layout, no mismatched fallback photos */
.hie-feature{background:#f0f7f8}.hie-topic{padding:18px;gap:9px;border-radius:12px;min-height:210px}.hie-topic h3{line-height:1.25}.hie-topic-image{background:#edf5f6}.cards .hie-topic-image img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center}.hie-topic-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#e5f4f5;color:#087581;font-size:1.7rem;font-weight:700}.hie-season{border-color:#168895}.hie-topic .hie-more,.eyebrow{color:#087581}.hie-reading{display:flow-root;max-width:960px}.hie-reading-image{float:right;width:38%;margin:0 0 20px 28px}.hie-reading-image img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;border-radius:10px}.hie-reading .article-note{clear:both}.editorial-list .editorial-card.no-image{grid-template-columns:1fr}.editorial-list .editorial-card.no-image .editorial-card-body{padding:22px 28px}@media(max-width:680px){.hie-reading-image{float:none;width:100%;margin:0 0 20px}.hie-reading-image img{max-height:240px}.hie-topic{min-height:0}}

/* 2.8 */
.editorial-card h2 a,.hie-topic h3,.hie-more{color:#087581}.hie-gifts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;clear:both}.hie-gifts>div{border:1px solid #dce7e8;border-radius:10px;padding:16px}.hie-gifts h2{font-size:1.15rem;margin:0 0 8px}.hie-gifts strong{color:#087581}.hie-recycle{background:#edf7f5}.hie-reading p{line-height:1.75}.hie-reading h2{margin-top:1.5em}@media(max-width:540px){.hie-gifts{grid-template-columns:1fr}.cards .hie-topic-image img{max-height:160px}.hie-topic{padding:14px}}

.gift-photo{width:100%;height:190px;object-fit:contain;background:#f5f8fa;border-radius:8px}.hie-related a{color:var(--accent);text-decoration:underline}.hie-related{margin-top:2rem}.hie-gifts>div{align-content:start}.hie-topic-image img{aspect-ratio:16/10;object-fit:cover}.hie-reading h2{margin-top:1.6em}

/* 2.9 */
.hero-grid { min-height: 440px; }
.hero-copy { padding-block: 44px; }
.hero h1 { font-size: clamp(2.45rem, 5vw, 4.65rem); }
.hero-art { min-height: 385px; border-radius: 10px; overflow: hidden; }
.home .section { padding-block: clamp(32px, 5vw, 64px); }
.home .hie-feature { background: #f5f8fb; }
.hie-topic { box-shadow: none; }
.hie-topic h3 { color: #153c70; }
.cards .hie-topic-image img { height: 128px; aspect-ratio: auto; object-fit: contain; }
.home .photo-placeholder { min-height: 0; padding: 0; overflow: hidden; background: #edf4fb; }
.home .photo-placeholder img { display: block; max-height: 340px; }
.hie-reading-image.hie-course-image { float: none; width: min(100%, 760px); margin: 0 auto 24px; }
.hie-reading .hie-gifts h2 { margin: 0 0 8px; }
.hie-gifts .gift-photo { display: block; height: 200px; margin-bottom: 14px; }
.hie-gifts p { margin: 8px 0 0; }
#loopanalyse, #bezoek { scroll-margin-top: 128px; }
@media (max-width: 800px) {
  .hero-grid { min-height: 0; padding-bottom: 24px; }
  .hero-copy { padding-block: 32px 20px; }
  .hero-art { min-height: clamp(220px, 56vw, 365px); }
  .home .split { gap: 24px; }
  .home .cards { margin-top: 18px; }
}
