/* Biltreff & Motor – ny, trefforientert forside og konsekvent skriftstørrelse.
   Lastes etter eksisterende CSS. Berører ikke eksisterende albumdata. */
:root{--btm-copy-size:16px;--btm-heading-size:32px;--btm-card-heading-size:21px}
body{font-size:var(--btm-copy-size);line-height:1.55}
button,input,textarea,select{font-size:inherit}
/* Jevne typografiske nivåer: normaltekst 16px, kortoverskrift 21px,
   seksjonsoverskrift 32px. Mer sekundær metadata 14px. */
.section-head p,.album-description,.community-event-copy p,.news-card p,.news-empty,
.btm-featured-card p,.community-home p.muted,.btm-weekend p.muted,
.btm-album-overview>.muted,.btm-home .panel p{font-size:var(--btm-copy-size);line-height:1.55}
.site-header nav>a,.site-header nav .nav-admin,.site-header nav .nav-logout{font-size:15px}
.btm-share{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:12px 0 16px;min-height:42px}
.btm-share .btm-share-icon{display:inline-flex;align-items:center;justify-content:center;
 width:42px;height:42px;min-width:42px;min-height:42px;padding:0;
 border:1px solid #426996;border-radius:7px;background:#182c49;color:#c3ddff;
 text-decoration:none;cursor:pointer;transition:background .16s,border-color .16s}
