/*
Theme Name: ФТАМ · Клуб у помоста
Description: Сайт ветеранов Федерации Тяжёлой Атлетики Москвы
Template: twentytwentyfive
Version: 0.4
*/
body{background:var(--paper);color:var(--ink);font:17px/1.45 var(--body)}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0}
.news-list{padding-block:24px 10px}
.news-list h2,.story h1,.list-title,.newsletter h2{font:650 clamp(30px,4vw,48px)/1.15 var(--display);margin:0 0 .4em}
.news-list ul,.story-list{padding:0;list-style:none}
.news-list li,.story-list li{padding:10px 0;border-bottom:1px solid var(--line)}
.news-list time,.story-list time,.story time,.demo-tag{display:block;font-size:.86rem;color:#526067}
.story,.listing{padding-block:28px;min-height:45vh}
.story .reading{max-width:790px}
.reading p{margin:1em 0;font:1.14rem/1.55 var(--serif)}
.reading img,.ftam-album img{height:auto}
.reading figure{margin-inline:0}
.ftam-album{margin-block:18px}
.ftam-album .photo-stage{width:100%;height:auto;max-height:65vh;aspect-ratio:4/3}
.ftam-album .photo-stage img{width:100%;height:100%;min-height:0;object-fit:contain}
.ftam-album .photo-stage button:first-child{display:grid;place-items:center;width:100%;height:100%;min-height:0;touch-action:pan-y pinch-zoom}
.ftam-album .thumb-row{max-width:500px}
.ftam-album .thumb-row button{min-height:44px}
.ftam-album .lightbox-frame img{height:100%;width:100%;object-fit:contain}
.ftam-album .lightbox-frame{touch-action:pan-y pinch-zoom}
.ftam-album .caption{min-height:1.5em}
.newsletter{border-top:2px solid var(--navy);padding:20px 0}
.newsletter input[type=email]{max-width:100%;padding:.55em;border:1px solid #516067}
.newsletter .mailpoet_form{max-width:600px}
.newsletter .mailpoet_text{width:min(100%,340px);min-height:44px;margin-top:4px;border-radius:3px}
.newsletter .mailpoet_submit{min-height:44px;padding:8px 22px;border:0;border-radius:3px;background:var(--navy);color:#fff;cursor:pointer;font-weight:650}
.newsletter .mailpoet_submit:hover{background:#145468}
.newsletter .mailpoet_submit:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
.foot{border-top:1px solid var(--line)}
.feature-body>.demo-tag{margin-left:22px}
.album-reading .rubric{justify-self:start}
@media(min-width:810px){
 .story .album-reading:has(.ftam-album:only-of-type){display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(25px,4vw,64px);align-content:start;align-items:start;max-width:none}
 .album-reading:has(.ftam-album:only-of-type)>*{grid-column:1}
 .album-reading:has(.ftam-album:only-of-type)>.ftam-album{grid-column:2;grid-row:1 / span 12;margin:0}
}
@media(max-width:680px){.feature-body>.demo-tag{margin-left:0}}
.wp-site-blocks .masthead a,.wp-site-blocks .archive-strip a,.wp-site-blocks .feature a,.wp-site-blocks .foot a{color:inherit}
.wp-site-blocks .feature .story-link{color:var(--rust)}
@media(max-width:680px){.nav-row.open .header-search{display:flex;width:100%;margin-top:6px}.archive-strip>a.subscribe{display:inline-flex;width:auto}}

.flag-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #102b44;
}
.flag-banner::before, .flag-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.flag-banner::before {
  inset: -5% -2%;
  background: url("assets/flag.webp") center / 100% 100% no-repeat;
  transform-origin: left center;
}
.flag-banner::after {
  background: linear-gradient(90deg, #10233bf5 0%, #10233be8 32%, #10233bc9 49%, transparent 78%);
}
.flag-banner .brand-row { min-height: 116px; padding-block: 12px; }
.flag-banner .issue-date, .flag-banner .mobile-menu { background: #132c46; border-radius: 4px; }
.flag-banner .issue-date { padding: 5px 10px; }
@keyframes ftam-flag-wave {
  0%, 100% { transform: translateX(0) skewY(0); }
  34% { transform: translateX(-.7%) skewY(.34deg); }
  72% { transform: translateX(.6%) skewY(-.27deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .flag-banner::before { animation: ftam-flag-wave 4.8s ease-in-out 1; }
}
@media (max-width: 680px) {
  .flag-banner .brand-row { min-height: 94px; padding-block: 9px; }
  .flag-banner::after { background: linear-gradient(90deg, #10233bf5 0%, #10233be8 42%, #10233bbd 63%, transparent 86%); }
}



/* The archived Wix composition occupies a centred 937 px canvas. */
body.home { padding-top: 0; }
.wix-home { color: #06345b; }
.wix-marble { background: #eeedeb url("assets/wix-marble.webp") center top / max(230%, 2100px) auto repeat-y; }
.wix-shell { container-type: inline-size; max-width: 937px; margin-inline: auto; }
.wix-tools,.wix-stage { position: relative; }
.wix-tools { height: 25.83cqw; font-family: "Times New Roman",serif; }
.wix-anthem { position: absolute; top: 1.7cqw; left: 3.7%; display: flex; align-items: flex-start; gap: 3.8cqw; }
.wix-anthem a { text-decoration: underline; font: italic 2cqw/1.2 "Times New Roman",serif; }
.anthem-toggle { width: 3.85cqw; aspect-ratio: 1; border-radius: 5px; box-shadow: inset 0 1px 5px white; color: white; background: #b8aead; font: bold 15px/1 sans-serif; }
.wix-house { position: absolute; left: 3.7%; top: 12.7cqw; width: 5.8%; aspect-ratio: 1; border-radius: 50%; background: #06345b; display:grid; place-items:center; }
.wix-house img { width: 53%; }
.wix-links { position: absolute; inset: 8.2cqw 7.25% auto 10.7%; display:grid; grid-template-columns: auto auto auto; justify-content: space-between; align-items:center; row-gap: 2.7cqw; }
.wix-links a { white-space: nowrap; width: max-content; justify-self:center; display:flex; align-items:center; justify-content:center; gap: 1cqw; height:5.75cqw; padding-inline:.9cqw; color:#082e51; border:2px solid currentColor; border-radius:4px; text-decoration:none; font: bold italic 3.14cqw/1 "Times New Roman",serif; }
.wix-links a:first-child,.wix-links a:nth-child(4){justify-self:start;}
.wix-links a:last-child{justify-self:end; padding-inline:1.7cqw;}
.wix-links img {width:4.1cqw;height:4.1cqw;object-fit:contain;}
.wix-links a:hover { background:#fff9; }
.wix-rule { height:2px; background:#397bad; position:relative; }
.wix-rule::after { content:"";position:absolute;z-index:2;left:49.2%;top:50%;transform:translate(-50%,-50%);width:4.8cqw;height:5.9cqw;background:url("assets/wix-shield.webp") center/contain no-repeat; }
.wix-stage { height:49.1cqw; }
.plate-nav {position:absolute;top:7.05cqw;bottom:.6cqw;left:4.1%;width:9.45%;display:flex;flex-direction:column;justify-content:space-between;align-items:center;}
.plate-nav:nth-of-type(2){left:84.95%;top:6.05cqw;bottom:1.5cqw;}
.plate-nav a{display:grid;place-items:center;width:100%;height:12.85cqw;}
.plate-nav img{height:100%;width:100%;object-fit:contain;}
.plate-nav span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
.portrait-deck {position:absolute;left:14.25%;right:15.6%;top:6.75cqw;height:39.2cqw;touch-action:pan-y pinch-zoom;}
.portrait {margin:0;}
.portrait[hidden]{display:none;}
.athlete-photo {display:block;width:47.6cqw;height:31.7cqw;object-fit:contain;margin-left:11.8cqw;filter:drop-shadow(0 2px 2px #0005);}
.portrait figcaption {padding-top:1.1cqw;padding-right:9.2cqw;color:#2376b2;font: 2cqw/1.1 "Times New Roman",serif;}
.portrait figcaption strong,.portrait figcaption em{display:block;}
.portrait figcaption em {font-size:1.55cqw;line-height:1.18;margin-top:.25cqw;}
.portrait-controls {position:absolute;right:0;top:32.1cqw;display:flex;align-items:center;color:#1c659e;font:12px/1 Arial,sans-serif;}
.portrait-controls button {min-width:24px;height:38px;font:20px/1 Georgia,serif;}
.portrait-play {position:absolute;top:1cqw;right:12cqw;background:#143753;color:white;border-radius:3px;width:36px;height:36px;opacity:0;}
.portrait-deck:hover .portrait-play,.portrait-deck:focus-within .portrait-play{opacity:1;}
.home-columns {padding: 3.7cqw 2.4cqw 25px;}
.home-columns .news-list{padding:0 0 24px;}
.home-columns .news-list h2 {color:#111;text-align:center;margin:0;font:bold italic 4.7cqw/1.2 "Times New Roman",serif;}
.home-columns .story-list {margin:2px 0;background:#fffc;padding:8px 18px;}
@media(min-width:611px) {
 .wix-links{display:block;height:14.3cqw;}
 .wix-links a{position:absolute;top:0;}
 .wix-links a:nth-child(1){left:0;width:19.96cqw;}
 .wix-links a:nth-child(2){left:23.05cqw;width:28.4cqw;}
 .wix-links a:nth-child(3){right:0;width:27.55cqw;}
 .wix-links a:nth-child(n+4){top:8.43cqw;}
 .wix-links a:nth-child(4){left:0;width:19.96cqw;justify-content:flex-start;}
 .wix-links a:nth-child(5){left:26.8cqw;width:23.55cqw;}
 .wix-links a:nth-child(6){right:0;width:24.65cqw;padding-inline:.4cqw;}
 .plate-nav,.plate-nav:nth-of-type(2){top:0;bottom:0;width:9.5%;left:4.1%;}
 .plate-nav:nth-of-type(2){left:85.2%;}
 .plate-nav a {position:absolute;display:block;}
 .plate-nav a:nth-child(1){top:7.05cqw;left:.53cqw;width:8.75cqw;height:12.8cqw;}
 .plate-nav a:nth-child(2){top:21.13cqw;left:0;width:8.96cqw;height:13.34cqw;}
 .plate-nav a:nth-child(3){top:35.97cqw;left:.85cqw;width:8.22cqw;height:12.6cqw;}
 .plate-nav:nth-of-type(2) a:nth-child(1){top:6.08cqw;left:0;width:8.75cqw;height:12.7cqw;}
 .plate-nav:nth-of-type(2) a:nth-child(2){top:19.75cqw;left:.1cqw;width:8.65cqw;height:12.6cqw;}
 .plate-nav:nth-of-type(2) a:nth-child(3){top:35.12cqw;left:.32cqw;width:8.11cqw;height:12.6cqw;}
 .wix-tools .wix-house img{filter:drop-shadow(0 0 1px #fff);}
}
@media(max-width:610px) {
 .wix-tools{height:auto;padding:12px 10px 25px;}
 .wix-anthem,.wix-links{position:static;}
 .wix-anthem{align-items:center;gap:12px;margin-bottom:12px;}
 .anthem-toggle{width:32px;}
 .wix-anthem a{font-size:16px;}
 .wix-house{display:none;}
 .wix-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
 .wix-links a,.wix-links a:last-child{width:100%;height:42px;padding:2px;font-size:clamp(15px,4.4vw,22px);gap:5px;}
 .wix-links img{width:24px;height:24px;}
 .wix-stage{height:63cqw;min-height:220px;}
 .plate-nav,.plate-nav:nth-of-type(2){top:6cqw;bottom:3cqw;}
 .plate-nav a{height:15.5cqw;min-width:44px;min-height:44px;}
 .portrait-deck{left:16%;right:16%;height:auto;}
 .athlete-photo{width:100%;height:40cqw;margin:0;}
 .portrait figcaption{font-size:14px;padding-right:58px;}
 .portrait figcaption em{font-size:11px;}
 .portrait-controls{top:40cqw;right:-2px;font-size:10px;}
 .portrait-controls button{min-width:20px;height:32px;}
 .portrait-play{right:2px;width:28px;height:28px;}
 .home-columns .news-list h2{font-size:31px;}
}




.club-feed{margin:1rem auto 2rem;text-align:left;background:#fffdf7;color:#252926;padding:clamp(1rem,3vw,2.5rem)}
.club-feed h2{margin:0 0 1rem}.club-edition{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(1rem,3vw,3rem)}.club-edition:has(.club-briefs:empty){grid-template-columns:1fr}
.club-lead img{width:100%;height:auto;max-height:22rem;object-fit:cover;display:block;margin-bottom:1rem}
.club-feed h3{margin:.35rem 0 .65rem;line-height:1.15;overflow-wrap:anywhere}.club-lead h3{font-size:clamp(1.55rem,3vw,2.6rem)}.club-feed a,.competition-info a{color:#693626;text-underline-offset:.18em}
.club-briefs article{padding:.8rem 0;border-top:1px solid #bcb2a5}.club-feed time,.club-feed small{font:600 .88rem/1.4 system-ui}.competition-info{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem 1rem;border-inline-start:3px solid #8a5436;padding:.75rem 1rem;margin:.75rem 0;background:#f6f2e8;color:#252926}
.club-feed a:focus-visible,.competition-info a:focus-visible{outline:3px solid currentColor;outline-offset:3px}@media(max-width:680px){.club-edition{grid-template-columns:1fr}}
