/* =====================================================
   LOKAHNYKKUR DARK MODE - ALGER YFIRTAKA
===================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bp-dark-bg: #020617;
    --bp-dark-surface: #0f172a;
    --bp-dark-text: #f8fafc;
    --bp-dark-muted: #94a3b8;
  }

  /* 1. BAKGRUNNAR (Sérstök áhersla á header og course content) */
  body:not(.theme-d), 
  .bp-course-content,
  .bp-bg-inverse,
  .bp-hero,
  .bp-post-surface,
  .bp-testimonials-surface,
  #wrapper, 
  #outer-wrap { 
    background-color: var(--bp-dark-bg) !important; 
    color: var(--bp-dark-text) !important; 
  }

  /* 2. HEADER YFIRTAKA - Hér eru bættir við Kadence sértækir klasar */
  header,
  .site-header-wrap, 
  .site-main-header-wrap,
  .site-header-row-container-inner,
  .site-header-row-container,
  .site-header-wrap.is-sticky,
  .site-header-wrap.is-sticky .site-header-row-container-inner,
  .bp-header,
  .sub-menu,
  .menu .sub-menu,
  .bp-info-bar,
  .header-navigation {
    background-color: var(--bp-dark-surface) !important;
    background: var(--bp-dark-surface) !important; /* Sumir nota shorthand */
    border-color: rgba(255,255,255,0.1) !important;
  }

  /* Tryggja að allir hlekkir í nav og valmyndum séu ljósir */
  .main-navigation ul li a,
  .header-menu a,
  .header-navigation a,
  .sub-menu li a,
  .bp-header a,
  .bp-header-phone a,
  .site-header-wrap a {
    color: var(--bp-dark-text) !important;
  }

  /* 3. SOCIAL ICONS - Leiðrétt setningafræði */
  .bp-social-icons a {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--bp-dark-text) !important;
  }

  .bp-social-icons a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }

  /* 4. CARDS OG FORMS */
  .bp-testimonial-card,
  .bp-contact-card,
  .bp-card,
  .bp-course-card,
  .bp-post-card,
  .bp-value-card,
  .bp-faq-item,
  .bp-testimonial-quote-inner,
  .bp-results-card,
  .ff-el-form-control,
  .bp-result-card,
 /* .kt-inside-inner-col,*/
  .bp-testimonial-card   {
    background-color: var(--bp-dark-surface) !important;
    color: var(--bp-dark-text) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
 /*   box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;*/
  }

  /* 5. CTA HNAPPAR */
  .bp-hero-actions .bp-btn-outline,
  .kb-button.bp-btn-outline,
  .bp-btn-outline {
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--bp-dark-text) !important;
    color: var(--bp-dark-text) !important;
  }
  
  .bp-btn-outline:hover {
    background: var(--bp-dark-text) !important;
    color: var(--bp-dark-bg) !important;
  }

  /* 6. TEXTI OG FYRIRSAGNIR */
  h1, h2, h3, h4, h5, h6, 
  .bp-card-title a, 
  .bp-testimonial-text,
  .bp-course-subtitle,
  .bp-contact-info h3,
  .site-title,
  .site-description {
    color: var(--bp-dark-text) !important;
  }

  .bp-text-medium, 
  .bp-status-sub,
  .bp-testimonial-role {
    color: var(--bp-dark-muted) !important;
  }
}
/* =====================================================
   ÞINN UPPRUNALEGI KÓÐI FYLGIR HÉR FYRIR NEÐAN
   ===================================================== */

/* =====================================================
   BUSINESS PRO – MASTER DESIGN SYSTEM
   Version 2.0 – Clean Kadence Override Architecture
===================================================== */

/* ROOT */

:root {
  --radius: 16px;
  --card-shadow: 0 8px 24px rgba(0,0,0,.08);
  --card-hover-lift: -6px;
  --card-hover-shadow: 0 18px 48px rgba(0,0,0,.12);
  
  --sp-1: 0.5rem;
--sp-2: 1rem;
--sp-3: 1.5rem;
--sp-4: 2rem;
--sp-5: 3rem;
--sp-6: 4rem;
}



/* Header CTA */
.header-button .kadence-header-button,
.header-button-wrap .header-button-inner-wrap{
   /* background: linear-gradient(135deg, #0D1B2A, #1B263B);*/
 /*  background: linear-gradient(135deg, #3671BA, #285A95);*/
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-family: 'Montserrat';
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}
.header-button .kadence-header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

/* Socials in header */
.biz-social-list {
    display: flex;
    gap: 10px;
    align-items: center;
}
.biz-social-list .social-icon svg {
    width: 18px;
    height: 18px;
    fill: #1B263B;
}

/* Sticky header transparency fix */
.site-header-wrap.is-sticky {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}





/* =====================================================
   CONTAINER + SECTION
===================================================== */

.kb-theme-content-width {
   max-width: 1200px;
}

.kb-theme-content-width > .wp-block-kadence-column.bp-container{
    max-width: 1200px;
    width: 100%;
}


.bp-container{
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-3);
}

.bp-section {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.bp-section-sm {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.bp-section-lg {
  padding-block: clamp(5rem, 8vw, 8rem);
}

/* =====================================================
   GRID
===================================================== */

.bp-grid {
  display: grid;
  gap: var(--sp-4);
}

.bp-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.bp-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* =====================================================
   CARD
   (Removed duplicate .bp-card base block; kept link styles)
===================================================== */

.bp-card-title a {
  text-decoration: none;
  color: var(--c-text-strongest);
}

.bp-card-title a:hover {
  color: var(--c-accent-1);
}

/* =====================================================
   HERO SYSTEM
   (Removed repeated .bp-hero / .bp-hero-inner / .bp-hero-image blocks;
    kept the LAST effective version to avoid changing visuals.)
===================================================== */

.bp-hero {
  padding-block: clamp(5rem, 8vw, 9rem);
  position: relative;
  overflow: hidden;
 /* background: linear-gradient(
    135deg,
    var(--c-bg-subtle) 0%,
    var(--c-bg-light) 100% */
    background: linear-gradient(135deg, #3671BA 0%, #5A8FD6 100%);
  );
}

.bp-hero-inner {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  align-items:center;
  gap: clamp(2rem,4vw,4rem);
}

.bp-hero-content {
  max-width: 700px;
}

.bp-hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.bp-hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
 /* color: var(--c-text-medium);*/
  margin-bottom: 2rem;
}

.bp-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bp-hero-image img {
  width:100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}



.bp-hero.has-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

/* ======================================
   HERO MOBILE FIX
====================================== */

@media (max-width: 767px){

  .bp-hero-inner{
    grid-template-columns: 1fr;
  }

  /* Force stacking order */
  .bp-hero-content{
    grid-row: 1;
  }

  .bp-hero-image{
    grid-row: 2;
    justify-self: center; /* THIS centers the grid item */
  }

  .bp-hero-image img{
    display:block;
    margin:0 auto;
  }
}


/* =====================================================
   BUTTON SYSTEM (Kadence Compatible)
===================================================== */

/* Base override */
.wp-block-kadence-advancedbtn .kb-button {
  border-radius: var(--radius-md) ;
  box-shadow: none ;
  text-decoration: none;
}

/* Our button base */
.wp-block-kadence-advancedbtn .kb-button.bp-btn {
  padding: 0.9rem 1.6rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  border: 2px solid;
  transition: all .25s ease !important;
}

/* PRIMARY */

.kb-button.bp-btn-primary {
  background: var(--c-accent-1);
  border-color: var(--c-accent-1);
 /*border-color: transparent;*/
  color: #fff;
 /* transition: all .25s ease !important;*/
}

.kb-button.bp-btn-primary:hover {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
}

/* SECONDARY */

.kb-button.bp-btn-secondary {
  background: var(--c-accent-2) ;
  border-color: var(--c-accent-2) ;
  color: #fff !important;
/*  transition: all .25s ease !important;*/
}

.kb-button.bp-btn-secondary:hover {
  background: var(--c-accent-1) ;
  border-color: var(--c-accent-1) ;
}

/* OUTLINE */

.kb-button.bp-btn-outline {
  background: transparent;
  border-color: var(--c-accent-1);
  color: var(--c-accent-1);
/*  transition: all .25s ease !important;*/
  
}

.kb-button.bp-btn-outline:hover {
  background: var(--c-accent-1);
  color: #fff;
  border-color: var(--c-accent-1);
}


/* Focus accessibility */
.kb-button.bp-btn:focus-visible {
  outline: 3px solid var(--c-accent-complement);
  outline-offset: 3px;
}

.bp-btn-disabled{
  opacity:.6;
  pointer-events:none;
  cursor:not-allowed;
}


/* =====================================================
   TRUST STRIP
===================================================== */

.bp-trust-strip {
  background: var(--c-bg-white);
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding-block: clamp(1rem, 2vw, 2rem); 
}

.bp-trust-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

.bp-trust-item strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-accent-1);
}

.bp-trust-item span {
  font-size: 0.9rem;
  color: var(--c-text-medium);
}


/* ==========================================================
   BUSINESS PRO – INFO BAR
========================================================== */

.bp-info-bar {
 /* background: var(--c-bg-subtle);*/
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-block: clamp(1.2rem,2vw,1.8rem);
}

.bp-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-inline: 12px;
  text-align: left;
}

/* Icon */
.bp-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--c-accent-1),
    var(--c-accent-2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-1);
}

.bp-info-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Hover micro interaction */
.bp-info-item:hover .bp-info-icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

/* Label */
.bp-info-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  color: #b7c5d5;
  margin-bottom: 2px;
}

/* Value */
.bp-info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-strong);
}

.bp-info-value a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.bp-info-value a:hover {
  color: var(--c-accent-1);
}

/* ==========================================================
   INFO BAR – POSITION MODIFIERS
========================================================== */

/* Default spacing reset */
.bp-info-bar {
  position: relative;
  z-index: 5;
}

/* Above hero */
.bp-info-top {
  margin-bottom: -1px; /* removes visual gap */
}

/* Below hero */
.bp-info-bottom {
  margin-top: -1px;
}

