/* frieseovchipkaart.nl — restored Divi layout styles */

:root {
  --fo-accent: #e12545;
  --fo-accent-dark: #c41e3a;
  --fo-gold: #ffcd20;
  --fo-dark: #3c3950;
  --fo-text: #242332;
  --fo-muted: #666;
  --fo-bg: #ffffff;
  --fo-bg-alt: #f7f7f9;
  --fo-bg-dark: #2e2b3d;
  --fo-header-bg: #ffffff;
  --fo-footer-bg: #222222;
  --fo-container: 1080px;
  --fo-gutter: 3%;
  --fo-radius: 4px;
  --fo-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  --fo-transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fo-text);
  background: var(--fo-bg);
  overflow-x: hidden;
}

body.loaded,
body:not(.loaded) {
  opacity: 1;
  visibility: visible;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--fo-accent);
  text-decoration: none;
  transition: color var(--fo-transition);
}

a:hover { color: var(--fo-accent-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fo-dark);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.container {
  width: 90%;
  max-width: var(--fo-container);
  margin: 0 auto;
  position: relative;
}

/* ── Page shell ── */

#page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#et-main-area { flex: 1; }

/* ── Header ── */

#main-header {
  background: var(--fo-header-bg);
  box-shadow: var(--fo-shadow);
  position: relative;
  z-index: 100;
  padding: 18px 0 0;
}

.et_header_style_centered .logo_container {
  text-align: center;
  margin-bottom: 8px;
}

.et_header_style_centered .logo_container a::before {
  content: "Friese OV-chipkaart";
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fo-dark);
  letter-spacing: -0.02em;
}

#et-top-navigation {
  text-align: center;
  padding-bottom: 12px;
}

#top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

#top-menu li { margin: 0; padding: 0; }

#top-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--fo-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#top-menu a:hover,
#top-menu .current-menu-item a,
#top-menu .current_page_item a {
  color: var(--fo-accent);
}

#et_mobile_nav_menu { display: none; }

.et_search_outer { display: none; }

.logo_helper { display: none; }

/* ── Main content ── */

#main-content {
  width: 100%;
}

.entry-content { padding: 0; }

.et_builder_inner_content {
  width: 100%;
  max-width: 100%;
}

/* ── Sections & rows ── */

.et_pb_section {
  position: relative;
  padding: 54px 0;
  background-color: var(--fo-bg);
}

.et_pb_section.et_pb_with_background {
  background-color: var(--fo-bg-alt);
}

.et_pb_section_0 {
  padding: 0 !important;
}

