/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
.sep { color: rgb(61, 207, 175); margin: 0 5px; }

html, body { width: 100%; min-height: 100%; }

body {
  background: #fff linear-gradient(to bottom,
    rgba(149,229,211,1) 0%,
    rgba(149,209,195,1) 31.2%,
    rgba(244,255,252,1) 59.4%,
    rgba(251,255,254,1) 73.7%
  );
  background-attachment: fixed;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page {
  width: 100%;
  max-width: 402px;
  position: relative;
  background: transparent;
}

/* kindle only on desktop */
.kindle-bg { display: none; }

/* ═══════════════════════════════════════════════════════════════
   HEADER  (mobile)
═══════════════════════════════════════════════════════════════ */
.site-header {
  display: flex;
  align-items: center;
  padding: 18px 14px 14px;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(149,229,211,0.50);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-img { width: 75px; height: 65px; object-fit: contain; }

.site-name {
  font-family: 'Poppins', sans-serif;
  font-size: 30px; font-weight: 700; color: #000;
}

.nav-desktop { display: none; }

.burger-btn {
  margin-left: auto;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.burger-btn span {
  display: block; width: 24px; height: 2px;
  background: #000; margin-bottom: 5px;
}
.burger-btn span:last-child { margin-bottom: 0; }

/* ── MOBILE NAV PANEL ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 210;
  background: #006a53;
  padding: 100px 28px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 24px; font-weight: 600;
  color: #fff; text-decoration: none;
  padding: 10px 0;
}
.mobile-nav a:hover { color: #0ac6a2; }
.mobile-nav a.active { color: #0ac6a2; }
.mobile-nav-sub {
  padding-left: 16px;
}
.mobile-nav-sub a {
  font-size: 20px; font-weight: 400;
  padding: 6px 0;
}

/* X close button inside nav */
.mobile-nav-close {
  position: fixed;
  background: none; border: none;
  font-size: 24px; line-height: 1;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   HERO  (mobile)
═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding: 0 20px 24px;
}

.hero-number {
  position: absolute;
  left: -9px; top: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 200px; font-weight: 800;
  color: rgba(255,255,255,0.42);
  line-height: 1; user-select: none; z-index: 1;
  min-width: 2.2ch; text-align: right;
}

.player-name {
  font-family: 'Poppins', sans-serif;
  font-size: 40px; font-weight: 700;
  color: #0e0e0e; line-height: 1.1;
  position: relative; z-index: 2;
  margin-bottom: 16px;
}

.photo-area {
  position: relative;
  z-index: 2;
}
.player-photo-card {
  width: 100%;
  aspect-ratio: auto;
  height: 280px;
  background: #fff; border-radius: 10px;
  overflow: hidden;
}
.player-photo-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}

/* ═══════════════════════════════════════════════════════════════
   STAT CARDS  (mobile)
═══════════════════════════════════════════════════════════════ */
.stats-section { padding: 0 20px; position: relative; margin-top: 12px; }

.stat-cards-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.stat-cards-row .stat-card { flex: 1; }

.stat-card {
  border-radius: 10px; overflow: hidden;
  height: 115px; position: relative;
}
.stat-card .sc-label {
  position: absolute; top: 14px; left: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px; font-weight: 500; color: #fff;
  z-index: 2;
}
.stat-card .sc-value {
  position: absolute; top: auto; bottom: 10px; left: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 44px; font-weight: 700; color: #fff;
  line-height: 1; z-index: 2;
}
.stat-card img {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: auto;
  opacity: 0.6; z-index: 1;
}
.sc-green { background: #006a53; }
.sc-blue  { background: #2261fd; }

/* ═══════════════════════════════════════════════════════════════
   BADGE TILES  (mobile)
═══════════════════════════════════════════════════════════════ */
.badges-section { padding: 0 20px; }

.badges-adeild {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.badges-national {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.badge-tile {
  width: 120px; height: 70px;
  border-radius: 10px; background: #ecfffb;
  display: flex; flex-direction: column;
  padding: 5px 10px;
}
.badge-tile .bt-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px; font-weight: 500; color: #000; line-height: 22px;
  white-space: nowrap;
}
.badge-tile .bt-value {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 600; color: #000; line-height: 38px;
  white-space: nowrap;
}
.badge-tile.bt-blue { background: #2261fd; }
.badge-tile.bt-blue .bt-label,
.badge-tile.bt-blue .bt-value { color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   TABLES  (mobile)
═══════════════════════════════════════════════════════════════ */
.tables-col { padding: 0 20px; }
.table-section {
  margin-bottom: 24px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.table-header {
  display: flex; align-items: center;
  border-radius: 10px 10px 0 0;
  padding: 0 13px; height: 44px;
  min-width: 450px;
}
.th-green { background: #006a53; }
.th-dark  { background: #3f3f3f; }

.table-header .th-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: #fff; flex: 1;
}
.table-header .th-cols { display: flex; gap: 12px; }
.table-header .th-col {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: #fff;
}

.table-row {
  display: flex; align-items: center;
  height: 53px; padding: 0 13px;
  border-bottom: 1px solid #dedede;
  background: #f8f8f8;
  position: relative;
  min-width: 450px;
}
.table-row.last-row { border-radius: 0 0 10px 10px; border-bottom: none; }

.table-row .tr-year {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; color: #000; flex: 1;
}
.table-row .tr-cols { display: flex; gap: 12px; align-items: center; }
.table-row .tr-col {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; color: #000;
}
.toggle-btn {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #006a53; cursor: pointer;
  position: absolute; right: 13px;
}

.expanded-section { background: #e6e6e6; min-width: 450px; }

.exp-summary {
  display: flex; align-items: center;
  height: 43px; padding: 0 13px;
  position: relative;
  min-width: 450px;
}
.exp-summary .tr-year {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: #000; flex: 1;
}
.exp-summary .tr-cols { display: flex; gap: 12px; align-items: center; }
.exp-summary .tr-col {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: #000;
}

.sub-rows {
  background: linear-gradient(to right, transparent 13px, #ecfffb 13px, #ecfffb 14px, transparent 14px);
  background-size: 100% calc(100% - 20px);
  background-position: 0 10px;
  background-repeat: no-repeat;
}

.sub-row {
  display: flex; align-items: center;
  height: 37px; padding: 0 13px;
  min-width: 450px;
}
.sub-row.last { border-bottom: none; }
.sub-row .sn { font-family: 'Open Sans', sans-serif; font-size: 17px; color: #000; flex: 1; padding-left: 11px; }
.sub-row .sv { font-family: 'Open Sans', sans-serif; font-size: 17px; color: #000; }
.sub-cols { display: flex; gap: 12px; }

/* Desktop-only columns hidden on mobile */
.desktop-col { display: inline; }

/* Column widths (mobile) */
.col-ar     { width: 90px; white-space: nowrap; flex-shrink: 0; }
.col-leikir { width: 52px; flex-shrink: 0; }
.col-mork   { width: 44px; flex-shrink: 0; }
.col-stods  { width: 48px; flex-shrink: 0; }
.col-gul    { width: 30px; flex-shrink: 0; }
.col-raud   { width: 44px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   MEDIA SECTIONS  (mobile)
═══════════════════════════════════════════════════════════════ */
.media-col { padding: 0 20px; }
.media-section { margin-bottom: 32px; }

.media-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px; font-weight: 700; color: #0a0a0a;
  margin-bottom: 12px;
}
.media-divider {
  height: 1px; background: #ecfffb; margin-bottom: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 117px);
  gap: 14px;
}

.lb-thumb {
  border-radius: 10px; overflow: hidden;
  background: #c4c4c4; cursor: pointer; position: relative;
}
.lb-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.2s;
}
.lb-thumb:hover img { transform: scale(1.04); }

.lb-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  justify-content: center; pointer-events: none;
}
.lb-play-btn svg { width: 42px; height: 42px; }

.lb-hidden { display: none; }

.lb-show-all {
  border-radius: 10px; background: #ecfffb;
  display: flex; align-items: center;
  justify-content: center; cursor: pointer;
}
.lb-count {
  font-family: 'Poppins', sans-serif;
  font-size: 36px; font-weight: 600; color: #000;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER  (mobile)
═══════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid #e0e0e0;
  background: #f9fffd;
  padding: 20px 16px 40px;
  margin-top: 32px;
}

.footer-logo-row {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 6px;
}
.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; color: #000; margin-bottom: 16px;
}
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-row { display: flex; align-items: center; gap: 12px; }
.footer-icon {
  width: 40px; height: 40px; background: #fff;
  border-radius: 4px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-icon.mail { background: #f9fffd; }
.footer-link {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; color: #000; text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════════ */
#lb-overlay {
  display: none; position: fixed; inset: 0;
  z-index: 2000; background: rgba(0,0,0,0.88);
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
#lb-overlay.open { display: flex; }

#lb-close {
  position: fixed; top: 16px; right: 20px;
  font-size: 36px; line-height: 1; color: #fff;
  cursor: pointer; user-select: none; z-index: 2010;
  opacity: 0.85; font-family: sans-serif;
}
#lb-close:hover { opacity: 1; }

.lb-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  font-size: 44px; color: #fff; cursor: pointer;
  user-select: none; z-index: 2010;
  padding: 8px 14px; opacity: 0.7; font-family: sans-serif;
}
.lb-arrow:hover { opacity: 1; }
#lb-prev { left: 4px; }
#lb-next { right: 4px; }

#lb-img {
  max-width: 96vw; max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: none;
}
#lb-content { display: inline-flex; flex-direction: column; max-width: 96vw; }
#lb-caption { color: rgba(255,255,255,0.82); font-family: 'Open Sans', sans-serif; font-size: 13px; text-align: center; line-height: 1.5; padding: 8px 0 0; }
#lb-caption p { margin: 0; background: none; }
#lb-iframe {
  width: min(640px, 96vw);
  height: min(360px, calc(96vw * 9 / 16));
  border: none; border-radius: 6px; display: none;
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP  @media (min-width: 900px)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {

  .page {
    width: 100%;
    max-width: none;
    min-height: 2525px;
    position: relative;
    overflow: hidden;
  }

  /* Kindle background */
  .kindle-bg {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* ── HEADER ── */
  .site-header {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 90px;
    padding: 0;
    z-index: 10;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .logo-wrap {
    position: absolute;
    left: calc(50% - 722px); top: 23px;
    gap: 14px;
    align-items: center;
    z-index: 10;
  }
  .logo-img { width: 75px; height: 65px; }
  .site-name {
    position: static;
    font-size: 30px;
  }
  .nav-desktop {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 42px;
    position: absolute; top: 48px;
    left: 0; right: calc(50% - 722px);
  }
  .nav-desktop a {
    font-family: 'Poppins', sans-serif;
    font-size: 24px; font-weight: 700;
    color: #030303; text-decoration: none;
    white-space: nowrap;
  }
  .nav-desktop > a:hover { color: #0b7f65; }
  .nav-desktop a.active { color: #0b7f65; }

  /* Items with a dropdown — .nav-group is the new name, old names kept as aliases */
  .nav-group,
  .nav-sagan-group,
  .nav-tolfraedi-group {
    position: relative;
    padding-bottom: 55px;
    flex-shrink: 0;
  }
  .nav-group > a,
  .nav-sagan-group > a,
  .nav-tolfraedi-group > a { display: block; }
  .nav-group > a::after,
  .nav-sagan-group > a::after,
  .nav-tolfraedi-group > a::after { content: ''; display: block; height: 20px; }
  .nav-group:hover > a,
  .nav-sagan-group:hover > a,
  .nav-tolfraedi-group:hover > a { color: #0b7f65; }
  .nav-group:hover .nav-dropdown,
  .nav-sagan-group:hover .nav-dropdown,
  .nav-tolfraedi-group:hover .nav-dropdown { display: block; }

  .nav-dropdown {
    display: none;
    position: absolute;
    top: 55px; left: 0;
    width: 272px;
    background: rgba(11, 127, 101, 0.8);
    border-radius: 10px;
    padding: 29px 30px;
    z-index: 100;
  }
  .nav-dropdown a {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px; font-weight: 400;
    color: #fff;
    line-height: 30px;
    margin-bottom: 17px;
    white-space: normal;
  }
  .nav-dropdown a:last-child { margin-bottom: 0; }
  .nav-dropdown a:hover { color: #00e1b0; }
  .burger-btn { display: none; }
  .mobile-nav { display: none !important; }

  /* ── HERO ── */
  .hero-section { padding: 0; }
  .hero-number {
    position: absolute;
    left: calc(50% - 975px); top: 44px;
    font-size: 300px; line-height: 450px;
    min-width: 2.2ch; text-align: right;
  }
  .player-name {
    position: absolute;
    left: calc(50% - 722px); top: 188px;
    font-size: 100px; line-height: 150px;
    margin-bottom: 0;
  }
  .photo-area {
    position: absolute;
    left: calc(50% - 718px); top: 375px;
  }
  .player-photo-card {
    width: 343px; height: 363px;
    aspect-ratio: auto;
  }

  /* ── STAT CARDS ── */
  .stats-section { padding: 0; position: static; z-index: auto; margin-top: 0; }
  .stat-cards-row { display: contents; }

  .stat-card {
    position: absolute;
    width: 120px; height: 84px;
    padding: 8px 10px;
  }
  .stat-card .sc-label { font-size: 15px; top: 8px; }
  .stat-card .sc-value { font-size: 40px; line-height: 69px; top: auto; bottom: 0; }

  .sc-leikir-breid { left: calc(50% - 229px); top: 431px; }
  .sc-mork-breid   { left: calc(50% - 89px);  top: 431px; }
  .sc-island-a     { left: calc(50% + 51px);   top: 433px; }
  .sc-mork-island  { left: calc(50% + 191px);  top: 433px; }

  /* ── BADGES ── */
  .badges-section { padding: 0; }
  .badges-adeild {
    position: absolute; left: calc(50% - 229px); top: 536px;
    flex-wrap: nowrap; gap: 10px; margin: 0;
  }
  .badges-national {
    display: flex;
    position: absolute; left: calc(50% - 227px); top: 625px;
    flex-wrap: nowrap; gap: 10px;
  }

  /* ── TABLES ── */
  .tables-col {
    padding: 0;
    position: absolute;
    left: calc(50% - 720px);
    top: 795px;
    width: 568px;
  }
  .table-section { margin: 0 0 24px; }
  .table-section:last-child { margin-bottom: 0; }
  #tbl-breidablik, #tbl-erlendis, #tbl-onnur { position: static; width: auto; }

  .table-header .th-cols { gap: 28px; }
  .table-row { height: 43px; }
  .table-row .tr-cols { gap: 28px; }
  .exp-summary .tr-cols { gap: 28px; }
  .sub-cols { gap: 28px; }

  .col-ar     { width: 115px; }
  .col-leikir { width: 50px; }
  .col-mork   { width: 44px; }
  .col-stods  { width: 44px; }

  /* Breiðablik table also shows Gul + Rauð on desktop */
  .col-gul  { width: 30px; }
  .col-raud { width: 44px; }
  .desktop-col { display: inline; }

  /* ── MEDIA ── */
  .media-col { padding: 0; }
  .media-section { margin: 0; }
  #sec-myndir         { position: absolute; left: calc(50vw + 16px); top: 789px; }
  #sec-myndbond       { position: absolute; left: calc(50vw + 16px); top: 1203px; }
  #sec-bladaurklippur { position: absolute; left: calc(50vw + 16px); top: 1617px; }

  .media-divider { width: 701px; }
  .media-grid {
    grid-template-columns: repeat(3, 224px);
    grid-template-rows: repeat(2, 151px);
    gap: 15px;
  }
  .lb-play-btn svg { width: 52px; height: 52px; }

  /* ── FOOTER ── */
  .site-footer {
    position: absolute;
    left: 0; top: 2096px;
    width: 100%; height: 180px;
    margin: 0; padding: 0;
    display: block;
  }
  .footer-logo-row {
    position: absolute; left: calc(50% - 723px); top: 57px;
    margin: 0;
  }
  .footer-logo-row .site-name {
    position: static;
    font-size: 30px; font-weight: 700;
  }
  .footer-tagline {
    position: absolute; left: calc(50% - 634px); top: 115px;
    font-size: 20px; margin: 0;
  }
  .footer-contact {
    position: absolute; left: calc(50% + 490px); top: 61px;
  }
  .footer-right-links {
    position: absolute; left: calc(50% + 537px); top: 69px;
    display: flex; flex-direction: column; gap: 8px;
  }
  .footer-right-links .footer-link { font-size: 20px; }

  /* ── LIGHTBOX ── */
  #lb-close { font-size: 44px; top: 24px; right: 32px; }
  .lb-arrow { font-size: 52px; padding: 10px 20px; }
  #lb-prev { left: 20px; }
  #lb-next { right: 20px; }
  #lb-img { max-width: 90vw; }
  #lb-iframe {
    width: min(1280px, 90vw);
    height: min(720px, calc(90vw * 9 / 16));
  }

  /* Column shown only on desktop */
  .mobile-hidden { display: none; }
}


/* ═══════════════ index.html ═══════════════ */

@keyframes sagaFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero news */
.idx-hero-news { padding: 40px 16px 0; }
.idx-main-card   { animation: sagaFadeIn 0.5s ease 0.1s both; }
.idx-small-news  { animation: sagaFadeIn 0.5s ease 0.25s both; }
.idx-main-card {
  display: block; text-decoration: none; border-radius: 12px;
  overflow: hidden; position: relative; height: 260px; background: #cde;
}
.idx-main-card > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idx-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.08) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 16px;
}
.idx-main-tag {
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  color: #0ac6a2; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px;
}
.idx-main-title { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; color: #fff; line-height: 1.2; }
.idx-main-date { font-family: 'Open Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* Small news */
.idx-small-news { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 0; }
.idx-small-card {
  display: flex; gap: 0; text-decoration: none;
  background: rgba(255,255,255,0.72); border-radius: 10px; overflow: hidden;
  transition: background 0.2s;
}
.idx-small-card:hover { background: #c4eee4; }
.idx-small-card-img { width: 90px; height: 74px; flex-shrink: 0; object-fit: cover; display: block; }
.idx-small-card-body { padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; }
.idx-small-card-date { font-family: 'Open Sans', sans-serif; font-size: 11px; color: #888; margin-bottom: 4px; }
.idx-small-card-title { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: #0d0e0e; line-height: 1.3; }

/* Carousel sections */
.idx-carousel-section { padding: 28px 0 4px; }
.idx-carousel-col:nth-child(1) { animation: sagaFadeIn 0.5s ease 0.55s both; }
.idx-carousel-col:nth-child(2) { animation: sagaFadeIn 0.5s ease 0.7s both; }
.idx-carousel-col:nth-child(3) { animation: sagaFadeIn 0.5s ease 0.85s both; }
.idx-carousel-col:nth-child(4) { animation: sagaFadeIn 0.5s ease 1.0s both; }
.idx-carousel-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 12px; }
.idx-carousel-label { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: #0d0e0e; text-decoration: none; }
.idx-carousel-label:hover { text-decoration: underline; }
.idx-carousel-right { display: flex; align-items: center; gap: 12px; }
.idx-carousel-arrows { display: none; }
.idx-carousel-link { display: none; }
.idx-carousel-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 14px 16px 12px; scrollbar-width: none; }
.idx-carousel-wrap::-webkit-scrollbar { display: none; }
.idx-carousel-track { display: flex; gap: 12px; width: max-content; }

/* Player cards (mobile) */
.idx-player-card {
  width: 148px; background: rgba(255,255,255,0.85); border-radius: 10px;
  overflow: hidden; flex-shrink: 0; text-decoration: none; display: block;
}
.idx-player-card:hover { background: #c4eee4; }
.idx-player-img { width: 100%; height: 165px; object-fit: cover; object-position: top center; display: block; }
.idx-player-body { padding: 8px 10px 10px; }
.idx-player-num { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; color: #006a53; }
.idx-player-name { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #0d0e0e; line-height: 1.25; }

/* Photo cards */
.idx-photo-card { width: 200px; height: 138px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: block; cursor: pointer; position: relative; }
.idx-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.idx-photo-card:hover img { transform: scale(1.04); }
.idx-photo-year { position: absolute; left: 4px; bottom: 0; z-index: 1; font-family: 'Poppins', sans-serif; font-size: 58px; font-weight: 800; color: rgba(160, 230, 60, 0.32); line-height: 1; pointer-events: none; user-select: none; }

/* Video cards */
.idx-video-card { width: 220px; height: 130px; border-radius: 10px; overflow: hidden; flex-shrink: 0; position: relative; background: #111; cursor: pointer; }
.idx-video-card > img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.72; }
.idx-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.idx-video-title {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; color: #fff; line-height: 1.3;
}

/* Game cards */
.idx-game-card {
  width: 260px; height: 308px; background: #e7ecef; border: 3px solid #fff;
  border-radius: 10px; overflow: visible; position: relative; flex-shrink: 0;
  text-decoration: none; display: flex; flex-direction: column; padding: 8px 14px 20px; box-sizing: border-box;
}
.idx-gc-header { display: flex; align-items: center; margin-bottom: -6px; flex-shrink: 0; }
.idx-gc-badge {
  position: absolute; right: -10px; top: -10px; width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 800; color: #000; box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.idx-gc-comp { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #293341; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx-gc-comp-wrap { position: relative; overflow: hidden; flex: 1; height: 68px; }
.idx-gc-comp-year { position: absolute; left: 0; top: 10px; font-family: 'Poppins', sans-serif; font-size: 52px; font-weight: 800; color: rgba(0, 0, 0, 0.06); line-height: 1; pointer-events: none; white-space: nowrap; transition: color 0.2s; }
.idx-game-card:hover .idx-gc-comp-year { color: rgba(61, 207, 175, 0.22); }
.idx-gc-comp-name { position: absolute; top: 30px; z-index: 1; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; color: #0d0e0e; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.idx-gc-league { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; color: #293341; flex-shrink: 0; margin-bottom: 2px; }
.idx-gc-team-row { display: flex; align-items: center; gap: 10px; flex: 1; }
.idx-gc-team-row + .idx-gc-team-row { margin-top: -10px; }
.idx-gc-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.idx-gc-name { flex: 1; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; color: #293341; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx-gc-score { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 800; color: #293341; flex-shrink: 0; line-height: 1; }
.idx-gc-divider { display: none; }
.idx-gc-meta { font-family: 'Open Sans', sans-serif; font-size: 12px; color: #6a6a6b; flex-shrink: 0; margin-top: -6px; }
.idx-gc-stats { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.idx-gc-stat { display: flex; align-items: center; gap: 4px; }
.idx-gc-stat svg { display: block; flex-shrink: 0; }
.idx-gc-stat span { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #6a6a6b; line-height: 1; display: flex; align-items: center; }
.result-win  { background: #0ac6a2; }
.result-draw { background: #ffd952; }
.result-loss { background: #fc6273; }

/* Player cards (carousel) */
.idx-player-card {
  width: 260px; height: 308px; background: rgba(255,255,255,0.85); border-radius: 10px;
  overflow: hidden; flex-shrink: 0; text-decoration: none; display: flex; flex-direction: column;
}
.idx-player-card:hover { background: #c4eee4; }
.idx-player-img { flex: 1; width: 100%; object-fit: cover; object-position: top center; display: block; min-height: 0; }
.idx-player-body { padding: 10px 12px 12px; flex-shrink: 0; }
.idx-player-name { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; color: #0d0e0e; line-height: 1.25; margin-bottom: 8px; }
.idx-player-stats { display: flex; gap: 16px; }
.idx-ps-item { display: flex; flex-direction: column; }
.idx-ps-label { font-family: 'Open Sans', sans-serif; font-size: 10px; font-weight: 700; color: #006a53; letter-spacing: 0.05em; }
.idx-ps-value { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: #0d0e0e; line-height: 1.1; }

/* Stats heading */
.idx-stats-heading { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: #0d0e0e; padding: 28px 16px 12px; line-height: 1.3; }

/* Stats */
.idx-stats-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; animation: sagaFadeIn 0.5s ease 1.15s both; padding: 0 16px 40px; }
.idx-stat-box { border-radius: 10px; height: 115px; position: relative; text-decoration: none; display: block; }
.idx-stat-box.isb-myndir,
.idx-stat-box.isb-leikir,
.idx-stat-box.isb-leikmenn,
.idx-stat-box.isb-myndbond,
.idx-stat-box.isb-urklippur { background: #006a53; }
.idx-stat-label { position: absolute; top: 14px; left: 12px; font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.72); white-space: nowrap; }
.idx-stat-value { position: absolute; bottom: 10px; left: 12px; font-family: 'Poppins', sans-serif; font-size: 44px; font-weight: 700; color: #fff; line-height: 1; }

/* Next game slider */
.idx-ng-wrap { margin: 12px 16px 0; animation: sagaFadeIn 0.5s ease 0.4s both; position: relative; }
.idx-ng-slider { overflow: hidden; border-radius: 12px; position: relative; }
.idx-ng-label-static { position: absolute; top: 16px; left: 18px; z-index: 2; pointer-events: none; }
.idx-ng-track { display: flex; }
.idx-ng-slide { flex: none; width: 100%; }

/* Next game box */
.idx-next-game { background: #006a53; border-radius: 0; padding: 44px 18px 18px; color: #fff; display: flex; flex-direction: column; }

/* Dots */
.idx-ng-dots { display: flex; justify-content: center; gap: 7px; position: absolute; bottom: 12px; left: 0; right: 0; pointer-events: none; }
.idx-ng-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0; transition: background 0.2s; pointer-events: all; }
.idx-ng-dot.active { background: rgba(255,255,255,0.9); }
.idx-ng-label { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; color: #0ac6a2; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.idx-ng-teams { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; flex: 1; margin-bottom: 14px; }
.idx-ng-team { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.idx-ng-logo { width: 100px; height: 100px; object-fit: contain; }
.idx-ng-team-name { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; color: #fff; text-align: center; }
.idx-ng-vs { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: rgba(255,255,255,0.35); flex-shrink: 0; }
.idx-ng-meta { font-family: 'Open Sans', sans-serif; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 4px; display: flex; flex-direction: column; gap: 2px; }
.idx-ng-meta span { font-weight: 700; color: #fff; }
.idx-ng-datetime { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: #fff; }

/* logo link */
.logo-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; cursor: pointer; }

/* ── DESKTOP ── */
@media (min-width: 900px) {
  .page { min-height: 0 !important; overflow: visible !important; }
  .site-footer { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; margin-top: 0; }

  .idx-content { position: relative; margin: 150px auto 0; width: 1450px; padding-bottom: 60px; }

  .idx-hero-news { display: flex; gap: 20px; padding: 0; height: 640px; }
  .idx-main-card { flex: 1; height: 100%; border-radius: 14px; }
  .idx-main-title { font-size: 34px; }
  .idx-main-overlay { padding: 28px 28px; }

  .idx-small-news { width: 310px; flex-shrink: 0; padding: 0; flex-direction: column; gap: 12px; }
  .idx-small-card { flex: 1; flex-direction: column; gap: 0; overflow: visible; }
  .idx-small-card-img { width: 100%; height: 130px; flex-shrink: 0; border-radius: 10px 10px 0 0; }
  .idx-small-card-body { padding: 8px 12px 10px; overflow: visible; justify-content: flex-start; }
  .idx-small-card-title { font-size: 14px; }

  .idx-ng-wrap { width: 280px; flex-shrink: 0; margin: 0; height: 100%; display: flex; flex-direction: column; }
  .idx-ng-slider { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .idx-ng-track { flex: 1; border-radius: 14px; min-height: 0; }
  .idx-ng-slide { height: 100%; }
  .idx-ng-dots { padding: 10px 0 0; }
  .idx-next-game { height: 100%; border-radius: 0; padding: 58px 22px 22px; box-sizing: border-box; }
  .idx-ng-label { font-size: 13px; margin-bottom: 20px; }
  .idx-ng-label-static { top: 22px; left: 22px; }
  .idx-ng-logo { width: 120px; height: 120px; }
  .idx-ng-team-name { font-size: 18px; }
  .idx-ng-meta { font-size: 14px; margin-top: auto; padding-top: 16px; }
  .idx-ng-datetime { font-size: 22px; }

  .idx-carousel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; margin-top: 48px; }
  .idx-carousel-col { min-width: 0; overflow: visible; }
  .idx-carousel-section { padding: 0 0 8px; }
  .idx-carousel-header { padding: 0 0 14px; }
  .idx-carousel-label { font-size: 30px; }
  .idx-carousel-wrap { padding: 14px 0 16px; }

  .idx-player-card { width: 280px; height: 308px; }
  .idx-player-name { font-size: 14px; }
  .idx-ps-value { font-size: 24px; }
  .idx-photo-card { width: 260px; height: 180px; }
  .idx-game-card { width: 280px; height: 308px; }
  .idx-gc-name { font-size: 16px; }
  .idx-gc-score { font-size: 36px; }
  .idx-gc-logo { width: 54px; height: 54px; }
  .idx-video-card { width: 290px; height: 180px; }
  .idx-video-title { font-size: 12px; }
  .idx-stats-heading { font-size: 32px; padding: 52px 0 14px; }
  .idx-stats-section { grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0 0 72px; }
}

/* ── Carousel right-edge fade (leikir + leikmenn) ── */
#carousel-games,
#carousel-players {
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

#carousel-photos,
#carousel-videos {
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* ── Player card border + game card hover ── */
.idx-player-card { border: 3px solid #fff; }
.idx-game-card:hover { background: #c4eee4; }

/* ═══════════════ aberdeen_fc.html ═══════════════ */

@keyframes sagaFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes badgeBounce {
  0%   { transform: scale(0); opacity: 0; }
  55%  { transform: scale(1.25); opacity: 1; }
  75%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ── MOBILE: Club header block ── */
#page-felag .club-header-block { padding: 32px 20px 0; }
#page-felag .club-hb-title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 800; color: #0d0e0e;
  line-height: 1.1;
}
#page-felag .club-hb-inner {
  display: flex; align-items: center;
  gap: 18px; padding-top: 20px;
}
#page-felag .club-hb-logo { width: 90px; height: 90px; object-fit: contain; flex-shrink: 0; }
#page-felag .club-hb-name {
  font-family: 'Poppins', sans-serif;
  font-size: 32px; font-weight: 700; color: #0d0e0e; line-height: 1.15;
}

/* ── MOBILE: Filter bar ── */
#page-felag .filter-bar {
  padding: 12px 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
#page-felag .filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#page-felag .filter-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #030303;
  white-space: nowrap;
}
#page-felag .filter-select {
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 4px 28px 4px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #030303;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
#page-felag .club-select-mobile {
  background: #fff;
  border: none; border-radius: 10px;
  padding: 4px 28px 4px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 700; color: #030303;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  max-width: 220px;
}
#page-felag .filter-select.fra-til  { width: 80px; }
#page-felag .filter-select.fs-mot   { width: 185px; }
#page-felag .filter-select.fs-heima { width: 135px; }
#page-felag .filter-btn {
  background: #006a53;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 6px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* ── MOBILE: Stat boxes ── */
#page-felag .club-stats-row {
  display: flex;
  gap: 10px;
  padding: 16px 20px 0;
  flex-wrap: wrap;
}
#page-felag .club-stat-box {
  background: #006a53;
  border-radius: 10px;
  height: 115px;
  min-width: 100px;
  position: relative;
  flex: 1;
}
#page-felag .club-stat-box .csb-label {
  position: absolute;
  top: 14px; left: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}
#page-felag .club-stat-box .csb-value {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
#page-felag .club-stat-box.csb-sigrar    { background: #0ac6a2; }
#page-felag .club-stat-box.csb-jafntefli { background: #ffd952; }
#page-felag .club-stat-box.csb-tap       { background: #fc6273; }
#page-felag .club-stat-box.csb-sigrar .csb-label,
#page-felag .club-stat-box.csb-jafntefli .csb-label,
#page-felag .club-stat-box.csb-tap .csb-label  { color: rgba(0,0,0,0.5); }
#page-felag .club-stat-box.csb-sigrar .csb-value,
#page-felag .club-stat-box.csb-jafntefli .csb-value,
#page-felag .club-stat-box.csb-tap .csb-value  { color: #000; }

/* ── MOBILE: Tabs bar ── */
#page-felag .tabs-bar {
  background: transparent;
  padding: 12px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
#page-felag .tabs-year-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
#page-felag .tabs-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #030303;
  white-space: nowrap;
}
#page-felag .club-select-mobile {
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 4px 36px 4px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #030303;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  max-width: 260px;
}

/* ── MOBILE: Section label ── */
#page-felag .section-label-mobile {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  padding: 0 17px;
  margin-top: 16px;
}

/* ── MOBILE: Match cards ── */
#page-felag .matches-section { padding: 0 8px; margin-top: 16px; }
#page-felag .matches-grid { display: flex; flex-direction: column; gap: 30px; }

#page-felag .match-card-mobile {
  position: relative;
  width: 100%;
  height: 308px;
  background: #e7ecef;
  border: 3px solid #fff;
  border-radius: 10px;
  overflow: visible;
  animation: sagaFadeIn 0.5s ease both;
}
#page-felag .result-win  { background: #0ac6a2; }
#page-felag .result-draw { background: #ffd952; }
#page-felag .result-loss { background: #fc6273; }

#page-felag .mcm-result-badge {
  position: absolute;
  right: -7px; top: -12px;
  width: 43px; height: 43px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 800; color: #000;
  z-index: 2;
  animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) 0.2s both;
}
#page-felag .mcm-logo { position: absolute; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#page-felag .mcm-home { left: 22px; top: 40px; width: 77px; height: 77px; }
#page-felag .mcm-away { right: 21px; top: 31px; width: 68px; height: 86px; }
#page-felag .mcm-logo img { width: 100%; height: 100%; object-fit: contain; }
#page-felag .mcm-score {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 89px; height: 86px;
  display: flex; align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 800; color: #293341;
  line-height: 1; white-space: nowrap;
}
#page-felag .mcm-team {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700; color: #293341;
}
#page-felag .mcm-team-home { left: 26px; top: 123px; }
#page-felag .mcm-team-away { right: 22px; top: 124px; }
#page-felag .mcm-meta-row {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  font-family: 'Poppins', sans-serif; font-size: 17px; color: #6a6a6b;
}
#page-felag .mcm-meta-row .light { font-weight: 300; }
#page-felag .mcm-meta1 { top: 175px; font-weight: 400; }
#page-felag .mcm-meta2 { top: 208px; font-weight: 300; }
#page-felag .mcm-meta3 { top: 241px; font-weight: 300; }

/* ═══════ DESKTOP overrides ═══════ */
#page-felag .club-bg-text { display: none; }
#page-felag .club-stats-desktop,
#page-felag .filter-bar-desktop { display: none; }

@media (min-width: 900px) {

  #page-felag .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-felag .club-stats-row { display: none; }
  #page-felag .filter-bar { display: none; }
  #page-felag .section-label-mobile { display: none; }
  #page-felag .matches-section { display: none; }

  #page-felag .club-bg-text {
    display: block;
    position: absolute;
    left: calc(50% - 973px);
    top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px;
    font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }

  #page-felag .club-header-block {
    position: absolute;
    left: calc(50% - 725px);
    top: 211px;
    width: 1450px;
    padding: 0;
    z-index: 2;
    animation: sagaFadeIn 0.6s ease 0.5s both;
  }
  #page-felag .club-hb-title { display: none; }
  #page-felag .club-hb-inner {
    padding-top: 0;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
  #page-felag .club-hb-logo  { width: 240px; height: 240px; }
  #page-felag .club-hb-name  { font-size: 120px; }

  #page-felag .club-stats-desktop {
    display: flex;
    gap: 10px;
    position: absolute;
    left: calc(50% - 610px);
    top: 455px;
    z-index: 2;
  }
  #page-felag .club-stat-box {
    min-width: 120px;
    flex: unset;
  }
  #page-felag .club-stat-box.csb-sigrar    { background: #0ac6a2; }
  #page-felag .club-stat-box.csb-jafntefli { background: #ffd952; }
  #page-felag .club-stat-box.csb-tap       { background: #fc6273; }
  #page-felag .club-stat-box.csb-sigrar .csb-label,
  #page-felag .club-stat-box.csb-jafntefli .csb-label,
  #page-felag .club-stat-box.csb-tap .csb-label  { color: rgba(0,0,0,0.5); }
  #page-felag .club-stat-box.csb-sigrar .csb-value,
  #page-felag .club-stat-box.csb-jafntefli .csb-value,
  #page-felag .club-stat-box.csb-tap .csb-value  { color: #000; }

  #page-felag .tabs-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 269px);
    top: 590px;
    width: 700px;
    height: 83px;
    z-index: 5;
  }
  #page-felag .filter-bar-desktop {
    display: flex !important;
    align-items: center;
    gap: 16px;
    position: absolute;
    left: calc(50% - 610px);
    top: 585px;
  }
  #page-felag .filter-bar-desktop .filter-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px; font-weight: 400; color: #030303;
    white-space: nowrap;
  }
  #page-felag .filter-bar-desktop .filter-select {
    height: 37px;
    background: #fff;
    border: none; border-radius: 10px;
    padding: 0 32px 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px; font-weight: 700; color: #030303;
    cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }
  #page-felag .filter-bar-desktop .filter-select.fs-club  { width: 220px; }
  #page-felag .filter-bar-desktop .filter-select.fra-til  { width: 95px; }
  #page-felag .filter-bar-desktop .filter-select.fs-mot   { width: 210px; }
  #page-felag .filter-bar-desktop .filter-select.fs-heima { width: 160px; }
  #page-felag .filter-bar-desktop .filter-btn {
    height: 37px;
    background: #006a53;
    color: #fff;
    border: none; border-radius: 10px;
    padding: 0 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px; font-weight: 700;
    cursor: pointer;
  }
  #page-felag .tabs-desktop-bg { display: none; }
  #page-felag .tabs-desktop-year-label {
    position: absolute;
    left: 0; top: 23px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px; font-weight: 400; color: #030303;
  }
  #page-felag .tabs-desktop-year-select {
    position: absolute;
    left: 80px; top: 24px;
    width: 260px; height: 37px;
    background: #fff;
    border: none; border-radius: 10px;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 700; color: #030303;
    cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }

  #page-felag .section-label-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 610px);
    top: 655px;
    font-family: 'Poppins', sans-serif;
    font-size: 34px; font-weight: 600; color: #000;
  }

  #page-felag .matches-desktop {
    display: block;
    position: relative;
    width: 1220px;
    margin: 703px auto 0;
  }
  #page-felag .match-row {
    position: relative;
    left: auto;
    width: 1221px; height: 336px;
  }
  #page-felag .match-row--1 { top: auto; }
  #page-felag .match-row--2 { top: auto; }
  #page-felag .site-footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 60px;
  }
  #page-felag .match-card {
    position: absolute;
    left: 0; top: 23px;
    width: 1196px; height: 313px;
    background: #e7ecef;
    border: 3px solid #fff;
    border-radius: 10px;
    overflow: visible;
    cursor: pointer;
    transition: background 0.15s;
    animation: sagaFadeIn 0.5s ease both;
  }
  #page-felag .match-card:hover { background: #C4EEE4; }
  #page-felag .result-badge {
    position: absolute;
    right: -25px; top: -23px;
    width: 65px; height: 65px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 40px; font-weight: 800; color: #000;
    z-index: 3;
    animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) both;
  }
  #page-felag .match-logo {
    position: absolute;
    top: 46px;
    width: 130px; height: 130px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; overflow: hidden;
  }
  #page-felag .match-logo img { width: 100%; height: 100%; object-fit: contain; }
  #page-felag .match-logo.home { left: 36px; }
  #page-felag .match-logo.away { left: 1030px; }
  #page-felag .match-team-name {
    position: absolute;
    top: 93px;
    font-family: 'Poppins', sans-serif;
    font-size: 32px; font-weight: 700;
    color: #2a3342; line-height: 1.2;
  }
  #page-felag .match-team-name.home { left: 184px; max-width: 290px; }
  #page-felag .match-team-name.away { right: 190px; left: auto; max-width: 290px; text-align: right; }
  #page-felag .match-score {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    top: 61px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 800; color: #2a3342;
    line-height: 1; white-space: nowrap;
    word-spacing: 50px;
  }
  #page-felag .match-score-line {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    top: 155px; width: 180px; height: 1px;
    background: rgba(200,196,196,1);
  }
  #page-felag .match-meta {
    position: absolute;
    bottom: 22px; left: 38px;
    display: flex; gap: 0; align-items: center;
  }
  #page-felag .match-meta span {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; color: #6a6a6b;
  }
  #page-felag .match-meta span.sep { margin: 0 6px; }
  #page-felag .match-meta span.light { font-weight: 300; }
  #page-felag .match-stat { text-decoration: none; }
  #page-felag .match-stats {
    position: absolute;
    bottom: 16px;
    right: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 6;
  }
  #page-felag .match-stat {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  #page-felag .match-stat-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #page-felag .match-stat-count {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #6a6a6b;
  }

}

