body {
  background: var(--emmaus-bg);
  color: var(--emmaus-text);
  font-family: "Georgia", "Times New Roman", serif;
}

#page-container {
  background: var(--emmaus-bg);
}

h1, h2, h3, h4, h5, h6,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_text h6 {
  color: var(--emmaus-brown);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

p,
.et_pb_text,
.et_pb_text_inner,
.et_pb_blurb_description,
.et_pb_module,
.et_pb_post p {
  color: var(--emmaus-text);
  line-height: 1.8;
  font-size: 17px;
}

a {
  color: var(--emmaus-brown);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emmaus-gold);
}

#main-header,
#top-header {
  box-shadow: none;
  background: transparent !important;
  backdrop-filter: none;
}


/* ── HEADER RESET ─────────────────────────────── */
header.et-l--header .et_pb_section,
header.et-l--header .et_pb_row,
header.et-l--header .et_pb_column,
header.et-l--header .et_pb_module,
header.et-l--header .et_pb_module_inner,
header.et-l--header .et_builder_inner_content {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

header.et-l--header .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
}

/* ── HEADER WRAPPER ────────────────────────────── */
.emmaus-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #4a5240;
  border-bottom: 3px solid #c8a96a;
  padding: 0 40px 0 0;
}

/* ── LOGO ──────────────────────────────────────── */
.emmaus-header-logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.emmaus-header-logo img {
  height: 110px !important;
  width: auto !important;
  display: block !important;
  max-width: none !important;
}

/* ── NAV ───────────────────────────────────────── */
.emmaus-header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.emmaus-header-nav a {
  position: relative;
  color: #c8a96a !important;
  text-decoration: none !important;
  font-family: 'Caveat', cursive !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.emmaus-header-nav a:hover {
  color: #c8a96a !important;
  background: rgba(200,169,106,0.08);
}

.emmaus-header-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #c8a96a;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.emmaus-header-nav a:hover::after {
  transform: scaleX(1);
}

/* ── HERO FULLWIDTH HEADER ─────────────────────────────────────────── */

/* Övriga undersidor: fast höjd 420px, bild lite uppifrån */
.page-id-27 .et_pb_fullwidth_section .et_pb_fullwidth_header,
.page-id-85 .et_pb_fullwidth_section .et_pb_fullwidth_header,
.page-id-86 .et_pb_fullwidth_section .et_pb_fullwidth_header,
.page-id-121 .et_pb_fullwidth_section .et_pb_fullwidth_header,
.page-id-241 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  min-height: 420px !important;
  max-height: 420px !important;
  background-size: cover !important;
  background-position: center 20% !important;
  overflow: hidden !important;
}

.page-id-87 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  min-height: 420px !important;
  max-height: 420px !important;
  background-size: cover !important;
  background-position: left 30% !important;
  overflow: hidden !important;
}



.page-id-27 .et_pb_fullwidth_section .et_pb_fullwidth_header_container,
.page-id-85 .et_pb_fullwidth_section .et_pb_fullwidth_header_container,
.page-id-86 .et_pb_fullwidth_section .et_pb_fullwidth_header_container,
.page-id-87 .et_pb_fullwidth_section .et_pb_fullwidth_header_container,
.page-id-121 .et_pb_fullwidth_section .et_pb_fullwidth_header_container,
.page-id-241 .et_pb_fullwidth_section .et_pb_fullwidth_header_container {
  min-height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Retreat-sidor (Men/Women): ingen max-height, padding styr höjd och centrering */
.page-id-172 .et_pb_fullwidth_section .et_pb_fullwidth_header,
.page-id-173 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  min-height: 420px !important;
  max-height: 420px !important;
  background-size: cover !important;
  overflow: hidden !important;
}

/* Bildposition per sida */
.page-id-172 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  background-position: center 25% !important;
}

.page-id-173 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  background-position: center 30% !important;
}

