/*────────────────────────────────────────────────────────────────────────────
   Off-Canvas Navigation
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: #3c7b93;
  transform: translateX(-105%);
  transition: transform .4s ease;
  z-index: 90;
  overflow-y: auto;
}

.offcanvas-nav.open {
  transform: translateX(0);
}


/*────────────────────────────────────────────────────────────────────────────
   Home Scroll-Down Arrow (bouncing)
────────────────────────────────────────────────────────────────────────────*/

.home-scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 200;
}

.home-scroll-down-trigger {
  display: inline-block;
  animation: home-bounce 2s infinite;
  cursor: pointer;
}

.home-scroll-down-icon {
  width: 2rem;
  height: 2rem;
  stroke: rgba(255,255,255,0.8);
  transition: stroke 0.3s;
}

.home-scroll-down-trigger:hover .home-scroll-down-icon {
  stroke: #fff;
}

/* Bounce keyframes (scoped for home arrow) */
@keyframes home-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}


/*────────────────────────────────────────────────────────────────────────────
   OFFCANVAS BACKDROP
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 89;
}

.offcanvas-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}


/*────────────────────────────────────────────────────────────────────────────
   Menu Links & Colors
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-menu {
  list-style: none;
  margin: 0;
  padding: 4.5rem 0 0;
}

.offcanvas-menu li {
  position: relative;
}

.offcanvas-nav .offcanvas-menu a {
  display: block;
  padding: .25rem 2rem .25rem 1.75rem;
  color: #97b4a2;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.offcanvas-nav .offcanvas-menu a:hover {
  background: rgba(255,255,255,.1);
}


/*────────────────────────────────────────────────────────────────────────────
   Submenu Toggle & Styling
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-nav .offcanvas-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  padding-left: 0;
  margin: 0 0 0 1.25rem;
}

.offcanvas-nav .offcanvas-menu .submenu-open > .sub-menu {
  max-height: 800px;
}

.submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #64777c;
  padding: .325rem 1.5rem;
  margin-left: auto;
}

.offcanvas-nav .offcanvas-menu .sub-menu a {
  padding-left: 2rem;
}


/*────────────────────────────────────────────────────────────────────────────
   Hamburger Toggle Button
────────────────────────────────────────────────────────────────────────────*/