/* Clean divider handling */
.bp-info-top {
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.bp-info-bottom {
  border-top: 1px solid rgba(0,0,0,.06);
}



/* Desktop vertical separators */
@media (min-width: 768px) {
  .bp-info-bar .bp-info-item {
    border-right: 1px solid rgba(0,0,0,.08);
  }

  .bp-info-bar .bp-info-item {
    border-right: none;
  }
}

/* Mobile stack */
@media (max-width: 767px){
  .bp-info-item{
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

/* ==========================================================
   INFO BAR – STYLE MODIFIERS
========================================================== */

/* GLASS */
.bp-info-glass {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.12);
}

/* DARK */
.bp-info-dark {
  background: #111;
  border-color: rgba(255,255,255,.08);
}

.bp-info-dark .bp-info-label {
  color: rgba(255,255,255,.6);
}

.bp-info-dark .bp-info-value,
.bp-info-dark .bp-info-value a {
  color: #fff;
}

/* ACCENT */
.bp-info-accent {
  background: linear-gradient(
    135deg,
    var(--c-accent-1),
    var(--c-accent-2)
  );
  border: none;
}

.bp-info-accent .bp-info-label {
  color: rgba(255,255,255,.8);
}

.bp-info-accent .bp-info-value,
.bp-info-accent .bp-info-value a {
  color: #fff;
}

/* ======================================
   INFO BAR – MOBILE FIX
====================================== */

@media (max-width: 767px){

  .bp-info-item{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .bp-info-icon{
    margin-bottom: 8px;

  }

  .bp-info-content{
    text-align: center;
  }
}

/* ======================================
   INFO BAR – KADENCE STRUCTURE FIX
====================================== */

.bp-info-item > .kt-inside-inner-col{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1rem;
  text-align:left;
}

/* Mobile stacking */
@media (max-width: 767px){

  .bp-info-item > .kt-inside-inner-col{
    flex-direction:column;
    text-align:center;
  }

  .bp-info-icon{
    margin-bottom:6px;
  }
}


/* =====================================================
   BADGES
===================================================== */

.bp-badge {
  padding: .35em .9em;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}

.bp-badge-success {
  background: var(--c-success);
  color: #fff;
}

.bp-badge-alert {
  background: var(--c-alert);
  color: #fff;
}

.bp-rating-stars {
  display:flex;
  align-items:center;
  gap:.25rem;
  margin:.5rem 0 1rem;
}

.bp-star {
  color:#ddd;
  font-size:1.2rem;
}

.bp-star.is-filled {
  color:#fbbf24;
}

.bp-rating-number {
  margin-left:.5rem;
  font-size:.9rem;
  color:var(--c-text-medium);
}

.bp-price {
  font-size:1.6rem;
  margin-bottom:1rem;
}

.bp-grid-2 {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:3rem;
}

@media(max-width:900px){
  .bp-grid-2{
    grid-template-columns:1fr;
  }
}

/* =====================================================
   Reusable Background Shape System
===================================================== */

.bp-shape-section {
  position: relative;
  overflow: hidden;
}

.bp-shape-section::before {
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  background: radial-gradient(circle, var(--c-accent-1) 0%, transparent 70%);
  top:-200px;
  right:-200px;
  opacity:.06;
  pointer-events:none;
}

/* =====================================================
   Trust strip visual polish
===================================================== */

.bp-trust-strip {
  background: var(--c-bg-white);
  border-top: 1px solid rgba(0,0,0,.05);
}

/* =====================================
   SERVICE SECTION
===================================== */

.bp-section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.bp-section-sub {
  color: var(--c-text-medium);
  max-width: 640px;
  margin-bottom: 3rem;
}

/* Card refinement (kept — this was the LAST .bp-card block, so removing the earlier one does NOT change visuals) */

.bp-card {
  background: var(--c-bg-white);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: var(--radius);
 /* box-shadow: 0 12px 30px rgba(0,0,0,.05);*/
 box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

.bp-card:hover {
  transform: translateY(-6px);
   border-radius: var(--radius);
   box-shadow: var(--shadow-1);
 /* box-shadow: 0 22px 55px rgba(0,0,0,.1);*/
 /* border-radius: var(--radius-lg);*/
}

.bp-card h3 {
  margin-bottom: 1rem;
}

.bp-card p {
  color: var(--c-text-medium);
  margin-bottom: 1.5rem;
}

/* Optional subtle accent line */
.bp-card::before {
  content: "";
  display: block;
  height: 4px;
  width: 40px;
  background: var(--c-accent-1);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* =====================================
   SECTION BACKGROUND SYSTEM
===================================== */

/* Default (engin bakgrunnsbreyting) */
.bp-section {
  padding-block: clamp(3rem, 6vw, 6rem);
}

/* Soft light background */
.bp-section-soft { background: var(--c-bg-light); }
.bp-bg-soft { background: var(--c-bg-light); }

/* Subtle background */
.bp-section-subtle { background: var(--c-bg-subtle); }
.bp-bg-subtle { background: var(--c-bg-subtle); }

/* White background (explicit reset) */
.bp-section-white { background: var(--c-bg-white); }
.bp-bg-white { background: var(--c-bg-white); }

/* Accent background */
.bp-section-accent,
.bp-bg-accent {
  background: var(--c-accent-1);
  color: #fff;
}

.bp-section-accent h1,
.bp-section-accent h2,
.bp-section-accent h3,
.bp-section-accent p,
.bp-bg-accent h1,
.bp-bg-accent h2,
.bp-bg-accent h3,
.bp-bg-accent p{
  color: #fff;
}

/* Dark contrast background */
.bp-section-contrast {
  background: #0f172a;
  color: #fff;
}

.bp-section-contrast h1,
.bp-section-contrast h2,
.bp-section-contrast h3,
.bp-section-contrast p {
  color: #fff;
}

/* ======================================
   BACKGROUND SYSTEM
====================================== */

/* Soft gradient depth */
.bp-bg-depth {
  position: relative;
  background:
    radial-gradient(
      800px 400px at 0% 0%,
      rgba(37,99,235,.08),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 100% 100%,
      rgba(29,78,216,.06),
      transparent 60%
    ),
    var(--c-bg-white);
}

/* Ultra subtle texture */
.bp-bg-texture {
  position: relative;
  background-color: var(--c-bg-white);
}

.bp-bg-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,.15) 0px,
      rgba(0,0,0,.15) 1px,
      transparent 1px,
      transparent 6px
    );
}

/* Dark Premium section */
.bp-bg-dark {
  background: #0f172a;
  color: #fff;
}

.bp-bg-dark h1,
.bp-bg-dark h2,
.bp-bg-dark h3,
.bp-bg-dark p{
  color: #fff;
}

.bp-bg-dark p {
  color: rgba(255,255,255,.75);
}

/* Accent Brand Section */
.bp-bg-accent {
  background: linear-gradient(
    135deg,
    var(--c-accent-1),
    var(--c-accent-2)
  );
  color: #fff;
}

.bp-bg-accent h1,
.bp-bg-accent h2,
.bp-bg-accent h3,
.bp-bg-accent p{
  color: #fff;
}

.bp-bg-accent p { color: rgba(255,255,255,.9); }

/* Inverse mjúk blanda */
.bp-bg-inverse { background: rgba(37,99,235,.05); }

/* Glass modern look */
.bp-bg-glass {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
}

/* ======================================
   WAVE DIVIDER
====================================== */

.bp-divider-wave { position: relative; }

.bp-divider-wave::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'><path fill='%23ffffff' d='M0,64L80,74.7C160,85,320,107,480,101.3C640,96,800,64,960,53.3C1120,43,1280,53,1360,58.7L1440,64V120H0Z'></path></svg>") no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

/* ======================================
   ANGLE DIVIDER
====================================== */

.bp-divider-angle { position: relative; }

.bp-divider-angle::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--c-bg-white);
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0% 100%);
}

/* ======================================
   TOP WAVE DIVIDER
====================================== */

.bp-divider-top { position: relative; }

.bp-divider-top::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'><path fill='%23ffffff' d='M0,56L80,50.7C160,45,320,35,480,40C640,45,800,65,960,74.7C1120,85,1280,85,1360,80L1440,75V0H0Z'></path></svg>") no-repeat top;
  background-size: cover;
  pointer-events: none;
}


/* Apply feel vars */
.bp-card{
 border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.bp-card:hover{
  box-shadow: var(--shadow-2);
}

.bp-btn{
  border-radius: var(--radius);
}

/* Premium hero glow (token-based) */
.bp-hero{
  position: relative;
}

.bp-hero > *{
  position: relative;
  z-index: 1;
}

/* Subtle section divider helper */
.bp-divider{
  height: 1px;
  background: rgba(0,0,0,var(--divider-opacity));
}



/* ======================================
   WHY SECTION – CLEAN REBUILD
====================================== */

/* ============================
   WHY IMAGE – KADENCE FIX
============================ */

/* Targeta Kadence image block beint */
.wp-block-kadence-image.bp-why-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* Myndin */
.wp-block-kadence-image.bp-why-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  transition: transform .45s ease;
}

/* Hover zoom */
.wp-block-kadence-image.bp-why-image:hover img {
  transform: scale(1.04);
}

/* ----------------------------------
   CONTENT
---------------------------------- */

.bp-why-content h2 {
  margin-bottom: 1rem;
}

.bp-why-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: .8;
}

/* ----------------------------------
   FEATURES
---------------------------------- */

.bp-why-feature {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

/* Icon wrapper */
.bp-why-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--c-accent-1),
    var(--c-accent-2)
  );

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}

/* Hover lift */
.bp-why-feature:hover .bp-why-feature-icon {
  transform: translateY(-6px);
}

/* SVG inside */
.bp-why-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Headline */
.bp-why-feature h3 {
  margin: 0 0 .35rem 0;
}

/* Text */
.bp-why-feature p {
  margin: 0;
  opacity: .75;
}

/* Smá polish fyrir CTA band */
.bp-cta-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* FORCE override Kadence figure styling */
.single-content figure.bp-why-image {
  position: relative;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  margin: 0 !important;
}

/* Image inside */
.single-content figure.bp-why-image img {
  width: 100% !important;
  display: block !important;
  border-radius: var(--radius-lg) !important;
  transition: transform .4s ease;
}

/* Hover zoom */
.single-content figure.bp-why-image:hover img {
  transform: scale(1.03);
}

/* Glow layer */
.single-content figure.bp-why-image::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    circle at center,
    rgba(37,99,235,.25),
    transparent 70%
  );
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.single-content figure.bp-why-image img {
  position: relative;
  z-index: 1;
}

/* Container */
figure.bp-why-image,
.wp-block-kadence-image.bp-why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Glow */
figure.bp-why-image::after,
.wp-block-kadence-image.bp-why-image::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    circle at center,
    rgba(37,99,235,.25),
    transparent 70%
  );
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

/* IMG ONLY */
figure.bp-why-image img,
.wp-block-kadence-image.bp-why-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform .4s ease;
}

/* Hover */
figure.bp-why-image:hover img,
.wp-block-kadence-image.bp-why-image:hover img {
  transform: scale(1.03);
}

/* Hækka sértækni (án !important) með því að festa við body + bp-section */
body.wp-child-theme-business-pro .bp-section .bp-why-image img{
  border-radius: 22px;
  display: block;
}

/* Ef Kadence er að núlla margin/padding á figure/section */
body.wp-child-theme-business-pro .bp-section .bp-why-image{
  margin: 0;
}

body.wp-child-theme-business-pro .bp-section .bp-why-image img{
  border-radius: 22px !important;
}

/* ======================================
   GLOBAL POLISH (ALL THEMES)
====================================== */

/* smoother transitions */
.bp-btn,
.bp-card,
.bp-hero {
  transition: background-color .28s ease, color .28s ease, border-color .28s ease,
              box-shadow .28s ease, transform .22s ease;
}

/* button affordance */
.bp-btn {
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  transform: translateY(0);
  will-change: transform, box-shadow;
}

.bp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.bp-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* outline still needs presence */
 .bp-btn-outline {
  background: rgba(255,255,255,.06);
  backdrop-filter: saturate(120%) blur(6px);
}

/* fix: when on dark backgrounds, keep outline readable */
.bp-hero .bp-btn-outline {
 border-color: rgba(255,255,255,.70);
  color: rgba(255,255,255,.92);
}

.bp-hero .bp-btn-outline:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.85);
}




/* Hero */
.bp-hero-course {
  position:relative;
  padding:6rem 0;
  color:#fff;
}

.bp-hero-bg img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

.bp-hero-course::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(0,0,0,.65),rgba(0,0,0,.4));
  z-index:-1;
}