/* ═══════════════ drama_a_kopavogsvelli.html ═══════════════ */

#page-drama > .site-footer {
  align-self: stretch;
}

#page-drama .content-wrapper { padding: 20px 20px 60px; overflow-x: hidden; }
#page-drama .article-body img { background: #fff; }

#page-drama .frett-back {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #006a53;
  text-decoration: none;
  margin-bottom: 18px;
}
#page-drama .frett-back:hover { text-decoration: underline; }

#page-drama .article-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0d0e0e;
  line-height: 1.25;
  margin: 0 0 10px;
}

#page-drama .article-page-meta {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
}

#page-drama .article-hero {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 26px;
}

#page-drama .article-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0d0e0e;
  margin: 30px 0 10px;
}

#page-drama .article-body p {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #222;
  margin: 0 0 16px;
}

#page-drama .article-body a {
  color: #006a53;
  text-decoration: underline;
}

/* Strip inline background-color injected by WYSIWYG editor (copy-paste from Word/Docs) */
#page-drama .article-body * {
  background-color: transparent !important;
}

#page-drama .article-body img {
  width: 100%;
  border-radius: 8px;
  margin: 22px 0;
  display: block;
}

#page-drama .article-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 22px 0;
}
#page-drama .article-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 22px 0;
  border-radius: 10px;
  overflow: hidden;
}
#page-drama .article-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0 !important;
}

