/* Interactive buttons share the same pill shape. */
.t-body .t-records a.t-btn,
.t-body .t-records button.t-btn,
.t-body .t-records a.t-btnflex,
.t-body .t-records button.t-btnflex,
.t-body .t-records a.tn-atom:has(.tn-atom__button-content),
.t-body .t-records a.tn-atom .tn-atom__button-border,
.t-body .t-records button.t-submit { border-radius:999px !important; }

/* The shared contact block uses course copy on the training page. */
#rec764437215 .footer-learn-copy { display:none; }
body:has(#vb-lh1-hero) #rec764437215 .footer-learn-copy { display:inline; }
body:has(#vb-lh1-hero) #rec764437215 .footer-shoot-copy { display:none; }
@media (min-width:1200px) {
  #rec764437215 [data-elem-id="1795118100000000005"] h2 { max-width:940px; text-wrap:balance; }
  #rec764437215 [data-elem-id="1795118100000000006"] .tn-atom { max-width:650px; }
}

/* Buttons, including Zero Block links, older Tilda blocks and standalone CTAs. */
#allrecords :is(a,button,input):is(.t-btn,.t-btnflex,.t-submit,.t-btn_md,.t-btn_sm,.vb-la2__link,.vb-lh1__btn,.vb-lp3__btn,.vb-ls4__btn),
#allrecords a.tn-atom:has(> .tn-atom__button-content),
#allrecords a.tn-atom:has(> .tn-atom__button-content) > :is(.tn-atom__button-content,.tn-atom__button-border),
#allrecords a.tn-atom:has(> .tn-atom__button-content)::before,
#allrecords a.tn-atom:has(> .tn-atom__button-content)::after { border-radius:999px !important; }

/* Role chips in the header stay rectangular. */
#rec2408098861 [data-group-id="1782212207687000005"] a.tn-atom,
#rec2408098861 [data-group-id="1782212207687000005"] a.tn-atom > .tn-atom__button-content,
#rec2408098861 [data-group-id="1782212207687000005"] a.tn-atom > .tn-atom__button-border { border-radius:0 !important; }

/* Learn: the hard-coded 52px heading overflowed the phone screen and caused a horizontal scroll. */
@media (max-width: 959px) { #vb-sv3-title { font-size: 38px !important; } }
@media (max-width: 599px) { #vb-sv3-title { font-size: 29px !important; } }

/* Student works: the caption above the grid stacked badly and ran into the counter. */
@media (max-width: 599px) {
  .vb-g3k__group-head { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 11px; line-height: 1.45; }
  /* Collapsed grid stays a tight 2x2 on phones: two rows, the rest collapsed to zero height. */
  .vb-g3k__grid--collapsed { grid-template-rows: auto auto; grid-auto-rows: 0; overflow: hidden; }
  /* On phones the collapse button already sits next to the caption, so the frame count is noise. */
  .vb-g3k__group-head span:last-child { display: none !important; }
}

/* Student works: the button promises "all frames", but a shoot has more frames than are worth showing. */
.vb-g3k__more { font-size: 0 !important; line-height: 0 !important; }
.vb-g3k__more::after {
  content: "Показать ещё";
  font-family: var(--t-text-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}
.vb-g3k__more[aria-expanded="true"]::after { content: "Свернуть"; }

/* Price tabs are cards, not pills. */
#rec6048574301 .vb-p7h__chip,
#rec6048574301 .vb-p7h__chip:hover { border-radius: 0 !important; }

#rec6015450001 [data-group-id="1795117000000000027"] { display:none !important; }
#rec6015450001 a.tn-group:is([href="/wedding"],[href="/events"],[href="/portrait"]) { cursor:pointer; transition:transform .22s ease,filter .22s ease; }
#rec6015450001 a.tn-group:is([href="/wedding"],[href="/events"],[href="/portrait"]):focus-visible { outline:2px solid #37d15d; outline-offset:3px; }
#rec6015450001 a.tn-group:is([href="/wedding"],[href="/events"],[href="/portrait"]):active { transform:scale(.985); }
@media (hover:hover) and (pointer:fine) {
  #rec6015450001 a.tn-group:is([href="/wedding"],[href="/events"],[href="/portrait"]):hover { transform:translateY(-5px); filter:brightness(1.13); }
}
@media(prefers-reduced-motion:reduce) {
  #rec6015450001 a.tn-group:is([href="/wedding"],[href="/events"],[href="/portrait"]) { transition:none; }
  #rec6015450001 a.tn-group:is([href="/wedding"],[href="/events"],[href="/portrait"]):is(:hover,:active) { transform:none; }
}