/* Þetta er óvirkjað vegna hero í námskeið, þar sem featured image varð eins og thumb */
/*.bp-hero-inner {
  max-width:700px;
}*/

.bp-hero-sub {
  font-size:1.2rem;
  opacity:.9;
}

.bp-hero-meta {
  opacity:.8;
  margin:.5rem 0;
}

/* Rating */
.bp-star { color:#666; font-size:1.2rem; }
.bp-star.is-filled { color:#fbbf24; }

/* Grid */
.bp-grid-2 {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:3rem;
}

@media(max-width:900px){
  .bp-grid-2 { grid-template-columns:1fr; }
}

/* Sticky */
.bp-sticky { position:sticky; top:100px; }

/* Gallery */
.bp-gallery-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:1rem;
  /* margin-top:3rem; */
  padding-top:3rem;
}

.bp-gallery-grid img {
  border-radius:var(--radius-lg);
  transition:transform .4s ease;
}

.bp-gallery-grid img:hover {
  transform:scale(1.05);
}

/* Badge */
.bp-badge {
  background:var(--c-accent-1);
  color:#fff;
  padding:.4rem .8rem;
  border-radius:999px;
  display:inline-block;
  margin-bottom:1rem;
}

/* Button fix */
.bp-btn {
  display:inline-block;
  padding:.8rem 1.4rem;
  border-radius:var(--radius);
  font-weight:600;
  transition:all .25s ease;
}

.bp-btn-primary {
  background:var(--c-accent-1);
  color:#fff;
}

.bp-btn-primary:hover {
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.2);
  color:#fff;
}

.bp-btn-outline {
  border:2px solid var(--c-accent-1);
  color:var(--c-accent-1);
}

.bp-btn-disabled {
  opacity:.6;
  cursor:not-allowed;
}


.bp-hero-course {
  color: #fff;
}

.bp-hero-course h1,
.bp-hero-course .bp-hero-sub,
.bp-hero-course .bp-hero-meta {
  color: #fff;
}

.bp-hero-course .bp-hero-sub {
  opacity: .9;
}

.bp-hero-course .bp-hero-meta {
  opacity: .85;
}


.bp-pill {
  display:inline-block;
  padding:.35rem .7rem;
  border-radius:999px;
  font-size:.75rem;
  font-weight:600;
  margin-top:.5rem;
}

.bp-pill-online {
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
}


.bp-hero-course::before {
  display:none;
}

.bp-hero-course.has-bg::before {
  display:block;
}

/* Nýtt */


.bp-hero-course.has-bg{
  position: relative;
  overflow: hidden;
}

.bp-hero-course.has-bg .bp-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bp-hero-course.has-bg .bp-hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* content above image */
.bp-hero-course.has-bg .bp-container,
.bp-hero-course.has-bg .bp-hero-inner,
.bp-hero-course.has-bg .bp-hero-content{
  position: relative;
  z-index: 2;
}

/* overlay layer */
.bp-hero-course.has-bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
/*  background:rgba(0,0,0,0.55);*/ /* still overlay but not hiding image */
 
 
/*  background: linear-gradient(
  90deg,
  rgba(0,0,0,0.75) 00%,
  rgba(0,0,0,0.65) 30%,
  rgba(0,0,0,0.45) 60%,
  rgba(0,0,0,0.05) 100%
); */
}


/* Nýtt endar */


.bp-card .bp-btn {
  width:100%;
  margin-top:1rem;
}

.bp-card .bp-btn + .bp-btn {
  margin-top:.75rem;
}

.bp-card .bp-btn {
  width:100%;
  margin-top:1rem;
}

.bp-card .bp-btn + .bp-btn {
  margin-top:.75rem;
}

.bp-mobile-cta{
display:none;
margin-top:20px;
}

@media (max-width:768px){

.bp-mobile-cta{
display:flex;
gap:12px;
flex-wrap:wrap;
}

}

/* FIX #1: Non-banner course hero: enforce 2 columns on desktop */
.bp-hero-inner.bp-hero-inner-2col{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem,4vw,4rem);
}
@media (max-width: 900px){
  .bp-hero-inner.bp-hero-inner-2col{
    grid-template-columns: 1fr;
  }
  .bp-hero-inner.bp-hero-inner-2col .bp-hero-image{
    order: 2;
  }
}

/* FIX #2: White content background (fallback ef bp-bg-white er ekki til) */
.bp-course-content{
  background: #fff;
}