#page-drama .article-image-item {
  overflow: hidden;
  border-radius: 6px;
  display: block;
  background: transparent;
}
#page-drama .article-image-item img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  display: block;
  margin: 0;
  border-radius: 0;
}

/* Force 4/3 crop when 2 or more images side by side */
#page-drama .article-image-grid:has(> :nth-child(2)) .article-image-item {
  aspect-ratio: 4/3;
}
#page-drama .article-image-grid:has(> :nth-child(2)) .article-image-item img {
  height: 100% !important;
  object-fit: cover !important;
}

#page-drama .article-image-figure figcaption {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #888;
  padding: 4px 2px 0;
}

#page-drama .article-body iframe {
  display: block;
  margin: 22px auto;
  max-width: 100%;
}

/* Facebook / social embeds - restore white background */
#page-drama .article-body [class*="fb-"],
#page-drama .article-body .fb_iframe_widget,
#page-drama .article-body blockquote.instagram-media,
#page-drama .article-body blockquote.twitter-tweet {
  background-color: #fff !important;
}

#page-drama .article-author {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #666;
  margin-top: 30px;
  padding-top: 0;
}

#page-drama .result-win  { background-color: #0ac6a2 !important; }
#page-drama .result-draw { background-color: #ffd952 !important; }
#page-drama .result-loss { background-color: #fc6273 !important; }