.menu-toggle {
  position: fixed;
  top: 2.5rem;
  left: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

button.menu-toggle:hover,
button.menu-toggle:focus {
  background-color: transparent;
}

.menu-toggle .hamburger {
  display: block;
  width: 2rem;
  height: 18px;
  position: relative;
}

.menu-toggle .hamburger span {
  display: block;
  position: absolute;
  width: 32px;
  height: 2px;
  background: #fff;
  left: 0;
  border-radius: 2px;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

body.offcanvas-open {
  overflow: hidden;
}

.menu-toggle .hamburger {
  position: relative;
  width: 50px;
  height: 20px;
}

.menu-toggle .hamburger span:nth-child(1) {
  top: 0;
  left: 4px;
}

.menu-toggle .hamburger span:nth-child(2) {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle .hamburger span:nth-child(3) {
  bottom: 0;
}

.menu-toggle.active {
  top: 2rem;
}

.menu-toggle.active .hamburger span:nth-child(1)::after,
.menu-toggle.active .hamburger span:nth-child(3)::before {
  content: none;
}

.menu-toggle.active .hamburger span:nth-child(1),
.menu-toggle.active .hamburger span:nth-child(3) {
  left: 0;
  width: 100%;
  background-color: #97b4a2;
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle .hamburger span {
  transform-origin: center center;
}

.menu-toggle.active .hamburger span:nth-child(1),
.menu-toggle.active .hamburger span:nth-child(3) {
  left: 0;              /* full‑width from the left edge */
  width: 28px;          /* span the entire container */
  top: 50%;             /* drop them to vertical center */
  bottom: auto;         /* unset any bottom positioning */
  transform: translateY(-50%); /* pull back up by half their own height */
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(1)::after,
.menu-toggle.active .hamburger span:nth-child(3)::before {
  content: none;
}

body.page_scrolled .menu-toggle {
  top: 2rem;
}


/*────────────────────────────────────────────────────────────────────────────
   Site Branding (Logo) Styling
────────────────────────────────────────────────────────────────────────────*/

.site-branding {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 1rem;
  width: 100%;
  z-index: 120;
}

.site-logo-link {
  display: block;
}

.site-logo {
  width: 230px;
  height: 80px;
  display: block;
}

/* move the reCAPTCHA v3 badge from bottom-right to bottom-left */
.grecaptcha-badge {
  left: 12px !important;
  right: auto !important;
  bottom: 12px !important;
  opacity: 0;
}



/*────────────────────────────────────────────────────────────────────────────
   SOCIAL SIDEBAR (bottom-right)
────────────────────────────────────────────────────────────────────────────*/

.social-sidebar {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  z-index: 80;
}

.social-sidebar a {
  display: block;
  text-decoration: none;
}

.social-sidebar .icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
  transition: transform .3s ease, color .3s ease;
}

.social-sidebar a:hover .icon {
  transform: scale(1.15);
}

a.facebook_link,
a.instagram_link,
a.whatsapp_link,
a.linkedin_link,
a.email_link {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin: .25rem 0;
}

a.facebook_link > svg,
a.instagram_link > svg,
a.whatsapp_link > svg,
a.linkedin_link > svg,
a.email_link > svg {
  width: 2rem;
  height: 2rem;
  fill: #002e34;
}



/*────────────────────────────────────────────────────────────────────────────
   LANGUAGE SWITCHER
────────────────────────────────────────────────────────────────────────────*/

/* Compact language switcher: DE | EN | FR | ES | NL | RU */
.header-language-switcher {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.25rem;
}

.header-language-switcher select {
  padding: .5rem;
  color: #002e34;
  background-color: #fff;
  border-radius: .25rem; 	
  border: 1px solid #002e34;
}

.language-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.05); /* dimmed backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.language-modal-content {
  background: rgba(255, 255, 255, .9);
  padding: 0 2.5rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  max-width: 90%;
  width: 500px;
  text-align: center;
}

.language-modal-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--color-heading);
}

.language-options {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.language-options li {
  margin: 0;
}

.language-options a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: var(--color-link);
  border-radius: .75rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.language-options a:hover {
  background-color: var(--color-link);
  color: #fff;
}

.popup-dismiss {
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-dismiss:hover {
  color: var(--color-link-hover);
}



/*────────────────────────────────────────────────────────────────────────────
   PARALLAX SECTIONS
────────────────────────────────────────────────────────────────────────────*/

.parallax-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
}

.parallax-break {
  height: 100vh;
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-content {
  padding: 4.5rem 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

#home.parallax-section,
#inicio.parallax-section,
#accueil.parallax-section,
#startseite.parallax-section {
  min-height: calc(100vh - 152px);
}

#home .section-content,
#inicio .section-content,
#accueil .section-content,
#startseite .section-content {
  padding: 0;
}

h1 {
  margin: 0 !important;
  padding: 0 !important;
}

.section-content figure {
  margin: .75rem -1.5rem;
}

#how-to-contact-us .section-content figure,
#wie-koennen-sie-uns-kontaktieren .section-content figure,
#como-contactar-con-nosotros .section-content figure,
#comment-nous-contacter .section-content figure,
#hoe-neem-je-contact-met-ons-op .section-content figure {
  margin: 0;
}

.parallax-section .section-content {
  transform: translateX(-80px);
  opacity: 0;
  transition: transform 1s ease-out, opacity .75s .25s ease-out;
}

.parallax-section img {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 1s ease-out, transform .75s .25s ease-out;
}

.parallax-section.visible .section-content {
  transform: translateX(0);
  opacity: 1;
}

.parallax-section.visible img {
  opacity: 1;
  transform: scale(1);
}

.nav-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #fff;
  text-decoration: none;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.nav-arrow:hover {
  opacity: 1;
}

.nav-arrow-up {
  top: .625rem;
}

.nav-arrow-down {
  bottom: .625rem;
}

.nav-arrow-up svg,
.nav-arrow-down svg {
  stroke: #002e34;
}



/*────────────────────────────────────────────────────────────────────────────
  Sub-menu grid & tiles (upgraded style only)
────────────────────────────────────────────────────────────────────────────*/
.sub-menu-grid {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem -1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sub-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-item .sub-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.sub-item .sub-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.sub-item .sub-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sub-item .sub-content h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: #333333;
}

.sub-item:hover,
.sub-item:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.sub-item img {
  border-radius: 0; /* already handled in container */
  transition: none;  /* keep your own hover scale if you like */
}



/*────────────────────────────────────────────────────────────────────────────
  FOOTER
────────────────────────────────────────────────────────────────────────────*/

.site-footer {
  background: #013136;
  background: linear-gradient(0deg,rgba(1, 49, 54, 1) 0%, rgba(255, 255, 255, 0) 85%);
  padding: 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand .site-title,
.footer-brand img.custom-logo {
  display: inline-block;
  max-width: 180px;
  height: auto;
}

.footer-nav .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-nav .footer-menu a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav .footer-menu a:hover {
  color: #fff;
}

.footer-language-switcher {
  display: flex;
  color: #fff;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.25rem;
}

.footer-language-switcher .lang-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-language-switcher .lang-link:hover,
.footer-language-switcher .lang-link.active {
  opacity: 1;
}

.footer-language-switcher .lang-flag {
  width: 18px;
  height: 12px;
  margin-right: 0.4rem;
  display: inline-block;
}

footer .site-info {
  color: #fff !important;
  opacity: 0.8;
}

.site-logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Portal card: full-height column behavior */
section.login-card {
  min-height: min(760px, calc(100vh - 4rem)); /* fits viewport with padding */
  display: flex;
  flex-direction: column;
}

/* Header stays at top */
.login-card__header {
  flex: 0 0 auto;
}

/* Body grows to fill space; center content vertically when short */
.login-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering */
  overflow: auto;            /* allow scroll if content is long */
  min-height: 0;             /* important for flex + overflow in some browsers */
}

/* Optional: keep text centered horizontally as well (remove if you want left-aligned text) */
.login-card__body.portal-content {
  text-align: center;
}

/* Footer sits at bottom */
.login-card__footer {
  flex: 0 0 auto;
  padding: 0 2.5rem 2rem;
  display: flex;
  justify-content: center;
}

.login-card__footer .login-site-logo {
  margin: 0;
}


/*────────────────────────────────────────────────────────
  PORTAL PAGES (uniform)
  Covers: page-login.php, page-my-data.php, page-my-downloads.php, page-portal.php
────────────────────────────────────────────────────────*/

/* Portal templates: hide global header/branding/sidebar ONLY on these pages */
body.page-template-page-login header.site-header .site-branding,
body.page-template-page-my-data header.site-header .site-branding,
body.page-template-page-payment-account header.site-header .site-branding,
body.page-template-page-my-downloads header.site-header .site-branding,
body.page-template-page-portal header.site-header .site-branding,
body.page-template-page-portal-php header.site-header  .site-branding,
body.logged-in .site-branding {
  display: none;
}

body.page-template-page-login .social-sidebar > a,
body.page-template-page-my-data .social-sidebar > a,
body.page-template-page-payment-account .social-sidebar > a,
body.page-template-page-my-downloads .social-sidebar > a,
body.page-template-page-portal .social-sidebar > a,
body.page-template-page-portal-php .social-sidebar > a {
  display: none;
}

body.page-template-page-login .social-sidebar > a:last-child {
  display: inline-block;
}

body.page-template-page-login .menu-toggle .hamburger span,
body.page-template-page-my-data .menu-toggle .hamburger span,
body.page-template-page-my-downloads .menu-toggle .hamburger span,
body.page-template-page-portal .menu-toggle .hamburger span,
body.page-template-page-portal-php .menu-toggle .hamburger span {
	background-color:	#fff;
}

body.page-template-page-my-data,
body.page-template-page-payment-account {
	background-color:	#3c7b93;
}

.otgs-development-site-front-end {
	display: none;
}

/*
  Portal wrapper
  - Background should be controlled per page (inline style or wp_head injection).
  - This CSS provides a fallback default only.
*/
.login-portal,
.my-data-portal,
.portal-page {
  --cp-portal-bg: #97b3a2; /* fallback */
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: transparent;
  color: #fff;
}

/* Card */
section.login-card {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
}

/* Header / Title stack */
.login-card__header {
  padding: clamp(3.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem) 0;
  text-align: center;
}

.login-title__small,
.login-title__brand,
.login-title__portal {
  display: block;
}

/* Body */
.login-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  flex: 1;
  gap: 1rem;
}