.et_pb_row {
  width: 90%;
  max-width: var(--fo-container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}

.et_pb_row::after { display: none; }

.et_pb_gutters1 .et_pb_column { margin-right: 0; }

.et_pb_column {
  position: relative;
  padding: 15px;
  min-height: 1px;
}

.et_pb_column_1_3 { width: 33.333%; flex: 0 0 33.333%; }
.et_pb_column_1_2 { width: 50%; flex: 0 0 50%; }
.et_pb_column_2_3 { width: 66.666%; flex: 0 0 66.666%; }
.et_pb_column_3_4 { width: 75%; flex: 0 0 75%; }
.et_pb_column_1_4 { width: 25%; flex: 0 0 25%; }
.et_pb_column_4_4 { width: 100%; flex: 0 0 100%; }

.et_pb_column_empty { min-height: 0; padding: 0; }

.et_pb_row_fullwidth {
  width: 100%;
  max-width: 100%;
}

/* ── Hero slider ── */

.et_pb_slider,
.et_pb_fullwidth_slider_0 {
  position: relative;
  overflow: hidden;
}

.et_pb_slides { position: relative; }

.et_pb_slide {
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.et_pb_slide:not([style*="background-image"]) {
  background: linear-gradient(135deg, #1a1a2e 0%, #2e2b3d 45%, #3c3950 100%);
}

.et_pb_slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.et_pb_container {
  width: 90%;
  max-width: var(--fo-container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.et_pb_slide_description {
  max-width: 640px;
  padding: 60px 0;
}

.et_pb_slide_title {
  font-size: clamp(28px, 5vw, 48px);
  color: #fff !important;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.et_pb_bg_layout_dark .et_pb_slide_content { color: rgba(255, 255, 255, 0.85); }

.et_pb_button,
.et_pb_more_button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--fo-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--fo-radius);
  border: 2px solid var(--fo-accent);
  transition: background var(--fo-transition), border-color var(--fo-transition);
}

.et_pb_button:hover,
.et_pb_more_button:hover {
  background: var(--fo-accent-dark);
  border-color: var(--fo-accent-dark);
  color: #fff !important;
}

/* ── Text modules ── */

.et_pb_text_inner h1 {
  font-size: clamp(22px, 3vw, 32px);
  text-align: center;
}

.et_pb_text_inner h2:not(.et_pb_slide_title) {
  font-size: 0;
  line-height: 0;
  margin: 8px auto 16px;
  width: 60px;
  height: 3px;
  background: var(--fo-gold);
  overflow: hidden;
}

.et_pb_text_inner p {
  color: var(--fo-muted);
  font-size: 15px;
}

.et_pb_text_align_left .et_pb_text_inner { text-align: left; }
.et_pb_text_align_center .et_pb_text_inner { text-align: center; }

.title-xlarge {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.title-h5 {
  font-size: 16px;
  font-weight: 600;
}

.styled-subtitle {
  font-size: 14px;
  color: var(--fo-muted);
  font-weight: 400;
}

/* ── VC separator fallback ── */

.vc_separator {
  display: flex;
  justify-content: center;
  margin: 8px auto 16px;
}

.vc_sep_line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--fo-gold);
  border: none !important;
}

/* ── Image modules (placeholder icons) ── */

.et_pb_image .et_pb_image_wrap {
  display: block;
  min-height: 160px;
  background: var(--fo-bg-alt);
  border-radius: var(--fo-radius);
  position: relative;
  overflow: hidden;
}

.et_pb_image_wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--fo-radius);
}

.et_pb_image_wrap:not(:has(img)) {
  min-height: 160px;
}

.et_pb_image_0 .et_pb_image_wrap:not(:has(img))::after,
.et_pb_image_1 .et_pb_image_wrap:not(:has(img))::after,
.et_pb_image_2 .et_pb_image_wrap:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: 20%;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23e12545'%3E%3Cpath d='M8 44h48v4H8zm4-24l8 8h24l-8-8H12zm0 12h28l8 8H12v-8z'/%3E%3C/svg%3E");
  opacity: 0.35;
}

.et_pb_image_3 .et_pb_image_wrap:not(:has(img)) {
  min-height: 280px;
  background: linear-gradient(145deg, #eef0f4, #dfe3ea);
}

.et_pb_image_3 .et_pb_image_wrap:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: 15%;
  background: center / 60% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%233c3950'%3E%3Cpath d='M32 8C18.7 8 8 18.7 8 32s10.7 24 24 24 24-10.7 24-24S45.3 8 32 8zm0 6c9.9 0 18 8.1 18 18s-8.1 18-18 18S14 41.9 14 32 22.1 14 32 14zm-1 8v10.6l-6.3 6.3 2.8 2.8L36 34.4V22h-5z'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── Blurb modules ── */

.et_pb_blurb {
  text-align: center;
  padding: 20px 10px;
}

.et_pb_blurb_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.et_pb_main_blurb_image .et_pb_image_wrap {
  width: 64px;
  height: 64px;
  min-height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(225, 37, 69, 0.08);
  overflow: hidden;
}

.et_pb_main_blurb_image .et_pb_image_wrap img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.entry-featured-image-url img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: var(--fo-radius);
}

.et_pb_blurb_0 .et_pb_image_wrap:not(:has(img))::after,
.et_pb_blurb_1 .et_pb_image_wrap:not(:has(img))::after,
.et_pb_blurb_2 .et_pb_image_wrap:not(:has(img))::after {
  content: "";
  position: absolute;
  inset: 18%;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e12545'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  opacity: 0.7;
}

.et_pb_module_header {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--fo-dark);
}