#page-drama .match-card-embedded-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}
#page-drama .match-card-embedded:hover {
  border-color: #0ac6a2;
}

#page-drama .match-card-embedded-wrapper {
  position: relative;
  margin: 24px 0;
  overflow: visible;
}

#page-drama .match-card-embedded {
  position: relative;
  width: 100%;
  height: 308px;
  background-color: #e7ecef !important;
  border: 3px solid #fff;
  border-radius: 10px;
  overflow: visible;
  margin-bottom: 24px;
}

#page-drama .emb-result-badge {
  position: absolute;
  right: -7px; top: -12px;
  width: 43px; height: 43px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 800; color: #000;
  z-index: 2;
}

#page-drama .emb-logo {
  position: absolute;
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
}
#page-drama .emb-logo svg { display: block; }
#page-drama .emb-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
#page-drama .emb-logo.home { left: 22px; top: 40px; width: 77px; height: 77px; }
#page-drama .emb-logo.away { right: 21px; top: 31px; width: 68px; height: 86px; }

#page-drama .emb-score {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 89px; height: 86px;
  display: flex; align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 800; color: #293341;
  line-height: 1; white-space: nowrap;
  word-spacing: 20px;
}

#page-drama .emb-team-name {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700; color: #293341;
}
#page-drama .emb-team-name.home { left: 26px; top: 123px; }
#page-drama .emb-team-name.away { right: 22px; top: 124px; }

#page-drama .emb-meta {
  position: absolute;
  left: 0; right: 0; top: 175px;
  display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; color: #6a6a6b;
}
#page-drama .emb-meta .light { font-weight: 300; }

#page-drama .emb-stats { display: none; }

/* ═══════ DESKTOP overrides ═══════ */
#page-drama .frett-bg-text { display: none; }
#page-drama .frett-section-title { display: none; }

@media (min-width: 900px) {

  #page-drama .page { min-height: 0; }

  #page-drama .frett-bg-text {
    display: block;
    position: absolute;
    left: calc(50% - 973px);
    top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none;
    white-space: nowrap;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }

  #page-drama .frett-section-title {
    display: block;
    position: relative;
    margin: 211px auto 0;
    width: 1220px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700; color: #0d0e0e;
    line-height: 1.15; z-index: 2;
    animation: sagaFadeIn 0.6s ease 0.5s both;
  }

  #page-drama .article-page-title { display: none; }
  #page-drama .article-page-meta  { display: none; }

  #page-drama .content-wrapper {
    position: relative;
    margin: 20px auto 0;
    width: 1220px;
    padding: 0 0 80px;
    animation: sagaFadeIn 0.6s ease 0.6s both;
  }

  #page-drama .site-footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 60px;
  }

  #page-drama .frett-back { font-size: 15px; margin-bottom: 22px; }
  #page-drama .article-page-meta { font-size: 15px; margin-bottom: 26px; }

  #page-drama .article-hero {
    width: 100%; height: auto;
    border-radius: 10px; margin-bottom: 40px;
  }

  #page-drama .article-body img {
    width: 100%; max-height: 680px;
    border-radius: 10px; margin: 32px 0;
  }

  #page-drama .article-image-grid:has(> :nth-child(2)) { grid-template-columns: repeat(2, 1fr); }
  #page-drama .article-image-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); }

  #page-drama .article-body h2 { font-size: 26px; }
  #page-drama .article-body p  { font-size: 17px; }

  #page-drama .match-card-embedded-wrapper { padding-top: 23px; height: auto; margin: 32px 0; }

  #page-drama .match-card-embedded {
    position: relative;
    left: auto; top: auto;
    width: 100%; height: 313px;
  }

  #page-drama .emb-result-badge {
    right: -25px; top: -23px;
    width: 65px; height: 65px;
    font-size: 40px;
  }

  #page-drama .emb-logo.home { left: 36px; top: 46px; width: 130px; height: 130px; right: auto; }
  #page-drama .emb-logo.away { right: 36px; left: auto; top: 46px; width: 130px; height: 130px; }

  #page-drama .emb-team-name { font-size: 32px; }
  #page-drama .emb-team-name.home { left: 184px; top: 93px; max-width: 290px; right: auto; }
  #page-drama .emb-team-name.away { right: 184px; left: auto; top: 93px; max-width: 290px; text-align: right; }

  #page-drama .emb-score { top: 61px; font-size: 100px; word-spacing: 50px; }

  #page-drama .emb-meta {
    top: auto; bottom: 22px;
    left: 38px; right: auto;
    justify-content: flex-start;
    gap: 0; font-size: 17px; flex-wrap: nowrap;
  }
  #page-drama .emb-meta span { padding-right: 24px; }

  #page-drama .emb-stats {
    display: flex;
    position: absolute;
    bottom: 16px; right: 36px;
    align-items: center; gap: 16px;
  }
  #page-drama .emb-stat { display: flex; align-items: center; gap: 7px; }
  #page-drama .emb-stat-icon {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
  }
  #page-drama .emb-stat-count {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; font-weight: 700; color: #6a6a6b;
  }

}

/* ═══════════════ textpage2026 ═══════════════ */

#page-textpage .drama-article { padding-top: 90px; }
#page-textpage .drama-hero-img { width: 100%; overflow: hidden; }
#page-textpage .drama-hero-img img { width: 100%; height: 300px; object-fit: cover; border-radius: 0; display: block; }
#page-textpage .drama-header-text { padding: 24px 20px 0; }
#page-textpage .drama-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px; font-weight: 700; color: #0d0e0e; line-height: 1.2;
}
#page-textpage .content-wrapper { padding: 20px 20px 60px; overflow-x: hidden; }
#page-textpage .article-body img { background: #fff; }
#page-textpage .article-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 700; color: #0d0e0e; margin: 28px 0 10px;
}
#page-textpage .article-body p { font-size: 16px; line-height: 1.75; color: #2a2a2a; margin-bottom: 14px; }
#page-textpage .article-body a { color: #006a53; text-decoration: underline; }
#page-textpage .article-body * { background-color: transparent !important; }
#page-textpage .article-body img {
  width: 100%; border-radius: 10px; margin: 20px 0;
}
#page-textpage .article-body blockquote {
  border-left: 4px solid #0ac6a2; margin: 24px 0; padding: 10px 20px;
  font-size: 20px; font-style: italic; color: #2a2a2a;
}
#page-textpage .article-body iframe {
  display: block; margin: 22px auto; max-width: 100%;
}

/* match cards */
#page-textpage .result-win  { background-color: #0ac6a2 !important; }
#page-textpage .result-draw { background-color: #ffd952 !important; }
#page-textpage .result-loss { background-color: #fc6273 !important; }
#page-textpage .match-card-embedded {
  position: relative; width: 100%; height: 308px;
  background-color: #e7ecef !important;
  border: 3px solid #fff; border-radius: 10px;
  overflow: visible; margin-bottom: 24px;
}
#page-textpage .match-card-embedded-link { position: absolute; inset: 0; z-index: 5; cursor: pointer; }
#page-textpage .match-card-embedded:hover { border-color: #0ac6a2; }
#page-textpage .emb-result-badge {
  position: absolute; right: -14px; top: -14px;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 800; color: #fff;
  z-index: 10;
}
#page-textpage .emb-logo {
  position: absolute; display: flex; align-items: center; justify-content: center;
}
#page-textpage .emb-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
#page-textpage .emb-logo.home { left: 22px; top: 40px; width: 77px; height: 77px; }
#page-textpage .emb-logo.away { right: 21px; top: 31px; width: 68px; height: 86px; }
#page-textpage .emb-score {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 36px; font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 800; color: #0d0e0e;
  white-space: nowrap; word-spacing: 20px;
}
#page-textpage .emb-team-name {
  position: absolute; font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700; color: #0d0e0e; line-height: 1.1;
}
#page-textpage .emb-team-name.home { left: 26px; top: 123px; }
#page-textpage .emb-team-name.away { right: 22px; top: 124px; text-align: right; }
#page-textpage .emb-meta {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 6px; padding: 0 14px;
  font-family: 'Poppins', sans-serif; font-size: 13px; color: #0d0e0e;
}
#page-textpage .emb-meta .light { font-weight: 300; }
#page-textpage .emb-stats { display: none; }

@media (min-width: 900px) {

  #page-textpage .drama-article { padding-top: 120px; }
  #page-textpage .drama-hero-img img { height: 480px; border-radius: 10px; }
  #page-textpage .drama-header-text {
    position: relative; margin: 40px auto 0; width: 1220px; padding: 0;
  }
  #page-textpage .drama-title { font-size: 64px; }
  #page-textpage .content-wrapper {
    position: relative; margin: 20px auto 0; width: 1220px; padding: 0 0 80px;
  }
  #page-textpage .article-body img {
    width: 100%; max-height: 680px; border-radius: 10px; margin: 32px 0;
  }
  #page-textpage .article-body h2 { font-size: 26px; }
  #page-textpage .article-body p  { font-size: 17px; }
  #page-textpage .match-card-embedded { height: 313px; }
  #page-textpage .emb-result-badge { right: -25px; top: -23px; width: 65px; height: 65px; font-size: 40px; }
  #page-textpage .emb-logo.home { left: 36px; top: 46px; width: 130px; height: 130px; }
  #page-textpage .emb-logo.away { right: 36px; left: auto; top: 46px; width: 130px; height: 130px; }
  #page-textpage .emb-team-name { font-size: 32px; }
  #page-textpage .emb-team-name.home { left: 184px; top: 93px; max-width: 290px; }
  #page-textpage .emb-team-name.away { right: 184px; left: auto; top: 93px; max-width: 290px; text-align: right; }
  #page-textpage .emb-score { top: 61px; font-size: 100px; word-spacing: 50px; }
  #page-textpage .emb-meta {
    top: auto; bottom: 22px; left: 38px; right: auto;
    justify-content: flex-start; gap: 0; font-size: 17px; flex-wrap: nowrap;
  }
  #page-textpage .emb-meta span { padding-right: 24px; }
  #page-textpage .emb-stats {
    display: flex; position: absolute; bottom: 16px; right: 36px;
    align-items: center; gap: 16px;
  }
  #page-textpage .emb-stat { display: flex; align-items: center; gap: 7px; }
  #page-textpage .emb-stat-count {
    font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; color: #6a6a6b;
  }

}

