/*
Theme Name: Mountain Test
Author: Mountain Test
Description: Autorska strona Tomka: narty, rowery i Po trasie. PL / DE / EN. Edycja w Wygląd → Dostosuj.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mountain-test
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--ink:#16191d;--muted:#5b6168;--orange:#ff6a00;--accent:#c94d00;--paper:#f3f5f6;--line:#dce0e3;--width:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.7}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid var(--orange);outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.09;letter-spacing:-.045em}h1{font-size:clamp(42px,6.4vw,86px);margin-bottom:25px}h2{font-size:clamp(30px,3.5vw,46px);margin-bottom:24px}h3{font-size:29px}p{margin-bottom:20px}.wrap{max-width:var(--width);margin:auto;padding-left:30px;padding-right:30px}.section{padding-top:76px;padding-bottom:76px}.eyebrow{text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:800;letter-spacing:.17em;margin-bottom:16px}.light{color:#ffb279}.site-header{background:white;border-bottom:1px solid #eee;position:sticky;top:0;z-index:50}.header-inner{max-width:1400px;min-height:90px;margin:auto;padding:10px 30px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:900;line-height:1.1;letter-spacing:.015em;margin-right:auto;flex-shrink:0}.brand img{width:68px;height:68px;object-fit:contain;border-radius:50%}.brand-test{display:block;letter-spacing:.19em;color:var(--accent);font-size:14px;margin-top:5px}#navigation{display:flex;align-items:center;gap:23px;font-size:14px;font-weight:700}.languages{display:flex;gap:11px;font-size:12px;flex-shrink:0;font-weight:700}.languages a[aria-current]{color:var(--accent);border-bottom:2px solid var(--orange)}.menu-toggle{display:none}.hero{position:relative;min-height:570px;display:flex;align-items:center;background:#243341;color:white;overflow:hidden}.hero-image{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 55%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,16,24,.86),rgba(7,16,24,.42) 55%,rgba(7,16,24,.06))}.hero-content{position:relative;width:100%;padding-top:65px;padding-bottom:65px}.hero h1{max-width:700px}.hero-intro{font-size:21px;max-width:490px;line-height:1.55;margin-bottom:30px}.hero-caption{position:absolute;right:24px;bottom:14px;font-size:10px;letter-spacing:.08em;color:white;text-shadow:0 1px 4px black}.button{background:var(--orange);color:#151515;display:inline-flex;align-items:center;justify-content:center;gap:25px;padding:14px 22px;line-height:1.4;border-radius:3px;font-weight:800;font-size:15px;transition:background .2s,transform .2s}.button:hover{background:#ff892e;color:#111;transform:translateY(-2px)}.arrow{display:inline-block;width:12px;height:12px;border-top:2px solid currentColor;border-right:2px solid currentColor;position:relative;flex-shrink:0}.arrow:after{content:'';position:absolute;width:16px;height:2px;top:4px;right:-3px;background:currentColor;transform:rotate(-45deg)}.about{display:grid;grid-template-columns:1fr 1.05fr;gap:58px;align-items:center}.about-photo img{width:100%;height:450px;object-fit:cover;object-position:center;border-radius:5px}.about .lead{font-size:23px;line-height:1.5;font-weight:700}.about p:not(.lead):not(.eyebrow){color:var(--muted)}.about .season-note{font-weight:700;border-left:3px solid var(--orange);padding-left:15px}.base{display:inline-block;font-size:13px;background:var(--paper);padding:9px 13px;border-radius:3px;margin-bottom:0}.film-section{background:#eaf0f3}.film-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;margin-top:42px;max-width:880px;margin-left:auto;margin-right:auto}.video-shell{aspect-ratio:9/16;max-width:265px;width:100%;justify-self:center;overflow:hidden;border-radius:8px;background:#182730;box-shadow:0 20px 45px #122c3b24}.video-shell iframe{width:100%;height:100%;border:0;display:block}.video-load{padding:0;border:0;width:100%;height:100%;display:block;position:relative;background:#182730;color:white}.video-load:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#07131c99)}.video-load img{width:100%;height:100%;object-fit:cover}.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;width:70px;height:70px;display:grid;place-items:center;z-index:2;background:#1116}.play:after{content:'';border-left:19px solid white;border-top:12px solid transparent;border-bottom:12px solid transparent;margin-left:5px}.video-badge,.video-label{position:absolute;left:0;right:0;text-align:center;z-index:2}.video-badge{top:25px;font-weight:800;letter-spacing:.13em;font-size:13px}.video-label{bottom:24px;font-weight:700}.film-copy h3{font-size:clamp(34px,4vw,53px)}.film-copy p{color:#495761}.small{font-size:12px;line-height:1.55;color:var(--muted);margin-top:20px}.text-link{font-weight:700;color:var(--accent);font-size:14px;text-underline-offset:4px}.text-link:hover{text-decoration:underline}.cards{display:grid;gap:24px;margin-top:32px}.seasons{grid-template-columns:repeat(2,1fr)}.photo-card{min-height:330px;position:relative;overflow:hidden;border-radius:5px;background:#24333d;color:white;display:flex;align-items:flex-end}.photo-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}.photo-card:after{position:absolute;inset:0;content:'';background:linear-gradient(transparent 15%,rgba(0,0,0,.83))}.photo-card:hover{color:white}.photo-card:hover>img{transform:scale(1.035)}.card-copy{z-index:1;position:relative;padding:28px;width:100%}.card-copy h3{margin-bottom:12px;display:flex;justify-content:space-between;gap:8px;align-items:center}.card-copy h3 span{color:#ff9d4f}.card-copy p{font-size:14px;line-height:1.5;margin-bottom:0;max-width:320px}.after-section{background:var(--paper)}.section-intro{color:var(--muted);max-width:660px}.after-cards{grid-template-columns:repeat(3,1fr)}.after-cards .photo-card{min-height:355px}.after-cards .card-copy{padding:23px}.after-cards h3{font-size:26px}.after-cards .photo-card:last-child img{object-position:57% center}footer{background:#171b20;color:#fff}footer a:hover{color:#ffab6f}.footer-top{padding-top:60px;padding-bottom:50px;display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:35px}.footer-logo{border-radius:50%;width:110px}.footer-top h2{font-size:32px;margin-bottom:12px}.footer-top p{color:#bfc6ce;font-size:14px;margin-bottom:12px}.mail{font-size:20px;font-weight:700;color:#ffa15e}.footer-links{display:flex;flex-direction:column;gap:10px;font-size:14px}.footer-bottom{border-top:1px solid #363b40;padding-top:20px;padding-bottom:24px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#bfc6ce}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.post-card img{aspect-ratio:4/3;object-fit:cover;width:100%;border-radius:4px;margin-bottom:20px}.post-card h3{font-size:25px}.post-card .eyebrow{margin-top:20px}.archive-main{min-height:60vh}.archive-main h1{font-size:clamp(38px,5vw,64px);margin-top:32px}.empty{background:var(--paper);padding:36px;border-radius:5px;max-width:800px}.reading{max-width:850px;min-height:50vh}.reading h1{font-size:clamp(36px,5vw,58px);margin-top:30px}.reading img{border-radius:5px}.entry-content{margin-top:30px;overflow-wrap:anywhere}.entry-content a{color:var(--accent);text-decoration:underline}.entry-content iframe{max-width:100%}.entry-content figure{max-width:100%;margin-left:0;margin-right:0}.entry-content table{border-collapse:collapse;max-width:100%}.entry-content th,.entry-content td{border:1px solid var(--line);padding:8px}.entry-content blockquote{border-left:4px solid var(--orange);margin-left:0;padding-left:20px}.navigation.pagination{margin-top:40px}.page-numbers{padding:10px}.skip{position:fixed;left:12px;top:-100px;z-index:99;background:#fff;padding:12px}.skip:focus{top:12px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body.admin-bar .site-header{top:32px}
@media(min-width:1500px){.hero{min-height:650px}}
@media(max-width:1100px){.header-inner{gap:20px;padding:10px 20px}#navigation{gap:14px;font-size:12px}.brand{font-size:14px}.brand img{width:58px;height:58px}.after-cards h3{font-size:23px}.about{gap:30px}.card-copy{padding:22px}}
@media(max-width:850px){.header-inner{min-height:78px;flex-wrap:wrap;gap:16px}.brand{font-size:13px}.brand img{width:52px;height:52px}.menu-toggle{display:flex;gap:8px;align-items:center;background:none;border:1px solid var(--line);border-radius:3px;padding:7px 10px;font-size:12px}#navigation{display:none;order:4;width:100%;padding:12px 0 16px;flex-wrap:wrap;gap:20px;font-size:14px}#navigation.is-open{display:flex}.about{grid-template-columns:1fr 1fr;gap:28px}.about-photo img{height:420px}.about .lead{font-size:20px}.about p{font-size:15px}.after-cards{gap:15px}.after-cards .card-copy{padding:18px}.after-cards .photo-card{min-height:330px}.after-cards h3{font-size:22px}.film-layout{gap:40px}.footer-top{grid-template-columns:80px 1fr;gap:25px}.footer-logo{width:80px}.footer-links{grid-column:2;flex-direction:row;flex-wrap:wrap}.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wrap{padding-left:22px;padding-right:22px}.section{padding-top:50px;padding-bottom:50px}.header-inner{padding:10px 15px;gap:12px}.brand{gap:7px;font-size:11px}.brand-test{font-size:10px}.brand img{width:45px;height:45px}.languages{gap:8px;font-size:11px}.menu-toggle{font-size:11px;padding:6px 8px}.hero{min-height:550px}.hero-content{padding-top:70px;padding-bottom:70px}.hero h1{max-width:350px;font-size:52px}.hero-intro{font-size:18px;max-width:330px}.hero-shade{background:linear-gradient(90deg,#071018dc,#07101855)}.hero-image{object-position:60% center}.about{grid-template-columns:1fr;gap:30px}.about-photo img{height:auto;aspect-ratio:4/3;object-fit:cover}.about .lead{font-size:22px}.about p{font-size:16px}.film-layout{grid-template-columns:1fr;gap:30px}.video-shell{max-width:235px}.film-copy{text-align:center}.film-copy h3{font-size:37px}.film-copy .button{font-size:14px;gap:12px}.seasons,.after-cards{grid-template-columns:1fr;gap:18px}.photo-card,.after-cards .photo-card{min-height:300px}.after-cards h3{font-size:28px}.card-copy,.after-cards .card-copy{padding:25px}.footer-top{grid-template-columns:1fr;text-align:center;gap:25px}.footer-logo{margin:auto;width:95px}.footer-top h2{font-size:29px}.mail{font-size:18px}.footer-links{grid-column:auto;justify-content:center}.footer-bottom{flex-wrap:wrap;justify-content:center;font-size:10px}.post-grid{grid-template-columns:1fr}.empty{padding:25px}body.admin-bar .site-header{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