/* FIX #3: Related spacing */
.bp-course-related h2{
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* FIX #4: Sticky sidebar */
.bp-sticky{
  position: sticky;
  top: 110px; /* stilltu ef header er hærri/lægri */
  align-self: start;
}


.bp-hero-image{
  display:flex;
  justify-content:flex-end;
}

.bp-hero-image img.bp-hero-img{
  width:100%;
  max-width:520px; /* stjórnar hámarksstærð */
  height:auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}


.bp-hero-image img.bp-hero-img{
  transform: translateY(10px);
  transition: transform .4s ease;
}

.bp-hero-image img.bp-hero-img:hover{
  transform: translateY(0);
}


.bp-hero-inner{
  display:grid;
 /* grid-template-columns: 1.25fr 0.75fr;*/
  align-items:center;
  gap: clamp(2rem,4vw,4rem);
}

@media (max-width: 900px){
  .bp-hero-inner{
    grid-template-columns:1fr;
  }
  .bp-hero-image{
    order:2;
  }
}


.bp-hero-premium .bp-hero-image{
  position:relative;
}

.bp-hero-premium .bp-hero-image img{
  width:100%;
  max-width:540px;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,.25);
  transform: translateY(20px);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.bp-hero-premium .bp-hero-image img:hover{
  transform: translateY(0);
}

.bp-hero-premium .bp-hero-image::before{
  content:"";
  position:absolute;
  inset:-60px -40px -40px -60px;
  background: radial-gradient(
    circle at 60% 40%,
    var(--c-accent-1) 0%,
    transparent 65%
  );
  opacity:.18;
  filter: blur(40px);
  z-index:-1;
}

.bp-hero-premium .bp-hero-image{
  transform: translateX(40px);
}

.bp-hero-premium .bp-badge{
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.bp-rating-stars .bp-star{
  color: #fbbf24;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* ======================================
   HERO MOBILE IMAGE FIX
====================================== */

@media (max-width: 900px){

  .bp-hero-inner{
    grid-template-columns: 1fr !important;
  }

  .bp-hero-image{
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: none !important; /* fjarlægir premium float */
  }

  .bp-hero-image img{
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    transform: none !important;
    margin: 0 auto;
  }

  /* Ef þú ert með blob background */
  .bp-hero-premium .bp-hero-image::before{
    inset: -40px;
    opacity: .12;
  }
}

.bp-course-card img{
  transition: transform .4s ease;
}

.bp-course-card:hover img{
  transform: scale(1.04);
}

.bp-course-card{
  display:flex;
  flex-direction:column;
}

.bp-card-body{
  padding-top:1rem;
}


.bp-course-subtitle{
font-size:0.95rem;
color:var(--bp_text_medium);
margin:4px 0 10px;
line-height:1.45;
font-weight:500;
}


.bp-card{
display:flex;
flex-direction:column;
height:100%;
}

.bp-card-body{
display:flex;
flex-direction:column;
flex:1;
}

.bp-card-actions{
margin-top:auto;
}


.bp-course-date{
font-size:0.9rem;
color:var(--bp_text_medium);
margin-top:6px;
}

/* Course date highlight */

.bp-course-date{
font-size:0.85rem;
font-weight:600;
color:var(--bp_accent_1);
margin-bottom:6px;
}

/* Card layout fix */

.bp-card{
display:flex;
flex-direction:column;
height:100%;
}

.bp-card-body{
display:flex;
flex-direction:column;
flex:1;
}

.bp-card-actions{
margin-top:auto;
}

.bp-course-date{
display:inline-block;
font-size:0.8rem;
font-weight:600;
background:var(--bp_bg_subtle);
color:var(--bp_accent_1);
padding:4px 10px;
border-radius:999px;
margin-bottom:8px;
}


.bp-course-date{
display:inline-block;
font-size:0.8rem;
font-weight:600;
/*background:var(--bp_bg_subtle);*/
color:var(--bp_accent_1);
color:var(--bp_accent_1);
padding:4px 10px;
border-radius:999px;
margin-bottom:8px;
}



/*============================================
 Course Archive - Featured
============================================*/

.bp-featured{
  grid-column: span 2;
}

/*======================================================
 Course Archive - Sticky filter bar (premium SaaS look)
========================================================*/

.bp-archive-filter{
  position:sticky;
  top:90px;
  z-index:10;
}

/*======================================================
 Course Archive - Hero fyrir archive – theme adaptive
========================================================*/

/* Equal height cards */

.bp-archive-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:24px;
}

.bp-card{
display:flex;
flex-direction:column;
height:100%;
}

.bp-card-body{
display:flex;
flex-direction:column;
flex:1;
}

.bp-card-actions{
margin-top:auto;
}

.bp-course-date{
font-size:0.9rem;
color:var(--bp_text_medium);
margin-top:6px;
}

.bp-course-subtitle{
font-size:0.95rem;
color:var(--bp_text_medium);
margin:4px 0 10px;
line-height:1.4;
}



/* ======================================
   HERO BANNER BUTTON FIX
====================================== */

.bp-hero.has-bg .bp-btn-outline,
.bp-hero-course.has-bg .bp-btn-outline{

  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
}

.bp-hero.has-bg .bp-btn-outline:hover,
.bp-hero-course.has-bg .bp-btn-outline:hover{

  background: #fff;
  color: #111;
  border-color: #fff;
}


/* ======================================
   Related Services
====================================== */

.bp-related-services{
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.bp-service-card:hover{
  transform: translateY(-6px);
  transition: transform .3s ease;
}



/* ======================================
   CTA Strip
====================================== */

/* CTA STRIP */
.bp-cta-strip{
  background: var(--c-bg-light);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}


/* ======================================
   Related grids
====================================== */

/* Related grids: ekki láta 1 card teygja sig 100% */
.bp-related-services .bp-archive-grid,
.bp-related-courses  .bp-archive-grid{
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: start; /* eða center ef þú vilt */
}

@media (max-width: 600px){
  .bp-related-services .bp-archive-grid,
  .bp-related-courses  .bp-archive-grid{
    grid-template-columns: 1fr;
  }
}


/* ======================================
   Archive Grid – Global
====================================== */

.bp-archive-grid{
  display:grid;
  gap:var(--sp-4);
  grid-template-columns:repeat(3,1fr);
}

/* Tablet */
@media (max-width:1024px){
  .bp-archive-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media (max-width:640px){
  .bp-archive-grid{
    grid-template-columns:1fr;
  }
}

/* Main archive grids */
.bp-archive-grid{
  display: grid;
  gap: var(--sp-4);
}

.bp-archive-grid.bp-grid-321{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px){
  .bp-archive-grid.bp-grid-321{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .bp-archive-grid.bp-grid-321{
    grid-template-columns: 1fr;
  }
}


/* ======================================
   Single Service CTA
====================================== */

.bp-service-cta{
  position:relative;
  padding:clamp(90px,10vw,160px) 0;
  text-align:center;
  background:linear-gradient(
    135deg,
    var(--c-accent-1),
    var(--c-accent-2)
  );
  color:#fff;
  overflow:hidden;
}

/* Subtle glow */
.bp-service-cta::before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  top:-200px;
  right:-200px;
  background:radial-gradient(circle,rgba(255,255,255,.25) 0%,transparent 70%);
  opacity:.4;
  pointer-events:none;
}

.bp-service-cta h2{
  font-size:clamp(1.9rem,2vw+1rem,2.6rem);
  margin-bottom:1.5rem;
  color:#fff;
}

.bp-service-cta p{
  max-width:620px;
  margin:0 auto 2rem;
  opacity:.9;
}

/* CTA button override */
.bp-service-cta .bp-btn{
  background:#fff;
  color:var(--c-accent-1);
  border:none;
  box-shadow:0 12px 28px rgba(0,0,0,.25);
  transition:all .25s ease;
}

.bp-service-cta .bp-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}


/* =====================================================
   THEME A/B/C/D – Archive + CTA + Related
   (Add at bottom of design-system.css)
===================================================== */

/* ---------- Base: Archive hero ---------- */
.bp-archive-hero,
.bp-archive .bp-hero{
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 7rem);
}

.bp-archive-hero .bp-container,
.bp-archive .bp-hero .bp-container{
  position: relative;
  z-index: 2;
}

.bp-archive-hero h1,
.bp-archive .bp-hero h1{
  margin-bottom: .75rem;
}

.bp-archive-hero p,
.bp-archive .bp-hero p{
  max-width: 60ch;
}

/* ---------- Base: Related sections ---------- */
.bp-related-services,
.bp-related-courses,
.bp-related-projects,
.bp-course-related,
.bp-service-related,
.bp-project-related{
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

/* If related uses bp-archive-grid, keep cards from stretching */
.bp-related-services .bp-archive-grid,
.bp-related-courses  .bp-archive-grid,
.bp-related-projects .bp-archive-grid{
  justify-content: start;
}

/* ---------- Base: CTA (service) ---------- */
.bp-service-cta{
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bp-service-cta .bp-container{
  position: relative;
  z-index: 2;
}

.bp-service-cta h2{ color: inherit; }

/* CTA default button polish (keeps your existing feel) */
.bp-service-cta .bp-btn{
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

/* ---------- Hero: outline readability when background is present ---------- */
.bp-hero.has-bg .bp-btn-outline,
.bp-archive-hero.has-bg .bp-btn-outline,
.bp-archive .bp-hero.has-bg .bp-btn-outline{
  background: rgba(255,255,255,.14);
  border: 2px solid rgba(255,255,255,.75);
  color: #fff;
  backdrop-filter: blur(6px);
}

.bp-hero.has-bg .bp-btn-outline:hover,
.bp-archive-hero.has-bg .bp-btn-outline:hover,
.bp-archive .bp-hero.has-bg .bp-btn-outline:hover{
  background: #fff;
  border-color: #fff;
  color: #111;
}



/* ======================================
   Project – Activities
====================================== */

.bp-project-activities{
  background: var(--c-bg-white);
}

.bp-project-activities .bp-wysiwyg{
  max-width: 780px;
  line-height: 1.7;
}

/* ======================================
   Project – Results (Premium card)
====================================== */

.bp-project-results{
  padding-block: clamp(5rem,8vw,8rem);
  background: var(--c-bg-subtle);
}

.bp-results-card{
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem,4vw,3rem);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 25px 60px rgba(0,0,0,.08);
}




/* ======================================
   Compact spacing for stacked sections
====================================== */

.bp-section-compact{
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

/* Remove excessive top spacing when sections follow each other */
.bp-section-compact + .bp-section-compact{
  padding-top: 0;
}


/* ======================================
   White content surfaces
====================================== */

.bp-content-white{
  background: #fff;
}

.bp-content-subtle { background: var(--c-bg-subtle); }

/* Smooth separation instead of huge gaps */
.bp-content-white,
.bp-content-subtle{
  border-bottom: 2px solid rgba(0,0,0,.05);
}


/* ======================================
   Meta grid tightening
====================================== */

.bp-meta-grid{
  display:grid;
  gap:1.5rem;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  margin-bottom:0;
}


/* ======================================
   Content padding CPT
====================================== */

.bp-cpt-content,
.bp-cpt-verk{
    padding-top: 3rem;
}


/* ======================================
   Result Card (Premium but clean)
====================================== */

.bp-project-results{
  background:#f8fafc; /* subtle separation */
}

.bp-result-card{
  background:#fff;
  padding: clamp(2rem,3vw,3rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  max-width: 900px;
  margin: 0 auto;
}




/* Niðurstaða: smá loft fyrir ofan card */
.bp-result-card{
  margin-top: 2.5rem;
}


/* Narrow readable content */
.bp-content-narrow{
  max-width: 760px;
  margin: 0 auto;
}

/* White surface */
.bp-content-white{
  background: #fff;
}


/* ======================================
   TESTIMONIAL STYLE
====================================== */

.bp-testimonial-hero{
  background: var(--c-bg-subtle);
  padding-block: clamp(4rem,6vw,6rem);
}

.bp-testimonial-card{
  background:#fff;
  padding:clamp(2rem,4vw,3rem);
  border-radius:var(--radius-lg);
  box-shadow:0 25px 60px rgba(0,0,0,.08);
  text-align:center;
}

.bp-testimonial-name{
  font-size:clamp(1.8rem,3vw,2.4rem);
  margin-bottom:0.5rem;
}

.bp-testimonial-sub{
  color:var(--c-text-medium);
}

.bp-testimonial-body{
  background:#fff;
  padding:clamp(2rem,4vw,3rem);
  border-radius:var(--radius-lg);
  box-shadow:0 15px 40px rgba(0,0,0,.06);
  line-height:1.7;
  font-size:1.05rem;
}


.bp-category-filter{
  margin-bottom:2rem;
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.bp-category-filter a{
  padding:.5rem 1rem;
  border-radius:999px;
  background:var(--c-bg-light);
  text-decoration:none;
  font-size:.9rem;
  transition:.2s ease;
}

.bp-category-filter a:hover{
  background:var(--c-accent-1);
  color:#fff;
}


/* ======================================
   BLOG CONTENT SURFACE
====================================== */

.bp-post-surface{
  background: var(--c-bg-subtle);
  padding-block: clamp(3rem,5vw,5rem);
}

.bp-post-card{
  background:#fff;
  padding:clamp(2rem,4vw,3rem);
  border-radius:var(--radius-lg);
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  line-height:1.7;
}


/* ======================================
   CATEGORY PILLS (Blog filter)
====================================== */

.bp-category-pills-wrap{
  padding-top: 1.5rem; /* bil frá hero */
  padding-bottom: 0.5rem;
}

.bp-category-pills{
  display:flex;
  flex-wrap:wrap;
  gap: .65rem;
  align-items:center;
}

/* Pill */
.bp-category-pills a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--c-bg-light);
  color: var(--c-text-strong);
  text-decoration:none;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.bp-category-pills a:hover{
  background: var(--c-bg-subtle);
  border-color: rgba(0,0,0,.14);
  transform: translateY(-1px);
}

/* Focus (WCAG) */
.bp-category-pills a:focus-visible{
  outline: 3px solid var(--c-accent-complement);
  outline-offset: 3px;
}

/* Active / current category */
.bp-category-pills a.is-active,
.bp-category-pills a[aria-current="page"]{
  background: var(--c-accent-1);
  border-color: var(--c-accent-1);
  color: #fff;
}

/* “Allt” pill (optional style tweak) */
.bp-category-pills a.bp-pill-all{
  background: transparent;
  border-color: rgba(0,0,0,.14);
}

.bp-category-pills a.bp-pill-all:hover{
  background: var(--c-bg-light);
}


/* ======================================
   TESTIMONIAL ARCHIVE – CENTER QUOTES
====================================== */

.bp-testimonials-surface{
  background: var(--c-bg-subtle);
}

.bp-testimonials-grid{
  display:grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

@media (max-width: 1024px){
 .bp-testimonials-grid{
    grid-template-columns: 2fr;
  }
}

@media (max-width: 900px){
  .bp-testimonials-grid{
    grid-template-columns: 1fr;
  }
}

/* Quote card */
.bp-testimonial-quote{
  position: relative;
}

.bp-testimonial-quote-inner{
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  padding: clamp(2rem, 3vw, 3rem);
  text-align: center;
  overflow: hidden;
}

/* Subtle quote icon (background) */
.bp-testimonial-quote-inner::before{
  content: "“";
  position: absolute;
  top: -0.2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 10vw, 9rem);
  line-height: 1;
  color: rgba(0,0,0,.05);
  font-weight: 800;
  pointer-events: none;
}

/* Extra soft glow (theme-aware) */
.bp-testimonial-quote-inner::after{
  content:"";
  position:absolute;
  inset:-30%;
  background: radial-gradient(circle at 50% 25%,
    rgba(37,99,235,.10),
    transparent 70%);
  filter: blur(60px);
  opacity: .9;
  pointer-events:none;
}

/* Quote text */
.bp-testimonial-text{
  position: relative;
  font-size: 1.05rem;
  font-style: italic;
  opacity: .92;
  line-height: 1.75;
  color: var(--c-text-strong);
  margin-bottom: 1.25rem;
}

.bp-testimonial-name{
  position: relative;
  font-weight: 700;
  font-size: 1.05rem;   /* nýtt */
  letter-spacing: .02em;
  color: var(--c-text-strongest);
  margin-bottom: 1rem;
}
/* Actions */
.bp-testimonial-actions{
  position: relative;
  display:flex;
  justify-content:center;
}

/* Hover lift */
.bp-testimonial-quote-inner{
  transition: transform .18s ease, box-shadow .18s ease;
}
.bp-testimonial-quote-inner:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
}



/* ======================================
   TESTIMONIAL COMPONENT (Reusable)
====================================== */

.bp-testimonial-card{
  position: relative;
  background:#fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.bp-testimonial-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
}

/* Subtle quote icon */
.bp-testimonial-card::before{
  content:"“";
  position:absolute;
  top:-.4em;
  left:1.2rem;
  font-size:5rem;
  line-height:1;
  color:rgba(0,0,0,.05);
  font-weight:800;
  pointer-events:none;
}

.bp-testimonial-text{
  font-style: italic;
  line-height:1.7;
  color: var(--c-text-strong);
  margin-bottom:1.2rem;
}

.bp-testimonial-author{
  font-weight:700;
  font-size:.95rem;
  color: var(--c-text-strongest);
}

.bp-testimonial-role{
  font-size:.85rem;
  color: var(--c-text-medium);
}




.bp-testimonial-centered{
  text-align:center;
}

.bp-testimonial-centered::before{
  left:50%;
  transform:translateX(-50%);
}


/* ======================================
   TESTIMONIAL GRID (Stable)
====================================== */

.bp-testimonial-grid{
  display:grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px){
  .bp-testimonial-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 640px){
  .bp-testimonial-grid{
    grid-template-columns: 1fr;
  }
}

.bp-testimonial-card{
  position: relative;
  background:#fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow:hidden;
}

.bp-testimonial-card::before{
  content:"“";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size: clamp(6rem, 8vw, 8rem);
  line-height:1;
  color: rgba(0,0,0,.055); /* mjööög subtle */
  font-weight:800;
  pointer-events:none;
  z-index:0;
}

.bp-testimonial-text,
.bp-testimonial-author,
.bp-testimonial-role{
  position:relative;
  z-index:1;
}



/* =====================================================
   BP SIMPLE PAGE TEMPLATE
===================================================== */

.bp-page-hero{
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
  background: linear-gradient(135deg, var(--c-bg-subtle), var(--c-bg-light));
  overflow: hidden;
}

.bp-page-hero-banner{
  background-size: cover;
  background-position: center;
}

.bp-page-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.bp-page-title{
  margin: 0 0 .75rem;
  line-height: 1.05;
}

.bp-page-subtitle{
  margin: 0;
  color: var(--c-text-medium);
  font-size: 1.1rem;
}

.bp-page-hero-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 20% 10%, rgba(0,0,0,.50), transparent 55%);
  opacity: 0;
  pointer-events:none;
}

.bp-page-hero-banner + .bp-page-hero-overlay,
.bp-page-hero-banner .bp-page-hero-overlay{
  opacity: 1;
}

/* Ef banner er í notkun: tryggja læsileika */
.bp-page-hero-banner .bp-page-title,
.bp-page-hero-banner .bp-page-subtitle{
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}



/* =====================================================
   FAQ TEMPLATE
===================================================== */
.bp-faq-list{
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.bp-faq-item{
  background: var(--c-bg-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.bp-faq-q{
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 700;
  list-style: none;
}

.bp-faq-q::-webkit-details-marker{ display:none; }

.bp-faq-item[open] .bp-faq-q{
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.bp-faq-a{
  padding: 1rem 1.1rem 1.1rem;
  color: var(--c-text-medium);
}

/* =====================================================
   LANDING TEMPLATE tweaks
===================================================== */
.bp-page-landing .bp-landing-content{
  padding-top: clamp(2.5rem, 5vw, 4rem);
}




.bp-page-hero-banner .bp-page-hero-overlay{
  background: linear-gradient(
    135deg,
    rgba(0,0,0,.55),
    rgba(0,0,0,.35)
  );
  opacity: 1;
}

.bp-page-hero-banner .bp-page-title,
.bp-page-hero-banner .bp-page-subtitle{
  color:#fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}


/* ======================================
   Staff
====================================== */

.bp-staff-card .bp-card-media img{
  aspect-ratio: 1/1;
  object-fit: cover;
}

.bp-staff-role{
  font-size:.9rem;
  font-weight:600;
  color: var(--c-text-medium);
  margin-bottom: .8rem;
}




/* ======================================
   STAFF – PREMIUM
====================================== */

.bp-staff-hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 900px){
  .bp-staff-hero-grid{ grid-template-columns: 1fr; }
  .bp-staff-hero-image{ order: 2; }
  .bp-staff-hero-content{ order: 1; }
  .bp-staff-hero-image img{ width:100%; display:block; margin-inline:auto; }
}

.bp-staff-hero-image img{
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}

.bp-staff-role{
  margin-top: .4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--c-text-medium);
}

.bp-staff-links{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.bp-staff-quote{
  margin-top: 1rem;
  padding: 1.25rem;
}

.bp-staff-bio,
.bp-staff-specialties{
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}


/* Staff Hero */
.bp-staff-hero{
  display:grid;
/*  grid-template-columns: 320px 1fr;*/
  gap: var(--sp-6);
  align-items:center;
  margin-bottom: var(--sp-6);
}

.bp-staff-image img{
  border-radius: var(--radius-lg);
}


.bp-staff-role{
  font-weight:600;
  opacity:.7;
  margin-bottom:.5rem;
}

.bp-staff-meta span{
  display:inline-block;
  margin-right:1rem;
  font-size:.9rem;
  opacity:.8;
 
}

/* Quote */
.bp-staff-quote-card{
  background: var(--bp-subtle);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  font-style: italic;
  margin-bottom: var(--sp-6);
}

/* Specialties */
.bp-staff-specialties{
  margin-top: var(--sp-6);
}

/* Mobile */
@media(max-width: 768px){
  .bp-staff-hero{
    grid-template-columns:1fr;
    text-align:center;
  }
}

/* ===== Staff grid 3/2/1 ===== */
.bp-grid-321{
  display:grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px){
  .bp-grid-321{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .bp-grid-321{ grid-template-columns: 1fr; }
}

/* ===== Staff card polish ===== */
.bp-staff-card{
  position:relative;
  overflow:hidden;
}

/* subtle quote icon in background */
.bp-staff-card::before{
  content:"“";
  position:absolute;
  top: -10px;
  right: 14px;
  font-size: 120px;
  line-height: 1;
  opacity: .05;
  pointer-events:none;
}

/* hover upgrade */
.bp-staff-card{
  transition: transform .18s ease, box-shadow .18s ease;
}
.bp-staff-card:hover{
  transform: translateY(var(--card-hover-lift, -6px));
  box-shadow: var(--card-hover-shadow, 0 18px 48px rgba(0,0,0,.12));
}

/* role / quote */
.bp-staff-role{
  margin: .25rem 0 .25rem;
  font-weight: 600;
  opacity: .75;
}
.bp-staff-quote{
  margin: .5rem 0 0;
  opacity: .85;
  font-style: italic;
}


.bp-staff-dept{
  margin: .25rem 0 0;
  font-size: .95rem;
  opacity: .75;
}





/* Staff single hero */
.bp-staff-hero {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.bp-staff-hero-inner{
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.bp-staff-photo img{
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  display:block;
}

.bp-staff-role{
  margin: .5rem 0 0;
  opacity: .85;
  font-size: 1.05rem;
}

.bp-staff-dept{
  margin-top: .75rem;
  display: inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
}

.bp-staff-quote{
  margin-top: 1.25rem;
}

.bp-staff-meta{
  margin-top: 1.25rem;
  display: grid;
  gap: .5rem;
}

/* Mobile: stack, center image */
@media (max-width: 800px){
  .bp-staff-hero-inner{
    grid-template-columns: 1fr;
  }
  .bp-staff-hero-media{
    order: 1;
  }
  .bp-staff-hero-content{
    order: 2;
  }
}


/* Tryggir að bp-container miðji og hafi eðlilega breidd */
.bp-container{
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Staff hero: fyllir container og miðjar grid */
.bp-staff-hero .bp-staff-hero-inner{
  width: 100%;
  justify-items: stretch;
}


.bp-staff-hero a{
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.bp-staff-hero a:hover{
  opacity: .85;
}



.bp-staff-hero .bp-hero-content.light a{
  color: #fff;
  text-decoration-color: rgba(255,255,255,.6);
}



.bp-staff-content,
.bp-staff-specialties{
  max-width: 760px;
  margin-inline: auto;
}

/* meira bil milli content og sérhæfingar */
.bp-staff-specialties{
  margin-top: 2rem;
}



/* Narrow content wrapper */
.bp_content_narrow{
  max-width: 760px;
  margin-inline: auto;
}


.bp-staff-hero .bp-staff-quote{
  background: rgba(255,255,255,.92);
  color: var(--c-text);
  border: 1px solid rgba(0,0,0,.06);
}

.bp-staff-hero .bp-staff-quote p{
  margin: 0;
}

.bp-staff-hero .bp-staff-quote{
  background: rgba(0,0,0,.28);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.bp-staff-hero{
  padding-block: clamp(3rem, 6vw, 5rem);
}

.bp-staff-hero-content{
  padding-top: .25rem;
}

/* Staff single – smaller name */
.bp-staff-hero-content .bp-staff-title{
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin-bottom: .5rem;
}


/* Department pills */
.bp-department-filter{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  margin-bottom:1.8rem;
}

.bp-pill{
  padding:.45rem .9rem;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  text-decoration:none;
  font-size:.85rem;
  transition:.15s ease;
}

.bp-pill:hover{
  transform:translateY(-2px);
}

.bp-pill.is-active{
  background:var(--c-accent-1);
  color:#fff;
  border-color:var(--c-accent-1);
}


.bp-staff-card{
  transition: opacity .2s ease, transform .2s ease;
}

.bp-staff-card[style*="display: none"]{
  opacity: 0;
  transform: scale(.98);
}

.bp-contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
}

@media(max-width:768px){
  .bp-contact-grid{
    grid-template-columns:1fr;
  }
}

.bp-hero-banner{
  background-size:cover;
  background-position:center;
  position:relative;
  color:#fff;
}

.bp-hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
}

.bp-hero-banner .bp-hero-content{
  position:relative;
  z-index:2;
}


.bp-hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)
  );
}

.bp-hero-banner .bp-hero-content{
  position:relative;
  z-index:2;
  color:#fff;
}


.bp-staff-grid{
  justify-content:center;
}

.bp-staff-grid > *{
  max-width:420px;
}

.bp-hero{
  padding-block: clamp(5rem, 8vw, 9rem);
}


/* =================================
BASE HEADER
================================= */

.bp-header{

font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial;
font-size:16px;
line-height:1.4;

background:#ffffff;
border-bottom:1px solid rgba(0,0,0,.08);

}

/* NAV LINKS */

.bp-header a{

color:#111827;
text-decoration:none;

}

.bp-header a:hover{

/*color:#2563eb;*/
color: var(--c-accent-1);

}


/* =================================
DROPDOWN
================================= */

.bp-header .sub-menu,
.menu .sub-menu{

background:#ffffff;
border:1px solid rgba(0,0,0,.08);
border-radius:10px;

box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.bp-header .sub-menu,
.menu .sub-menu a{

padding:10px 18px;
font-size:14px;

}


/* =================================
BUTTON STYLE
================================= */

.bp-button{

/*background:#2563eb;*/
background: var(--c-accent-1);
color:#ffffff;

padding:10px 18px;

border-radius:999px;

font-weight:600;

display:inline-block;

}

.bp-button:hover{

background:#1d4ed8;

}


/* =================================
HEADER VARIANTS
================================= */

.bp-light{

background:#ffffff;

}

.bp-glass{

background:rgba(255,255,255,.85);
backdrop-filter:blur(10px);

}

.bp-dark{

background:#111827;

}

.bp-dark a{

color:#ffffff;

}

.bp-dark .sub-menu{

background:#1f2937;

}

.bp-dark .sub-menu a{

color:#ffffff;

}

/* HEADER CONTACT */

.bp-header-contact{
display:flex;
align-items:center;
gap:1rem;
font-size:14px;
}

.bp-contact-intro {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: .8;
}

/* HEADER SOCIAL */

.bp-header-social{
display:flex;
align-items:center;
gap:.6rem;
}

.bp-header-social a{

width:36px;
height:36px;

display:flex;
align-items:center;
justify-content:center;

border-radius:999px;

background:rgba(0,0,0,.04);
border:1px solid rgba(0,0,0,.08);

transition:.2s;

}

.bp-header-social a:hover{

background:rgba(37,99,235,.1);
border-color:rgba(37,99,235,.25);

}

.bp-header-social svg{

width:18px;
height:18px;

}


.bp-header-pro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  width:100%;
}

.bp-header-left{
  display:flex;
  align-items:center;
  gap:.9rem;
  min-width:0;
}

.bp-header-phone a{
  text-decoration:none;
  font-weight:600;
}

.bp-header-status{
  display:flex;
  align-items:center;
}

/* Social icons */
.bp-header-social{
  display:flex;
  align-items:center;
  gap:.55rem;
  flex-shrink:0;
}

.bp-header-social .bp-social{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.08);
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
}

.bp-header-social .bp-social:hover{
  transform:translateY(-1px);
  background:rgba(37,99,235,.10);
  border-color:rgba(37,99,235,.25);
}

.bp-header-social svg{
  width:18px;
  height:18px;
}

/* Mobile */
@media (max-width: 720px){
  .bp-header-pro{
    flex-direction:column;
    align-items:flex-start;
    gap:.6rem;
  }
}

.bp-social-icons{
display:flex;
align-items:center;
gap:.6rem;
}

.bp-social-icons a{

width:36px;
height:36px;

display:flex;
align-items:center;
justify-content:center;

border-radius:999px;

background:rgba(0,0,0,.04);
border:1px solid rgba(0,0,0,.08);

transition:.2s;

}

.bp-social-icons a:hover{

background:rgba(37,99,235,.1);
border-color:rgba(37,99,235,.25);

}

.bp-social-icons svg{

width:18px;
height:18px;

}

/* =========================
   BP SOCIAL ICONS (shared)
========================= */
.bp-social-icons{
  display:flex;
  align-items:center;
  gap:.6rem;
}

.bp-social-icons a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.10);
  color: var(--c-text-strong);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.bp-social-icons a:hover{
  transform: translateY(-1px);
  background:rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.18);
}

.bp-social-icons svg{
  width:18px;
  height:18px;
  display:block;
}

/* =========================
   BRANDED HOVER VARIANT
   Use with: [bp_social_icons_brand]
========================= */
.bp-social-icons--brand a[data-network="facebook"]:hover{
  background: rgba(24,119,242,.14);
  border-color: rgba(24,119,242,.28);
  color: #1877F2;
}

.bp-social-icons--brand a[data-network="linkedin"]:hover{
  background: rgba(10,102,194,.14);
  border-color: rgba(10,102,194,.28);
  color: #0A66C2;
}

.bp-social-icons--brand a[data-network="instagram"]:hover{
  background: rgba(225,48,108,.14);
  border-color: rgba(225,48,108,.28);
  color: #E1306C;
}

.bp-social-icons--brand a[data-network="youtube"]:hover{
  background: rgba(255,0,0,.12);
  border-color: rgba(255,0,0,.26);
  color: #FF0000;
}

/* TikTok: brand hover (you can tweak) */
.bp-social-icons--brand a[data-network="tiktok"]:hover{
  background: rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.22);
  color: #111;
}

.bp-social-icons--brand a[data-network="tiktok"]:hover{
  background: rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.22);
  color:#000000;
}


/* =========================
SOCIAL ICON PREMIUM POLISH
========================= */

.bp-social-icons a{

transition:
transform .18s ease,
background .18s ease,
border-color .18s ease,
color .18s ease,
box-shadow .18s ease;

}

/* subtle lift */

.bp-social-icons a:hover{

transform:translateY(-2px);

}

/* glow for brand variant */

.bp-social-icons--brand a:hover{

box-shadow:0 6px 18px rgba(0,0,0,.15);

}

/* svg smoother rendering */

.bp-social-icons svg{

width:18px;
height:18px;

display:block;

transition:transform .18s ease;

}

/* icon micro movement */

.bp-social-icons a:hover svg{

transform:scale(1.08);

}


/* =========================
BRAND GLOW HOVER
========================= */

.bp-social-icons--brand a[data-network="facebook"]:hover{
  box-shadow:0 6px 18px rgba(24,119,242,.35);
}

.bp-social-icons--brand a[data-network="linkedin"]:hover{
  box-shadow:0 6px 18px rgba(10,102,194,.35);
}

.bp-social-icons--brand a[data-network="instagram"]:hover{
  box-shadow:0 6px 18px rgba(225,48,108,.35);
}

.bp-social-icons--brand a[data-network="youtube"]:hover{
  box-shadow:0 6px 18px rgba(255,0,0,.35);
}

.bp-social-icons--brand a[data-network="tiktok"]:hover{
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

.bp-social-icons a:hover svg{
  transform:scale(1.08);
}

/* =========================
HEADER SOCIAL ALIGNMENT
========================= */

.bp-social-icons{

display:flex;
align-items:center;
height:100%;

}

/* align icons to nav height */

.bp-social-icons a{

width:36px;
height:36px;

display:flex;
align-items:center;
justify-content:center;

}

/* ensure nav + icons align */

.bp-social-icons{
margin-left:.75rem;
}

.header-widget-area-inner .bp-social-icons{

border-left:1px solid rgba(0,0,0,.08);
padding-left:.9rem;

}

.bp-header-phone{

display:flex;
align-items:center;
gap:.4rem;

font-weight:600;

}

.bp-phone-icon{

display:flex;
align-items:center;

}

.bp-phone-icon svg{

width:18px;
height:18px;

}

.bp-header-phone{
display:flex;
align-items:center;
gap:.45rem;
font-weight:600;
}




/* ================================
HEADER META BAR
================================ */

.bp-header-meta{

display:flex;
align-items:center;
justify-content:space-between;

font-size:.9rem;

}


/* left group */

.bp-header-left{

display:flex;
align-items:center;
gap:1.2rem;

}


/* right group */

.bp-header-right{

display:flex;
align-items:center;
gap:.5rem;

}


/* items */

.bp-header-phone,
.bp-header-email{

display:flex;
align-items:center;
gap:.4rem;

font-weight:500;

}


/* icons */

.bp-icon-phone,
.bp-icon-email{

width:16px;
height:16px;
display:inline-block;
background:no-repeat center/contain;

}


/* phone icon */

.bp-icon-phone{

background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.6.6 4 .6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.4 22 2 13.6 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.4.2 2.8.6 4 .1.4 0 .8-.3 1.1l-2.2 2.7z'/%3E%3C/svg%3E");

}


/* email icon */

.bp-icon-email{

background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l10 7L22 6v12H2V6zm10 5L2 4h20L12 11z'/%3E%3C/svg%3E");

}


/* status */

.bp-header-status{

display:flex;
align-items:center;

}


/* social */

.bp-header-right a{

width:28px;
height:28px;

display:flex;
align-items:center;
justify-content:center;

border-radius:50%;

transition:.2s;

}

.bp-header-right svg{

width:14px;
height:14px;

}

@media (max-width:768px){

.bp-header-meta{

flex-direction:column;
gap:.4rem;

}

.bp-header-left{

gap:.8rem;

}

.bp-header-right{

display:none;

}

}



/* =========================================
   FOOTER – BUSINESS PRO CLEAN
========================================= */

.site-footer {
  background: var(--bp-bg-dark);
  color: var(--bp-text-subtle);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.site-footer .site-footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Headings */
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Links */
.site-footer a {
  color: var(--bp-text-subtle);
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--bp-accent-1);
}

/* Footer grid spacing */
.site-footer-row-container-inner {
  gap: 2.5rem;
}

/* Bottom bar */
.site-footer .site-bottom-footer-wrap {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
}





/* =========================================
   FOOTER – FORCE BACKGROUND (Kadence)
========================================= */

/* 1) Nota breytu ef hún er til, annars fallback */
:root{
  /* ef þú ert EKKI með þessa breytu til, þá tryggir þetta að hún sé til */
  --bp-bg-dark: #0b1220;
}

/* 2) Setja bakgrunn á footer + alla Kadence footer wrappera */
#colophon.site-footer,
#colophon.site-footer .site-footer-wrap,
#colophon.site-footer .site-middle-footer-wrap,
#colophon.site-footer .site-bottom-footer-wrap,
#colophon.site-footer .site-footer-row-container,
#colophon.site-footer .site-footer-row-container-inner{
  background: var(--bp-bg-dark) !important;
}

#colophon.site-footer{
  color: var(--bp-text-subtle, #cbd5e1) !important;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

/* Links og headings */
#colophon.site-footer a{
  color: inherit;
  text-decoration: none;
}
#colophon.site-footer a:hover{
 /* color: var(--bp-accent-1, #2563eb);*/
 color: var(--c-accent-1);
}

#colophon.site-footer h2,
#colophon.site-footer h3,
#colophon.site-footer h4,
#colophon.site-footer .widget-title{
  color: var(--bp-text-strongest, #ffffff);
}

/* Bottom bar skil */
#colophon.site-footer .site-bottom-footer-wrap{
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
}


.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -250px;
  right: -250px;
  background: radial-gradient(circle, var(--bp-accent-1), transparent 70%);
  opacity: .06;
  pointer-events: none;
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 3rem;
  }

  .site-footer-row-container-inner {
    gap: 2rem;
  }
}