/* ═══════════════ felag.html ═══════════════ */

#page-felag .felag-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #0d0e0e;
  line-height: 1.1;
  padding: 32px 20px 20px;
}

#page-felag .clubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 60px;
}

#page-felag .club-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #C4EEE4;
  border-radius: 8px;
  padding: 16px 8px 12px;
  gap: 8px;
  text-decoration: none;
}
#page-felag a.club-card:hover { background: #a8e0d4; }

#page-felag .club-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

#page-felag .club-name {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #0d0e0e;
  line-height: 1.3;
}

#page-felag .felag-big-bg { display: none; }

@media (min-width: 900px) {

  #page-felag .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-felag .felag-big-bg {
    display: block;
    position: absolute;
    left: calc(50% - 973px);
    top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px;
    font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }

  #page-felag .felag-title {
    position: absolute;
    left: calc(50% - 725px);
    top: 211px;
    font-size: 100px;
    font-weight: 700;
    line-height: 1.1;
    padding: 0;
    color: #0d0e0e;
    z-index: 2;
    animation: sagaFadeIn 0.6s ease 0.5s both;
  }

  #page-felag .clubs-grid {
    position: relative;
    left: auto;
    top: auto;
    width: 1200px;
    margin: 420px auto 0;
    z-index: 2;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
  }

  #page-felag .club-card {
    padding: 20px 12px 16px;
    border-radius: 10px;
  }

  #page-felag .club-logo {
    width: 80px;
    height: 70px;
  }

  #page-felag .club-name { font-size: 14px; }

  #page-felag .site-footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 60px;
  }

}

/* ── #page-felag: match cards (detail view) ── */

#page-felag .felag-matches-section { padding: 0 8px; margin-top: 16px; }

#page-felag .match-card-mobile {
  position: relative;
  width: 100%; height: 308px;
  background: #e7ecef; border: 3px solid #fff;
  border-radius: 10px; overflow: visible;
  display: block; text-decoration: none;
  animation: sagaFadeIn 0.5s ease both;
  margin-bottom: 30px;
}
#page-felag .match-card-mobile:hover { background: #c4eee4; }

#page-felag .mcm-result-badge {
  position: absolute; right: -7px; top: -12px;
  width: 43px; height: 43px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800; color: #000;
  z-index: 2;
  animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) 0.2s both;
}
#page-felag .result-win  { background: #0ac6a2; }
#page-felag .result-draw { background: #ffd952; }
#page-felag .result-loss { background: #fc6273; }

#page-felag .mcm-logo { position: absolute; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#page-felag .mcm-home { left: 22px; top: 40px; width: 77px; height: 77px; }
#page-felag .mcm-away { right: 21px; top: 31px; width: 68px; height: 86px; }
#page-felag .mcm-logo img { width: 100%; height: 100%; object-fit: contain; }

#page-felag .mcm-score {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 89px; height: 86px;
  display: flex; align-items: center;
  font-family: 'Poppins', sans-serif; font-size: 60px; font-weight: 800; color: #293341;
  line-height: 1; white-space: nowrap;
}
#page-felag .mcm-team {
  position: absolute;
  font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: #293341;
}
#page-felag .mcm-team-home { left: 26px; top: 123px; }
#page-felag .mcm-team-away { right: 22px; top: 124px; }
#page-felag .mcm-meta-row {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  font-family: 'Poppins', sans-serif; font-size: 17px; color: #6a6a6b;
}
#page-felag .mcm-meta-row .light { font-weight: 300; }
#page-felag .mcm-meta1 { top: 175px; font-weight: 400; }
#page-felag .mcm-meta2 { top: 208px; font-weight: 300; }

#page-felag .match-row { display: none; }
#page-felag .match-card-link { display: none; }

@media (min-width: 900px) {

  #page-felag .felag-matches-section { padding: 0; margin: 703px auto 0; max-width: 1220px; }
  #page-felag .match-card-mobile { display: none; }

  #page-felag .match-row {
    display: block;
    position: relative;
    height: 336px;
    margin-bottom: 24px;
  }

  #page-felag .match-card-link {
    display: block;
    position: absolute;
    inset: 23px 0 0 0;
    z-index: 5;
    text-decoration: none;
  }

}

/* ═══════════════ leikir4.html ═══════════════ */

#page-leikir .page-title-section { padding: 24px 12px 0; position: relative; }

#page-leikir .page-big-number {
  font-family: 'Poppins', sans-serif;
  font-size: 180px; font-weight: 800;
  color: rgba(255,255,255,0.42);
  line-height: 1;
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 0; white-space: nowrap;
  animation: bigNumFadeIn 0.8s ease 0.2s both;
}

@keyframes bigNumFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#page-leikir .page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 700;
  color: #0d0e0e; line-height: 1.1;
  position: relative; z-index: 2;
  padding-top: 40px; margin-bottom: 8px;
  animation: sagaFadeIn 0.6s ease both;
}

#page-leikir .tabs-desktop { display: none; }
#page-leikir .tabs-bar {
  background: transparent;
  padding: 12px 17px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 10px;
  margin-top: 16px;
}
#page-leikir .tabs-year-row { display: flex; align-items: center; gap: 16px; }
#page-leikir .tabs-tabs-row { display: flex; align-items: center; gap: 20px; }
#page-leikir .tabs-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px; font-weight: 400;
  color: #030303; white-space: nowrap;
}
#page-leikir .tabs-dropdown {
  background: #fff; border-radius: 10px;
  padding: 4px 12px;
  display: flex; align-items: center; gap: 8px;
}
#page-leikir .tabs-dropdown span {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 700; color: #030303;
}
#page-leikir .tabs-tab {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 400;
  color: rgba(0,0,0,0.5); white-space: nowrap; cursor: pointer;
}
#page-leikir .tabs-tab.active-tab { font-weight: 700; color: #0b7f65; }
#page-leikir a.tabs-tab { text-decoration: none; }

#page-leikir .section-label-mobile {
  font-family: 'Poppins', sans-serif;
  font-size: 40px; font-weight: 600;
  color: #000; padding: 0 17px; margin-top: 16px;
}
#page-leikir .matches-section { padding: 0 8px; margin-top: 16px; }
#page-leikir .matches-grid { display: flex; flex-direction: column; gap: 30px; }
#page-leikir #matches-all { padding: 0 8px; margin-top: 16px; }
#page-leikir .leikir-tegund { display: flex; flex-direction: column; gap: 30px; margin-bottom: 30px; }
#page-leikir .leikir-tegund-heading { font-family: Poppins, sans-serif; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6a6a6b; padding: 4px 0 0; }
#page-leikir .match-row { display: none; }

#page-leikir .match-card-mobile,
#page-leikur .match-card-mobile {
  position: relative;
  width: 100%; max-width: 100%; height: 308px;
  background: #e7ecef;
  border: 3px solid #fff; border-radius: 10px;
  overflow: visible;
  animation: sagaFadeIn 0.5s ease both;
}
#page-leikir .result-win,
#page-leikur .result-win  { background: #0ac6a2; }
#page-leikir .result-draw,
#page-leikur .result-draw { background: #ffd952; }
#page-leikir .result-loss,
#page-leikur .result-loss { background: #fc6273; }

#page-leikir .mcm-result-badge,
#page-leikur .mcm-result-badge {
  position: absolute; right: -7px; top: -12px;
  width: 43px; height: 43px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 800; color: #000;
  z-index: 2;
  animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) 0.2s both;
}
#page-leikir .mcm-logo,
#page-leikur .mcm-logo { position: absolute; overflow: hidden; }
#page-leikir .mcm-logo,
#page-leikur .mcm-logo svg { display: block; }
#page-leikir .mcm-logo img,
#page-leikur .mcm-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
#page-leikir .mcm-home,
#page-leikur .mcm-home { left: 22px; top: 40px; width: 77px; height: 77px; }
#page-leikir .mcm-away,
#page-leikur .mcm-away { right: 21px; top: 31px; width: 68px; height: 86px; }
#page-leikir .mcm-home svg, #page-leikur .mcm-home svg,
#page-leikir .mcm-away svg, #page-leikur .mcm-away svg { width: 100%; height: 100%; }
#page-leikir .mcm-score,
#page-leikur .mcm-score {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 89px; height: 86px;
  display: flex; align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 800; color: #293341;
  line-height: 1; white-space: nowrap;
}
#page-leikir .mcm-team,
#page-leikur .mcm-team {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700; color: #293341;
}
#page-leikir .mcm-team-home,
#page-leikur .mcm-team-home { left: 26px; top: 123px; }
#page-leikir .mcm-team-away,
#page-leikur .mcm-team-away { right: 22px; top: 124px; }
#page-leikir .mcm-meta-row,
#page-leikur .mcm-meta-row {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  font-family: 'Poppins', sans-serif; font-size: 17px; color: #6a6a6b;
}
#page-leikir .mcm-meta-row,
#page-leikur .mcm-meta-row .light { font-weight: 300; }
#page-leikir .mcm-meta1,
#page-leikur .mcm-meta1 { top: 175px; font-weight: 400; }
#page-leikir .mcm-meta2,
#page-leikur .mcm-meta2 { top: 208px; font-weight: 300; }
#page-leikir .mcm-stats,
#page-leikur .mcm-stats {
  position: absolute; left: 0; right: 0; top: 253px;
  display: flex; justify-content: center; align-items: center; gap: 14px;
}
#page-leikir .mcm-stat,
#page-leikur .mcm-stat { display: flex; align-items: center; gap: 5px; }
#page-leikir .mcm-stat,
#page-leikur .mcm-stat span {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 700; color: #6a6a6b;
}

#page-leikir .comp-tabs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px 17px 0; margin-top: 8px;
}

#page-leikir .page-big-number-desktop,
#page-leikir .page-title-desktop { display: none; }

@media (min-width: 900px) {

  #page-leikir .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-leikir .page-title-section { display: none; }

  #page-leikir .page-big-number-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 973px); top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }

  #page-leikir .page-title-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 725px); top: 211px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700;
    color: #0d0e0e; line-height: 150px;
    z-index: 2;
    animation: sagaFadeIn 0.6s ease both;
  }

  #page-leikir .tabs-bar { display: none; }

  #page-leikir .tabs-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 269px); top: 267px;
    width: 924px; height: 83px;
    z-index: 5;
  }
  #page-leikir .tabs-desktop-bg { display: none; }
  #page-leikir .tabs-desktop-year-label {
    position: absolute;
    left: 115px; top: 23px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px; font-weight: 400; color: #030303;
  }
  #page-leikir .tabs-desktop-active-tab { display: none; }
  #page-leikir .tabs-desktop-year-select {
    position: absolute;
    left: 182px; top: 24px;
    width: 133px; height: 37px;
    background: #fff; border: none; border-radius: 10px;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 700; color: #030303;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
  }
  #page-leikir .tabs-desktop-tab {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 400;
    color: #030303; cursor: pointer; text-decoration: none;
  }
  #page-leikir .tabs-desktop-tab.is-active { font-weight: 700; color: #0b7f65; }

  #page-leikir .section-label-mobile { display: none; }

  #page-leikir .comp-tabs {
    position: absolute;
    left: calc(50% - 722px); top: 430px;
    display: flex; align-items: center; gap: 10px;
    padding: 0; margin: 0;
    z-index: 2;
  }

  #page-leikir .matches-section { display: none; }

  #page-leikir .match-card-mobile { display: none; }
  #page-leikir .match-row { display: block; }
  #page-leikir #matches-all {
    padding: 0;
    margin-top: 0;
    display: block;
    position: relative;
    width: 1220px;
    margin: 548px auto 0;
  }
  #page-leikir .leikir-tegund { display: block; margin-bottom: 48px; }
  #page-leikir .leikir-tegund-heading { font-size: 1rem; padding: 0 0 8px; }

  #page-leikir .matches-desktop {
    display: block;
    position: relative;
    width: 1220px;
    margin: 548px auto 0;
  }

  #page-leikir .match-row {
    position: relative;
    left: auto;
    width: 1221px; height: 336px;
    display: block; text-decoration: none;
  }

  #page-leikir .match-card,
    #page-leikur .match-card {
    position: absolute;
    left: 0; top: 23px;
    width: 1196px; height: 313px;
    background: #e7ecef;
    border: 3px solid #fff; border-radius: 10px;
    overflow: visible; cursor: pointer;
    transition: background 0.15s;
    animation: sagaFadeIn 0.5s ease both;
  }
  #page-leikir .match-card:hover,
    #page-leikur .match-card:hover { background: #C4EEE4; }

  #page-leikir .result-badge,
    #page-leikur .result-badge {
    position: absolute;
    right: -25px; top: -23px;
    width: 65px; height: 65px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 40px; font-weight: 800; color: #000;
    z-index: 3;
    animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) both;
  }

  #page-leikir .match-logo,
    #page-leikur .match-logo {
    position: absolute; top: 46px;
    width: 130px; height: 130px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; overflow: hidden;
  }
  #page-leikir .match-logo.home,
    #page-leikur .match-logo.home { left: 36px; }
  #page-leikir .match-logo.away,
    #page-leikur .match-logo.away { left: 1030px; }
  #page-leikir .match-logo img,
    #page-leikur .match-logo img { width: 100%; height: 100%; object-fit: contain; }

  #page-leikir .match-team-name,
    #page-leikur .match-team-name {
    position: absolute; top: 93px;
    font-family: 'Poppins', sans-serif;
    font-size: 32px; font-weight: 700;
    color: #2a3342; line-height: 1.2;
  }
  #page-leikir .match-team-name.home,
    #page-leikur .match-team-name.home { left: 184px; max-width: 290px; }
  #page-leikir .match-team-name.away,
    #page-leikur .match-team-name.away { right: 190px; left: auto; max-width: 290px; text-align: right; }

  #page-leikir .match-score,
    #page-leikur .match-score {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 61px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 800; color: #2a3342;
    line-height: 1; white-space: nowrap; word-spacing: 50px;
  }
  #page-leikir .match-score-line,
    #page-leikur .match-score-line {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 155px; width: 180px; height: 1px;
    background: rgba(200,196,196,1);
  }
  #page-leikir .match-meta,
    #page-leikur .match-meta {
    position: absolute; bottom: 22px; left: 38px;
    display: flex; gap: 0; align-items: center;
  }
  #page-leikir .match-meta,
    #page-leikur .match-meta span {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; color: #6a6a6b; padding-right: 24px;
  }
  #page-leikir .match-meta,
    #page-leikur .match-meta span.light { font-weight: 300; }

  #page-leikir .match-stats {
    position: absolute; bottom: 16px; right: 36px;
    display: flex; align-items: center; gap: 16px;
  }
  #page-leikir .match-stat { display: flex; align-items: center; gap: 7px; }
  #page-leikir .match-stat-icon {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
  }
  #page-leikir .match-stat-count {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; font-weight: 700; color: #6a6a6b;
  }

  #page-leikir .site-footer {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important; margin-top: 60px;
  }

}

