* {
  box-sizing:border-box
}

:root {
  --navy:#142d4e;
  --ink:#15283d;
  --muted:#647589;
  --paper:#f4f7f9;
  --line:#dce4eb
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:85px
}

body {
  margin:0;
  font-family:"DM Sans", Arial, sans-serif;
  color:var(--ink);
  line-height:1.6
}

a {
  color:inherit;
  text-decoration:none
}

.top {
  height:78px;
  padding:0 max(24px, calc((100vw - 1160px)/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  position:sticky;
  top:0;
  z-index:10;
  border-bottom:1px solid #e7edf1
}

.brand {
  display:flex;
  align-items:center;
  gap:10px
}

.brand img {
  width:45px;
  height:45px;
  object-fit:contain
}

.brand span, footer>div:first-child {
  display:flex;
  flex-direction:column;
  line-height:1.3
}

.brand b, footer b {
  font:800 13px Manrope, sans-serif;
  letter-spacing:1px;
  color:var(--navy)
}

.brand small, footer small {
  font-size:9px;
  letter-spacing:2px;
  color:#8190a0;
  margin-top:4px
}

.top nav, footer nav {
  display:flex;
  align-items:center;
  gap:28px;
  font-size:12px;
  font-weight:700;
  color:#4e6074
}

.navbutton {
  padding:10px 15px;
  border-radius:4px;
  background:var(--navy);
  color:#fff
}

#menubtn {
  display:none
}

.hero {
  min-height:590px;
  position:relative;
  display:flex;
  align-items:center;
  color:white;
  overflow:hidden;
  background:#09111c
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  background:url("assets/FIBK_bakgrund.png") center 48%/cover no-repeat;
  transform:scale(1.01)
}

.shade {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(3, 10, 18, .88), rgba(3, 10, 18, .57) 46%, rgba(3, 10, 18, .12)), linear-gradient(0deg, rgba(3, 10, 18, .35), transparent 45%)
}

.hero-inner {
  position:relative;
  width:min(1160px, calc(100% - 48px));
  margin:auto;
  padding:78px 0 98px
}

.kicker {
  font-size:10px;
  letter-spacing:2px;
  font-weight:700;
  color:#d4e1ec
}

.kicker:before {
  content:"";
  display:inline-block;
  width:25px;
  height:2px;
  background:#85bde5;
  vertical-align:middle;
  margin-right:10px
}

.kicker.dark {
  color:#728398
}

.hero h1 {
  font:800 clamp(46px, 6vw, 78px)/1.04 Manrope, sans-serif;
  letter-spacing:-3px;
  margin:25px 0 18px
}

.hero h1 em, .clubcopy h2 em {
  font-style:normal;
  color:#a8d5f5
}

.hero p {
  max-width:510px;
  color:#e0e8ef;
  font-size:16px;
  line-height:1.8
}

.actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:28px
}

.button {
  display:inline-flex;
  padding:13px 18px;
  border-radius:4px;
  font-size:12px;
  font-weight:700;
  gap:18px
}

.light {
  background:#fff;
  color:var(--navy)
}

.underlink {
  font-size:12px;
  font-weight:700;
  border-bottom:1px solid #9aabb9;
  padding-bottom:7px
}

.hero .underlink {
  color:white
}

.herofoot {
  position:absolute;
  bottom:22px;
  left:max(24px, calc((100vw - 1160px)/2));
  font-size:9px;
  letter-spacing:2px;
  color:#d8e2ec
}

.herofoot span {
  margin:0 12px
}

.stamp {
  position:absolute;
  right:max(30px, calc((100vw - 1160px)/2));
  bottom:85px;
  width:100px;
  height:100px;
  border:1px solid #ffffff80;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  font:800 25px Manrope;
  transform:rotate(9deg);
  color:#ffffffb5
}

.stamp small {
  font:700 6px "DM Sans";
  letter-spacing:1px
}

.ticker {
  background:var(--navy);
  color:#fff;
  text-align:center;
  padding:12px 10px;
  font:800 10px Manrope;
  letter-spacing:2px;
  white-space:nowrap;
  overflow:hidden
}

.ticker i {
  font-style:normal;
  color:#91c9ee;
  margin:0 22px
}

.section {
  width:min(1160px, calc(100% - 48px));
  margin:auto;
  padding:88px 0
}

.heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px
}

.heading h2, .clubcopy h2, .join h2 {
  font:800 clamp(30px, 4vw, 44px)/1.15 Manrope, sans-serif;
  letter-spacing:-1.5px;
  color:var(--navy);
  margin:12px 0 0
}