/* ================================
   FOOTER STRUCTURE
================================ */

#colophon.site-footer {
  background: var(--bp-bg-dark);
  color: var(--bp-text-subtle);
}

.site-footer .site-footer-row-container-inner {
  gap: 3rem;
}

.bp-footer-brand img {
  max-width: 200px;
  margin-bottom: 1rem;
}

.bp-footer-brand p {
  max-width: 260px;
  line-height: 1.6;
}

/* Links */
.site-footer a {
  color: var(--bp-text-subtle);
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--bp-accent-1);
}

/* Contact */
.bp-footer-contact p {
  margin-bottom: .5rem;
}

/* Status pill compact */
.bp-footer-status {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .site-footer .site-footer-row-container-inner {
    gap: 2rem;
  }

  .bp-footer-brand p {
    max-width: 100%;
  }
  
  .bp-footer-brand img {
  max-width: 200px;
  margin-bottom: 1rem;
}
}



/* =========================
   FOOTER SOCIAL
========================= */

.bp-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bp-footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.08);
  color: var(--bp-text-subtle);
  transition: all .25s ease;
}

.bp-footer-social a:hover {
  background: var(--bp-accent-1);
  color: white;
  transform: translateY(-2px);
}

.bp-footer-social svg {
  width: 16px;
  height: 16px;
}