/* ═══════════════ leikmenn.html ═══════════════ */

#page-leikmenn .page-title-section { padding: 24px 12px 0; position: relative; }
#page-leikmenn .page-big-number {
  font-family: 'Poppins', sans-serif;
  font-size: 180px; font-weight: 800;
  color: rgba(255,255,255,0.42);
  line-height: 1; position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 0; white-space: nowrap;
  animation: bigNumFadeIn 0.8s ease 0.2s both;
}
#page-leikmenn .page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px; font-weight: 700; color: #0d0e0e;
  line-height: 1.1; position: relative; z-index: 2;
  padding-top: 40px; margin-bottom: 8px;
  animation: sagaFadeIn 0.6s ease both;
}

#page-leikmenn .tabs-bar {
  background: transparent; padding: 12px 17px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 10px; margin-top: 16px;
}
#page-leikmenn .tabs-year-row { display: flex; align-items: center; gap: 16px; }
#page-leikmenn .tabs-tabs-row { display: flex; align-items: center; gap: 20px; }
#page-leikmenn .tabs-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px; font-weight: 400; color: #030303; white-space: nowrap;
}
#page-leikmenn .tabs-dropdown {
  background: #fff; border-radius: 10px;
  padding: 4px 12px; display: flex; align-items: center; gap: 8px;
}
#page-leikmenn .tabs-dropdown span {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 700; color: #030303;
}
#page-leikmenn .tabs-tab {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 400;
  color: rgba(0,0,0,0.5); white-space: nowrap; cursor: pointer;
}
#page-leikmenn .tabs-tab.active-tab { font-weight: 700; color: #0b7f65; }
#page-leikmenn a.tabs-tab { text-decoration: none; }

#page-leikmenn .la-content { margin-top: 24px; }
#page-leikmenn .players-grid { display: flex; flex-direction: column; gap: 20px; }
#page-leikmenn .player-card {
  display: block; background: #e7ecef;
  border: 3px solid #fff; border-radius: 10px;
  overflow: hidden; width: 100%; height: 162px;
  position: relative; text-decoration: none;
  animation: sagaFadeIn 0.5s ease both;
}
#page-leikmenn .player-card-photo {
  position: absolute; left: 0; top: 0;
  width: 152px; height: 100%; object-fit: cover;
}
#page-leikmenn .player-card-info { position: absolute; left: 168px; top: 20px; right: 12px; }
#page-leikmenn .player-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 800; color: #000;
  line-height: 1.2; margin-bottom: 20px;
}
#page-leikmenn .player-card-stats { display: flex; gap: 20px; }
#page-leikmenn .player-stat { display: flex; flex-direction: column; }
#page-leikmenn .player-stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px; font-weight: 500; color: #0b7f65;
  text-transform: uppercase; line-height: 1.2;
}
#page-leikmenn .player-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 700; color: #000; line-height: 1;
}

#page-leikmenn .page-big-number-desktop,
#page-leikmenn .page-title-desktop { display: none; }

@media (min-width: 900px) {

  #page-leikmenn .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-leikmenn .page-title-section { display: none; }

  #page-leikmenn .page-big-number-desktop {
    display: block; position: absolute;
    left: calc(50% - 973px); top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42); line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }
  #page-leikmenn .page-title-desktop {
    display: block; position: absolute;
    left: calc(50% - 725px); top: 211px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700; color: #0d0e0e; line-height: 150px;
    z-index: 2; animation: sagaFadeIn 0.6s ease both;
  }

  #page-leikmenn .tabs-bar { display: none; }
  #page-leikmenn .tabs-desktop {
    display: block; position: absolute;
    left: calc(50% - 269px); top: 267px;
    width: 924px; height: 83px; z-index: 5;
  }
  #page-leikmenn .tabs-desktop-bg { display: none; }
  #page-leikmenn .tabs-desktop-year-label {
    position: absolute; left: 115px; top: 23px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px; font-weight: 400; color: #030303;
  }
  #page-leikmenn .tabs-desktop-active-tab { display: none; }
  #page-leikmenn .tabs-desktop-year-select {
    position: absolute; left: 182px; top: 24px;
    width: 133px; height: 37px;
    background: #fff; border: none; border-radius: 10px; padding: 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 700; color: #030303;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
  }
  #page-leikmenn .tabs-desktop-tab {
    position: absolute; font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 400; color: #030303;
    cursor: pointer; text-decoration: none;
  }
  #page-leikmenn .tabs-desktop-tab.is-active { font-weight: 700; color: #0b7f65; }

  #page-leikmenn .la-content { padding-top: 438px; max-width: 1440px; }

  #page-leikmenn .site-footer {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important; margin-top: 60px;
  }

}

/* ═══════════════════════════════════════════════════════════
   PAGE: LEIKMENN-ALLIR (leikmenn-allir.html)
═══════════════════════════════════════════════════════════ */

/* Mobile title */
#page-leikmenn-allir .page-title-section { padding: 24px 12px 0; position: relative; }
#page-leikmenn-allir .page-big-number {
  font-family: 'Poppins', sans-serif; font-size: 180px; font-weight: 800;
  color: rgba(255,255,255,0.42); line-height: 1;
  position: absolute; left: 50%; transform: translateX(-50%); top: 0; white-space: nowrap;
  animation: bigNumFadeIn 0.8s ease 0.2s both;
}
#page-leikmenn-allir .page-title {
  font-family: 'Poppins', sans-serif; font-size: 60px; font-weight: 700; color: #0d0e0e;
  line-height: 1.1; position: relative; z-index: 2; padding-top: 40px; margin-bottom: 8px;
  animation: sagaFadeIn 0.6s ease both;
}
/* Desktop title */
#page-leikmenn-allir .page-big-number-desktop,
#page-leikmenn-allir .page-title-desktop { display: none; }

/* Content wrapper */
.la-content { max-width: 1160px; margin: 0 auto; padding: 0 16px 60px; position: relative; z-index: 2; }

/* Filter bar */
.la-filter-bar {
  padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 10px;
}
.la-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.la-sort-label {
  font-family: 'Open Sans', sans-serif; font-size: 12px; font-weight: 700;
  color: #6a6a6b; text-transform: uppercase; letter-spacing: 0.05em; margin-right: 2px;
}
.la-type-btn, .la-sort-btn {
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  color: #293341; background: #e7ecef; border: 2px solid #fff;
  border-radius: 20px; padding: 5px 12px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.15s, color 0.15s;
}
.la-type-btn.active, .la-sort-btn.active {
  background: #006a53; color: #fff; border-color: #006a53;
}
.la-type-btn:hover:not(.active), .la-sort-btn:hover:not(.active) { background: #d0dade; }

/* Player grid */
.la-players-section { padding: 8px 12px 40px; }
.la-players-grid { display: flex; flex-direction: column; gap: 20px; }
.la-card {
  display: block; background: #e7ecef; border: 3px solid #fff;
  border-radius: 10px; overflow: hidden; position: relative;
  height: 162px; text-decoration: none; animation: sagaFadeIn 0.4s ease both;
}
.la-card:hover { background: #c4eee4; }
.la-photo {
  position: absolute; left: 0; top: 0;
  width: 152px; height: 100%; object-fit: cover;
}
.la-info { position: absolute; left: 168px; top: 20px; right: 12px; }
.la-name {
  font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800;
  color: #000; line-height: 1.2; margin-bottom: 20px;
}
.la-stats { display: flex; gap: 20px; }
.la-stat { display: flex; flex-direction: column; }
.la-stat-label {
  font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 500;
  color: #0b7f65; text-transform: uppercase; line-height: 1.2;
}
.la-stat-value {
  font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700;
  color: #000; line-height: 1;
}

@media (min-width: 700px) and (max-width: 899px) {
  .la-players-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .la-filter-bar { padding: 20px 12px 12px; flex-direction: row; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 900px) {
  #page-leikmenn-allir .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }
  #page-leikmenn-allir .page-title-section { display: none; }
  #page-leikmenn-allir .page-big-number-desktop {
    display: block; position: absolute;
    left: calc(50% - 973px); top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42); line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }
  #page-leikmenn-allir .page-title-desktop {
    display: block; position: absolute;
    left: calc(50% - 725px); top: 211px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700; color: #0d0e0e; line-height: 150px;
    z-index: 2; animation: sagaFadeIn 0.6s ease both;
  }
  #page-leikmenn-allir .la-content { padding-top: 400px; max-width: 1440px; }
  .la-filter-bar { padding: 0 0 16px; flex-direction: row; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
  .la-players-grid { display: grid; grid-template-columns: 467px 465px 467px; gap: 20px; }
  .la-card { height: 207px; }
  .la-photo { width: 195px; }
  .la-info { left: 211px; top: 24px; }
  .la-name { font-size: 28px; margin-bottom: 20px; }
  .la-stat-label { font-size: 18px; }
  .la-stat-value { font-size: 32px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE: MYNDIR (myndir4.html)
═══════════════════════════════════════════════════════════ */

/* ── Mobile ── */
#page-myndir .page-title-section {
  padding: 24px 12px 0;
  position: relative;
}
#page-myndir .page-big-number {
  font-family: 'Poppins', sans-serif;
  font-size: 180px;
  font-weight: 800;
  color: rgba(255,255,255,0.42);
  line-height: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  white-space: nowrap;
}
#page-myndir .page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #0d0e0e;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  margin-bottom: 8px;
}
#page-myndir .tabs-bar {
  background: transparent;
  padding: 12px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
#page-myndir .tabs-year-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
#page-myndir .tabs-tabs-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
#page-myndir .tabs-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #030303;
  white-space: nowrap;
}
#page-myndir .tabs-dropdown {
  background: #fff;
  border-radius: 10px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#page-myndir .tabs-dropdown span {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #030303;
}
#page-myndir .tabs-tab {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(0,0,0,0.5);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
#page-myndir .tabs-tab.active-tab {
  font-weight: 700;
  color: #0b7f65;
}
#page-myndir a.tabs-tab { text-decoration: none; }
#page-myndir .gallery-section {
  padding: 20px 17px 40px;
}
#page-myndir .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#page-myndir .gallery-grid .lb-thumb {
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
  background: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
#page-myndir .gallery-grid .lb-thumb.visible {
  opacity: 1;
  transform: translateY(0);
}
#page-myndir .gallery-grid .lb-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.2s;
}
#page-myndir .gallery-grid .lb-thumb:hover img { transform: scale(1.04); }

/* Desktop overrides for lightbox on this page */
#page-myndir ~ #lb-overlay { background: rgba(0, 80, 62, 0.92) !important; flex-direction: column; justify-content: center; align-items: center; overflow-y: auto; }

