/* BT News — design tokens captured from the live Wix Studio site (2026-07-13)
   Accent red     #DF1111  (rgb 223,17,17 — header bar, section bars, buttons)
   Ink            #161616  (headings/body)
   Nav black      #000000
   Muted grey     #5D5D5D  (ticker copy, empty-state sub text)
   Card grey      #F2F3F5  (highlights strip, newsletter card, section bands)
   Placeholder    #EEEEEE  (ad placeholders, ticker bar)
   Display font   Gloock            (hero, ad labels, newsletter titles)
   UI/body font   Familjen Grotesk  (everything else)
   Radius         5px (inputs + buttons)
*/

:root {
	--btnews-red:    #DF1111;
	--btnews-ink:    #161616;
	--btnews-black:  #000000;
	--btnews-muted:  #5D5D5D;
	--btnews-card:   #F2F3F5;
	--btnews-ph:     #EEEEEE;
	--btnews-serif:  'Gloock', serif;
	--btnews-sans:   'Familjen Grotesk', Arial, sans-serif;
	--btnews-radius: 5px;
}

/* ---------------- logo ---------------- */
.btnews-logo { display:inline-flex; align-items:baseline; gap:4px; text-decoration:none; position:relative; font-family:var(--btnews-sans); }
.btnews-logo__bt   { font-weight:700; font-size:44px; color:var(--btnews-ink); letter-spacing:-1px; }
.btnews-logo__news { font-weight:400; font-size:44px; color:var(--btnews-ink); letter-spacing:2px; }
.btnews-logo__tag  { position:absolute; left:0; bottom:-14px; background:var(--btnews-red); color:#fff; font-size:8px; letter-spacing:3px; padding:2px 8px; white-space:nowrap; }
.btnews-logo--header { background:#fff; padding:14px 20px 22px; }

/* ---------------- nav ---------------- */
.btnews-nav { background:var(--btnews-black); }
.btnews-nav__list { display:flex; flex-wrap:wrap; justify-content:center; list-style:none; margin:0; padding:0; }
.btnews-nav__list li { margin:0; }
.btnews-nav__list a { display:block; padding:11px 18px; color:#fff; font-family:var(--btnews-sans); font-size:14px; font-weight:500; text-decoration:none; }
.btnews-nav__list a:hover, .btnews-nav__list .current-menu-item > a { color:var(--btnews-red); }

/* ---------------- search ---------------- */
.btnews-search form { display:flex; }
.btnews-search input[type="search"], .btnews-search input[type="text"] { border:1px solid #fff; background:#fff; border-radius:var(--btnews-radius) 0 0 var(--btnews-radius); padding:6px 10px; font-family:var(--btnews-sans); }
.btnews-search button, .btnews-search input[type="submit"] { background:var(--btnews-black); color:#fff; border:0; border-radius:0 var(--btnews-radius) var(--btnews-radius) 0; padding:6px 12px; cursor:pointer; }

/* ---------------- live updates ticker ---------------- */
.btnews-ticker { display:flex; align-items:center; gap:10px; background:var(--btnews-ph); padding:9px 24px; font-family:var(--btnews-sans); }
.btnews-ticker__dot { width:8px; height:8px; border-radius:50%; background:var(--btnews-red); flex:0 0 auto; animation:btnews-pulse 1.6s infinite; }
@keyframes btnews-pulse { 50% { opacity:.35; } }
.btnews-ticker__label { color:var(--btnews-red); font-weight:700; font-size:15px; flex:0 0 auto; }
.btnews-ticker__msgs { position:relative; flex:1 1 auto; min-height:21px; }
.btnews-ticker__msg { position:absolute; inset:0; opacity:0; transition:opacity .5s; color:var(--btnews-ink); font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.btnews-ticker__msg.is-active { opacity:1; }

/* ---------------- section titles (red bar + label) ---------------- */
.btnews-section-title { display:flex; align-items:center; gap:10px; font-family:var(--btnews-sans); font-size:17px; font-weight:400; color:var(--btnews-ink); border-bottom:1px solid #e5e5e5; padding-bottom:10px; margin:0 0 16px; }
.btnews-section-title__bar { width:5px; height:22px; background:var(--btnews-red); display:inline-block; }

/* ---------------- feeds ---------------- */
.btnews-feed__items { display:grid; gap:24px; }
.btnews-feed--card .btnews-feed__items,
.btnews-feed--grid .btnews-feed__items { grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); }
.btnews-feed--list .btnews-feed__items { grid-template-columns:1fr; }
.btnews-feed--cols-4 .btnews-feed__items { grid-template-columns:repeat(4, 1fr); }
.btnews-feed--cols-3 .btnews-feed__items { grid-template-columns:repeat(3, 1fr); }
.btnews-feed--cols-2 .btnews-feed__items { grid-template-columns:repeat(2, 1fr); }
.btnews-feed__thumb img { width:100%; height:auto; display:block; }
.btnews-feed__title { font-family:var(--btnews-sans); font-size:18px; font-weight:700; color:var(--btnews-ink); text-decoration:none; display:block; margin:10px 0 4px; }
.btnews-feed__title:hover { color:var(--btnews-red); }
.btnews-feed__meta { font-family:var(--btnews-sans); font-size:13px; color:var(--btnews-muted); margin-bottom:6px; }
.btnews-feed__excerpt { font-family:var(--btnews-sans); font-size:15px; color:var(--btnews-ink); line-height:1.5; margin:0; }
.btnews-feed__empty { text-align:center; padding:56px 16px; }
.btnews-feed__empty-title { font-family:var(--btnews-sans); font-size:24px; color:var(--btnews-ink); margin:0 0 8px; }
.btnews-feed__empty-sub { font-family:var(--btnews-sans); font-size:15px; color:var(--btnews-muted); margin:0; }
@media (max-width:980px){ .btnews-feed--cols-4 .btnews-feed__items, .btnews-feed--cols-3 .btnews-feed__items { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .btnews-feed--cols-4 .btnews-feed__items, .btnews-feed--cols-3 .btnews-feed__items, .btnews-feed--cols-2 .btnews-feed__items { grid-template-columns:1fr; } }

/* ---------------- highlights (category circles) ---------------- */
.btnews-highlights__track { background:var(--btnews-card); padding:28px 16px; overflow-x:auto; }
.btnews-highlights__row { display:flex; gap:28px; justify-content:center; min-width:max-content; }
.btnews-highlights__item { display:flex; flex-direction:column; align-items:center; gap:10px; text-decoration:none; }
.btnews-highlights__circle { width:84px; height:84px; border-radius:50%; overflow:hidden; background:#d8d8d8; display:block; }
.btnews-highlights__circle img { width:100%; height:100%; object-fit:cover; display:block; }
.btnews-highlights__name { font-family:var(--btnews-sans); font-size:14px; color:var(--btnews-ink); }

/* ---------------- ad slots (exact Wix declared ratios) ---------------- */
.btnews-ad { background:var(--btnews-ph); display:flex; align-items:center; justify-content:center; text-align:center; width:100%; }
.btnews-ad__label { font-family:var(--btnews-serif); color:var(--btnews-ink); font-size:clamp(14px, 2.2vw, 28px); line-height:1.5; padding:12px; }
/* Filled slot: advertiser image covers the box at the slot's aspect ratio */
.btnews-ad--filled { background:none; }
.btnews-ad__link { display:block; width:100%; height:100%; }
.btnews-ad__img { display:block; width:100%; height:100%; object-fit:cover; }
/* Sidebar: "2 Width * 1.516 Height", base width 291px  → aspect-ratio 2 / 1.516 */
.btnews-ad--sidebar { aspect-ratio: 2 / 1.516; }
/* In-content: 582 x 291 → 2:1 */
.btnews-ad--content { aspect-ratio: 2 / 1; max-width:100%; }
/* Full-width leaderboard: 1280 x 640 → 2:1 */
.btnews-ad--leaderboard { aspect-ratio: 2 / 1; }

/* ---------------- newsletter ---------------- */
.btnews-newsletter { border-radius:2px; }
.btnews-newsletter--light { background:var(--btnews-card); }
.btnews-newsletter--dark { background:var(--btnews-ink) url() center/cover no-repeat; color:#fff; }
.btnews-newsletter__inner { padding:44px; max-width:640px; }
.btnews-newsletter__title { font-family:var(--btnews-serif); font-weight:400; font-size:clamp(24px,3vw,34px); line-height:1.25; margin:0 0 14px; color:inherit; }
.btnews-newsletter__text { font-family:var(--btnews-sans); font-size:15px; line-height:1.5; margin:0 0 26px; color:inherit; }
.btnews-newsletter__lbl { display:block; font-family:var(--btnews-sans); font-size:14px; margin-bottom:16px; }
.btnews-newsletter__email { display:block; width:100%; max-width:520px; margin-top:6px; padding:10px 12px; border-radius:var(--btnews-radius); border:1px solid var(--btnews-muted); font-family:var(--btnews-sans); }
.btnews-newsletter--light .btnews-newsletter__email { background:#d9d9d9; border-color:transparent; }
.btnews-newsletter--dark .btnews-newsletter__email { background:transparent; border-color:#fff; color:#fff; }
.btnews-newsletter__opt { display:flex; align-items:center; gap:8px; font-family:var(--btnews-sans); font-size:14px; margin-bottom:22px; }
.btnews-newsletter__opt input { accent-color:var(--btnews-red); }
.btnews-newsletter__btn { background:var(--btnews-red); color:#fff; border:0; border-radius:var(--btnews-radius); padding:12px 40px; font-family:var(--btnews-sans); font-size:14px; font-weight:500; cursor:pointer; }
.btnews-newsletter__btn:hover { filter:brightness(.9); }

/* ---------------- footer ---------------- */
.btnews-contact { list-style:none; margin:0; padding:0; font-family:var(--btnews-sans); font-size:15px; color:var(--btnews-ink); }
.btnews-contact li { padding:12px 0; border-bottom:1px solid #e5e5e5; }
.btnews-contact a { color:var(--btnews-ink); text-decoration:none; }
.btnews-contact a:hover { color:var(--btnews-red); }
.btnews-footer-links { list-style:none; margin:0; padding:0; font-family:var(--btnews-sans); font-size:15px; column-count:2; column-gap:40px; }
.btnews-footer-links li { padding:12px 0; border-bottom:1px solid #e5e5e5; break-inside:avoid; }
.btnews-footer-links a { color:var(--btnews-ink); text-decoration:none; }
.btnews-footer-links a:hover { color:var(--btnews-red); }
.btnews-legal { display:flex; flex-wrap:wrap; gap:28px; align-items:center; font-family:var(--btnews-sans); font-size:15px; }
.btnews-legal a { color:var(--btnews-ink); text-decoration:none; }
.btnews-legal .btnews-btn { background:var(--btnews-red); color:#fff; border-radius:var(--btnews-radius); padding:12px 24px; }
@media (max-width:600px){ .btnews-footer-links { column-count:1; } }

/* ---------------- archive (News listing + category pages) ---------------- */
.btnews-archive__hero { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:16px; padding:48px 40px 24px; }
.btnews-archive__title { font-family:var(--btnews-serif); font-weight:400; font-size:clamp(34px,4.2vw,52px); color:var(--btnews-ink); margin:0; }
.btnews-archive__tagline { font-family:var(--btnews-serif); font-size:20px; line-height:1.3; text-align:right; color:var(--btnews-ink); }
.btnews-archive__tagline-accent { color:var(--btnews-red); }
.btnews-archive__tabs { display:flex; flex-wrap:wrap; gap:28px; padding:0 40px 20px; margin:0 40px 24px; border-bottom:1px solid #e5e5e5; }
.btnews-archive__tab { font-family:var(--btnews-sans); font-size:15px; color:var(--btnews-ink); text-decoration:none; padding-bottom:6px; }
.btnews-archive__tab.is-active, .btnews-archive__tab:hover { color:var(--btnews-red); }
.btnews-archive__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; padding:0 40px 32px; }
.btnews-archive__thumb { display:block; aspect-ratio:4/3; background:var(--btnews-ph); overflow:hidden; }
.btnews-archive__thumb img, .btnews-archive__thumb-ph { width:100%; height:100%; object-fit:cover; display:block; }
.btnews-archive__card-title { font-family:var(--btnews-sans); font-weight:700; font-size:16px; color:var(--btnews-ink); text-decoration:none; display:block; margin:12px 0 6px; line-height:1.35; }
.btnews-archive__card-title:hover { color:var(--btnews-red); }
.btnews-archive__excerpt { font-family:var(--btnews-sans); font-size:14px; color:var(--btnews-muted); line-height:1.5; margin:0 0 10px; }
.btnews-archive__meta { display:flex; flex-wrap:wrap; gap:10px; font-family:var(--btnews-sans); font-size:12px; color:var(--btnews-muted); align-items:center; }
.btnews-archive__cat { color:var(--btnews-red); text-decoration:none; font-weight:500; }
.btnews-archive__pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; padding:8px 40px 56px; }
.btnews-archive__pagination .page-numbers { font-family:var(--btnews-sans); font-size:14px; color:var(--btnews-ink); text-decoration:none; padding:8px 14px; border:1px solid #e5e5e5; border-radius:var(--btnews-radius); }
.btnews-archive__pagination .page-numbers.current { background:var(--btnews-red); border-color:var(--btnews-red); color:#fff; }
.btnews-archive__pagination .page-numbers.dots { border:0; }
@media (max-width:980px){ .btnews-archive__grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){
	.btnews-archive__grid { grid-template-columns:1fr; }
	.btnews-archive__hero { flex-direction:column; align-items:flex-start; }
	.btnews-archive__tagline { text-align:left; }
	.btnews-archive__tabs { margin-left:0; margin-right:0; padding-left:0; padding-right:0; }
}