.heading h2 span {
  color:#5998c6
}

.darklink {
  color:var(--navy);
  white-space:nowrap
}

.intro {
  font-size:14px;
  color:var(--muted);
  margin:16px 0 27px;
  max-width:640px
}

.widget {
  position:relative;
  min-height:760px;
  background:#f1f5f8;
  border:1px solid #e0e7ed;
  border-radius:10px;
  overflow:hidden
}

.widget iframe {
  position:relative;
  z-index:2;
  width:100%;
  height:760px;
  border:0;
  display:block
}

.fallback {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  color:var(--navy);
  padding:20px
}

.fallback small {
  font-size:12px;
  color:var(--muted)
}

.note {
  display:block;
  color:#768799;
  margin-top:13px
}

.club {
  display:grid;
  grid-template-columns:1fr 1fr;
  background:var(--paper)
}

.clubphoto {
  position:relative;
  min-height:580px;
  background:linear-gradient(135deg, #e1eaf0, #94adbf);
  overflow:hidden
}

.clubphoto>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover
}

.photo-label {
  position:absolute;
  inset:0;
  padding:clamp(30px, 5vw, 75px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:radial-gradient(circle at 75% 25%, #ffffff9c, transparent 30%), linear-gradient(135deg, #e6edf2, #b9cad8 55%, #829bb0);
  color:var(--navy)
}

.photo-label small {
  font-size:10px;
  letter-spacing:2px;
  font-weight:700
}

.photo-label strong {
  font:800 clamp(38px, 5vw, 64px)/1.05 Manrope;
  margin:20px 0
}

.photo-label span {
  font-size:11px;
  color:#596d80;
  max-width:240px
}

.photocap {
  position:absolute;
  bottom:22px;
  left:25px;
  color:white;
  font-size:9px;
  letter-spacing:2px
}

.clubcopy {
  padding:clamp(35px, 5vw, 76px);
  align-self:center;
  max-width:680px
}

.clubcopy h2 {
  margin:18px 0 22px
}

.clubcopy h2 em {
  color:#4d8bb8
}

.clubcopy p {
  font-size:13px;
  line-height:1.9;
  color:#617183
}

.clubcopy p.lead {
  font-size:15px;
  font-weight:600;
  color:#344b62
}

.values {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin:28px 0
}

.values div {
  border-top:2px solid #a9d1ee;
  padding-top:10px;
  display:flex;
  flex-direction:column
}

.values small {
  font-size:10px;
  color:#679bc1
}

.values b {
  font:700 13px Manrope;
  color:var(--navy);
  margin:5px 0
}

.values span {
  font-size:10px;
  line-height:1.5;
  color:#778596
}

.news {
  padding-top:94px;
  padding-bottom:100px
}

.fbbutton {
  display:flex;
  align-items:center;
  gap:9px;
  background:#eaf3fb;
  color:#185d96;
  padding:11px 14px;
  border-radius:4px;
  font-size:11px;
  font-weight:700;
  white-space:nowrap
}

.fbbutton b {
  display:grid;
  place-items:center;
  background:#1877f2;
  color:#fff;
  border-radius:50%;
  width:22px;
  height:22px;
  font:700 19px Arial
}

.cards {
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:18px
}

.cards article {
  border:1px solid #e0e7ec;
  border-radius:8px;
  overflow:hidden;
  background:white;
  transition:transform .2s, box-shadow .2s
}

.cards article:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 26px #15283d12
}

.art {
  height:190px;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:#fff;
  background:#173657
}

.art small {
  font-size:8px;
  font-weight:700;
  letter-spacing:2px
}

.art strong {
  font:800 38px/.95 Manrope;
  letter-spacing:-1px
}

.art strong span {
  color:#a5d5f5
}

.art1 {
  background:radial-gradient(circle at 80% 15%, #80b8e077, transparent 30%), linear-gradient(135deg, #0d1e32, #234c75)
}

.art2 {
  background:linear-gradient(130deg, #203d5a, #0d1d30)
}

.art3 {
  background:radial-gradient(circle at 90% 10%, #8db9d8, transparent 32%), linear-gradient(135deg, #e8eff4, #8ea8bc);
  color:var(--navy)
}

.cardbody {
  padding:18px
}

.cardbody>small {
  font-size:9px;
  color:#758498;
  font-weight:700
}

.cardbody h3 {
  font:700 17px Manrope;
  color:var(--navy);
  margin:15px 0 6px
}

.cardbody p {
  font-size:12px;
  line-height:1.8;
  color:#687a8d;
  min-height:65px
}

.cardbody>a {
  font-size:11px;
  color:#276eaa;
  font-weight:700
}

.disclaimer {
  font-size:10px;
  color:#8995a1;
  margin-top:16px
}

.join {
  display:flex;
  align-items:center;
  gap:28px;
  padding:45px max(24px, calc((100vw - 1160px)/2));
  background:var(--navy);
  color:white
}

.joinlogo {
  width:80px;
  height:80px;
  flex-shrink:0;
  border:1px solid #ffffff70;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  font:800 22px Manrope
}

.joinlogo small {
  font-size:8px;
  letter-spacing:2px
}

.join>div:nth-child(2) {
  flex:1
}

.join h2 {
  color:white;
  font-size:34px;
  margin:6px 0
}

.join p {
  margin:0;
  color:#cbd8e4;
  font-size:12px
}

.join .kicker {
  font-size:9px
}

footer {
  padding:34px max(24px, calc((100vw - 1160px)/2)) 18px;
  background:#f5f7f9;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}

footer nav {
  justify-content:flex-end
}

.footbottom {
  grid-column:1/-1;
  border-top:1px solid #dce4eb;
  padding-top:15px;
  display:flex;
  justify-content:space-between;
  color:#8995a1;
  font-size:10px
}

@media(max-width:850px) {
  .top {
  padding:0 20px
}

.top nav {
  gap:15px
}

.hero-inner {
  width:calc(100% - 42px)
}

.stamp {
  right:25px
}

.clubcopy {
  padding:34px
}

.cards {
  gap:12px
}

.art {
  height:160px
}

.cardbody {
  padding:13px
}

}

@media(max-width:650px) {
  .top {
  height:68px;
  padding:0 16px
}

.brand img {
  width:39px;
  height:39px
}

.brand b {
  font-size:11px
}

#menubtn {
  display:block;
  border:0;
  background:none;
  font-size:24px;
  color:var(--navy);
  cursor:pointer
}

.top nav {
  display:none;
  position:absolute;
  top:67px;
  left:0;
  right:0;
  padding:14px 20px 20px;
  background:white;
  box-shadow:0 12px 22px #142d4e12;
  flex-direction:column;
  align-items:stretch;
  gap:0
}

.top nav.open {
  display:flex
}

.top nav a {
  padding:12px 4px
}

.top nav .navbutton {
  padding:12px;
  margin-top:6px
}

.hero {
  min-height:600px;
  align-items:flex-end
}

.hero:before {
  background-position:58% center
}

.shade {
  background:linear-gradient(0deg, #050b13ee, #050b13a8 48%, #050b1320)
}

.hero-inner {
  width:calc(100% - 38px);
  padding:100px 0 110px
}

.hero h1 {
  font-size:clamp(43px, 12vw, 60px);
  letter-spacing:-2px
}

.hero p {
  font-size:14px
}

.actions {
  align-items:flex-start;
  flex-direction:column;
  gap:17px
}

.stamp {
  top:22px;
  bottom:auto;
  width:68px;
  height:68px;
  font-size:18px
}

.stamp small {
  font-size:5px
}

.herofoot {
  left:19px;
  bottom:18px;
  font-size:8px;
  letter-spacing:1px
}

.section {
  width:calc(100% - 34px);
  padding:60px 0
}

.heading {
  align-items:flex-start;
  flex-direction:column;
  gap:17px
}

.heading h2 {
  font-size:33px
}

.widget, .widget iframe {
  min-height:790px;
  height:790px
}

.club {
  grid-template-columns:1fr
}

.clubphoto {
  min-height:340px;
  height:340px
}

.clubcopy {
  padding:40px 22px 46px
}

.clubcopy h2 {
  font-size:38px
}

.values {
  gap:9px
}

.values span {
  font-size:9px
}

.news {
  padding-top:65px;
  padding-bottom:70px
}

.cards {
  grid-template-columns:1fr;
  gap:15px
}

.art {
  height:185px
}

.cardbody {
  padding:18px
}

.cardbody p {
  min-height:0
}

.join {
  padding:36px 22px;
  display:grid;
  grid-template-columns:62px 1fr;
  gap:16px
}

.joinlogo {
  width:60px;
  height:60px;
  font-size:17px
}

.join h2 {
  font-size:27px
}

.join p {
  font-size:11px
}

.join>.button {
  grid-column:1/-1;
  justify-self:start
}

footer {
  padding:30px 22px 18px;
  grid-template-columns:1fr;
  gap:18px
}

footer nav {
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:18px
}

.footbottom {
  gap:10px;
  flex-wrap:wrap
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}

.cards article, .button {
  transition:none
}

}

/* =========================================================
   FÖRBÄTTRAD LÄSBARHET
   Lite större text utan att ändra sidans grundläggande uttryck
   ========================================================= */

body {
  font-size: 16px;
}

.top nav,
footer nav {
  font-size: 13px;
}

.brand small,
footer small {
  font-size: 10px;
}

.kicker {
  font-size: 11px;
}

.underlink {
  font-size: 13px;
}

.button {
  font-size: 13px;
}

.intro {
  font-size: 16px;
  line-height: 1.75;
}

.note {
  font-size: 12px;
  line-height: 1.6;
}

.fallback small {
  font-size: 13px;
}

.clubcopy p {
  font-size: 15px;
  line-height: 1.85;
}

.clubcopy p.lead {
  font-size: 16px;
  line-height: 1.8;
}

.values b {
  font-size: 14px;
}

.values span {
  font-size: 12px;
  line-height: 1.6;
}

.values small {
  font-size: 11px;
}

.cardbody > small {
  font-size: 10px;
}

.cardbody p {
  font-size: 14px;
  line-height: 1.75;
}

.cardbody > a {
  font-size: 12px;
}

.disclaimer {
  font-size: 11px;
  line-height: 1.7;
}

/* =========================================================
   KLUBBAVSNITTET
   Centrera rubrik och hjälpttext i vänster bildyta
   ========================================================= */

.photo-label {
  text-align: center;
  align-items: center;
}

.photo-label small {
  font-size: 11px;
}

.photo-label strong {
  text-align: center;
}

.photo-label span {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

/* =========================================================
   MOBILANPASSNING
   Behåll god läsbarhet även på mindre skärmar
   ========================================================= */

@media (max-width: 850px) {
  .top nav {
    font-size: 13px;
  }

  .clubcopy p {
    font-size: 15px;
  }

  .values span {
    font-size: 11px;
  }

  .cardbody p {
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .top nav {
    font-size: 15px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.8;
  }

  .intro {
    font-size: 15px;
  }

  .clubphoto {
    min-height: 340px;
    height: 340px;
  }

  .photo-label {
    padding: 28px 22px;
  }

  .photo-label strong {
    font-size: clamp(38px, 10vw, 52px);
  }

  .photo-label span {
    max-width: 260px;
    font-size: 12px;
  }

  .clubcopy p {
    font-size: 15px;
    line-height: 1.85;
  }

  .clubcopy p.lead {
    font-size: 16px;
  }

  .values {
    gap: 10px;
  }

  .values b {
    font-size: 13px;
  }

  .values span {
    font-size: 11px;
  }

  .cardbody p {
    font-size: 14px;
    line-height: 1.8;
  }

  .disclaimer {
    font-size: 12px;
  }
}

/* =========================================================
   DIGITALA TJÄNSTER – TYDLIGA KORT MED DISKRET GRAFIK
   ========================================================= */

.portal-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 265px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #dfe7ee;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f8fb 100%);
  box-shadow: 0 8px 24px rgba(20, 45, 78, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #142d4e, #8bc5ec);
}

.portal-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -58px;
  right: -42px;
  border: 1px solid rgba(111, 169, 210, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(111, 169, 210, 0.045),
              0 0 0 36px rgba(111, 169, 210, 0.03);
  pointer-events: none;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: #b8d4e8;
  box-shadow: 0 16px 34px rgba(20, 45, 78, 0.10);
}

.portal-card:focus-visible {
  outline: 3px solid #78b8e4;
  outline-offset: 4px;
}

.portal-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1px solid #d5e7f4;
  border-radius: 12px;
  background: #eaf4fb;
  color: #245b86;
  font: 700 24px Manrope, sans-serif;
}

.portal-card > small {
  position: relative;
  z-index: 1;
  color: #68829a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.portal-card h3 {
  position: relative;
  z-index: 1;
  margin: 8px 0 8px;
  color: var(--navy);
  font: 800 23px/1.25 Manrope, sans-serif;
  letter-spacing: -0.5px;
}

.portal-card p {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0 0 25px;
  color: #617589;
  font-size: 15px;
  line-height: 1.75;
}

.portal-card > b {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: #205d8e;
  font-size: 13px;
  font-weight: 700;
}

.portal-card > b span {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e5f1fa;
  font-size: 17px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.portal-card:hover > b span {
  transform: translateX(3px);
  background: #d5eafa;
}

@media (max-width: 850px) {
  .portal-cards {
    gap: 16px;
  }

  .portal-card {
    padding: 24px;
  }

  .portal-card h3 {
    font-size: 21px;
  }
}

@media (max-width: 650px) {
  .portal-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .portal-card {
    min-height: 0;
    padding: 25px 23px;
  }

  .portal-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
  }

  .portal-card h3 {
    font-size: 22px;
  }

  .portal-card p {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .portal-card > b {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-card,
  .portal-card > b span {
    transition: none;
  }

  .portal-card:hover {
    transform: none;
  }
}

/* =========================================================
   SAMMANHÅLLEN SIDLAYOUT
   Gemensam bredd, jämna linjer och mjukare sektionsövergångar
   ========================================================= */

:root {
  --site-width: 1280px;
  --site-gutter: clamp(18px, 3.2vw, 48px);
  --section-radius: 14px;
  --section-shadow: 0 10px 30px rgba(20, 45, 78, 0.055);
}

/* Sektioner med innehåll får en gemensam centrerad bredd. */
.section {
  width: min(var(--site-width), calc(100% - (var(--site-gutter) * 2)));
}

/* Matchområdet får tydligare inramning utan en extra synlig ram runt sidan. */
.widget {
  border-radius: 12px;
  box-shadow: var(--section-shadow);
}

/* Klubbens bild och text blir ett sammanhållet block i samma grid. */
.club {
  width: min(var(--site-width), calc(100% - (var(--site-gutter) * 2)));
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--section-radius);
  box-shadow: var(--section-shadow);
}

.clubphoto {
  min-width: 0;
}

.clubcopy {
  min-width: 0;
}

/* Digitala tjänster och nyheter följer samma innehållslinjer. */
.portals.section,
.news.section {
  width: min(var(--site-width), calc(100% - (var(--site-gutter) * 2)));
}

.portal-card,
.cards article {
  border-radius: 10px;
}

/* Hero behåller sitt dramatiska uttryck men linjeras med övriga sektioner. */
.hero {
  width: min(var(--site-width), calc(100% - (var(--site-gutter) * 2)));
  min-height: 590px;
  margin: 0 auto;
  border-radius: 0 0 var(--section-radius) var(--section-radius);
}

.hero-inner {
  width: min(1160px, calc(100% - 48px));
}

.herofoot {
  left: max(24px, calc((100% - min(1160px, 100% - 48px)) / 2));
}

.stamp {
  right: max(30px, calc((100% - min(1160px, 100% - 48px)) / 2));
}

/* Header och sidfot håller samma visuella linje som innehållet. */
.top {
  padding-left: max(var(--site-gutter), calc((100vw - var(--site-width)) / 2));
  padding-right: max(var(--site-gutter), calc((100vw - var(--site-width)) / 2));
}

.join {
  padding-left: max(var(--site-gutter), calc((100vw - var(--site-width)) / 2));
  padding-right: max(var(--site-gutter), calc((100vw - var(--site-width)) / 2));
}

footer {
  padding-left: max(var(--site-gutter), calc((100vw - var(--site-width)) / 2));
  padding-right: max(var(--site-gutter), calc((100vw - var(--site-width)) / 2));
}

/* Mobil: full bredd inom jämna sidmarginaler, utan trånga kolumner. */
@media (max-width: 850px) {
  .hero {
    width: calc(100% - 24px);
  }

  .herofoot {
    left: 20px;
  }

  .stamp {
    right: 20px;
  }

  .club {
    width: calc(100% - 24px);
  }
}

@media (max-width: 650px) {
  :root {
    --site-gutter: 17px;
    --section-radius: 11px;
  }

  .hero {
    width: calc(100% - 16px);
    min-height: 600px;
    border-radius: 0;
  }

  .hero-inner {
    width: calc(100% - 38px);
  }

  .herofoot {
    left: 19px;
  }

  .stamp {
    right: 18px;
  }

  .section,
  .portals.section,
  .news.section {
    width: calc(100% - 34px);
  }

  .club {
    width: calc(100% - 24px);
    border-radius: 11px;
  }

  .clubphoto {
    border-radius: 0;
  }

  .join {
    padding-left: 22px;
    padding-right: 22px;
  }

  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* Ticker följer samma inramade bredd som heron */
.ticker {
  width: min(var(--site-width, 1280px), calc(100% - (var(--site-gutter, 48px) * 2)));
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
}

@media (max-width: 850px) {
  .ticker {
    width: calc(100% - 24px);
  }
}

@media (max-width: 650px) {
  .ticker {
    width: calc(100% - 16px);
    border-radius: 0 0 8px 8px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .ticker i {
    margin: 0 10px;
  }
}

/* Slutlig justering: heron ska möta ticker-remsan med raka nedre hörn */
.hero {
  border-radius: 0 !important;
}
