.ctaBlock {
  position: relative;
  width: 100%;
  height: 100%;
  height: 510px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ctaBlock--no-image {
  background-color: var(--Brun, #a33f0f);
  height: auto;
  min-height: min(412.5px, 100svh);
  max-height: none;
}

.ctaBlock--no-image .ctaBlock_Text p {
  color: var(--Beige, #fefbf6);
  margin: 0;
}


.ctaBlock--no-image .ctaBlock_Header h2 {
    color: var(--Background-beige, #FEFBF6);
    text-align: center;
    
    /* H3 */
    font-family: "Playfair Display";
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px; /* 100% */
}
  
@media (min-width: 768px) {
  .ctaBlock--no-image .ctaBlock_Buttons a.ctaBlock_button1 {
    display: flex;
    height: 60px;
    padding: 0 20px;
    align-items: center;
    gap: 10px;
  }

  .ctaBlock--no-image .ctaBlock_Buttons a.ctaBlock_button2 {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-height: 60px;
    height: auto;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-sizing: border-box;
  }
}
  
  .ctaBlock .ctaBlock_image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    
  }

  .ctaBlock_content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 896px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
    box-sizing: border-box;
    color: #fff;
  }

  .ctaBlock_Header h2{
    color: var(--Beige);
text-align: center;
font-family: "Playfair Display";
font-size: 60px;
font-style: normal;
font-weight: 400;
line-height: 75px; /* 125% */
margin: 0;
  }

  .ctaBlock_Text p{
    margin: 0;
    color: #D1D5DC;
text-align: center;

/* Bröd L */
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 32.5px; /* 162.5% */
letter-spacing: -0.449px;}


.ctaBlock_Buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* Scoped so theme/global `a` rules don’t override */
.ctaBlock a.ctaBlock_button1,
.ctaBlock a.ctaBlock_button2 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.ctaBlock a.ctaBlock_button1 {
  display: inline-flex;
  flex-direction: row;
  padding: 17.5px 32px 18.5px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: var(--Beige, #fefbf6);
  color: #000;
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.312px;
}

.ctaBlock a.ctaBlock_button1:hover {
  background: #F7F2E9;
}

.ctaBlock_button1__label {
  color: inherit;
}

.ctaBlock_button1__icon {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
  color: inherit;
}

.ctaBlock_button1__icon svg {
  display: block;
}

.ctaBlock a.ctaBlock_button2 {
  display: inline-flex;
  flex-direction: row;
  min-height: 60px;
  height: auto;
  padding: 0 20px;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
  border: 1px solid var(--Beige, #fefbf6);
  color: var(--Beige, #fefbf6);
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.087px;
}

.ctaBlock a.ctaBlock_button2:hover {
  background-color: #f7f2e948;
}

.ctaBlock_button2__icon {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
  color: inherit;
}

.ctaBlock_button2__icon svg {
  display: block;
}

.ctaBlock_button2__label {
  color: inherit;
}

.ctaBlock-no-image a.ctaBlock_button2:hover {
  background: #8a350d; 
}

@media (max-width: 767px) {
  .ctaBlock_Buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 20px;
  }

  /* Same touch targets & padding for image and no-image variants */
  .ctaBlock a.ctaBlock_button1,
  .ctaBlock a.ctaBlock_button2 {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    justify-content: center;
    box-sizing: border-box;
  }

  .ctaBlock a.ctaBlock_button1 {
    height: auto;
    padding: 14px 20px;
    gap: 10px;
  }

  .ctaBlock a.ctaBlock_button2 {
    height: auto;
    padding: 14px 20px;
  }

  /* Brown / no-image: fluid height, readable type */
  .ctaBlock--no-image {
    min-height: 0;
    padding: clamp(28px, 8vw, 40px) clamp(16px, 5vw, 24px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .ctaBlock--no-image .ctaBlock_content {
    gap: clamp(18px, 5vw, 28px);
    width: 100%;
    max-width: 100%;
  }

  .ctaBlock-no-image a.ctaBlock_button2:hover {
    background: #8a350d; 
  }

  .ctaBlock--no-image .ctaBlock_Header h2 {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.12;
    padding: 0 2px;
    text-wrap: balance;
  }

  .ctaBlock--no-image .ctaBlock_Text p {
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.55;
    letter-spacing: -0.02em;
    padding: 0 2px;
    text-wrap: pretty;
  }
}

@media (max-width: 380px) {
  .ctaBlock--no-image .ctaBlock_Header h2 {
    font-size: clamp(24px, 6.5vw, 32px);
  }
}