/* ===========================
   OPEN STATUS + HOURS (FINAL)
   =========================== */

.bp-open-status{
  display:flex;
  gap:.75rem;
  padding:.9rem 1rem;
  border-radius:var(--radius-lg);
  width:100%;
  box-sizing:border-box;
  align-items:flex-start;
  margin:0 0 1rem 0;
}

.bp-status-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  margin-top:.4rem;
  flex-shrink:0;
}

.bp-status-content{
  display:flex;
  flex-direction:column;
  gap:.25rem;
  min-width:0;
}

.bp-status-main{
  font-weight:600;
  font-size:.95rem;
}

.bp-status-sub{
  font-size:.85rem;
  opacity:.85;
  line-height:1.35;
  word-break:break-word;
  padding-right:.25rem; /* smá “air” hægra megin */
}

/* OPEN */
.bp-open-status.is-open{
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.25);
  color:var(--c-success);
}
.bp-open-status.is-open .bp-status-dot{
  background:var(--c-success);
  box-shadow:0 0 6px rgba(34,197,94,.5);
}

/* CLOSED */
.bp-open-status.is-closed{
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.25);
  color:var(--c-alert);
}
.bp-open-status.is-closed .bp-status-dot{
  background:var(--c-alert);
  box-shadow:0 0 6px rgba(239,68,68,.35);
}

