/*
Theme Name: BASFILM — wersja 2
Author: BASFILM
Description: Dedykowany motyw w kodzie na podstawie zaakceptowanego projektu BASFILM. Strona główna, portfolio 16 filmów, cztery usługi i formularz kontaktowy. Bez kreatora stron i bez importu bazy danych.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: basfilm-v2
*/

/* Style projektu są w assets/base.css, v2.css i inquiry.css. */
/* Keep each service's content in one column, including the tablet breakpoint. */
.offer-grid.offer-v2.offer-four article { grid-template-columns:minmax(0,1fr); }
body.admin-bar .site-header { top: 32px; }
body.admin-bar { --wp-admin-offset:32px; }
html:has(body.admin-bar) { scroll-padding-top:142px; }
.basfilm-privacy { padding-bottom:22px; font-size:14px; text-align:center; }
.basfilm-privacy a { text-decoration:underline; text-underline-offset:4px; }
.basfilm-content { min-height:65vh; padding:80px 0; }
.basfilm-content .entry-content { max-width:860px; margin:34px auto 0; }
.basfilm-content h1 { font-family:var(--serif); font-size:clamp(36px,5vw,64px); }
.basfilm-content h2 { font-size:clamp(28px,3vw,40px); margin:1.3em 0 .6em; }
.basfilm-content .entry-content a { text-decoration:underline; text-underline-offset:3px; }
.basfilm-content .entry-content img { height:auto; }
.basfilm-content article + article { border-top:1px solid var(--line); margin-top:35px; padding-top:35px; }
@media(max-width:782px){
  body.admin-bar .site-header{top:46px;}
  html:has(body.admin-bar){scroll-padding-top:156px;}
}
@media(max-width:600px){
  /* WordPress's mobile admin bar scrolls away; the site header stays sticky. */
  body.admin-bar .site-header{top:0;}
  .basfilm-content{padding:48px 0;}
}