.btm-share .btm-share-icon svg{display:block;width:19px;height:19px;flex-shrink:0}
.btm-share .btm-share-icon:hover,.btm-share .btm-share-icon:focus-visible{background:#2b568b;border-color:#8cbeff;color:#fff}
.btm-share .btm-share-icon:focus-visible{outline:2px solid #b5d9ff;outline-offset:3px}
.btm-share .btm-share-icon.is-copied{border-color:#9bc1e9;background:#284e7c}
.btm-share .btm-share-icon.is-copied::after{content:'✓';position:absolute;margin-left:28px;margin-top:-31px;font:800 12px Arial,sans-serif;color:#eaffff}
.btm-share-status{position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px}
/* Demp den ekstra kraftige plakat-/headline-formateringen på hovedsiden. */
.btm-home{display:block;padding-bottom:48px}
.btm-home>.btm-weekend,.btm-home>.community-home,.btm-home>.btm-featured,
.btm-home>.btm-home-albums{padding-top:32px;padding-bottom:35px;margin-top:0;margin-bottom:0;border-bottom:1px solid #273b56}
.btm-home>.news-strip{padding-top:34px;padding-bottom:36px;border-bottom:1px solid #273b56}
.btm-home .section-head,.btm-home .news-strip-head{display:flex;align-items:flex-end;justify-content:space-between;gap:13px;margin:0 0 19px}
.btm-home .section-head h2,.btm-home .community-home .section-head h2,
.btm-home .news-strip-head h2{font:900 var(--btm-heading-size)/1.1 var(--heading)!important;letter-spacing:.3px!important;margin:4px 0 0!important;overflow-wrap:anywhere}
.btm-home .eyebrow{font-size:14px;letter-spacing:1.2px}
.btm-home .outline-link,.btm-home .news-all-link{font-size:15px;letter-spacing:.2px;white-space:normal}
.btm-home .community-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.btm-home .community-event-card{display:grid;grid-template-columns:110px minmax(0,1fr);min-width:0;border-radius:7px;box-shadow:none}
.btm-home .community-event-photo{height:100%;min-height:144px}
.btm-home .community-event-photo img{object-fit:contain;object-position:center}
.btm-home .community-photo-placeholder{padding:9px;font-size:34px}
.btm-home .community-photo-placeholder small{font-size:12px;letter-spacing:0;text-align:center}
.btm-home .community-event-copy{min-width:0;padding:13px 12px 14px}
.btm-home .community-event-copy .eyebrow{font-size:12px;letter-spacing:.3px}
.btm-home .community-event-copy h3{font:850 var(--btm-card-heading-size)/1.15 var(--heading);margin:7px 0 9px;overflow-wrap:anywhere}
.btm-home .community-event-copy p{font-size:15px;line-height:1.35;margin:5px 0;overflow-wrap:anywhere}
.btm-home .community-more{margin-top:12px;font-size:14px;letter-spacing:0}
.btm-home-more{margin-top:16px;display:flex;justify-content:flex-end}
.btm-home .btm-featured-card{grid-template-columns:minmax(0,1fr) minmax(240px,.95fr);gap:0;max-width:1050px;border-radius:8px}
.btm-home .btm-featured-card>img{width:100%;height:235px;max-height:235px;object-fit:contain}
.btm-home .btm-featured-card>div{padding:22px}
.btm-home .btm-featured-card h3{font-size:var(--btm-card-heading-size);line-height:1.2;margin:7px 0 11px}
.btm-home .btm-featured-card .btn{font-size:15px;letter-spacing:0;min-height:43px}
.btm-home .news-cards{grid-template-columns:minmax(0,1fr);max-width:930px}
.btm-home .news-card{padding:17px 19px;border-radius:8px;gap:10px}
.btm-home .news-card h3{font-size:var(--btm-card-heading-size);margin:6px 0 10px}
.btm-home .news-card p{font-size:var(--btm-copy-size);line-height:1.5}
.btm-home .news-card-meta{font-size:14px}
.btm-home .news-card-photo{width:100px;height:92px}
.btm-home .news-like-form{margin-top:0;padding-top:10px}
.btm-home .news-like-button{font-size:15px;min-height:39px}
/* Tydelig tre-kolonnegrid på PC, men betraktelig mindre omslagsbilder. */
.btm-home-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.btm-home-album{display:grid;grid-template-columns:126px minmax(0,1fr);align-items:stretch;background:#141f2e;border:1px solid #2a405e;border-radius:8px;overflow:hidden;min-width:0}
.btm-home-album:hover,.btm-home-album:focus-visible{border-color:#6ca5ed;background:#192c44}
.btm-home-album-image{width:126px;min-height:120px;overflow:hidden;background:#0b1729}
.btm-home-album-image img{display:block;width:100%;height:100%;object-fit:cover}
.btm-home-album-image img.btm-home-album-empty{object-fit:contain;padding:20px}
.btm-home-album-info{padding:13px 12px;min-width:0;display:flex;flex-direction:column;gap:7px}
.btm-album-date{color:#9cbde7;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.btm-home-album h3{font:850 var(--btm-card-heading-size)/1.16 var(--heading);margin:0;overflow-wrap:anywhere}
.btm-album-count{font-size:14px;color:#b9cce5;margin-top:auto}
.btm-album-count span{color:#90c0ff}
.btm-album-overview .btm-search-form{margin-bottom:21px}
.btm-album-overview .btm-search-form label{font-size:16px}
.btm-album-overview .btm-search-form input{font-size:16px}
.btm-album-overview .album-card .card-copy h3{font-size:var(--btm-card-heading-size)!important}
.btm-album-overview .card-date,.btm-album-overview .card-photos{font-size:14px;letter-spacing:0}
@media(max-width:1100px){
 .btm-home .community-event-card{grid-template-columns:1fr}
 .btm-home .community-event-photo{height:125px;min-height:125px}
 .btm-home-album{grid-template-columns:1fr}
 .btm-home-album-image{width:100%;height:138px;min-height:138px}
}
@media(max-width:700px){
 :root{--btm-heading-size:28px;--btm-card-heading-size:20px}
 body{font-size:16px}
 .btm-home>.btm-weekend,.btm-home>.community-home,.btm-home>.btm-featured,
 .btm-home>.btm-home-albums{padding-top:24px;padding-bottom:28px}
 .btm-home>.news-strip{padding-top:25px;padding-bottom:29px}
 .btm-home .section-head,.btm-home .news-strip-head{align-items:flex-start;gap:8px;margin-bottom:14px}
 .btm-home .section-head h2,.btm-home .community-home .section-head h2,
 .btm-home .news-strip-head h2{font-size:28px!important;line-height:1.13!important}
 .btm-home .eyebrow{font-size:13px}
 .btm-home .section-head p{font-size:16px}
 .btm-home .section-head .outline-link{font-size:14px}
 .btm-home .community-cards{grid-template-columns:minmax(0,1fr);gap:10px}
 .btm-home .community-event-card{grid-template-columns:98px minmax(0,1fr)}
 .btm-home .community-event-photo{height:auto;min-height:128px}
 .btm-home .community-event-copy{padding:11px 12px 12px}
 .btm-home .community-event-copy h3{font-size:20px}
 .btm-home .community-event-copy p{font-size:15px}
 .btm-home .community-more{font-size:13px}
 .btm-home .btm-featured-card{grid-template-columns:1fr}
 .btm-home .btm-featured-card>img{height:190px;max-height:190px}
 .btm-home .btm-featured-card>div{padding:15px}
 .btm-home .news-card{padding:14px}
 .btm-home .news-card-photo{width:80px;height:76px}
 .btm-home-album-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .btm-home-album{grid-template-columns:105px minmax(0,1fr)}
 .btm-home-album-image{width:105px;height:auto;min-height:118px}
 .btm-home-album-info{padding:11px}
 .btm-home-album h3{font-size:20px}
 .btm-album-date{font-size:13px}
 .btm-album-overview .album-grid{grid-template-columns:minmax(0,1fr)}
 .btm-album-overview .section-head h1{font-size:32px!important}
 .btm-share{gap:8px;margin:10px 0 15px}
 .btm-share .btm-share-icon{width:42px;height:42px;min-width:42px;min-height:42px;padding:0;font-size:0}
}
@media(max-width:355px){
 .btm-home .section-head h2,.btm-home .news-strip-head h2{font-size:26px!important}
 .btm-home .community-event-card{grid-template-columns:83px minmax(0,1fr)}
 .btm-home-album{grid-template-columns:90px minmax(0,1fr)}
 .btm-home-album-image{width:90px}
}

/* Deleikon i bildevisningen (også på små mobilskjermer). */
.lightbox .lightbox-share{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;min-height:42px;padding:0!important}
.lightbox .lightbox-share svg{width:19px;height:19px;display:block;flex:none}
.lightbox .lightbox-share:focus-visible{outline:2px solid #b5d9ff;outline-offset:3px}
/* Harmoniser overskriftene på arkivsiden med resten av nettstedet. */
.btm-album-overview .section-head h1{font-size:32px!important;line-height:1.12!important;letter-spacing:.3px!important}
@media(max-width:700px){.btm-album-overview .section-head h1{font-size:28px!important}}

/* 2026-10-18 – Harmoniser kortbakgrunnen på forsiden.
   Kun forsiden: Siste nytt, Siste album og Månedens bil skal bruke
   samme kortbakgrunn og kantlinje, på både mobil og PC. */
.btm-home > .news-strip {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.btm-home .news-card,
.btm-home .btm-home-album,
.btm-home .btm-featured-card {
  background: #141f2e;
  border: 1px solid #2a405e;
}
