/*
Theme Name: Studentkör Minimal
Theme URI: https://example.com/
Author: Bruno
Author URI: https://example.com/
Description: Minimal WordPress-tema för studentkör med helsides-hero, böjd meny och konsert-arkiv.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: studentkor-minimal
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

@font-face{
  font-family: "CabinetGrotesk";
  src: url("assets/Fonts/CabinetGrotesk-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:#faf8f3;
  --ink:#f9f9f7;
  --muted:rgba(249,249,247,.66);
  --accent:#fdd980;
  --ease:cubic-bezier(.2,.9,.1,1);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"CabinetGrotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:var(--bg);
  color:var(--ink);
}

/* ===== HEADER ===== */

.site-header{
  position: fixed;
  top:0px;
  left:0;
  right:0;
  z-index:100;
  padding: 22px 32px 18px;
  pointer-events:auto;
}

.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
}

.site-logo{
  font-size:20px;
  letter-spacing:-0.04em;
  font-weight:500;
}

.site-logo a{
  text-decoration:none;
  color:var(--ink);
}

/* Böjd meny */

.main-nav{
  width:100%;
}

.nav-curve{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  justify-content:center;
  gap: 22px;
}

.nav-curve > li{
  position: relative;
}

.nav-curve > li > a{
  text-decoration:none;
  color:var(--ink);
  font-size:18px;
  letter-spacing:.1em;
  text-transform:uppercase;
  opacity: 1;
  padding:4px 0;
  display:inline-block;
  transition: opacity .2s var(--ease), transform 1s var(--ease);
}

.nav-curve > li > a:hover{
  opacity:1;
  transform: translateY(-2px);
}

.nav-curve > li.current-menu-item > a,
.nav-curve > li.current_page_parent > a,
.nav-curve > li.current-page-ancestor > a{
  opacity:1;
  font-weight:500;
}

/* ===== LAYOUT ===== */

.site-main{
  min-height:100vh;
}

/* ===== FRONT PAGE HERO ===== */

.front-hero{
  position: relative;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}

/* Bakgrundsbild – byt URL i CSS eller via child-tema om du vill */
.front-hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.front-hero-bg{
  position: absolute;
  inset: 0;

  background:
    url("https://www.studentkorengungner.se/wp-content/uploads/2026/01/hero.jpg")
    center / cover no-repeat;

  will-change: transform;
  transform: translateY(0) scale(1.1);
}

/* Du behåller din hero-overlay om du vill */
.hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:rgba(0,0,0,.25);
}

/* Mörk overlay som vi tonar när man scrollar */
.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  pointer-events:none;
  transition: opacity .8s var(--ease);
}

/* Logotyp i mitten */
.hero-logo{
  position:relative;
  z-index:2;
  max-width:500px;
  width: min(48vw, 500px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.hero-logo img{
  display:block;
  width:100%;
  height:auto;
  position: center;
}

/* ===== FRONT BODY (sektion under hero) ===== */

.front-body{
  background:#faf8f3;
  color:#1a1816;
  padding: 32px 20px 80px;
}

.front-inner{
  max-width: 1040px;
  margin: 0 auto;
}

.front-intro{
  margin-bottom: 40px;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0,0,0,.8);
}

/* Två kolumner: senaste inlägg + senaste konsert */

.front-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items:flex-start;
}