.et_pb_blurb_7 .et_pb_module_header,
.et_pb_blurb_8 .et_pb_module_header,
.et_pb_blurb_9 .et_pb_module_header,
.et_pb_blurb_10 .et_pb_module_header {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--fo-accent);
  font-weight: 800;
}

.et_pb_blurb_description p {
  margin: 0;
  color: var(--fo-muted);
}

/* ── Section-specific backgrounds ── */

.et_pb_section_1 { background: #fff; }

.et_pb_section_3 {
  background: var(--fo-bg-alt);
  padding: 40px 0;
}

.et_pb_section_5 {
  padding: 80px 0;
  overflow: hidden;
}

.et_pb_section_parallax .et_parallax_bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2e2b3d;
}

.et_pb_section_parallax .et_parallax_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.et_pb_section_5 .et_pb_row { position: relative; z-index: 1; }

.et_pb_section_5 .et_pb_text_inner {
  background: rgba(255, 255, 255, 0.95);
  padding: 32px;
  border-radius: var(--fo-radius);
  box-shadow: var(--fo-shadow);
}

.et_pb_section_6 {
  background: linear-gradient(180deg, #fff 0%, var(--fo-bg-alt) 100%);
}

.et_pb_section_7 {
  background: var(--fo-bg-alt);
  padding: 48px 0;
}

/* ── Blog layout ── */

.et_pb_blog_0 .et_pb_post {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: var(--fo-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.et_pb_blog_0 .entry-featured-image-url {
  display: block;
  min-height: 180px;
  background: linear-gradient(145deg, #eef0f4, #dfe3ea);
  border-radius: var(--fo-radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.et_pb_blog_0 .entry-featured-image-url img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.et_pb_no_thumb .entry-title { margin-top: 0; }

.et_pb_posts .pagination { margin-top: 20px; }

@media (max-width: 980px) {
  .et_pb_column_3_4,
  .et_pb_column_1_4 {
    width: 100%;
    flex: 0 0 100%;
  }
}


.et_pb_post {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8e8ec;
}

.et_pb_post h2.entry-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.et_pb_post h2.entry-title a { color: var(--fo-dark); }
.et_pb_post h2.entry-title a:hover { color: var(--fo-accent); }

.post-meta,
.et_pb_post .post-meta {
  font-size: 12px;
  color: var(--fo-muted);
  margin-bottom: 16px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 30px 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  color: var(--fo-dark);
  border-radius: var(--fo-radius);
}

.pagination .current {
  background: var(--fo-accent);
  border-color: var(--fo-accent);
  color: #fff;
}

/* ── Contact form ── */

.et_pb_contact_form input[type="text"],
.et_pb_contact_form input[type="email"],
.et_pb_contact_form textarea,
input.et_pb_contact_captcha {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: var(--fo-radius);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 16px;
}

.et_pb_contact_submit {
  padding: 12px 28px;
  background: var(--fo-accent);
  color: #fff;
  border: none;
  border-radius: var(--fo-radius);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.et_pb_contact_submit:hover { background: var(--fo-accent-dark); }

/* ── Sidebar ── */

#sidebar {
  padding: 30px 20px;
}

#sidebar .widget {
  margin-bottom: 30px;
}

#sidebar .widgettitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--fo-gold);
}

/* ── Footer ── */

#main-footer {
  background: var(--fo-footer-bg);
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
}

#footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

/* ── Animations (show content without JS) ── */

.et_animated,
.et-waypoint {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.wpb_start_animation { opacity: 1; }

/* ── Responsive ── */

@media (max-width: 980px) {
  .et_pb_column_1_3,
  .et_pb_column_1_2,
  .et_pb_column_2_3,
  .et_pb_column_1_4 {
    width: 100%;
    flex: 0 0 100%;
  }

  .et_pb_slide { min-height: 320px; }

  .et_pb_section { padding: 36px 0; }
}

@media (max-width: 767px) {
  #top-menu {
    flex-direction: column;
    align-items: center;
  }

  #top-menu a { padding: 8px 14px; }

  .et_pb_slide_description { padding: 40px 0; }

  .et_pb_section_5 .et_pb_text_inner { padding: 20px; }
}