/* ── Animations ── */
@keyframes bigNumFadeInMyndir {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#page-myndir .page-big-number { animation: bigNumFadeInMyndir 0.8s ease 0.2s both; }
#page-myndir .page-title      { animation: sagaFadeIn 0.6s ease both; }

/* Desktop: big number + title hidden by default */
#page-myndir .page-big-number-desktop,
#page-myndir .page-title-desktop { display: none; }

/* ── Desktop ── */
@media (min-width: 900px) {
  #page-myndir .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-myndir .page-title-section { display: none; }

  #page-myndir .page-big-number-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 973px);
    top: 48px;
    animation: sagaFadeIn 0.8s ease 0.25s both;
    font-family: 'Poppins', sans-serif;
    font-size: 300px;
    font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none;
    z-index: 1;
    pointer-events: none;
  }

  #page-myndir .page-title-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 725px);
    top: 211px;
    animation: sagaFadeIn 0.6s ease both;
    font-family: 'Poppins', sans-serif;
    font-size: 100px;
    font-weight: 700;
    color: #0d0e0e;
    line-height: 150px;
    z-index: 2;
  }

  #page-myndir .tabs-bar { display: none; }

  #page-myndir .tabs-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 269px);
    top: 267px;
    width: 924px;
    height: 83px;
    z-index: 5;
  }
  #page-myndir .tabs-desktop-bg { display: none; }
  #page-myndir .tabs-desktop-year-label {
    position: absolute;
    left: 115px; top: 23px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #030303;
  }
  #page-myndir .tabs-desktop-active-tab { display: none; }
  #page-myndir .tabs-desktop-year-select {
    position: absolute;
    left: 182px; top: 24px;
    width: 133px; height: 37px;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #030303;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  #page-myndir .tabs-desktop-tab {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #030303;
    cursor: pointer;
    text-decoration: none;
  }
  #page-myndir .tabs-desktop-tab.is-active {
    font-weight: 700;
    color: #0b7f65;
  }

  /* Gallery – dynamic height, 3-col grid */
  #page-myndir .gallery-section {
    display: block;
    position: relative;
    left: auto;
    top: auto;
    width: 1200px;
    margin: 400px auto 0;
    padding: 0;
  }
  #page-myndir .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  #page-myndir .site-footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 60px;
  }

  /* Lightbox overrides */
  #lb-overlay { background: rgba(0, 80, 62, 0.92) !important; flex-direction: column; justify-content: center; align-items: center; overflow-y: auto; }
  #lb-prev, #lb-next { top: calc(50% - 60px) !important; }
  #lb-content { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: fit-content; max-width: min(1200px, 95vw); border-radius: 12px; overflow: hidden; }
  #lb-img { max-width: min(1200px, 95vw) !important; max-height: 72vh !important; border-radius: 0 !important; box-shadow: none !important; width: auto !important; height: auto !important; display: block !important; }
  #lb-caption {
    color: #111;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    white-space: pre-wrap;
    background: #fff;
    line-height: 1.6;
    padding: 16px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE: MYNDBÖND (myndbond.html)
═══════════════════════════════════════════════════════════ */

/* ── Mobile ── */
#page-myndbond .page-title-section {
  padding: 24px 12px 0;
  position: relative;
}
#page-myndbond .page-big-number {
  font-family: 'Poppins', sans-serif;
  font-size: 180px;
  font-weight: 800;
  color: rgba(255,255,255,0.42);
  line-height: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  white-space: nowrap;
}
#page-myndbond .page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #0d0e0e;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  margin-bottom: 8px;
}
#page-myndbond .tabs-bar {
  background: transparent;
  padding: 12px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
#page-myndbond .tabs-year-row { display: flex; align-items: center; gap: 16px; }
#page-myndbond .tabs-tabs-row { display: flex; align-items: center; gap: 20px; }
#page-myndbond .tabs-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px; font-weight: 400; color: #030303; white-space: nowrap;
}
#page-myndbond .tabs-dropdown {
  background: #fff; border-radius: 10px; padding: 4px 12px;
  display: flex; align-items: center; gap: 8px;
}
#page-myndbond .tabs-dropdown span {
  font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: #030303;
}
#page-myndbond .tabs-tab {
  font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 400;
  color: rgba(0,0,0,0.5); white-space: nowrap; cursor: pointer; text-decoration: none;
}
#page-myndbond .tabs-tab.active-tab { font-weight: 700; color: #0b7f65; }
#page-myndbond a.tabs-tab { text-decoration: none; }
#page-myndbond .gallery-section { padding: 20px 17px 40px; }
#page-myndbond .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#page-myndbond .gallery-grid .lb-thumb {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}
#page-myndbond .gallery-grid .lb-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s;
}
#page-myndbond .gallery-grid .lb-thumb.visible { opacity: 1; transform: translateY(0); }
#page-myndbond .gallery-grid .lb-thumb:hover img { transform: scale(1.04); }

#page-myndbond .page-big-number { animation: bigNumFadeInMyndir 0.8s ease 0.2s both; }
#page-myndbond .page-title      { animation: sagaFadeIn 0.6s ease both; }

#page-myndbond .page-big-number-desktop,
#page-myndbond .page-title-desktop { display: none; }

/* ── Desktop ── */
@media (min-width: 900px) {
  #page-myndbond .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-myndbond .page-title-section { display: none; }

  #page-myndbond .page-big-number-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 973px); top: 48px;
    animation: sagaFadeIn 0.8s ease 0.25s both;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none;
  }

  #page-myndbond .page-title-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 725px); top: 211px;
    animation: sagaFadeIn 0.6s ease both;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700;
    color: #0d0e0e; line-height: 150px; z-index: 2;
  }

  #page-myndbond .tabs-bar { display: none; }

  #page-myndbond .tabs-desktop {
    display: block; position: absolute;
    left: calc(50% - 269px); top: 267px;
    width: 924px; height: 83px; z-index: 5;
  }
  #page-myndbond .tabs-desktop-bg { display: none; }
  #page-myndbond .tabs-desktop-year-label {
    position: absolute; left: 115px; top: 23px;
    font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 400; color: #030303;
  }
  #page-myndbond .tabs-desktop-active-tab { display: none; }
  #page-myndbond .tabs-desktop-year-select {
    position: absolute; left: 182px; top: 24px;
    width: 133px; height: 37px;
    background: #fff; border: none; border-radius: 10px;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: #030303;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
  }
  #page-myndbond .tabs-desktop-tab {
    position: absolute;
    font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 400;
    color: #030303; cursor: pointer; text-decoration: none;
  }
  #page-myndbond .tabs-desktop-tab.is-active { font-weight: 700; color: #0b7f65; }

  /* Video grid – dynamic height */
  #page-myndbond .gallery-section {
    display: block; position: relative; left: auto; top: auto;
    width: 1200px; margin: 400px auto 0; padding: 0;
  }
  #page-myndbond .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  #page-myndbond .site-footer {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important; margin-top: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE: BLÖÐIN (saga/blodin)
═══════════════════════════════════════════════════════════ */

#page-blodin .gallery-section { padding: 20px 17px 40px; }
#page-blodin .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#page-blodin .gallery-grid .lb-thumb {
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
  background: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
#page-blodin .gallery-grid .lb-thumb.visible { opacity: 1; transform: translateY(0); }
#page-blodin .gallery-grid .lb-thumb img {
  width: 100%; height: auto; display: block; transition: transform 0.2s;
}
#page-blodin .gallery-grid .lb-thumb:hover img { transform: scale(1.04); }

#page-blodin .page-big-number { animation: bigNumFadeInMyndir 0.8s ease 0.2s both; }
#page-blodin .page-title      { animation: sagaFadeIn 0.6s ease both; }

#page-blodin .page-big-number-desktop,
#page-blodin .page-title-desktop { display: none; }

/* ── Desktop ── */
@media (min-width: 900px) {
  #page-blodin .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-blodin .page-title-section { display: none; }

  #page-blodin .page-big-number-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 973px); top: 48px;
    animation: sagaFadeIn 0.8s ease 0.25s both;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none;
  }

  #page-blodin .page-title-desktop {
    display: block;
    position: absolute;
    left: calc(50% - 725px); top: 211px;
    animation: sagaFadeIn 0.6s ease both;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700;
    color: #0d0e0e; line-height: 150px; z-index: 2;
  }

  #page-blodin .tabs-bar { display: none; }

  #page-blodin .tabs-desktop {
    display: block; position: absolute;
    left: calc(50% - 269px); top: 267px;
    width: 924px; height: 83px; z-index: 5;
  }
  #page-blodin .tabs-desktop-bg { display: none; }
  #page-blodin .tabs-desktop-year-label {
    position: absolute; left: 115px; top: 23px;
    font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 400; color: #030303;
  }
  #page-blodin .tabs-desktop-active-tab { display: none; }
  #page-blodin .tabs-desktop-year-select {
    position: absolute; left: 182px; top: 24px;
    width: 133px; height: 37px;
    background: #fff; border: none; border-radius: 10px;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: #030303;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5.5 5L12 1' stroke='%23030303' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
  }
  #page-blodin .tabs-desktop-tab {
    position: absolute;
    font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 400;
    color: #030303; cursor: pointer; text-decoration: none;
  }
  #page-blodin .tabs-desktop-tab.is-active { font-weight: 700; color: #0b7f65; }

  #page-blodin .gallery-section {
    display: block; position: relative; left: auto; top: auto;
    width: 1200px; margin: 400px auto 0; padding: 0;
  }
  #page-blodin .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  #page-blodin .site-footer {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important; margin-top: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE: FRÉTTIR (frettir.html)
═══════════════════════════════════════════════════════════ */

/* ── Mobile ── */
#page-frettir .frettir-title {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: #0d0e0e;
  padding: 32px 20px 0;
  line-height: 1.1;
  margin: 0;
}
#page-frettir .frettir-list {
  padding: 12px 17px 0;
}
#page-frettir .article-card {
  display: flex;
  gap: 14px;
  padding: 16px 8px;
  margin: 0 -8px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}
#page-frettir .article-card:hover { background: #C4EEE4; }
#page-frettir .article-img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
#page-frettir .article-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
#page-frettir .article-date {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #888;
}
#page-frettir .article-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0d0e0e;
  line-height: 1.3;
}
#page-frettir .article-excerpt {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#page-frettir .article-sep {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 0;
}
#page-frettir .frettir-bg-text { display: none; }

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
#page-frettir .article-card.card-visible {
  animation: cardFadeIn 0.4s ease both;
}

/* Mobile pagination */
#page-frettir .frettir-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 24px 20px 60px;
}
#page-frettir .pag-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: #0d0e0e;
  cursor: pointer;
  transition: background 0.15s;
}
#page-frettir .pag-btn:hover:not(:disabled) { background: #C4EEE4; }
#page-frettir .pag-btn.pag-active { background: #006a53; color: #fff; }
#page-frettir .pag-btn:disabled { opacity: 0.3; cursor: default; }

/* ── Desktop ── */
@media (min-width: 900px) {
  #page-frettir .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  #page-frettir .frettir-bg-text {
    display: block;
    position: absolute;
    left: calc(50% - 973px);
    top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px;
    font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }

  #page-frettir .frettir-title {
    position: absolute;
    left: calc(50% - 725px);
    top: 211px;
    font-size: 100px;
    padding: 0;
    z-index: 2;
    animation: sagaFadeIn 0.6s ease 0.5s both;
  }

  #page-frettir .frettir-list {
    position: relative;
    left: auto;
    top: auto;
    width: 1220px;
    margin: 340px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    z-index: 2;
  }

  #page-frettir .article-sep { display: none; }

  #page-frettir .article-card {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    border: 3px solid #fff;
    background: #e7ecef;
    overflow: hidden;
  }
  #page-frettir .article-card:hover { background: #C4EEE4; }

  #page-frettir .article-img {
    width: 100%;
    height: 210px;
    border-radius: 0;
    flex-shrink: 0;
  }
  #page-frettir .article-body { padding: 14px 18px 18px; gap: 5px; }
  #page-frettir .article-date { font-size: 13px; }
  #page-frettir .article-title { font-size: 20px; }
  #page-frettir .article-excerpt {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  #page-frettir .frettir-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 40px;
    padding-bottom: 0;
    z-index: 2;
  }
  #page-frettir .pag-btn {
    font-size: 18px;
    width: 48px;
    height: 48px;
  }

  #page-frettir .site-footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE: LEIKMADUR (leikmadur.html)
═══════════════════════════════════════════════════════════ */

@keyframes playerFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
#page-leikmadur .player-name       { animation: playerFadeIn 0.6s ease both; }
#page-leikmadur .hero-number       { animation: playerFadeIn 0.8s ease 0.25s both; }
#page-leikmadur .player-photo-card { animation: playerFadeIn 0.8s ease 0.5s both; }
#page-leikmadur .stat-card         { animation: playerFadeIn 0.5s ease both; }
#page-leikmadur .sc-leikir-breid   { animation-delay: 1.1s; }
#page-leikmadur .sc-mork-breid     { animation-delay: 1.4s; }
#page-leikmadur .sc-island-a       { animation-delay: 1.7s; }
#page-leikmadur .sc-mork-island    { animation-delay: 2.0s; }

@media (min-width: 900px) {
  /* Hold page tall enough for all absolute-positioned content */
  #page-leikmadur .page { min-height: 2050px; }

  #page-leikmadur .site-footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 2050px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE: LEIKUR (leikur.html) – single match page
═══════════════════════════════════════════════════════════ */

/* ── Mobile ── */
#page-leikur .leikur-card-section {
  padding: 16px 17px 0;
}
#page-leikur .matches-desktop { display: none; }
#page-leikur .match-card-mobile {
  cursor: default;
}
#page-leikur .mcm-logo img { width: 100%; height: 100%; object-fit: contain; }
/* Make stats anchor-links on mobile */
#page-leikur .mcm-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
#page-leikur .mcm-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
#page-leikur .mcm-stat span {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #6a6a6b;
}
#page-leikur .mcm-stat:hover span { color: #0b7f65; }
#page-leikur .mcm-stat:hover svg path,
#page-leikur .mcm-stat:hover svg circle,
#page-leikur .mcm-stat:hover svg polygon { stroke: #0b7f65; }

/* Sections */
#page-leikur .leikur-sections {
  padding: 24px 17px 0;
}
#page-leikur .leikur-section {
  margin-bottom: 40px;
}
#page-leikur .leikur-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0d0e0e;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}

/* Video */
#page-leikur .leikur-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
#page-leikur .leikur-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Photos – reuse gallery-grid styles */
#page-leikur .gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#page-leikur .gallery-grid .lb-thumb {
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
  background: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#page-leikur .gallery-grid .lb-thumb.visible {
  opacity: 1;
  transform: translateY(0);
}
#page-leikur .gallery-grid .lb-thumb img {
  width: 100%; height: auto; display: block;
  transition: transform 0.2s;
}
#page-leikur .gallery-grid .lb-thumb:hover img { transform: scale(1.04); }