.page-id-172 .et_pb_fullwidth_section .et_pb_fullwidth_header_container,
.page-id-173 .et_pb_fullwidth_section .et_pb_fullwidth_header_container {
  min-height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ── LOGO IMAGE SIZE ────────────────────────────────── */
/* Logo image size */
header.et-l--header .et_pb_text_inner img {
  height: 110px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* Kill ALL vertical padding/margin/border in header */
header.et-l--header,
header.et-l--header .et_builder_inner_content,
header.et-l--header .et_pb_section,
header.et-l--header .et_pb_row,
header.et-l--header .et_pb_column,
header.et-l--header .et_pb_module,
header.et-l--header .et_pb_module_inner {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Undvik att font-size:0 kraschar textinnehållet */
header.et-l--header .et_pb_text_inner {
  font-size: initial !important;
  line-height: initial !important;
}

header.et-l--header .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
}

#top-menu-nav #top-menu a,
.et-fixed-header #top-menu li.current-menu-item>a,
.nav li ul a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

#top-menu li.current-menu-item>a,
#top-menu li.current-menu-ancestor>a,
#top-menu-nav #top-menu a:hover {
  color: var(--emmaus-gold) !important;
}

.container,
.et_pb_row {
  width: 90%;
  max-width: var(--emmaus-max);
}

.emmaus-hero,
.et_pb_section.emmaus-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background:
    linear-gradient(180deg, rgba(24, 20, 17, 0.28), rgba(24, 20, 17, 0.52)),
    url('https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.emmaus-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(216, 178, 109, 0.18), transparent 48%);
  pointer-events: none;
}

.emmaus-hero .et_pb_text,
.emmaus-hero h1,
.emmaus-hero h2,
.emmaus-hero p {
  color: #fff;
}

.emmaus-kicker {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.emmaus-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 18px;
}

.emmaus-hero p {
  font-size: 19px;
  max-width: 760px;
  margin: 0 auto;
}

.emmaus-button .et_pb_button,
.et_pb_button.emmaus-button,
.emmaus-button a {
  background: linear-gradient(135deg, var(--emmaus-gold), #cfa66a);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 16px 35px rgba(184, 138, 68, 0.26);
}

.emmaus-button .et_pb_button:hover,
.et_pb_button.emmaus-button:hover,
.emmaus-button a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--emmaus-brown), var(--emmaus-gold));
}

.emmaus-card,
.et_pb_blurb.emmaus-card,
.et_pb_module.emmaus-card {
  background: var(--emmaus-surface);
  border-radius: var(--emmaus-radius);
  box-shadow: var(--emmaus-shadow);
  border: 1px solid var(--emmaus-border);
  padding: 18px;
}

.emmaus-soft-card {
  background: linear-gradient(180deg, #fff, var(--emmaus-surface-soft));
  border-radius: var(--emmaus-radius);
  box-shadow: var(--emmaus-shadow);
  border: 1px solid rgba(184, 138, 68, 0.12);
}

.emmaus-section-title h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 10px;
}

.emmaus-section-title p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--emmaus-muted);
}

.emmaus-highlight-band,
.et_pb_section.emmaus-highlight-band {
  background: linear-gradient(135deg, rgba(111,77,55,0.96), rgba(127,140,98,0.92));
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.emmaus-highlight-band h2,
.emmaus-highlight-band h3,
.emmaus-highlight-band p,
.emmaus-highlight-band .et_pb_text {
  color: #fff;
}

.emmaus-image-frame img,
.emmaus-image-frame .et_pb_image_wrap img {
  border-radius: 24px;
  box-shadow: var(--emmaus-shadow);
}

.emmaus-retreat-grid .et_pb_column {
  display: flex;
}

.emmaus-retreat-grid .et_pb_module {
  width: 100%;
}

.emmaus-quote .et_pb_testimonial {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--emmaus-shadow);
}

.emmaus-footer-cta {
  background: linear-gradient(180deg, rgba(239,231,216,0.86), rgba(247,243,236,1));
}

#main-footer {
  background: #4a5240;
}

/* Slimma footer-padding */
.et_pb_section_0_tb_footer.et_pb_section {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

#footer-bottom,
#main-footer .footer-widget,
#main-footer .footer-widget h4,
#main-footer .footer-widget a,
#main-footer .et-social-icon a {
  color: rgba(255,255,255,0.9) !important;
}

#footer-info {
  float: none;
  text-align: center;
  width: 100%;
}

/* Copyright-text i footer */
#main-footer .et_pb_text_3_tb_footer,
#main-footer .et_pb_text_3_tb_footer p,
#main-footer .et_pb_text_3_tb_footer *,
#main-footer .et_pb_row_1_tb_footer p,
#main-footer .et_pb_row_1_tb_footer .et_pb_text p {
  color: #c8a96a !important;
}

@media (max-width: 980px) {
  .emmaus-hero,
  .et_pb_section.emmaus-hero {
    padding: 100px 0 80px;
  }

  .container,
  .et_pb_row {
    width: 92%;
  }

  p,
  .et_pb_text,
  .et_pb_text_inner,
  .et_pb_module {
    font-size: 16px;
  }
}


/* Centrera text i fullwidth header på retreat-sidorna */
.page-id-172 .et_pb_fullwidth_header .header-content-container,
.page-id-173 .et_pb_fullwidth_header .header-content-container {
  text-align: center !important;
}