/* Logo block inside card (used in your templates) */
.login-site-logo {
  margin: 1.25rem 0 0;
  display: flex;
  justify-content: center;
}

.login-site-logo > img {
  width: min(320px, calc(100% - 4rem));
  height: auto;
  display: block;
}

/* Form labels */
.login-card label {
  font-weight: 600;
  display: inline-block;
  margin-bottom: .35rem;
  color: rgba(255,255,255,0.92);
}

/* Inputs */
.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="tel"],
.login-card input[type="number"],
.login-card input[type="password"],
.login-card input[type="file"],
.login-card textarea {
  width: 100%;
  max-width: 540px;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.login-card input::placeholder,
.login-card textarea::placeholder {
  color: rgba(255,255,255,0.8);
}

.login-card input:focus,
.login-card textarea:focus {
  border-color: rgba(151,180,162,1);
  box-shadow: 0 0 0 3px rgba(151,180,162,0.35);
  background: rgba(255,255,255,0.16);
}

/* Buttons */
.login-card #wp-submit,
.login-card button,
.login-card input[type="submit"],
.a_button a {
  display: inline-block;
  width: 100%;
  max-width: 540px;
  padding: .875rem 1.5rem;
  border-radius: 16px;
  border: 0;
  text-transform: uppercase;
  cursor: pointer;
  background: #3c7b93;
  margin-top: 2rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.page-id-156 .a_button a {
    cursor:             pointer;
    background-color:	#97b3a2;
}

.page-id-121 .login-card input[type="submit"],
.page-id-169 .login-card input[type="submit"] {
    cursor:             pointer;
    background-color:	#97b3a2;
}

body.page-template-page-my-data #wp-submit,
body.page-template-page-payment-account #wp-submit,
.page-id-123 input[type=submit],
.page-id-229 input[type=submit] {
	background-color:	var(--color-background);
}

/* Remember row */
.login-remember {
  display: flex;
  align-items: center;
  gap: .5rem;
  user-select: none;
  opacity: .95;
}

.login-remember input[type="checkbox"] {
  accent-color: #97b4a2;
}

/* Links inside portal card */
.login-card a {
  color: #fff;
  font-size: 1.125rem;
  text-underline-offset: 2px;
}

.login-card a:hover {
  opacity: .9;
}

/* “Text page” typography inside the card (your portal content) */
.login-card__body h2,
.login-card__body h3 {
  margin: 0.5rem 0 0.25rem;
  line-height: 1.2;
}

.login-card__body p {
  margin: 0;
  line-height: 1.6;
}

.login-card__body ul,
.login-card__body ol {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.login-card__body li {
  margin: 0.25rem 0;
}

/* Horizontal rules inside portal pages */
.login-card__body hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 1.25rem 0;
}

/* Responsive */
@media (min-width: 768px) {
  section.login-card { border-radius: 24px; }
  .login-card__body { padding: 2.25rem 2.5rem; }
}


/*────────────────────────────────────────────────────────────────────────────
   CONTACT FORM 7
────────────────────────────────────────────────────────────────────────────*/

::placeholder {
  color: #fff;
}

.wpcf7 .wpcf7-text {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border-style: dashed;
  border-width: 0 0 1px;
  border-color: #002e34;
}

.wpcf7 .wpcf7-submit {
  display: block;
  width: 200px;
  color: #fff;
  margin: 0 auto;
  background-color: #97b3a2;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

#how-to-contact-us .section-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#how-to-contact-us .section-content p {
  margin: 0 0 1rem;
}

#how-to-contact-us .section-content p.vertical_fill {
  margin-top: auto;
}


/*────────────────────────────────────────────────────────────────────────────
   Bump fixed header/nav/toggle for the WP admin bar
────────────────────────────────────────────────────────────────────────────*/

body.admin-bar .offcanvas-nav {
  top: 46px;
  height: calc(100% - 46px);
}

body.admin-bar .menu-toggle {
  top: calc(4.5rem + 46px);
}

body.admin-bar .menu-toggle.active {
  top: calc(2rem + 32px);
}

body.admin-bar .header-language-switcher {
  top: calc(2rem + 46px);
}


/*────────────────────────────────────────────────────────
  NORMAL PAGES (uniform content card)
  Used by: page.php
────────────────────────────────────────────────────────*/

.page-content {
  min-height: calc(100vh - 152px); /* sluit aan bij jullie header hoogte-idee */
  display: flex;
  justify-content: center;
  padding: clamp(4.25rem, 4vw, 3rem) 1.5rem;
}

.page-card {
  width: min(760px, 100%);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* Titel consistent en gecentreerd zoals portal */
.page-card .entry-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.page-card .entry-title {
  margin: 0;
}

/* Teksttypografie (consistent, rustige spacing) */
.page-card .entry-content > *:first-child {
  margin-top: 0;
}

.page-card .entry-content p {
  line-height: 1.65;
  margin: 0 0 1rem;
}

.page-card .entry-content ul,
.page-card .entry-content ol {
  margin: 0 0 1rem 1.25rem;
  line-height: 1.65;
}

.page-card .entry-content li {
  margin: 0.25rem 0;
}

.page-card .entry-content h2,
.page-card .entry-content h3 {
  margin: 1.5rem 0 0.5rem;
  line-height: 1.2;
}

/* Links netjes (zonder dat je globale linkstijl breekt) */
.page-card .entry-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}



/*────────────────────────────────────────────────────────────────────────────
   Section Background Colors
────────────────────────────────────────────────────────────────────────────*/

#direct-cremation {
	color:			#fff;
	background:		#97b3a2;
}

