/*
Theme Name: Slapský kulturní spolek
Description: Program akcí a kronika spolku ve Slapech.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: slapsky-spolek
*/
:root{--ink:#193b34;--dark:#133b32;--paper:#fffdf8;--line:#cbd2c6;--sun:#f2c569;--muted:#4f6358;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font:100%/1.58 var(--sans);scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto}a{color:inherit;text-underline-offset:.23em}a:hover{text-decoration-thickness:2px}a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #ae592c;outline-offset:4px}.wrap{width:min(1180px,calc(100% - 9vw));margin-inline:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;top:1rem;background:white;padding:.5rem;z-index:5}header{border-bottom:1px solid var(--line)}.head{min-height:86px;display:flex;justify-content:space-between;align-items:center;gap:2rem}.brand{display:flex;align-items:center;gap:.7rem;color:var(--ink);text-decoration:none;font:bold 1.16rem/1.05 var(--serif)}.brand img{width:53px;height:53px;object-fit:contain;border-radius:50%}nav{display:flex;gap:clamp(.8rem,2.6vw,2.8rem);align-items:center}nav a{font-size:.95rem;font-weight:600;text-decoration:none}nav a:hover,.brand:hover{text-decoration:underline}.hero{background:var(--dark);color:#fffdf1;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6%;padding-block:clamp(2.5rem,5.6vw,5.3rem)}.eyebrow{display:flex;align-items:center;gap:.7rem;text-transform:uppercase;letter-spacing:.15em;font-size:.76rem;font-weight:700}.eyebrow i{display:inline-block;width:2rem;height:2px;background:#aa5c36}.hero .eyebrow{color:var(--sun)}.hero .eyebrow i{background:var(--sun)}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:clamp(3.6rem,6.8vw,6.55rem);line-height:.99;letter-spacing:-.057em;margin:.32em 0 .26em}h1 em{font-weight:400;color:var(--sun)}.hero p{max-width:29rem;font-size:clamp(1.05rem,1.5vw,1.25rem);color:#e4eae0}.button{display:inline-block;background:var(--sun);color:var(--ink);font-weight:700;padding:.7em 1.35em;border-radius:4px;margin-top:1.45rem;text-decoration:none}.button:hover{background:#ffe1a4}.hero-photo{position:relative;transform:rotate(2deg);padding:8px 8px 0;background:#fff9e9;box-shadow:.8rem .9rem 0 #0c2d26;margin:0 1rem}.hero-photo img{display:block;width:100%;aspect-ratio:1.58;object-fit:cover}.hero-photo figcaption{color:var(--ink);font:italic 1rem/1.8 var(--serif);text-align:right;padding-right:.4rem}.section{padding-block:clamp(3.4rem,6vw,5.7rem)}h2{font-size:clamp(2.5rem,4.4vw,4.3rem);line-height:1.07;letter-spacing:-.05em;margin:.2em 0 .52em}.program{border-top:2px solid var(--ink)}.event{display:grid;grid-template-columns:5.9rem 1fr;gap:clamp(1rem,3vw,2.8rem);border-bottom:1px solid var(--line);padding:1.6rem 0}.calendar{background:#f4e5c7;border-radius:3px;align-self:start;padding:.45rem .4rem;text-align:center;display:grid;line-height:1}.calendar b{font:400 2.85rem/1.08 var(--serif)}.calendar small,.kind{font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.calendar small{padding-bottom:.4em}.event h3{font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.14;letter-spacing:-.035em;margin:.16em 0}.event .meta{color:var(--muted)}.kind{color:#80502a}.event details{margin-top:.65rem}.event details p{max-width:44rem;margin:.6em 0}.event summary,.years summary{cursor:pointer}.event summary{font-weight:600;width:fit-content;text-decoration:underline;text-underline-offset:.2em}.about{background:#e9eee4;padding:clamp(3rem,6vw,6rem) 0}.about-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:8%;align-items:center}.album{position:relative;padding:0 16% 10% 0}.album img:first-child{width:100%;display:block;aspect-ratio:1.22;object-fit:cover}.album img+img{position:absolute;right:0;bottom:0;width:45%;aspect-ratio:1.3;object-fit:cover;border:5px solid var(--paper);transform:rotate(4deg)}.about p,.intro{max-width:43rem;color:#354f43}.about p+p{margin-top:.8em}.textlinks{margin-top:1.3rem;display:flex;gap:1.4rem;flex-wrap:wrap;font-weight:650}.intro{margin-bottom:1.7rem}.years details{border-top:1px solid var(--line)}.years details:last-child{border-bottom:1px solid var(--line)}.years summary{list-style:none;display:flex;align-items:center;gap:1rem;padding:.65rem .25rem;font:1.8rem var(--serif)}.years summary::-webkit-details-marker{display:none}.years summary::after{content:'+';margin-left:auto;font:1.6rem var(--sans)}.years details[open] summary::after{content:'−'}.years ul{margin:0 0 1.2rem;padding:0;list-style:none}.years li{display:flex;justify-content:space-between;gap:1.3rem;align-items:baseline;padding:.6rem .3rem;border-top:1px dotted var(--line)}.years li a{font-weight:550}.years li small{white-space:nowrap;color:var(--muted)}footer{background:var(--dark);color:#fff9ea;padding:3.4rem 0}.footgrid{display:grid;grid-template-columns:1fr 1fr;gap:8%}footer p{max-width:32rem}footer h2{font-size:2.7rem}footer address{font-style:normal;line-height:1.8}footer .legal{border-top:1px solid #678073;margin-top:2rem;padding-top:1rem;font-size:.9rem;display:flex;gap:1.2rem;flex-wrap:wrap}footer .eyebrow{color:var(--sun)}.article{max-width:52rem;min-height:40vh;padding-block:3.5rem}.article h1{font-size:clamp(2.5rem,4.6vw,4rem);margin:.4em 0}.article p,.article figure{margin:1em 0}.article iframe,.article video,.article embed{max-width:100%}.article a{overflow-wrap:anywhere}.article h2{font-size:2rem}.article .back{font-weight:650}.article ul li{margin:.6rem 0}.aligncenter{display:block;margin-inline:auto}.wp-caption{max-width:100%}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:720px){.head{padding:1rem 0;gap:.6rem;align-items:flex-start;flex-direction:column}nav{width:100%;justify-content:space-between;gap:.5rem}nav a{font-size:.9rem}.brand img{width:40px;height:40px}.hero-grid,.about-grid,.footgrid{grid-template-columns:1fr}.hero-grid{gap:2.4rem}.hero-photo{max-width:32rem}.about-grid{gap:2rem}.album{max-width:29rem;order:2}.event{grid-template-columns:4.6rem 1fr}.footgrid{gap:1.4rem}.wrap{width:90%}.years li{align-items:start}.years li small{white-space:normal;text-align:right}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