/* Hours list */
.bp-hours{
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

.bp-hours-row{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap:1rem;
  padding:.45rem 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.bp-hours-row:last-child{ border-bottom:0; }

.bp-hours-day{ font-weight:500; }
.bp-hours-time{ font-weight:500; white-space:nowrap; text-align:right; }

/* Highlight today (NO !important needed when this is last in file) */
.bp-hours-row.is-today{
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.25);
  border-radius:var(--radius-lg);
  padding:.6rem .85rem;
}

/* Mobile polish */
@media (max-width: 768px){
  .bp-open-status{ padding:.75rem .85rem; }
  .bp-status-main{ font-size:.9rem; }
  .bp-status-sub{ font-size:.8rem; }
  .bp-hours-row{ gap:.75rem; }
}





/* =====================================
   OPEN STATUS – COMPACT (header usage)
===================================== */

.bp-open-status.bp-compact{
  padding:.5rem .75rem;
  margin:0;
  gap:.5rem;
}

.bp-open-status.bp-compact .bp-status-main{
  font-size:.85rem;
  line-height:1.2;
}

.bp-open-status.bp-compact .bp-status-sub{
  font-size:.75rem;
  line-height:1.25;
  margin-top:.15rem;
}

.bp-open-status.bp-compact br{
  display:block;
  content:"";
  margin-top:.15rem;
}

/* =====================================
   HEADER STATUS – PULSE
===================================== */

.bp-header-status{
  display:flex;
  align-items:center;
  gap:.5rem;
  padding:.4rem .7rem;
  border-radius:var(--radius-md);
  font-size:.85rem;
}

.bp-header-status .bp-status-dot{
  width:8px;
  height:8px;
}

.bp-header-status.is-open{
  background:rgba(34,197,94,.12);
  color:var(--c-success);
}

.bp-header-status.is-closed{
  background:rgba(239,68,68,.12);
  color:var(--c-alert);
}

.bp-pulse{
  animation: bpPulse 1.6s infinite;
}

@keyframes bpPulse{
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.45); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

@keyframes bpPulseRed{
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.40); }
  70%  { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* pulse aðeins þegar opið (mæli með því) */
.bp-open-status.is-open .bp-status-dot,
.bp-header-status.is-open .bp-status-dot{
  animation: bpPulse 1.6s infinite;
}

/* ef þú vilt líka pulse þegar lokað, uncomment */

/* .bp-open-status.is-closed .bp-status-dot,
.bp-header-status.is-closed .bp-status-dot{
  animation: bpPulseRed 1.8s infinite;
} */


@media (prefers-reduced-motion: reduce){
  .bp-status-dot{ animation:none !important; }
}

.bp-header-text{
  white-space:nowrap;
}

@media (max-width: 600px){
  .bp-header-text{ white-space:normal; }
}


/* =====================================
   OPEN STATUS – CLEAN CARD VERSION
===================================== */

.bp-open-status{
  display:flex;
  gap:.75rem;
  padding:.75rem 1rem;
  border-radius:var(--radius-md);
  align-items:flex-start;
  margin:0 0 .75rem 0;
  font-size:.95rem;
  line-height:1.35;
}

.bp-status-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  margin-top:.45rem;
  flex-shrink:0;
}

.bp-status-content{
  display:flex;
  flex-direction:column;
  gap:.25rem;
}

.bp-status-main{
  font-weight:600;
}

.bp-status-sub{
  font-weight:500;
  opacity:.85;
  font-size:.9rem;
}

/* OPEN */
.bp-open-status.is-open{
  background:rgba(34,197,94,.08);
  border:1px solid rgba(34,197,94,.25);
  color:var(--c-success);
}

.bp-open-status.is-open .bp-status-dot{
  background:var(--c-success);
}

/* CLOSED */
.bp-open-status.is-closed{
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.25);
  color:var(--c-alert);
}

.bp-open-status.is-closed .bp-status-dot{
  background:var(--c-alert);
}


/* =====================================
   HEADER OPEN STATUS – INLINE
===================================== */

.bp-header-status{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.85rem;
  font-weight:600;
  white-space:nowrap;
}

.bp-header-status .bp-status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  margin-top: 0px;

}

/* OPEN */
.bp-header-status.is-open{
  color:var(--c-success);
}

.bp-header-status.is-open .bp-status-dot{
  background:var(--c-success);
}

/* CLOSED */
.bp-header-status.is-closed{
  color:var(--c-alert);
}

.bp-header-status.is-closed .bp-status-dot{
  background:var(--c-alert);
}






/* =====================================================
   HERO OVERLAY FIX (must be AFTER other .bp-hero::before rules)
===================================================== */



.bp-hero::after{
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, var(--c-accent-1) 0%, transparent 70%);
  opacity: .06;
  pointer-events: none;
  z-index: 0;
}






/* =====================================================
   HERO LAYERS (overlay = ::before, glow = ::after)
   SET THIS AT THE VERY END OF design-system.css
===================================================== */

.bp-hero{
  position: relative;
  overflow: hidden;
}

/* OVERLAY (ONLY when has-bg) */
.bp-hero.has-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index: 0;
  pointer-events:none;
}

/* GLOW LAYER (always available, theme can override) */
.bp-hero::after{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 20% 30%, var(--hero-glow), transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(var(--c-accent-2-rgb), .18), transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events:none;
}

/* CONTENT ABOVE overlay+glow */
.bp-hero .bp-hero-inner{
  position: relative;
  z-index: 1;
}





/* ======================================
   ABOUT CTA
====================================== */

/* CTA / Trust strip text fix */
.bp-cta-section h1,
.bp-cta-section h2,
.bp-cta-section h3,
.bp-cta-section h4,
.bp-cta-section h5,
.sell-title,
.bp-cta-text,
.bp-cta-section p{
  color:#fff;
}

.bp-cta-section{
  padding: 5rem 0;
  background: var(--c-accent-1);
  color: #fff;
}

.bp-cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  flex-wrap:wrap;
}

.bp-cta-content h2{
  margin:0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
}

.bp-cta-section .bp-btn{
  background:#fff;
  color:var(--c-accent-1);
}

@media(max-width:768px){
  .bp-cta-box{
    flex-direction:column;
    text-align:center;
  }
}



/* ======================================
   VALUES SECTION
====================================== */

.bp-values-section,
.bp-stats-section,
.bp-staff-section{
 text-align:center;
}

/* grid */
.bp-values-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:2rem;
}

@media(max-width:1024px){
  .bp-values-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px){
  .bp-values-grid{
    grid-template-columns: 1fr;
  }
}

/* card */
.bp-value-card{
  padding:2rem;
  border-radius: var(--radius-lg);
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
  transition:.2s ease;
}

.bp-value-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.08);
}

/* icon */
.bp-value-icon{
  font-size:2.2rem;
  margin-bottom:1rem;
  color:var(--c-accent-1);
}

/* title */
.bp-value-title{
  font-size:1.25rem;
  margin-bottom:.75rem;
}

/* text */
.bp-value-text{
  color:var(--c-text-medium);
  font-size:.95rem;
  line-height:1.6;
}



/* ======================================
   VALUES CARDS
====================================== */

.bp-values-section{
  padding:6rem 0;
}

.bp-value-card{
  padding:2.5rem 2rem;
  border-radius:var(--radius-lg);
  background:#fff;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
  text-align:center;
  height:100%;
  transition:.25s ease;
}

.bp-value-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.bp-value-icon{
  font-size:2.5rem;
  margin-bottom:1.25rem;
  color:var(--c-accent-1);
}

.bp-value-title{
  font-size:1.3rem;
  margin-bottom:.75rem;
}

.bp-value-text{
  font-size:.95rem;
  color:var(--c-text-medium);
}



/* ======================================
   CONTACT PAGE
====================================== */

.bp-contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:3rem;
  align-items:start;
}

@media(max-width:1024px){
  .bp-contact-grid{
    grid-template-columns:1fr;
  }
}

/* Info column */
.bp-contact-info{
  font-size:1rem;
  line-height:1.7;
}

/* Form card */
.bp-contact-form{
  background:#fff;
  padding:2.5rem;
  border-radius:var(--radius-lg);
  box-shadow:0 15px 50px rgba(0,0,0,.08);
}


/* ======================================
   FLUENT FORMS – Business Pro Style
====================================== */

.fluentform .ff-el-form-control{
  border-radius:var(--radius-md);
  border:1px solid rgba(0,0,0,.15);
  padding:14px 16px;
  transition:.2s ease;
}

.fluentform .ff-el-form-control:focus{
  border-color:var(--c-accent-1);
  box-shadow:0 0 0 3px rgba(var(--c-accent-1-rgb), .15);
}

.fluentform button[type=submit]{
  background:var(--c-accent-1);
  color:#fff;
  border:none;
  padding:14px 26px;
  border-radius:var(--radius-md);
  font-weight:600;
  transition:.2s ease;
}

.fluentform button[type=submit]:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,.15);
}


/* ======================================
   Contact – Floating Form
====================================== */

.bp-contact-card{
  background:#fff;
  padding:clamp(2rem,4vw,3rem);
  border-radius:var(--radius-lg);
  box-shadow:0 40px 80px rgba(0,0,0,.12);
  margin-top:-80px; 
  position:relative;
  z-index:2;
}

/* Mobile */
@media (max-width:768px){
  .bp-contact-card{
    margin-top:-40px;
   
  }
}


/* ======================================
   Contact Info Grid - LEIÐRÉTT
====================================== */

.bp-contact-info-grid {
    border-top: 2px solid rgba(0,0,0,.05);
}

.bp-contact-info-grid .kt-inside-inner-col {
    background: var(--c-bg-white);
    padding: var(--sp-5);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    height: 100%;
}

.bp-contact-info-grid h3 {
    margin-bottom: 1rem;
}

/* Mobile Fix - Hér voru villurnar (opnar athugasemdir) */
@media (max-width:768px) {
    .bp-contact-info-grid {
        margin-top: -40px;
    }
}

/* =====================================================
   STABILITY PATCH – KEEP LAST WORKING VISUALS
   Set this at the VERY END of design-system.css
===================================================== */

/* Safer mobile/spacing */
@media (max-width: 768px) {
    .bp-section,
    .bp-section-sm,
    .bp-section-lg {
        padding-block: 3rem;
    }
}

/* Canonical archive grid */
.bp-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.bp-archive-grid.bp-grid-321 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .bp-archive-grid,
    .bp-archive-grid.bp-grid-321 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bp-archive-grid,
    .bp-archive-grid.bp-grid-321 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Canonical card layout */
.bp-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    align-self: start;
}

.bp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 1rem;
}

.bp-card-actions {
    margin-top: auto;
    padding-top: 1rem;
}

/* Media safety */
.bp-card-media {
    margin-bottom: 0;
}

.bp-card-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* Buttons inside cards */
.bp-card .bp-btn {
    width: 100%;
    margin-top: 1rem;
}

.bp-card .bp-btn + .bp-btn {
    margin-top: .75rem;
}

/* Course meta text */
.bp-course-subtitle {
    font-size: 0.95rem;
    color: var(--bp_text_medium);
    margin: 4px 0 10px;
    line-height: 1.45;
    font-weight: 500;
}

.bp-course-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bp_accent_1);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* Prevent stretched cards on narrow screens */
@media (max-width: 640px) {
    .bp-card {
        padding: 1.25rem;
    }
    .bp-card-body {
        padding-top: .85rem;
    }
}

/* Hero banner overlay */
.bp-hero-course.has-bg {
    position: relative;
    overflow: hidden;
}

.bp-hero-course.has-bg .bp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bp-hero-course.has-bg .bp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bp-hero-course.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.62) 0%,
        rgba(0,0,0,.48) 35%,
        rgba(0,0,0,.22) 70%,
        rgba(0,0,0,.10) 100%
    );
}