#direct-cremation h1 {
	color:			#fff !important;
}

#terracotta-plan {
	color:			#fff;
	background:		#f8a87e;
}

#terracotta-plan h1 {
	color:			#fff !important;
}

#granite-plan {
	color:			#fff;
	background:		#a8a9ad;
}

#granite-plan h1 {
	color:			#fff !important;
}

#marble-plan {
	color:			#3c7b93;
	background:		#e7e6de;
}

#marble-plan h1 {
	color:			#3c7b93 !important;
}

.page-id-21 section {
	color:			#3c7b93 !important;
}

.page-id-21 h1 {
	color:			#3c7b93 !important;
}

.page-id-21 .menu-toggle .hamburger span {
	/*background-color:			#3c7b93 !important;	*/
}


/*────────────────────────────────────────────────────────────────────────────
   Responsive Width Cap
────────────────────────────────────────────────────────────────────────────*/

@media (min-width: 768px) {
  body.admin-bar .offcanvas-nav {
    top: 32px;
    height: calc(100% - 32px);
  }

  body.admin-bar .menu-toggle {
    top: calc(5.75rem + 32px);
  }

  .site-branding {
    padding: 1rem;
  }

  .site-logo {
	height: 120px;
  }

  .menu-toggle {
    left: 2rem;
    top: 5.5rem;
  }

  body.page_scrolled .menu-toggle {
    top: 2rem;
  }

  .offcanvas-nav .offcanvas-menu a {
    font-size: 1.5rem;
    padding: .25rem 2rem .25rem 2.25rem;
  }

  .header-language-switcher {
    right: 2rem;
    top: 2rem;
  }

  .social-sidebar {
    right: 2rem;
    bottom: 2rem;
  }

  .offcanvas-nav {
    width: 500px;
    max-width: 500px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1); /* shadow on right */
  }

  .parallax-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
  }

  #how-to-contact-us .section-content {
    padding: 4.5rem 2rem;
  }

  #home.parallax-section .section-content,
  #inicio.parallax-section .section-content,
  #startseite.parallax-section .section-content,
  #accueil.parallax-section .section-content {
    max-width: unset;
    margin: 0;
    padding: 0;
  }

  .section-content figure {
    margin: 1.5rem -1.5rem;
  }

  .sub-menu-grid {
    margin: 1.5rem -1.5rem 0;
  }

  .footer-language-switcher {
    margin-top: 0;
  }

  .site-footer {
    padding: 2rem;
  }

  .footer-inner {

  }
}
