.elementor-kit-10{--e-global-color-primary:#303633;--e-global-color-secondary:#565E57;--e-global-color-text:#000000;--e-global-color-accent:#2A3D45;--e-global-color-26e4df6:#2D2E2E;--e-global-color-d56f957:#A3A3A3;--e-global-color-02bcaf1:#101916;--e-global-color-dc9349b:#263D42;--e-global-color-e7556c4:#639A88;--e-global-color-0ee4259:#4D8079;--e-global-color-3583f20:#666666;--e-global-color-8f8dbb3:#525252;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-size:1rem;--e-global-typography-primary-font-weight:400;--e-global-typography-primary-letter-spacing:0.1rem;--e-global-typography-secondary-font-family:"Inter";--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-letter-spacing:0.1rem;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:400;--e-global-typography-text-letter-spacing:0.1rem;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:400;--e-global-typography-accent-letter-spacing:0.1rem;}.elementor-kit-10 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:820px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ========================================= */
/* Deaktiver drag to refresh page*/
/* ========================================= */
html,
body {
    overscroll-behavior-y: none;
}


.return-to-top {
  display: none;
  /* Alternatively, if you want to use opacity and transitions:
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  */
}



/* ========================================= */
/* Taletid Stylesheet v2*/
/* ========================================= */

.taletid-skærm {
  --display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  pointer-events: none;
}

.taletid-skærm.taletid-aktiv {
  --display: flex !important;
  height: auto !important;
  min-height: 100dvh !important;
  overflow: visible !important;
  opacity: 1;
  pointer-events: auto;
}

/* Undtagelse for specifikke opgave-containere */
#taletid-opgave.taletid-aktiv,
#taletid-opgave-a.taletid-aktiv,
#taletid-opgave-b.taletid-aktiv {
  min-height: auto !important;
}

#taletid-start.taletid-aktiv {
  --justify-content: center !important;
  --align-items: center !important;
  justify-content: center !important;
  align-items: center !important;
}



/* =========================================================
   Taletid – Find forskellene
   Fælles styling for billedcontainere
   ========================================================= */

.taletid-ff-bg {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}



/* ========================================= */
/* Taletid Master Stylesheet*/
/* ========================================= */

.taletid-container {
  height: 100dvh !important;
  overflow: hidden !important;
}

.taletid-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
}

.efteropgave-header {
background: #273F34 !important;
}

/* ========================================= */
/* ========================================= */




/* ========================================= */
/* Karussel Pagination*/
/* ========================================= */

/* 1) Sæt standard-størrelse og farve-variabler på selve widgetten – med !important */
.pager--numbers {
  --swiper-pagination-bullet-size: 36px !important;                /* cirkelstørrelse */
  --swiper-pagination-bullet-horizontal-gap: 10px !important;
  --swiper-pagination-bullet-inactive-opacity: 1 !important;
  --swiper-pagination-bullet-opacity: 1 !important;
  --swiper-pagination-bullet-inactive-color: #565E57 !important;  /* fallback til tema */
  --swiper-pagination-color: #26081C !important;                  /* aktiv farve */
}

/* 2) Layout + tal-counter */
.pager--numbers .swiper-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--swiper-pagination-bullet-horizontal-gap) !important;
  counter-reset: slide !important;
}

/* 3) Cirklerne (inaktive) – maksimal override */
.pager--numbers .swiper-pagination .swiper-pagination-bullet {
  position: relative !important;
  width: var(--swiper-pagination-bullet-size) !important;
  height: var(--swiper-pagination-bullet-size) !important;
  box-sizing: border-box !important;           /* så kant medregnes i størrelsen */
  border-radius: 50% !important;
  background: #ffffff !important;              /* brug 'background' (ikke kun -color) */
  border: 1px solid #d3d3d3 !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  cursor: pointer !important;
  transform: none !important;                  /* nulstil evt. tema-scale */
  transition: transform 160ms ease, box-shadow 160ms ease,
              background-color 160ms ease, color 160ms ease, border-color 160ms ease !important;
  counter-increment: slide !important;
}

/* 4) Tallene i cirklerne */
.pager--numbers .swiper-pagination .swiper-pagination-bullet::before {
  content: counter(slide) !important;
  font: 600 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  color: #26081C !important;
}

/* 5) Hover */
.pager--numbers .swiper-pagination .swiper-pagination-bullet:hover,
.pager--numbers .swiper-pagination .swiper-pagination-bullet:focus-visible {
  background: #ffffff !important;
  border-color: #4D8079 !important;
  transform: translateY(-2px) !important;
}

/* 6) Aktiv bullet (større + farvet) */
.pager--numbers .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #4D8079 !important;
  border-color: #4D8079 !important;
  transform: scale(1.35) !important;
  box-shadow: 0 4px 12px rgba(77, 128, 121, 0.35) !important;
  z-index: 2 !important;
}
.pager--numbers .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  color: #ffffff !important;
}

/* 7) Mobil */
@media (max-width: 480px) {
  .pager--numbers { --swiper-pagination-bullet-size: 28px !important; }
  .pager--numbers .swiper-pagination .swiper-pagination-bullet::before { font-size: 12px !important; }
}
/* ========================================= */




/* ========================================= */
/* Stopper scroll i at gå videre til baggrunden */
.elementor-popup-modal {
    overscroll-behavior: contain;
}
/* ========================================= */






/* ========================================= */
/* TEMA MATERIALE - MASTER STYLESHEET        */
/* ========================================= */

/* --- GENERELLE REGLER (Gælder alle) --- */
.tema-cont {
    display: none;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}

