/* Układ telefonu dla Ciepłej Fary. Rozmiary fontów: typography.css.
   Wysokości wynikają z treści; nie ściskamy napisu przy logo w stałej belce. */
@media(max-width:900px){
 .container{width:calc(100% - 32px)}
 html[data-contrast] .masthead,.masthead{
  display:grid;grid-template-columns:minmax(0,1fr) 36px 36px;
  gap:10px 8px;height:auto;min-height:0;padding:0 0 12px;
 }
 .masthead .brand{grid-column:1;grid-row:2;gap:8px;align-items:center;min-width:0}
 .masthead .brand>img{width:40px;height:46px}
 .masthead .brand>span{min-width:0}
 .masthead .brand small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .masthead .brand strong{line-height:1.3;letter-spacing:-.02em;margin:0;overflow-wrap:normal}
 .masthead .brand>span>span{line-height:1.3;letter-spacing:.08em;margin-top:4px}
 html[data-contrast] .contrast-bar{display:block;position:static;grid-column:2;grid-row:2}
 html[data-contrast] .contrast-toggle{width:36px;min-height:36px;padding:8px;gap:0}
 .masthead .mobile-menu{grid-column:3;grid-row:2;margin:0;width:36px;height:36px;padding:8px;align-items:center}
 .masthead .header-links{display:flex;position:static;grid-column:1/-1;grid-row:1;margin:0 -16px;padding:2px 16px;justify-content:flex-end;background:var(--paper);border-bottom:1px solid var(--line)}
 .masthead .header-links .address-link,.masthead .header-links .search-mini{display:none}
 .masthead .camera-button{min-height:28px;padding:3px 8px;gap:6px;line-height:1.4;background:transparent;border-radius:3px}
 .masthead .camera-button .status-dot{display:none}
 .masthead .camera-button .icon{width:14px;height:14px}
 .navigation{padding:8px 16px 16px;max-height:calc(100dvh - 200px)}
 .navigation>a,.nav-trigger{line-height:1.5;padding-block:10px}
 .navigation .dropdown{background:transparent;border:0;border-left:1px solid var(--line);border-radius:0;box-shadow:none;margin:0 0 8px 12px;padding:0 0 0 12px;gap:12px;width:auto;max-width:none;grid-template-columns:1fr}
 .navigation .nav-section-link{font-size:1.6rem}
 .navigation .dropdown .dropdown-heading{font-size:1.4rem;line-height:1.5;letter-spacing:.04em;margin-bottom:4px}
 .navigation .dropdown a:hover{transform:none}
 .dropdown a{line-height:1.5;padding-block:8px}

}
@media(max-width:600px){
 .slider{min-height:0;height:auto}
 .slide-content{padding-top:32px;padding-bottom:116px}
 .eyebrow.light{line-height:1.4;letter-spacing:.1em;gap:8px}
 .eyebrow.light>span{width:16px;flex:none}
 .slide h1,.slide h2{line-height:1.2;letter-spacing:-.025em;margin:16px 0}
 .slide-content p{line-height:1.6;margin-bottom:20px}
 .hero-button{min-height:44px;padding:10px 14px;gap:10px}
 .slider-bottom{bottom:48px}
 .slider-controls{gap:10px}
 .slider-controls button{width:36px;height:36px}
 .quick-cards{margin-top:-24px;gap:12px}
 .quick-card{padding:18px;min-height:0}
 .quick-top{gap:10px;justify-content:space-between}
 .icon-tile{width:32px;height:32px;border-radius:7px}
 .icon-tile .icon{width:20px;height:20px}
 .small-label{line-height:1.4;letter-spacing:.06em;text-align:right}
 .quick-card h2{line-height:1.3;margin:12px 0 8px;letter-spacing:-.025em}
 .quick-card>p{line-height:1.6}
 .quick-card .quick-emphasis{margin-bottom:6px}
 .card-link{margin-top:14px;padding-top:12px;gap:12px;line-height:1.5}
 .mass-line{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;margin-top:8px}
 .mass-line>span{min-width:0;padding:0;line-height:1.6}
 .mass-line>strong{line-height:1.6}
 .mass-details{margin-top:14px}
 .mass-details summary{padding-top:12px;line-height:1.5;gap:12px}
 .intentions summary{gap:10px}
 .intentions summary>span:first-child{line-height:1.5}
 .content-grid{margin-top:28px;gap:28px}
 .content-grid>*{width:100%;min-width:0}
 .news-section{order:0}.sidebar{order:1}
 .section-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}
 .section-heading h2{margin:6px 0 0;line-height:1.25;letter-spacing:-.025em}
 .section-heading .text-link{margin:0;white-space:normal;line-height:1.5}
 .news-cards{gap:16px}
 .news-image{height:auto;aspect-ratio:16/9}
 .news-copy{padding:18px}
 .news-card h3{margin:10px 0;min-height:0;line-height:1.4;letter-spacing:-.02em}
 .news-copy>p{line-height:1.6;min-height:0;margin-bottom:14px}
 .office{padding:18px}
 .office-heading{gap:10px;margin-bottom:16px}
 .office-heading .icon-tile{width:32px;height:36px}
 .office h2{line-height:1.3}
 .office-times{gap:12px;line-height:1.5;letter-spacing:0}
 .office-times>span+span{padding-left:12px}
 .office-button{padding:10px;gap:8px}
 .office-address{line-height:1.5;margin-top:16px;padding-top:14px}
 .about{margin-top:32px}
 .about-image{min-height:0;aspect-ratio:4/3}
 .about-content{padding:22px 18px}
 .about h2,.community h2{line-height:1.3;letter-spacing:-.025em;margin:12px 0}
 .about p{line-height:1.6;margin-bottom:18px}
 .community{padding-block:28px;gap:16px}
 .community-links>a{padding:12px 0;gap:10px}
 .footer-grid{grid-template-columns:1fr;gap:22px;padding-block:28px}
 .footer-brand>img{width:44px;height:48px}
 .footer-brand{gap:10px}
 .footer-brand strong{line-height:1.3;letter-spacing:-.02em}
 .footer-brand small,.footer-brand>span>span{letter-spacing:.06em;line-height:1.4}
 .footer-about>p{margin-left:0}
 .footer-grid p{line-height:1.6}
 .footer-grid>div>a:not(.brand){line-height:1.5}
 .footer-bottom{line-height:1.5}
 .bottom-nav{padding-inline:4px}
 .bottom-nav a{gap:4px;min-height:52px;line-height:1.25;letter-spacing:-.025em}
 .bottom-nav a span{white-space:normal;overflow-wrap:normal}

 .page-head{padding:20px 0 24px}
 .page-head h1{line-height:1.25;letter-spacing:-.025em}
 .breadcrumbs{line-height:1.5;margin-bottom:12px;gap:6px}
 .page-meta{line-height:1.5;margin-top:12px}
 .page-grid{margin-top:20px;margin-bottom:36px;gap:24px}
 .article{padding:20px 16px}
 .article-cover{margin:-20px -16px 20px}
 .prose{line-height:1.65}
 .prose h2,.prose h3,.prose h4{line-height:1.35;letter-spacing:-.02em;margin:1.4em 0 .6em}
 .prose table{line-height:1.5}
 .post-row{padding:14px 12px;gap:12px}
 .post-row .notice-date{min-width:58px;padding-right:10px}
 .post-row>span:nth-child(2)>strong{line-height:1.4}
 .post-row>span:nth-child(2)>span{line-height:1.5}
 .post-nav a{padding:14px;line-height:1.5}
 .subpage-copy strong{line-height:1.4}
 .subpage-copy small{line-height:1.5}
}
@media(max-width:360px){
 .mass-line{grid-template-columns:1fr;gap:2px}
 .masthead .brand>span>span{letter-spacing:0}
}
