/*
Theme Name: Найди минуты
Author: Dashline (Дарья Макарова)
Author URI: https://dashline.name/
Version: 0.1.7
Text Domain: naydi-minuty
*/
:root{--paper:#f9f5e9;--ink:#24262b;--yellow:#f5ce46;--coral:#f17b64;--mint:#6abfa8;--blue:#5478ce;--lilac:#ac92d8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 system-ui,sans-serif}a{color:inherit}img{max-width:100%;height:auto}header,main,footer{max-width:1280px;margin:auto;padding:28px 5%}header{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:1px solid #24262b33}.brand{font-size:27px;font-weight:850;text-decoration:none;letter-spacing:-1px}nav{display:flex;gap:20px;flex-wrap:wrap}nav li{list-style:none}nav a{text-decoration:none;font-size:15px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;align-items:center;background:var(--yellow);padding:clamp(25px,5vw,65px);border-radius:8px}h1,h2,h3{line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(44px,6vw,86px);margin:16px 0}h2{font-size:clamp(30px,4vw,48px)}h3{font-size:24px}.eyebrow{font-size:12px;letter-spacing:.15em;text-transform:uppercase;font-weight:750}.button{display:inline-block;background:var(--ink);color:white;padding:12px 20px;border-radius:30px;text-decoration:none;font-weight:650}.hero figure,figure{margin:0}.hero img,.art img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#ffffff36}figcaption{font-size:12px;margin-top:8px}.tiles,.art,.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tile,.post-card{padding:26px;border-radius:8px;min-height:180px}.tile:nth-child(6n+1){background:var(--coral)}.tile:nth-child(6n+2){background:var(--mint)}.tile:nth-child(6n+3){background:var(--lilac)}.tile:nth-child(6n+4){background:var(--yellow)}.tile:nth-child(6n+5){background:#b8c8ee}.tile:nth-child(6n){background:#efd0b6}.tile a{text-decoration:none}.offer{margin:48px 0;background:var(--mint);padding:40px;border-radius:8px}.post-card{border:1px solid #24262b33}.reading{max-width:800px;margin:auto}.clock{display:inline-grid;place-items:center;width:34px;height:34px;border:2px solid;border-radius:50%;vertical-align:middle;margin-right:8px}.clock svg{width:28px;height:28px}footer{border-top:1px solid #24262b33;font-size:14px}section{margin-bottom:45px}@media(max-width:760px){.hero,.tiles,.art,.posts{grid-template-columns:1fr}header{gap:10px}nav{gap:12px}.offer{padding:24px}}a:focus-visible{outline:3px solid #24262b;outline-offset:4px}

.weekly-art{background:#e4d8f4;padding:clamp(20px,4vw,48px);border-radius:8px}.weekly-art-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}.weekly-art img{width:100%;max-height:480px;object-fit:contain;background:#ffffff55}.tile:nth-child(7){background:#f3b9d5}@media(max-width:760px){.weekly-art-grid{grid-template-columns:1fr}}

.nm-art-meta{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:.5rem 1rem}.nm-art-meta dt{font-weight:bold}.nm-art-meta dd{margin:0}.reading img{max-width:100%;height:auto}

.home-art .art figure{min-width:0}.home-art .art img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#ede6d6}.hero img{aspect-ratio:auto;max-height:480px;object-fit:contain;display:block}.home-art figcaption{font-size:14px}