.bp-hero-course.has-bg .bp-container,
.bp-hero-course.has-bg .bp-hero-inner,
.bp-hero-course.has-bg .bp-hero-content {
    position: relative;
    z-index: 2;
}



/* =====================================================
   BUSINESS PRO – THEME ENGINE (A, B, C, D)
   ===================================================== */

/* -----------------------------------------------------
   THEME A – CORPORATE (Clean & Subtle)
----------------------------------------------------- */
body.theme-a {
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-1: 0 8px 24px rgba(0,0,0,.08);
  --shadow-2: 0 18px 48px rgba(0,0,0,.12);
  --hero-glow: rgba(37,99,235,.10);
  --divider-opacity: .10;
}

/* Hero & Archive Hero */
body.theme-a .bp-hero,
.theme-a .bp-archive-hero,
.theme-a .bp-archive .bp-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg-light) 100%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
body.theme-a .bp-hero::after { background: radial-gradient(circle at 30% 20%, var(--hero-glow), transparent 60%); }

/* Elements */
body.theme-a .site-header { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
body.theme-a .bp-info-bar { background: var(--c-bg-light); }

/* Cards & CTA */
.theme-a .bp-course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.theme-a .bp-course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }

.theme-a .bp-service-cta {
  background: var(--c-bg-white);
  border-block: 1px solid rgba(0,0,0,.06);
  color: var(--c-text-strongest);
}

/* -----------------------------------------------------
   THEME B – MODERN SAAS (Glow & Gradients)
----------------------------------------------------- */
body.theme-b {
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 30px;
  --shadow-1: 0 10px 30px rgba(0,0,0,.10);
  --shadow-2: 0 22px 60px rgba(0,0,0,.14);
  --hero-glow: rgba(37,99,235,.28);
}

/* Hero & Archive Hero */
body.theme-b .bp-hero {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.10), transparent 55%),
              linear-gradient(135deg, var(--c-accent-1), var(--c-accent-2));
}
.theme-b .bp-archive-hero, 
.theme-b .bp-archive .bp-hero {
  background: linear-gradient(135deg, rgba(37,99,235,.10) 0%, rgba(29,78,216,.06) 40%, var(--c-bg-subtle) 100%);
}
body.theme-b .bp-hero::after { background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.16), transparent 55%); }

/* Buttons & Text */
body.theme-b .bp-hero .bp-btn-primary {
  background: #fff; color: var(--c-accent-2); border-color: rgba(255,255,255,.9);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
body.theme-b .bp-hero .bp-hero-content h1 { color: #fff; }
body.theme-b .bp-hero .bp-hero-content p { color: rgba(255,255,255,.85); }
body.theme-b .bp-hero .bp-hero-content .bp-post-meta { color: rgba(255,255,255,.85); }

/* Cards */
.theme-b .bp-course-card {
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.theme-b .bp-course-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-accent-1), var(--c-accent-2));
}

/* -----------------------------------------------------
   THEME C – WARM & HUMAN (Soft & Friendly)
----------------------------------------------------- */
body.theme-c {
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-1: 0 10px 28px rgba(0,0,0,.09);
  --shadow-2: 0 22px 56px rgba(0,0,0,.13);
  --hero-glow: rgba(245,158,11,.22);
}

body.theme-c .bp-hero {
  background: radial-gradient(circle at 25% 20%, rgba(245,158,11,.18), transparent 55%),
              linear-gradient(180deg, rgba(245,247,250,1), rgba(255,255,255,1));
}
body.theme-c .bp-hero::after { background: radial-gradient(circle at 30% 10%, rgba(245,158,11,.18), transparent 60%); }
body.theme-c .bp-btn-primary { box-shadow: 0 14px 34px rgba(245,158,11,.18); }

/* Cards */
.theme-c .bp-course-card { background: var(--c-bg-subtle); border-radius: 20px; padding: 1rem; }

/* -----------------------------------------------------
   THEME D – BOLD & PREMIUM (Dark & High Contrast)
----------------------------------------------------- */
body.theme-d {
  --radius: 20px;
  --radius-lg: 34px;
  --shadow-1: 0 12px 34px rgba(0,0,0,.14);
  --shadow-2: 0 28px 76px rgba(0,0,0,.22);
  --hero-glow: rgba(37,99,235,.34);
}

/* Global Page Override for D */
body.theme-d { background-color: #0b1220 !important; color: #fff !important; }

body.theme-d .bp-hero, 
.theme-d .bp-archive-hero, 
.theme-d .bp-archive .bp-hero {
  background: radial-gradient(circle at 20% 20%, rgba(37,99,235,.35), transparent 55%),
              linear-gradient(135deg, #0b1220, #111827);
  color: #fff;
}
body.theme-d .bp-hero::after { background: radial-gradient(circle at 70% 20%, rgba(37,99,235,.22), transparent 60%); }

/* Cards & Surfaces */
.theme-d .bp-course-card, 
.theme-d .bp-results-card, 
.theme-d .bp-testimonial-card,
.theme-d .bp-contact-form {
  background: #111827 !important;
  color: #fff !important;
  box-shadow: 0 30px 70px rgba(0,0,0,.45) !important;
  border: 1px solid rgba(255,255,255,.08);
}

.theme-d .bp-info-bar { background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.theme-d .bp-service-cta { background: linear-gradient(135deg, #0b1220, #111827); border-top: 1px solid rgba(255,255,255,.08); }


/* =====================================================
   UNIFIED CARD ENGINE (Sameinað og lagfært)
   Tryggir jafna hæð og hnapp neðst.
===================================================== */

.bp-card {
    display: flex;
    flex-direction: column;
    /* Mikilvægt: height: 100% og stretch tryggja jafna hæð í grid */
    height: 100%; 
    min-height: 0;
    background: var(--c-bg-white);
    padding: clamp(1.8rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

/* Þvingar kortið til að fylla grid-klefann alveg */
.bp-archive-grid > div, 
.bp-archive-grid > article {
    display: flex;
}

.bp-card-body {
    display: flex;
    flex-direction: column;
    /* flex: 1 þýðir að þessi hluti „gleypir“ allt laust pláss */
    flex: 1 1 auto; 
    padding-top: 1rem;
}

.bp-card-actions {
    /* margin-top: auto ýtir þessum glugga alveg neðst */
    margin-top: auto; 
    padding-top: 1.5rem;
}

/* Myndir í kortum */
.bp-card-media {
    margin-bottom: 0;
}

.bp-card-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* Hnappar í kortum */
.bp-card .bp-btn {
    width: 100%;
    margin-top: 0; /* Við notum padding á actions í staðinn */
}

.bp-card .bp-btn + .bp-btn {
    margin-top: 0.75rem;
}

/* Hover effect */
.bp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
}

/* Skrautlína efst (valfrjálst) */
.bp-card::before {
    content: "";
    display: block;
    height: 4px;
    width: 40px;
    background: var(--c-accent-1);
    border-radius: 4px;
    margin-bottom: 1rem;
    flex-shrink: 0; /* Tryggir að línan klemrist ekki */
}

/* 1. Tryggja að grid-liðirnir sjálfir hagi sér eins og flex-box */
.bp-testimonials-grid > article {
    display: flex;
    flex-direction: column;
}

/* 2. Læsa kortinu sjálfu þannig að það fylli hæðina og ýti hnappnum niður */
.bp-testimonial-quote-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto; /* Þetta segir kortinu að teygja sig til að fylla article */
    height: 100%;   /* Fallback fyrir eldri vafra */
}

/* 3. Ýta hnappnum (actions) alveg neðst í kortinu */
.bp-testimonial-actions {
    margin-top: auto;   /* Þetta er galdurinn sem ýtir hnappnum niður */
    padding-top: 1.5rem; /* Gott bil fyrir ofan hnappinn */
}

/* 4. Ef textinn er mjög stuttur, þá tryggir þetta að hann sé samt efst */
.bp-testimonial-text {
    flex-grow: 1; 
}

/* ======================================
   CTA CARD (for accent / gradient bg)
====================================== */

.bp-cta-card{
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);

  padding: clamp(1.5rem, 3vw, 2.5rem);

  box-shadow: 
    0 20px 60px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.15);

  color: #fff;
  max-width: 900px;
  margin-inline: auto;
}

/* subtle top accent line (like bp-card) */
.bp-cta-card::before{
  content:"";
  display:block;
  width:50px;
  height:4px;
  border-radius:4px;
  background: var(--c-accent-2);
  margin-bottom:1.2rem;
}

/* headings */
.bp-cta-card h2,
.bp-cta-card h3{
  color:#fff;
  margin-bottom:.5rem;
}

/* paragraph */
.bp-cta-card p{
  color: rgba(255,255,255,.85);
}

/* Fluent forms inside CTA */
.bp-cta-card .ff-el-group{
  margin-bottom: .75rem;
}

/* inputs */
.bp-cta-card input,
.bp-cta-card textarea,
.bp-cta-card select{
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 10px;
  padding: .85rem 1rem;
  font-size: .95rem;
}

/* placeholder */
.bp-cta-card input::placeholder{
  color: #666;
}

/* submit button */
.bp-cta-card .ff-btn-submit{
  background: var(--c-accent-1);
  border: none;
  color:#fff;
  border-radius: 10px;
  padding: .9rem 1.4rem;
  font-weight:600;
  transition: all .2s ease;
}

.bp-cta-card .ff-btn-submit:hover{
  background: var(--c-accent-2);
  transform: translateY(-2px);
}


/* STAFF HERO FIX */
.bp-staff-hero .bp-staff-meta,
.bp-staff-hero .bp-meta-item{
  color: rgba(255,255,255,0.9);
}

/* links */
.bp-staff-hero .bp-meta-item a{
  color: #fff;
  text-decoration: none;
  transition: all .2s ease;
}

/* hover */
/*.bp-staff-hero .bp-meta-item a:hover{
  text-decoration: underline;
  opacity: 0.9;
}*/

/*.bp-staff-hero .bp-meta-item a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}*/

/* base */
.bp-staff-hero .bp-meta-item{
  display:flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,0.9);
}

.bp-staff-hero .bp-meta-item{
  display:flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,0.9);
}

/* ICON */
.bp-staff-hero .bp-meta-item i{
  font-size:14px;
  color:#fff;
  opacity:0.9;
  transition: all .2s ease;
}

/* LABEL */
.bp-staff-hero .bp-meta-item span{
  font-weight:500;
}

/* LINKS */
.bp-staff-hero .bp-meta-item a{
  color:#fff;
  text-decoration:none;
  position:relative;
}

/* underline animation */
.bp-staff-hero .bp-meta-item a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:1.5px;
  background:#fff;
  transition: width .25s ease;
}

.bp-staff-hero .bp-meta-item a:hover::after{
  width:100%;
}

/* hover icon */
.bp-staff-hero .bp-meta-item:hover i{
  transform: translateY(-1px);
  opacity:1;
}

.bp-staff-hero .bp-meta-item{
  display:flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,0.9);
}

.bp-staff-hero .bp-meta-item i{
  font-size:14px;
  color:#fff;
  opacity:.9;
  width:16px;
  text-align:center;
}

.bp-staff-hero .bp-meta-item a{
  color:#fff;
  text-decoration:none;
}

/*.bp-staff-hero .bp-meta-item a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}*/