.page-id-172 .et_pb_fullwidth_header .header-content h1,
.page-id-172 .et_pb_fullwidth_header .header-content h2,
.page-id-172 .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead,
.page-id-173 .et_pb_fullwidth_header .header-content h1,
.page-id-173 .et_pb_fullwidth_header .header-content h2,
.page-id-173 .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
  text-align: center !important;
}

.page-id-172 .et_pb_fullwidth_header .header-content,
.page-id-173 .et_pb_fullwidth_header .header-content {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}


/* Startsidan - ta bort vitt fält under header (section_1 = intro-sektionen direkt under hero) */
.page-id-27 .et_pb_section_1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Mer luft mellan text och knappar i startsidans hero - flytta texten uppåt */
.page-id-27 .et_pb_fullwidth_header_0 h1,
.page-id-27 .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_subhead {
  transform: translateY(-80px) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5) !important;
}

.page-id-27 .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1,
.page-id-27 .et_pb_fullwidth_header_0.et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5) !important;
}

/* Nollställ Divis inbyggda 54px padding på startsidans fullwidth-sektion */
.page-id-27 .et_pb_fullwidth_section {
  padding-bottom: 0 !important;
}

/* Norway pages */
/* Nollställ Divis padding och centrera texten via flexbox istället */
.page-id-241 .et_pb_fullwidth_header_0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-id-241 .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-id-241 .et_pb_fullwidth_header_0 .header-content-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

/* Centrera text i fullwidth header på Norway retreat-sidor */
.page-id-238 .et_pb_fullwidth_header .header-content-container,
.page-id-239 .et_pb_fullwidth_header .header-content-container {
  text-align: center !important;
}

.page-id-238 .et_pb_fullwidth_header .header-content h1,
.page-id-238 .et_pb_fullwidth_header .header-content h2,
.page-id-238 .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead,
.page-id-239 .et_pb_fullwidth_header .header-content h1,
.page-id-239 .et_pb_fullwidth_header .header-content h2,
.page-id-239 .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead {
  text-align: center !important;
}

.page-id-238 .et_pb_fullwidth_header .header-content,
.page-id-239 .et_pb_fullwidth_header .header-content {
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Norway Men (238): bildposition som svenska Men-sidan */
.page-id-238 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  min-height: 420px !important;
  max-height: 420px !important;
  background-position: center 25% !important;
  background-size: cover !important;
  overflow: hidden !important;
}

.page-id-238 .et_pb_fullwidth_section .et_pb_fullwidth_header_container {
  min-height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Norway Women (239): bildposition som svenska Women-sidan */
.page-id-239 .et_pb_fullwidth_section .et_pb_fullwidth_header {
  min-height: 420px !important;
  max-height: 420px !important;
  background-position: center 30% !important;
  background-size: cover !important;
  overflow: hidden !important;
}

.page-id-239 .et_pb_fullwidth_section .et_pb_fullwidth_header_container {
  min-height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* EMMAUS_LEGAL_PAGES_HEIGHT_START */
.page-id-497 .et_pb_fullwidth_header_0,
.page-id-498 .et_pb_fullwidth_header_0 {
  min-height: 280px !important;
  max-height: 280px !important;
  height: 280px !important;
}
.page-id-497 .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container,
.page-id-498 .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 980px) {
  .page-id-497 .et_pb_fullwidth_header_0,
  .page-id-498 .et_pb_fullwidth_header_0 {
    min-height: 220px !important;
    max-height: 220px !important;
    height: 220px !important;
  }
}
@media (max-width: 767px) {
  .page-id-497 .et_pb_fullwidth_header_0,
  .page-id-498 .et_pb_fullwidth_header_0 {
    min-height: 180px !important;
    max-height: 180px !important;
    height: 180px !important;
  }
}
/* EMMAUS_LEGAL_PAGES_HEIGHT_END */

/* EMMAUS_SERVERS_LOGOS_START */
/* Servers page (512) - lika hoga logo-containrar sa raderna nedanfor linjeras */
.page-id-512 .et_pb_section_1 .et_pb_row_0 .et_pb_image {
  height: 180px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
}
.page-id-512 .et_pb_section_1 .et_pb_row_0 .et_pb_image .et_pb_image_wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}
.page-id-512 .et_pb_section_1 .et_pb_row_0 .et_pb_image img {
  max-height: 100% !important;
  width: auto !important;
  object-fit: contain !important;
}
@media (max-width: 767px) {
  .page-id-512 .et_pb_section_1 .et_pb_row_0 .et_pb_image {
    height: 140px !important;
  }
}
/* EMMAUS_SERVERS_LOGOS_END */