.front-block h2{
  margin:0 0 10px 0;
  font-size:24px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(0,0,0,.55);
  font-family:"CabinetGrotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}



.front-block article h3{
  margin:0;
  font-size:22px;
  letter-spacing:-0.02em;
}

.front-block article p{
  margin-top:10px;
  font-size:15px;
  line-height:1.7;
  color:rgba(0,0,0,.78);
}

.front-block a{
  color:inherit;
  text-decoration:none;
}

.front-block .more-link{
  margin-top:0px;
  font-size:14px;
  text-decoration:none;
  display:inline-block;
  opacity:.8;
  transition:opacity .2s var(--ease), transform .2s var(--ease);
  margin-bottom: 20px;
}

.front-block .more-link:hover{
  opacity:1;
  transform:translateX(4px);
}

/* ===== GENERELL CONTENT ===== */

.page-wrap,
.single-wrap,
.archive-wrap{
  background:#faf8f3;
  color:#1a1816;
  padding: 110px 20px 80px;
  margin: auto;
}

.inner{
  max-width: 1040px;   /* eller 960px/1120px enligt smak */
  margin: 0 auto;      /* centrerar hela content-blocket */
}

.page-head,
.archive-head,
.single-head{
  max-width: 72ch;      /* samma som .page-content */
  margin: 0 auto 24px;  /* centrera blocket */
}

.page-head h1,
.archive-head h1,
.single-head h1{
  margin-top: 40px;
  font-size:50px;
  letter-spacing:-0.03em;
}

.page-head p,
.archive-head p{
  margin:6px 0 0 0;
  font-size:14px;
  color:rgba(0,0,0,.6);
}

.page-content,
.single-content,
.archive-list{
  max-width:72ch;
  font-size:16px;
  line-height:1.8;
  color:rgba(0,0,0,.8);
}

.page-content p,
.single-content p{
  margin:0 0 1.1em 0;
}

/* Simple post list (blogg / konserter) */

.post-card{
  margin-bottom:26px;
}

.post-card h2{
  margin:0 0 4px 0;
  font-size:22px;
}

.post-card h2 a{
  text-decoration:none;
  color:inherit;
}

.post-meta{
  margin:0 0 8px 0;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(0,0,0,.55);
}

.post-card p{
  margin:0;
}

/* Paginering */

.pagination{
  margin-top:30px;
}

/* FOOTER */

.site-footer{
  background:#052b20;
  color:var(--muted);
  padding:40px 20px 40px;
  font-size:24px;
}

.site-footer-inner{
  max-width:1040px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:12px;
}

/* RESPONSIVT */

@media (max-width: 800px){
  .header-inner{
    align-items:flex-start;
  }
  .nav-curve{
    flex-wrap:wrap;
    justify-content:flex-start;
    row-gap:6px;
  }
  .front-grid{
    grid-template-columns:1fr;
  }
}

/* Front-page ska börja under header visuellt */
.home .front-hero{
  padding-top:80px;
}

/* Svart bakgrund bakom heron (innan bilden syns) */
.front-hero{
  background: #052b20;
}

/* Svart även på själva bg-lagret under tiden det är transparent */
.front-hero-bg{
  background-color: #052b20;
}



.front-home-content{
  margin-top: 64px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Rubriker / texter i hem-innehållet */
.front-home-content h2,
.front-home-content h3{
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.front-home-content p{
  margin: 0 0 1.1em 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0,0,0,.8);
}

/* Inbäddad video (YouTube/Video-block) centrerad och responsiv */
.front-home-content .wp-block-embed,
.front-home-content .wp-block-video{
  margin-top: 24px;
  margin-bottom: 0;
}

.front-home-content .wp-block-embed__wrapper,
.front-home-content iframe,
.front-home-content video{
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
}

h1, h2{
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1{
  font-size: clamp(34px, 4vw, 52px);
}

h2{
  font-size: clamp(22px, 3vw, 34px);
}

.front-block h2{
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* Header – transition på färg så vi får en fade */
.site-header{
  transition: background-color .35s var(--ease);
}

/* Grundläge: mörk text (för alla vanliga ljusa sidor) */
.site-header .site-logo a,
.site-header .nav-curve > li > a{
  color: #f9f8f4;
  transition: color .35s var(--ease);
}

/* När headern ligger över heron (mörk bakgrund) */
.site-header.on-hero .site-logo a,
.site-header.on-hero .nav-curve > li > a{
  color: #f9f8f4;
}

/* valfritt – lite tydligare hover över ljus bakgrund */
.site-header.on-light .nav-curve > li > a:hover{
  opacity: 1;
}

/* === Bokningssida === */

.booking-page{
  max-width: 1040px;
  margin: 0 auto;
}

.booking-hero{
  margin-bottom: 40px;
}

.booking-hero h1{
  margin: 0 0 12px 0;
}

.booking-hero p{
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0,0,0,.82);
}

.booking-cta{
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1816;
  opacity: .8;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0,0,0,.3);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.booking-cta:hover{
  opacity: 1;
  transform: translateY(1px);
}

/* Sektioner under */

.booking-section{
  margin-bottom: 40px;
}

.booking-section h2{
  margin: 0 0 8px 0;
}

.booking-section p{
  margin: 0 0 10px 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0,0,0,.8);
}

/* Kontaktperson-ruta */

.booking-contact-person .booking-person{
  margin-top: 8px;
}

.booking-contact-person a{
  color: rgba(0,0,0,.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.booking-contact-person a:hover{
  border-bottom-color: rgba(0,0,0,.4);
}

/* Formulär */

.booking-form-wrap{
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.booking-form{
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field label{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.6);
}

.booking-field input,
.booking-field select,
.booking-field textarea{
  font: inherit;
  padding: 10px 11px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  color: #1a1816;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.booking-field textarea{
  resize: vertical;
  min-height: 90px;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  background: #ffffff;
}

/* Knapp */

.booking-submit{
  align-self: flex-start;
  margin-top: 6px;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  background: #05060a;
  color: #faf8f3;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}

.booking-submit:hover{
  transform: translateY(-1px);
  background: #151720;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

.booking-submit:active{
  transform: translateY(0);
  box-shadow: none;
}

.booking-note{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,.6);
}

/* Responsivt */

@media (max-width: 720px){
  .booking-row{
    grid-template-columns: 1fr;
  }

  .booking-submit{
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* === Contact Form 7-styling för bokningsformuläret === */

/* Wrapper */
.booking-form-wrap .wpcf7{
  max-width: 800px;
  margin-top: 10px;
}

/* CF7 lägger varje fält i ett <p> – använd det som fältblock */
.booking-form-wrap .wpcf7-form p{
  margin: 0 0 14px 0;
}

/* Etiketter */
.booking-form-wrap .wpcf7-form label{
  display: block;
  margin-bottom: 6px;

  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.6);
}

/* Wrap runt själva inputen */
.booking-form-wrap .wpcf7-form-control-wrap{
  display: block;
  margin-top: 6px;
}

/* Inputs, selects, textarea */
.booking-form-wrap input[type="text"],
.booking-form-wrap input[type="email"],
.booking-form-wrap input[type="tel"],
.booking-form-wrap input[type="date"],
.booking-form-wrap input[type="number"],
.booking-form-wrap select,
.booking-form-wrap textarea{
  font: inherit;
  width: 100%;
  padding: 10px 11px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  color: #1a1816;
  outline: none;

  transition:
    border-color .2s var(--ease),
    box-shadow .2s var(--ease),
    background-color .2s var(--ease);
}

/* Textarea-höjd + resize */
.booking-form-wrap textarea{
  min-height: 90px;
  resize: vertical;
}

/* Fokus-stil */
.booking-form-wrap input:focus,
.booking-form-wrap select:focus,
.booking-form-wrap textarea:focus{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  background: #ffffff;
}

/* Submit-knapp */
.booking-form-wrap .wpcf7-submit{
  margin-top: 6px;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  background: #05060a;
  color: #faf8f3;
  cursor: pointer;
  width: auto;

  transition:
    transform .18s var(--ease),
    box-shadow .18s var(--ease),
    background-color .18s var(--ease);
}

.booking-form-wrap .wpcf7-submit:hover{
  transform: translateY(-1px);
  background: #151720;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

.booking-form-wrap .wpcf7-submit:active{
  transform: translateY(0);
  box-shadow: none;
}

/* Inline-fel per fält */
.booking-form-wrap .wpcf7-not-valid-tip{
  margin-top: 4px;
  font-size: 12px;
  color: #b03030;
}

.booking-form-wrap .wpcf7-form-control.wpcf7-not-valid{
  border-color: #b03030;
}

/* Svarsruta (success/fel längst ner) */
.booking-form-wrap .wpcf7-response-output{
  margin: 14px 0 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.6);
}

.booking-form-wrap .wpcf7 form.sent .wpcf7-response-output{
  border-color: #2f6f3f;
  color: #2f6f3f;
}

.booking-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.booking-form-wrap .wpcf7 form.unaccepted .wpcf7-response-output,
.booking-form-wrap .wpcf7 form.failed .wpcf7-response-output{
  border-color: #b03030;
  color: #b03030;
}

/* Spinner */
.booking-form-wrap .wpcf7-spinner{
  margin-left: 10px;
}

/* ===== Galleri-sida – grupperade tillställningar ===== */

/* Varje tillställning (Grupp-block med klass gallery-event) */
.gallery-event{
  margin: 40px 0 52px;
}

/* Rubrik för tillställning */
.gallery-event h2{
  margin: 0 0 6px 0;
  font-size: 26px;
  letter-spacing: -0.02em;
}

/* Första paragrafen direkt efter h2 – datum/plats */
.gallery-event > p:first-of-type{
  margin: 0 0 16px 0;
  font-size: 14px;
  color: rgba(0,0,0,.6);
}

/* Själva Gutenberg-galleriet inne i tillställningen */
.gallery-event .wp-block-gallery{
  margin-top: 8px;
}

/* Gör varje bild "kort-liknande" och hoverbar */
.gallery-event .wp-block-gallery figure.wp-block-image{
  position: relative;
  overflow: hidden;
}

/* Bilder fyller sina rutor snyggt */
.gallery-event .wp-block-gallery figure.wp-block-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease), opacity .8s var(--ease);
}

/* Bildtext som ljus etikett längst ner (om du använder caption) */
.gallery-event .wp-block-gallery figure.wp-block-image figcaption{
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;

  background: rgba(250,248,243,.95);
  color: #1a1816;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: center;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform 1s var(--ease);
}

/* Visa etiketten vid hover */
.gallery-event .wp-block-gallery figure.wp-block-image:hover figcaption{
  opacity: 1;
  transform: translateY(0);
}


/* ===============================
   GALLERY – CLEAN HOVER RADIUS
   =============================== */

/* Gör varje bildruta stabil att animera */
.gallery-event .wp-block-gallery figure.wp-block-image{
  position: relative;
  overflow: hidden;                      /* klipper bilden snyggt */
  border-radius: 0;
  transition: border-radius .35s ease;   /* mjuk animation */
}

/* Bildbeteende */
.gallery-event .wp-block-gallery figure.wp-block-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover-effekt — ENDA effekten */
.gallery-event .wp-block-gallery figure.wp-block-image:hover{
  border-bottom-right-radius: 50px;
}

/* Gutenberg caption (om du använder den) */
.gallery-event .wp-block-gallery figcaption{
  text-align: center;
  font-size: 13px;
  opacity: .8;
}

/* ================ LIGHTBOX ================ */

.lightbox-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.lightbox-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* Inner container med lätt “zoom in” */
.lightbox-inner{
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(8px) scale(.97);
  transition: transform .35s ease;
}

.lightbox-overlay.is-open .lightbox-inner{
  transform: translateY(0) scale(1);
}

/* Själva bilden */
.lightbox-img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  display: block;
}

/* Stäng-kors */
.lightbox-close{
  position: fixed;
  top: 16px;        /* var högre upp */
  right: 20px;      /* lite längre in */
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  opacity: .85;
  z-index: 10001;   /* högre än overlay + pilar */
  transition: opacity .25s ease, transform .25s ease;
}

.lightbox-close:hover{
  opacity: 1;
  transform: scale(1.08);
}

/* Pilar */
.lightbox-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;

  color: #fff;
  font-size: 22px;
  background: rgba(0,0,0,.3);

  opacity: .85;
  z-index: 10000;   /* under krysset, över bakgrunden */
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.lightbox-arrow.left{
  left: 14px;
}

.lightbox-arrow.right{
  right: 14px;
}

/* Klick runt bilden stänger (men inte på pilar eller bild) */
.lightbox-overlay-clickarea{
  position: absolute;
  inset: 0;
}

/* Gör så att pilar + bild ligger över clickarea */
.lightbox-inner,
.lightbox-close{
  position: relative;
  z-index: 2;
}

/* Grund: helt transparent över heron */
.site-header{
  background: transparent;
}

/* När headern ligger över heron (mörk bild) – behåll transparent bakgrund */
.site-header.on-hero{
  background: transparent;
}

/* När headern “kommit ner” över den ljusa sidan */
.site-header.on-light{
  background: #032b20; /* nästan vit, samma ton som innehållet */
}

/* ===== FRONT – SENASTE KONSERT SOM STOR BILD ===== */

.front-concert-card{
  margin-top: 10px;
}

.front-concert-link{
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;          /* höjd, justera efter smak */
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* Bilden fyller hela kortet */
.front-concert-media{
  position: absolute;
  inset: 0;
}

.front-concert-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Overlay med text, bottenjusterad */
.front-concert-overlay{
  position: absolute;
  inset: 0; /* täck hela bilden, från topp till botten */
  padding: 0px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* tryck ner all text till nederkant */
  gap: 6px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.10),
    rgba(0,0,0,0)
  );
  color: #f9f8f4;
}

.front-concert-title{
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.front-concert-meta{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .9;
}

.front-concert-place{
  font-size: 14px;
  opacity: .9;
}

.front-concert-excerpt{
  margin: 6px 0 0 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: .9;
}

/* Länk under kortet till arkivet */
.front-concert-all{
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  opacity: .85;
  border-bottom: 1px solid rgba(0,0,0,.2);
}

.front-concert-all:hover{
  opacity: 1;
}

/* Lite responsiv finjustering */
@media (max-width: 700px){
  .front-concert-link{
    min-height: 220px;
  }
  .front-concert-title{
    font-size: 20px;
  }
}

.front-concert-link{
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;        /* viktigt för parallax */
  text-decoration: none;
  color: inherit;
}

.front-concert-media{
  position: absolute;
  inset: 0;
}

.front-concert-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  will-change: transform;  /* hint till browsern */
}

.page-content,
.single-content,
.archive-list{
  max-width: 72ch;          /* smal läskolumn */
  margin-left: auto;        /* centrera kolumnen */
  margin-right: auto;
  font-size:16px;
  line-height:1.8;
  color:rgba(0,0,0,.8);
}

/* Aligna sektionstitlarna med content-kolumnen */
.concert-section h2{
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* Om du vill vara extra konsekvent med spacing */
.concert-section{
  margin-top: 28px;
}

/* Konsertarkiv – gör sektionerna lika breda som content-kolumnen */
.concert-section{
  max-width: 72ch;
  margin: 28px auto 0;   /* centrera sektionen i .inner */
}

/* Låt listan fylla sektionen utan egen kolumnlogik */
.concert-section .archive-list{
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}


/* Respektera Gutenbergs textalign-klasser */
.has-text-align-center{
  text-align: center;
}

.has-text-align-right{
  text-align: right;
}

.has-text-align-left{
  text-align: left;
}

/* Bildjusteringar från blocktoolbar */
.wp-block-image.aligncenter,
.wp-block-image .aligncenter{
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Om du vill att text under bilden också ska centreras */
.wp-block-image.aligncenter figcaption,
.wp-block-image .aligncenter + figcaption{
  text-align: center;
}

/* Bas: ha båda i DOM, men bara en synlig åt gången */
.site-logo .brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-text,
.brand-mark{
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  will-change: opacity, transform;
}

/* Bildens grundstil */
.brand-mark{
  height: 22px;     /* justera efter smak */
  width: auto;
  opacity: 0;
  transform: translateY(2px);
}

/* Textens grundstil */
.brand-text{
  opacity: 1;
}

/* På hero: dölj text helt och håll bild gömd */
.site-header.on-hero .brand-text{
  opacity: 0;
  transform: translateY(2px);
}
.site-header.on-hero .brand-mark{
  opacity: 0;
  transform: translateY(2px);
}

/* På light (grön header): visa bild och göm text */
.site-header.on-light .brand-text{
  opacity: 0;
  transform: translateY(-2px);
}
.site-header.on-light .brand-mark{
  opacity: 1;
  transform: translateY(0);
}

:root{
  --header-h: 84px;           /* justera, men håll en enda källa */
  --header-pad-x: 32px;       /* matchar din padding */
}

/* lås headerns höjd och gör padding konsekvent */
.site-header{
  height: var(--header-h);
  padding: 0 var(--header-pad-x);
  display: flex;
  align-items: center;
}

/* 3-kolumn: logo | nav | spacer */
.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

/* loggan vänster */
.site-logo{
  justify-self: start;
  display: flex;
  align-items: center;
}

/* menyn i mitten */
.main-nav{
  justify-self: center;
}

/* centrera nav-items inom nav */
.nav-curve{
  justify-content: center;
}

/* logolänk */
.site-logo .brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

/* skala logobilden mot headerns höjd */
.brand-mark{
  height: calc(var(--header-h) - 28px); /* “luft” uppe/ner, justera 28px */
  max-height: 44px;                      /* hard cap så den inte blir för stor */
  width: auto;
  display: block;
}

/* om du vill att text aldrig “tar plats” när den är osynlig */
.site-header.on-hero .brand-text,
.site-header.on-light .brand-text{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

:root{
  --header-h: 84px;
  --header-pad-x: 32px;
}

.site-header{
  height: var(--header-h);
  padding: 0 var(--header-pad-x);
  display: flex;
  align-items: center;
}

.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  position: relative;     /* ankare för absolut nav */
  display: flex;
  align-items: center;
}

/* LOGGA: vänster, påverkar inte nav */
.site-logo{
  display: flex;
  align-items: center;
  z-index: 2;
}

/* NAV: centrerad i hela headern */
.main-nav{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  z-index: 1;
}

.nav-curve{
  justify-content: center;
}

/* Skala logobilden mot headerhöjden */
.brand-mark{
  height: calc(var(--header-h) - 28px);
  max-height: 44px;
  width: auto;
  display: block;
}

/* Mobil: låt nav bli normalt flöde så det kan wrap:a */
@media (max-width: 800px){
  .header-inner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav{
    position: static;
    transform: none;
    width: 100%;
  }

  .nav-curve{
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

:root{
  --header-h: 84px;
  --header-pad-x: 32px;
}

.site-header{
  height: var(--header-h);
  padding: 0 var(--header-pad-x);
  display: flex;
  align-items: center;
}

.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;      /* tvinga bort column */
  align-items: center;
  justify-content: center;  /* navet ligger ändå absolut, men detta stabiliserar */
}

/* LOGGA: absolut till vänster, påverkar aldrig navets centrering */
.site-logo{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

/* NAV: absolut centrerad i hela headern */
.main-nav{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 1;
}

.nav-curve{
  justify-content: center;
}

/* Skala logobilden mot headerhöjden */
.brand-mark{
  height: calc(var(--header-h) - 28px);
  max-height: 44px;
  width: auto;
  display: block;
}

/* Mobil: tillbaka till normalt flöde så allt kan wrappa */
@media (max-width: 800px){
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .site-logo{
    position: static;
    transform: none;
  }

  .main-nav{
    position: static;
    transform: none;
    width: 100%;
  }

  .nav-curve{
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

/* Loggan ska ligga mot viewportens vänsterkant */
.site-logo{
  position: absolute;
  left: var(--header-pad-x);   /* exakt samma padding som headern */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 3;
}

.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  z-index: 1;
}

.front-body{
  position: relative;
  isolation: isolate;
}

.front-snurra{
  position: absolute;
  left: -330px;       /* gör den “större” genom att låta den gå utanför */
  bottom: -50px;
  width: min(62vw, 760px);
  aspect-ratio: 1 / 1;
  opacity: .1;
  pointer-events: none;
  z-index: 0;         /* bakom allt innehåll i front-body */
}

.front-snurra img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: 50% 50%;
  animation: snurra-rotate 120s linear infinite;
}

.front-inner{
  position: relative;
  z-index: 1;         /* säkerställer att content ligger över snurran */
}

@keyframes snurra-rotate{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce){
  .front-snurra img{ animation: none; }
}

.wp-block-heading heading-video{
	padding-top: 30px;
}

/* ===== BOOKING: FOLDER TABS ===== */

.booking-tabs h2{
  margin-bottom: 14px;
}

.folder-tabs{
  max-width: 920px;
  margin: 0 auto;
}

.folder-tablist{
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding-left: 14px; /* ger “flikar”-känsla mot skalet */
}

.folder-tab{
  appearance: none;
  border: 0;
  background: rgba(0,0,0,.08);
  color: rgba(0,0,0,.86);
  font: inherit;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 12px 16px 10px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), opacity .18s var(--ease);
  opacity: .9;
}

.folder-tab:hover{
  transform: translateY(-1px);
  opacity: 1;
}

.folder-tab.is-active{
  background: rgba(0,0,0,.12);
  opacity: 1;
}

.folder-shell{
  background: rgba(0,0,0,.10);
  border-radius: 22px;
  padding: 18px;
  margin-top: -2px; /* så flikarna sitter ihop med skalet */
}

.folder-panel{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
  align-items: start;
}

.folder-media{
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  min-height: 220px;
}

.folder-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.folder-text{
  padding: 6px 6px 6px 2px;
}

.folder-text h3{
  margin: 0 0 10px 0;
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.70);
}

.folder-text p{
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0,0,0,.80);
}

@media (max-width: 860px){
  .folder-panel{
    grid-template-columns: 1fr;
  }
  .folder-tablist{
    flex-wrap: wrap;
    padding-left: 0;
  }
  .folder-shell{
    border-radius: 18px;
  }
}

/* Tvinga att hidden-paneler aldrig visas (överstyr display:grid) */
.folder-panel[hidden]{
  display: none !important;
}

/* ===== MOBILE NAV TOGGLE ===== */

/* Dölj toggle på desktop */
.nav-toggle{
  display: none;
}

/* Mobil-läge: logo vänster, toggle höger, menyn i “drawer” */
@media (max-width: 800px){

  .site-header{
    height: auto;             /* din header-h är låst – vi släpper den på mobil */
    padding: 14px 18px;
  }

  .header-inner{
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* din logga är absolut i desktop; på mobil vill vi ha den i flödet */
  .site-logo{
    position: static;
    transform: none;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    color: #f9f8f4;
    font: inherit;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 12px;
    cursor: pointer;
  }

  .nav-toggle-icon{
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    display: inline-block;
    border-radius: 2px;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after{
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle-icon::before{ top: -7px; }
  .nav-toggle-icon::after{ top: 7px; }

  /* Menyn blir en dropdown under headern */
  .main-nav{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    transform: none;
    width: auto;
    background: rgba(3,43,32,.96);
    border-radius: 16px;
    padding: 10px 10px;
    box-shadow: 0 14px 40px rgba(0,0,0,.22);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .25s var(--ease);
  }

  .nav-curve{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 6px;
  }

  .nav-curve > li > a{
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    letter-spacing: .12em;
  }

  .nav-curve > li > a:hover{
    transform: none;
    background: rgba(255,255,255,.08);
  }

  /* Öppet läge */
  .site-header.is-menu-open .main-nav{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Kryss-animation */
  .site-header.is-menu-open .nav-toggle-icon{
    background: transparent;
  }
  .site-header.is-menu-open .nav-toggle-icon::before{
    top: 0;
    transform: rotate(45deg);
  }
  .site-header.is-menu-open .nav-toggle-icon::after{
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ===== FRONT – GREEN BAND AFTER HERO ===== */

.front-welcome{
  background: #032b20;                 /* din gröna ton */
  color: #f9f8f4;
  padding: clamp(44px, 6vw, 88px) 20px; /* lite luftigare band */
}

.front-welcome-inner{
  max-width: 1040px;
  margin: 0 auto;
}

/* Låt kortet kännas som “innehåll i bandet” (ingen egen bakgrund behövs) */
.front-welcome-card{
  position: relative;
  max-width: 72ch;
  margin: 0 auto;
  padding: 0;                          /* bandet står för paddingen */
  border-radius: 0;
  overflow: visible;
  color: inherit;
  isolation: isolate;
}

/* Om du vill behålla parallax-bakgrunden i blocket: behåll media-lagret,
   men se till att det inte skapar konstiga kanter. Annars kan du ta bort
   .front-welcome-media från markup helt. */
.front-welcome-media{
  display: none; /* Sätt till block om du vill ha parallaxbilden kvar */
}

/* Texten som nu */
.front-welcome-title{
  margin: 0 0 10px 0;
  line-height: 1.06;
  color: #f9f8f4;
  text-align: center;
}

.front-welcome-lead{
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(249,248,244,.88);
	text-align: center;
}

.front-welcome-actions{
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Knappen du vill behålla */
.front-welcome-link{
  color: rgba(249,248,244,.92);
  text-decoration: none;
  opacity: .9;
  border-bottom: 1px solid rgba(249,248,244,.35);
  padding-bottom: 2px;
  transition: opacity .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}

.front-welcome-link:hover{
  opacity: 1;
  transform: translateY(1px);
  border-bottom-color: rgba(249,248,244,.6);
}

.booking-jump{
  display: inline-block;
	text-decoration: none;
  margin-bottom: 28px;
  font-size: 22px;
  color: #a09f98;
  border-bottom: 1px solid #a09f98;
  transition: transform .5s var(--ease);
}

.booking-jump:hover{
	transform: translateX(5px);
}

/* ===== DIRIGENT HERO – “stor modul” (inte full-bleed) ===== */

.dirigent-hero{
  position: relative;
  width: 100%;
  max-width: 1500px;                 /* lite större än content */
  margin: 0 auto;
  margin-bottom: 60px;
  aspect-ratio: 16 / 9;              /* normal ratio */
  overflow: hidden;
  background: #05060a;
  color: #f9f8f4;
  border-radius: 22px;
}

/* Om du vill att den ska kännas större än content-width även när den ligger i .inner */
@media (min-width: 900px){
  .dirigent-hero{
    max-width: 1240px;               /* pushar ut lite mer än 1040/1120 */
  }
}

/* Bakgrundsbild + gradient */
.dirigent-hero__media{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
		rgba(0,0,0,.88) 0%,
		rgba(0,0,0,.70) 26%,
		rgba(0,0,0,.30) 46%,
		rgba(0,0,0,0) 62%
	),
    url("https://www.studentkorengungner.se/wp-content/uploads/2026/01/Screenshot-2026-01-02-at-22.57.43-scaled.jpg")
    right center / cover no-repeat;
  transform: scale(1.02);
}

/* Innehållscontainer */
.dirigent-hero__inner{
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: center;
  transform: translateY(-12px);   /* justera −8 till −20 efter smak */
}

/* Safe-zone */
.dirigent-hero__copy{
  max-width: min(52ch, 48%);
}

/* Mobil: låt den bli “högre” och mer affisch */
@media (max-width: 800px){
  .dirigent-hero{
    aspect-ratio: 4 / 5;            /* mer naturligt på mobil */
    border-radius: 16px;
  }

  .dirigent-hero__media{
    background:
      linear-gradient(180deg,
        rgba(0,0,0,.78) 0%,
        rgba(0,0,0,.58) 38%,
        rgba(0,0,0,.18) 62%,
        rgba(0,0,0,0) 78%
      ),
      url("https://www.studentkorengungner.se/wp-content/uploads/2026/01/Screenshot-2026-01-02-at-22.57.43-scaled.jpg")
      center / cover no-repeat;
  }

  .dirigent-hero__copy{
    max-width: 72ch;
  }
}

.dirigent-hero__copy p{
  margin: 0 0 14px 0;
  font-size: 15px;        /* ↓ från 16px */
  line-height: 1.7;       /* lite tajtare för bättre blockkänsla */
  color: rgba(249,248,244,.85);
}

/* Gör dirigent-hero "wide" även om den ligger i .page-content (72ch) */
.page-content .dirigent-hero,
.single-content .dirigent-hero{
  width: min(1180px, calc(100vw - 64px));  /* större än content, men inte fullsize */
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.dirigent-hero__copy h3 + h2{
  margin-top: 2px;
}

.dirigent-hero__copy h3{
  margin: 0 0 6px 0;      /* tidigare troligen 10–14px */
  opacity: .75;
}

.dirigent-hero__copy h2{
  margin: 0 0 10px 0;     /* tajtare mot brödtext */
}

.dirigent-hero__link{
  display: inline-block;
  margin-top: 10px;

  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;

  color: rgba(249,248,244,.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(249,248,244,.3);
  padding-bottom: 2px;

  transition:
    opacity .2s var(--ease),
    transform .2s var(--ease),
    border-color .2s var(--ease);
}

.dirigent-hero__link:hover{
  opacity: 1;
  transform: translateY(1px);
  border-bottom-color: rgba(249,248,244,.55);
}

/* Default (desktop): dölj mobil-varianten helt */
.dirigent-hero-mobile{
  display: none;
}

@media (max-width: 800px){
  .dirigent-hero{ display: none; }
  .dirigent-hero-mobile{ display: block; }

  /* resten av din mobil-css för .dirigent-hero-mobile får ligga kvar här */
}

  /* Visa mobil-varianten */
  .dirigent-hero-mobile{
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto 44px;
  }

  .dirigent-hero-mobile__media{
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #05060a;
  }

  .dirigent-hero-mobile__media img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;        /* stabil affisch */
    object-fit: cover;
    object-position: 50% 18%;   /* flytta ansiktet; justera 10–30% */
  }

  .dirigent-hero-mobile__copy{
    max-width: 72ch;
    margin: 18px auto 0;
    color: rgba(0,0,0,.82);     /* om du vill ha text på ljus bakgrund under */
  }

  .dirigent-hero-mobile__copy h3{
    margin: 0 0 6px 0;
    opacity: .75;
  }

  .dirigent-hero-mobile__copy h2{
    margin: 0 0 10px 0;
  }

  .dirigent-hero-mobile__copy p{
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.75;
  }

  /* Återanvänd din länkstil men anpassa färg för ljus bakgrund */
  .dirigent-hero-mobile .dirigent-hero__link{
    color: rgba(0,0,0,.75);
    border-bottom-color: rgba(0,0,0,.25);
  }
  .dirigent-hero-mobile .dirigent-hero__link:hover{
    border-bottom-color: rgba(0,0,0,.45);
  }
}

/* ===== FOOTER (minimal, typografisk) ===== */

.site-footer{
  background: #052b20;               /* matchar din gröna ton */
  color: rgba(249,248,244,.88);
  padding: 56px 20px 44px;
  margin-top: 70px;
}

.site-footer-inner{
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer-title{
  font-size: 24px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(249,248,244,.92);
  margin-bottom: 10px;
}

.footer-text{
  margin: 0;
  max-width: 42ch;
  font-size: 24px;
  line-height: 1.75;
  color: rgba(249,248,244,.80);
}

.footer-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}

.footer-links a{
  width: max-content;
  color: rgba(249,248,244,.88);
  text-decoration: none;
  font-size: 24px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .9;
  border-bottom: 1px solid rgba(249,248,244,.25);
  padding-bottom: 2px;
  transition: opacity .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}

.footer-links a:hover{
  opacity: 1;
  transform: translateY(1px);
  border-bottom-color: rgba(249,248,244,.55);
}

.footer-meta{
  text-align: right;
}

.footer-small{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(249,248,244,.70);
  line-height: 1.6;
}

.footer-credit{
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(249,248,244,.55);
}

.footer-credit a{
  color: rgba(249,248,244,.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(249,248,244,.18);
  padding-bottom: 1px;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}

.footer-credit a:hover{
  opacity: 1;
  border-bottom-color: rgba(249,248,244,.40);
}

/* Mobil */
@media (max-width: 800px){
  .site-footer-inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-meta{
    text-align: left;
  }
}

/* ===== FOOTER SCALE UP ===== */

.site-footer{
  padding: 46px 24px 46px; /* lite mer luft */
}

.site-footer-inner{
  max-width: 1120px;
  gap: 64px;/* större mellan kolumner */
  align-items: center;
}

/* Logotyp */
.footer-logo{
  display: block;
  height: 36px;           /* ↑ justera 32–44px efter smak */
  width: auto;
  margin-bottom: 14px;
}

/* Brödtext i footer */
.footer-text{
  font-size: 14px;        /* ↑ från ~12–13 */
  line-height: 1.7;
  max-width: 34ch;
  color: rgba(249,249,247,.75);
}

/* Sociala länkar */
.footer-links a{
  font-size: 14px;        /* ↑ */
  letter-spacing: .14em;
}

/* Copyright + credit */
.footer-small{
  font-size: 14px;        /* ↑ marginellt */
}

.footer-credit{
  font-size: 14px;
}

/* FOOTER LOGO – size */
.site-footer .footer-logo{
  height: 120px;   /* testa 48–72px */
  width: auto;
  max-width: 240px; /* så den inte blir absurd på stora skärmar */
}

/* HEADER NAV — smooth underline reveal */
.nav-curve > li > a{
  position: relative;
  transform: none; /* dödar din translateY(-2px) */
  transition: opacity .2s var(--ease);
}

.nav-curve > li > a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:1px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  opacity: .55;

  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.nav-curve > li > a:hover::after,
.nav-curve > li > a:focus-visible::after{
  transform: scaleX(1);
  opacity: .9;
}

/* Valfritt: lite “press” på hover utan att flytta layout */
.nav-curve > li > a:hover,
.nav-curve > li > a:focus-visible{
  opacity: 1;
}

/* Markera aktuell sida konstant */
.nav-curve > li.current-menu-item > a::after,
.nav-curve > li.current_page_parent > a::after,
.nav-curve > li.current-page-ancestor > a::after{
  transform: scaleX(1);
  opacity: .9;
}

/* ===== INTRO (gated) ===== */
.front-hero-bg,
.site-header{
  opacity: 0.01;
  animation: none;
  will-change: opacity, transform;
}

/* Starta först när .intro-ready finns */
.intro-ready .front-hero-bg{
  animation: heroFadeIn 1.1s var(--ease) forwards;
  animation-delay: .05s;
}

.intro-ready .site-header{
  animation: headerIn .5s var(--ease) forwards;
  animation-delay: 0.3s;
}

/* Start-transformer (måste ligga här, annars kan de bli överskrivna av dina tidigare transform-regler) */
.front-hero-bg{ transform: scale(1.12); }
.hero-logo{ transform: translateY(10px) scale(.985); }
.site-header{ transform: translateY(-8px); }

/* Keyframes */
@keyframes heroFadeIn{
  to{ opacity: 1; transform: scale(1.10); }
}
@keyframes heroLogoIn{
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes headerIn{
  to{ opacity: 1; transform: translateY(0); }
}