/* Links list */
#page-leikur .leikur-links-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
#page-leikur .leikur-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 8px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.15s;
  border-radius: 6px;
}
#page-leikur .leikur-link-item:hover { background: #C4EEE4; }
#page-leikur .lli-source {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #0b7f65;
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
#page-leikur .lli-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0d0e0e;
  flex: 1;
  line-height: 1.4;
}
#page-leikur .lli-arrow {
  color: #aaa;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Desktop chrome hidden on mobile */
#page-leikur .leikur-bg-number,
#page-leikur .leikur-comp-title { display: none; }

/* ── Desktop ── */
@media (min-width: 900px) {
  #page-leikur .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  /* Chrome */
  #page-leikur .leikur-bg-number {
    display: block;
    position: absolute;
    left: calc(50% - 973px); top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px;
    user-select: none; z-index: 1; pointer-events: none; white-space: nowrap;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }
  #page-leikur .leikur-comp-title {
    display: block;
    position: absolute;
    left: calc(50% - 725px); top: 211px;
    font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 700;
    color: #0d0e0e; line-height: 150px; z-index: 2;
    animation: sagaFadeIn 0.6s ease 0.5s both;
  }

  /* Match card */
  #page-leikur .leikur-card-section {
    padding: 0;
  }
  #page-leikur .match-card-mobile { display: none; }
  #page-leikur .matches-desktop { display: block; }
  #page-leikur .match-row {
    position: relative;
    width: 1221px;
    height: 336px;
    margin: 548px auto 0;
  }
  #page-leikur .match-card {
    position: relative;
    left: auto; top: auto;
    width: 100%; height: 100%;
  }
  #page-leikur .match-card { cursor: default; }
  #page-leikur .match-card:hover { background: #e7ecef; }
  #page-leikur .match-logo img { width: 100%; height: 100%; object-fit: contain; }

  /* Stats as anchor links */
  #page-leikur .match-stats {
    position: absolute;
    bottom: 16px; right: 36px;
    display: flex; align-items: center; gap: 16px;
  }
  #page-leikur .match-stat {
    display: flex; align-items: center; gap: 7px;
    text-decoration: none;
    cursor: pointer;
  }
  #page-leikur .match-stat-icon {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
  }
  #page-leikur .match-stat-count {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; font-weight: 700; color: #6a6a6b;
  }
  #page-leikur .match-stat:hover .match-stat-count { color: #0b7f65; }
  #page-leikur .match-stat:hover svg path,
  #page-leikur .match-stat:hover svg circle,
  #page-leikur .match-stat:hover svg polygon { stroke: #0b7f65; }

  /* Content sections */
  #page-leikur .leikur-sections {
    position: relative;
    width: 1220px;
    margin: 48px auto 0;
    padding: 0;
  }

  #page-leikur .leikur-links-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
  }

  #page-leikur .leikur-section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  #page-leikur .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  #page-leikur .lli-title { font-size: 16px; }
  #page-leikur .lli-source { font-size: 12px; }

  #page-leikur .site-footer {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important; margin-top: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   #page-vollur  (stadium detail + list)
═══════════════════════════════════════════════════════════════ */

/* ── Back link ── */
.felag-back {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 600;
  color: #006a53; text-decoration: none;
  padding: 0 8px; margin: 16px 8px 0;
}
.felag-back:hover { text-decoration: underline; }

/* ── List page ── */
#page-vollur .vollur-big-bg {
  font-family: 'Poppins', sans-serif;
  font-size: 120px; font-weight: 800;
  color: rgba(255,255,255,0.42);
  line-height: 1;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
}
#page-vollur .vollur-title {
  font-family: 'Poppins', sans-serif;
  font-size: 52px; font-weight: 700;
  color: #0d0e0e; line-height: 1.1;
  padding: 0 12px; margin-top: -40px; margin-bottom: 12px;
  position: relative; z-index: 2;
}
#page-vollur .vollur-grid {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 10px 40px;
}
#page-vollur .vollur-card {
  display: flex; align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.55);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
#page-vollur .vollur-card:hover { background: #c4eee4; }
#page-vollur .vollur-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 600; color: #0d0e0e;
}

/* ── Mobile: Stat boxes ── */
#page-vollur .club-stats-row {
  display: flex; gap: 10px; padding: 16px 8px 0; flex-wrap: wrap;
}
#page-vollur .club-stat-box {
  background: #006a53; border-radius: 10px;
  position: relative; height: 115px;
  flex: 1; min-width: 100px;
}
#page-vollur .club-stat-box .csb-label {
  position: absolute; top: 14px; left: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 500;
  color: rgba(255,255,255,0.65); white-space: nowrap;
}
#page-vollur .club-stat-box .csb-value {
  position: absolute; bottom: 10px; left: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 44px; font-weight: 800; color: #fff; line-height: 1;
}
#page-vollur .club-stat-box.csb-sigrar    { background: #0ac6a2; }
#page-vollur .club-stat-box.csb-jafntefli { background: #ffd952; }
#page-vollur .club-stat-box.csb-tap       { background: #fc6273; }
#page-vollur .club-stat-box.csb-sigrar .csb-label,
#page-vollur .club-stat-box.csb-jafntefli .csb-label,
#page-vollur .club-stat-box.csb-tap .csb-label  { color: rgba(0,0,0,0.5); }
#page-vollur .club-stat-box.csb-sigrar .csb-value,
#page-vollur .club-stat-box.csb-jafntefli .csb-value,
#page-vollur .club-stat-box.csb-tap .csb-value  { color: #000; }

/* ── Mobile: Club header ── */
#page-vollur .club-header-block { padding: 24px 12px 0; }
#page-vollur .club-hb-title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 600;
  color: rgba(0,0,0,0.45); text-transform: uppercase; letter-spacing: 0.08em;
}
#page-vollur .club-hb-name {
  font-family: 'Poppins', sans-serif;
  font-size: 32px; font-weight: 700; color: #0d0e0e; line-height: 1.15;
  margin-top: 6px;
}

/* ── Mobile: Match cards ── */
#page-vollur .felag-matches-section { padding: 0 8px; margin-top: 16px; }
#page-vollur .match-card-mobile {
  position: relative; width: 100%; height: 308px;
  background: #e7ecef; border: 3px solid #fff; border-radius: 10px;
  overflow: visible; margin-bottom: 30px;
  animation: sagaFadeIn 0.5s ease both;
}
#page-vollur .match-card-mobile:hover { background: #c4eee4; }
#page-vollur .result-win  { background: #0ac6a2; }
#page-vollur .result-draw { background: #ffd952; }
#page-vollur .result-loss { background: #fc6273; }
#page-vollur .mcm-result-badge {
  position: absolute; right: -7px; top: -12px;
  width: 43px; height: 43px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 800; color: #000;
  z-index: 2;
  animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) 0.2s both;
}
#page-vollur .mcm-logo { position: absolute; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#page-vollur .mcm-home { left: 22px; top: 40px; width: 77px; height: 77px; }
#page-vollur .mcm-away { right: 21px; top: 31px; width: 68px; height: 86px; }
#page-vollur .mcm-logo img { width: 100%; height: 100%; object-fit: contain; }
#page-vollur .mcm-score {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 89px; height: 86px;
  font-family: 'Poppins', sans-serif; font-size: 55px; font-weight: 800; color: #2a3342;
  line-height: 1; white-space: nowrap;
}
#page-vollur .mcm-team {
  position: absolute; font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 700; color: #293341;
}
#page-vollur .mcm-team-home { left: 26px; top: 123px; }
#page-vollur .mcm-team-away { right: 22px; top: 124px; }
#page-vollur .mcm-meta-row {
  position: absolute; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  font-family: 'Poppins', sans-serif; font-size: 17px; color: #6a6a6b;
}
#page-vollur .mcm-meta-row .light { font-weight: 300; }
#page-vollur .mcm-meta1 { top: 175px; font-weight: 400; }
#page-vollur .mcm-meta2 { top: 208px; font-weight: 300; }

/* ── Desktop: hidden by default ── */
#page-vollur .club-stats-desktop { display: none; }
#page-vollur .club-bg-text       { display: none; }
#page-vollur .match-row          { display: none; }
#page-vollur .match-card-link    { display: none; }

@media (min-width: 900px) {

  #page-vollur .page { min-height: 0; overflow-x: hidden; overflow-y: visible; }

  /* List page desktop */
  #page-vollur .vollur-big-bg { display: none; }
  #page-vollur .vollur-title {
    position: absolute; left: calc(50% - 725px); top: 211px;
    font-size: 80px; margin: 0; padding: 0;
    animation: sagaFadeIn 0.6s ease both;
  }
  #page-vollur .vollur-grid {
    flex-direction: row; flex-wrap: wrap; gap: 12px;
    padding: 340px 0 60px;
    max-width: 1220px; margin: 0 auto;
  }
  #page-vollur .vollur-card {
    width: calc(33.33% - 8px);
    padding: 18px 20px;
  }
  #page-vollur .vollur-card-name { font-size: 22px; }

  /* Hide mobile, show desktop */
  #page-vollur .club-stats-row    { display: none; }
  #page-vollur .match-card-mobile { display: none; }

  /* Big bg name on detail page */
  #page-vollur .club-bg-text {
    display: block;
    position: absolute;
    left: calc(50% - 973px); top: 48px;
    font-family: 'Poppins', sans-serif;
    font-size: 300px; font-weight: 800;
    color: rgba(255,255,255,0.42);
    line-height: 450px; white-space: nowrap;
    user-select: none; pointer-events: none;
    z-index: 0;
    animation: sagaFadeIn 0.8s ease 0.25s both;
  }

  /* Club header */
  #page-vollur .club-header-block {
    position: absolute; left: calc(50% - 725px); top: 211px;
    padding: 0; animation: sagaFadeIn 0.6s ease 0.5s both;
    z-index: 2;
  }
  #page-vollur .club-hb-title { display: none; }
  #page-vollur .club-hb-name  { font-size: 120px; }

  /* Stats desktop */
  #page-vollur .club-stats-desktop {
    display: flex; gap: 10px;
    position: absolute; left: calc(50% - 610px); top: 370px;
    z-index: 2;
  }
  #page-vollur .club-stat-box { min-width: 120px; flex: unset; }

  /* Match section */
  #page-vollur .felag-matches-section {
    padding: 0; margin: 520px auto 0; max-width: 1220px;
  }

  /* Match row + card */
  #page-vollur .match-row {
    display: block; position: relative;
    height: 336px; margin-bottom: 24px;
  }
  #page-vollur .match-card-link {
    display: block; position: absolute;
    inset: 23px 0 0 0; z-index: 5; text-decoration: none;
  }
  #page-vollur .match-card {
    position: absolute; left: 0; top: 23px;
    width: 1196px; height: 313px;
    background: #e7ecef; border: 3px solid #fff;
    border-radius: 10px; overflow: visible;
    cursor: pointer; transition: background 0.15s;
    animation: sagaFadeIn 0.5s ease both;
  }
  #page-vollur .match-card:hover { background: #C4EEE4; }
  #page-vollur .result-badge {
    position: absolute; right: -25px; top: -23px;
    width: 65px; height: 65px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 800; color: #000;
    z-index: 3;
    animation: badgeBounce 0.45s cubic-bezier(0.36,0.07,0.19,0.97) both;
  }
  #page-vollur .match-logo {
    position: absolute; top: 46px;
    width: 130px; height: 130px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; overflow: hidden;
  }
  #page-vollur .match-logo img { width: 100%; height: 100%; object-fit: contain; }
  #page-vollur .match-logo.home { left: 36px; }
  #page-vollur .match-logo.away { left: 1030px; }
  #page-vollur .match-team-name {
    position: absolute; top: 93px;
    font-family: 'Poppins', sans-serif;
    font-size: 32px; font-weight: 700; color: #2a3342; line-height: 1.2;
  }
  #page-vollur .match-team-name.home { left: 184px; max-width: 290px; }
  #page-vollur .match-team-name.away { right: 190px; left: auto; max-width: 290px; text-align: right; }
  #page-vollur .match-score {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 61px; font-family: 'Poppins', sans-serif;
    font-size: 100px; font-weight: 800; color: #2a3342;
    line-height: 1; white-space: nowrap; word-spacing: 50px;
  }
  #page-vollur .match-score-line {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 155px; width: 180px; height: 1px; background: rgba(200,196,196,1);
  }
  #page-vollur .match-meta {
    position: absolute; bottom: 22px; left: 38px;
    display: flex; gap: 0; align-items: center;
  }
  #page-vollur .match-meta span {
    font-family: 'Poppins', sans-serif; font-size: 17px; color: #6a6a6b;
  }
  #page-vollur .match-meta span.sep { margin: 0 6px; }
  #page-vollur .match-meta span.light { font-weight: 300; }
  #page-vollur .match-stat { text-decoration: none; }
  #page-vollur .match-stats {
    position: absolute; bottom: 16px; right: 36px;
    display: flex; align-items: center; gap: 16px; z-index: 6;
  }
  #page-vollur .match-stat {
    display: flex; align-items: center; gap: 7px;
  }
  #page-vollur .match-stat-icon {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
  }
  #page-vollur .match-stat-count {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; font-weight: 700; color: #6a6a6b;
  }

  #page-vollur .site-footer {
    position: relative !important; top: auto !important;
    left: auto !important; width: 100% !important; margin-top: 60px;
  }
}

/* ── Anchor wrapper fix: when match cards are <a> elements ── */
a.match-card-mobile {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
a.match-row {
  display: block;
  text-decoration: none;
}