.active-container {
    display: flex !important;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.tema-menu-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* --- 1. DESKTOP (Fra 1025px og op) --- */
@media (min-width: 1025px) {
    .tema-cont {
        height: 75vh;
        overflow-y: auto;
        padding: 30px;
    }
    
    .tema-sidepanel-desk {
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

/* --- 2. TABLET (Fra 768px til 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .tema-cont {
        height: 65vh; /* Lidt mindre højde for at give plads på tablets */
        overflow-y: auto;
        padding: 25px;
    }
    
    .tema-sidepanel-desk {
        /* På tablet vil man ofte gerne have sidepanelet i toppen i stedet */
        height: auto;
        position: relative;
    }
}

/* --- 3. MOBIL (Under 768px) --- */
@media (max-width: 767px) {
    .tema-cont {
        height: auto !important; /* Flydende højde på mobilen */
        min-height: 40vh;
        max-height: none;
        overflow-y: visible; 
        padding: 20px 15px;
    }

    .tema-btn {
        padding: 12px;
        font-size: 14px;
        width: 100%; /* Knapper fylder ofte hele bredden på mobil for nemmere klik */
    }
    
    .tema-header {
        text-align: center;
    }
}

/* Scrollbar styling til Chrome/Safari */
.tema-cont::-webkit-scrollbar { width: 6px; }
.tema-cont::-webkit-scrollbar-thumb { background-color: #cccccc; border-radius: 10px; }




/* ========================================= */
/* MONA HAR FRI - MASTER STYLESHEET          */
/* ========================================= */

/* --- GENERELLE REGLER --- */
.mhf-cont {
    display: none;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
}

/* Bemærk: .active-container beholder sit navn, da dit JS bruger det */
.active-container {
    display: flex !important;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.mhf-menu-btn, .mhf-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* --- 1. DESKTOP (Fra 1025px og op) --- */
@media (min-width: 1025px) {
    .mhf-cont {
        height: 75vh;
        overflow-y: auto;
        padding: 30px;
    }
    
    .mhf-sidepanel-desk {
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

/* --- 2. TABLET (Fra 768px til 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .mhf-cont {
        height: 65vh;
        overflow-y: auto;
        padding: 25px;
    }
    
    .mhf-sidepanel-desk {
        height: auto;
        position: relative;
    }
}

/* --- 3. MOBIL (Under 768px) --- */
@media (max-width: 767px) {
    .mhf-cont {
        height: auto !important;
        min-height: 40vh;
        max-height: none;
        overflow-y: visible; 
        padding: 20px 15px;
    }

    .mhf-btn, .mhf-menu-btn {
        padding: 12px;
        font-size: 14px;
        width: 100%;
    }
    
    .mhf-header {
        text-align: center;
    }
}

/* Scrollbar styling til Chrome/Safari */
.mhf-cont::-webkit-scrollbar { width: 6px; }
.mhf-cont::-webkit-scrollbar-thumb { background-color: #cccccc; border-radius: 10px; }



/* ========================================= */
/* Tooltip*/
/* ========================================= */
/* 1. Designet af selve ordet i teksten */
.min-tooltip {
  position: relative;
  text-decoration: none; 
  color: inherit;
  cursor: help;
  display: inline; /* LØSNING: Ændret fra inline-block til inline */
  
  /* Styrer prikkerne med din farve #303633 */
  background-image: linear-gradient(to right, #303633 1.5px, transparent 1.5px);
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 6px 1px; 
  padding-bottom: 2px;
  
  transition: all 0.2s ease;
}
/* Gør ordet tydeligere, når man holder musen over */
.min-tooltip:hover {
  color: #303633;
}
/* 2. Selve Tooltip-boksen (Desktop) */
.min-tooltip::after {
  content: attr(data-forklaring);
  position: absolute;
  bottom: calc(100% + 10px); 
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #303633; 
  color: #f8fafc; 
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  white-space: normal;
  width: max-content;
  max-width: 220px; /* Gælder kun på desktop nu */
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999999;
  pointer-events: none;
}
/* 3. Den lille pil (Desktop) */
.min-tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 6px); /* Ændret fra 4px til 6px for at skabe overlap og fjerne stregen */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 6px solid #303633; 
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999999;
  pointer-events: none;
}
/* 4. Trigger animationen */
.min-tooltip:hover::after,
.min-tooltip:active::after,
.min-tooltip:hover::before,
.min-tooltip:active::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* 5. Mobilsikring (Styret via vw) */
@media (max-width: 767px) {
  .min-tooltip::after {
    position: fixed; 
    top: 25vh; 
    bottom: auto; 
    left: 50%; 
    transform: translateX(-50%); /* Holder den knivskarpt i midten */
    
    /* Her er den nye vw-styring: */
    width: 75vw; /* Boksen fylder altid præcis 75% af skærmen */
    max-width: none; /* Fjerner pixel-begrænsningen */
    
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    z-index: 999999; 
  }
  
  /* Skjuler pilen fuldstændigt på mobilskærme */
  .min-tooltip::before {
    display: none !important;
  }
}
/* 6. Smart Deaktivering (Når et sprog mangler) */
.min-tooltip.skjul-tooltip {
  background-image: none !important; /* Fjerner den stiplede understregning */
  cursor: text !important; /* Gør at musen ikke bliver til et spørgsmålstegn/hånd */
}
.min-tooltip.skjul-tooltip::after,
.min-tooltip.skjul-tooltip::before {
  display: none !important; /* Forhindrer den sorte boks i at dukke op */
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('http://staging1788964745.sprogselskabet.dk/wp-content/uploads/Inter-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('http://staging1788964745.sprogselskabet.dk/wp-content/uploads/Inter-Black.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('http://staging1788964745.sprogselskabet.dk/wp-content/uploads/Inter-Light.woff2') format('woff2');
}
/* End Custom Fonts CSS */