/*
Theme Name: hadeejer
Theme URI: https://wordpress.org/themes/hadeejer/
Author: Lutrasoft
Author URI: lutrasoft.nl
Description: A custom child theme for D'n hadeejer magazine, based on Twenty Twenty-Five.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hadeejer
Template: twentytwentyfive
*/

/* Import parent theme styles */
/* @import url('../twentytwentyfive/style.css');*/

/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Anton&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");

/* Global Font Family */
body {
    font-family: "Outfit", sans-serif;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 0.1em;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation
    .wp-block-navigation-item
    ul.wp-block-navigation__submenu-container
    .wp-block-navigation-item__content {
    outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
    text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.wp-header {
    padding-left: 15px;
    padding-right: 15px;
}

.more-link {
    display: block;
}

/* Sponsor section styles */
.sponsor-section {
    margin: 2rem 0;
    overflow: hidden;
    width: 100vw;
    position: relative;
}

.sponsor-title {
    font-family: "Lora", serif;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.sponsor-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.sponsor-track {
    display: flex;
    gap: 2rem;
    animation: scroll linear infinite;
    width: fit-content;
}

.sponsor-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor {
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.sponsor img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sponsor a:hover img {
    transform: scale(1.05);
}

/* ==== SPONSOREN BLOK ==== */

.sponsor-section {
    text-align: center;
    margin: 40px auto;
}

.medewerker-rectangle {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.medewerker-image {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.medewerker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.medewerker-foto-default {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: opacity 0.3s ease;
	opacity: 1;
}

.medewerker-foto-hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	transition: opacity 0.3s ease;
	opacity: 0;
}

.medewerker-card:hover .medewerker-foto-hover {
	opacity: 1 !important;
}

.medewerker-card:hover .medewerker-foto-default {
	opacity: 0 !important;
}

.medewerker-overlay {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	background: #e14b41;
	color: #fff;
	padding: 0.75em 1em 0.5em 1em;
	box-sizing: border-box;
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	display: flex;
	z-index: 10;
	flex-direction: column;
	align-items: flex-start;
}

.medewerker-overlay-content {
    width: 100%;
}

.medewerker-name {
    font-weight: 700;
    font-size: 1.15em;
    color: #fff;
    margin-bottom: 0.1em;
    line-height: 1.1;
}

.medewerker-role {
    font-size: 0.95em;
    font-weight: 400;
    color: #fff;
    opacity: 0.95;
    line-height: 1.1;
}

.text-only-card {
    background-color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/5;
}

.medewerker-text-content {
    text-align: left;
    padding: 1.5rem;
}

/* Header blok styling */
.special-card {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/5;
    background: #e14b41;
    color: #fff;
    position: relative;
}
.special-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
    height: 100%;
}
.special-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}
.special-card svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #111;
}

.sponsor-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
  color: #e14b41;
}

.sponsor-row {
    display: flex;
    gap: 20px;
}

.sponsor {
  background: #ffffff;
  border: 1px solid #cebaa6;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease,;
  width: 230px;
  height: 110px;
}

.sponsor:hover {
  transform: translateY(-5px);
}

.sponsor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Footer styles */
.hadeejer-footer {
    background-color: #cebaa6 !important;
}

.hadeejer-footer p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hadeejer-footer .wp-block-group {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }

    .hadeejer-footer .wp-block-spacer {
        display: none;
    }
}

/* Header styles */
/* Header Navigation */
.wp-block-group.alignfull > .wp-block-group.alignfull {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    max-width: 350px;
    width: 100%;
    height: auto;
}

.header-right-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #111111;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hadeejer-header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.header-menu a {
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #111111;
    transition: opacity 0.2s;
}

.header-menu a:hover {
    opacity: 0.7;
}

.header-menu a.current-menu-item,
.header-menu .current-menu-item > a,
.wp-block-navigation__container .current-menu-item > a,
.wp-block-navigation__container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
    color: #e14b41 !important;
    font-weight: 600 !important;
}

.header-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    border: 1px solid #111111;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.header-social a:hover {
    background-color: #111111;
    color: white;
}

.header-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 968px) {
    .header-logo img {
        max-width: 250px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

	.hadeejer-header-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 300px;
		height: 100vh;
		background-color: white;
		flex-direction: column;
		padding: 5rem 2rem 2rem;
		gap: 3rem;
		transition: right 0.3s ease;
		z-index: 1000;
	}

    .hadeejer-header-nav.active {
        right: 0;
    }

    .header-menu {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }

    .header-menu a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .header-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        max-width: 200px;
    }

    .hadeejer-header-nav {
        width: 100%;
        max-width: 280px;
    }
}

/* Meewerken Section */
.meewerken-section {
    position: relative;
}

.meewerken-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
}

.meewerken-line {
    flex-shrink: 0;
    width: 200px;
    height: 2px;
    background-color: #111111;
    margin-top: 0.5rem;
}

.meewerken-content {
    margin-left: 1rem;
    margin-top: -7px;
    flex: 1;
    max-width: 700px;
}

.meewerken-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #111111;
    margin: 0 0 1rem 0;
    display: block;
}

.meewerken-title {
    font-family: "Lora", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    color: #e14b41;
}

.meewerken-title em {
    font-style: italic;
    font-weight: 400;
}

.meewerken-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #111111;
    margin: 0 0 2rem 0;
}

.meewerken-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #e14b41;
    color: white;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.775rem;
    letter-spacing: 2.4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.meewerken-button svg {
width: 20px;
height: 20px;
fill: currentColor;
}
.meewerken-button:hover {
	background-color: #C0392B;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

@media (max-width: 782px) {
    .meewerken-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .meewerken-container {
        flex-direction: column;
        gap: 1rem;
    }

    .meewerken-line {
        width: 100px;
        margin-top: 0;
    }

    .meewerken-content {
        margin-left: 0;
    }

    .meewerken-title {
        font-size: 2rem;
    }

    .meewerken-button {
        font-size: 0;
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
    }

    .meewerken-button::before {
        content: "MEEWERKEN D'N HADEEJER";
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        white-space: nowrap;
    }

    .meewerken-button svg {
        margin-left: 0.5rem;
        flex-shrink: 0;
    }
}

/* Adverteren Section */
.adverteren-section {
    padding: 4rem 2rem;
}

.adverteren-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    align-items: stretch;
    background-color: #e14b41;
    border-radius: 35px;
    overflow: hidden;
}

.adverteren-card {
    padding: 5rem 3rem 5rem 3rem;
    flex: 1;
    position: relative;
}

.adverteren-card::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.adverteren-title {
    font-family: "Lora", sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    color: white;
}

.adverteren-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 350px;
    margin: 0 0 2rem 0;
    color: white;
}

.adverteren-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.adverteren-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.775rem;
    letter-spacing: 1.4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: auto;
}

.adverteren-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.adverteren-button.primary {
    background-color: white;
    color: black;
}

.adverteren-button.primary:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.adverteren-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.adverteren-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.adverteren-info {
    display: flex;
    gap: 0;
    flex: 1.5;
}

.info-column {
	flex: 1;
	padding: 7.8rem 3rem 3rem 3rem;
	position: relative;
	margin-block-start: 0 !important;
}

.info-column::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.info-column:last-child::after {
    display: none;
}

.info-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: black;
}

.info-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    color: white;
}

.info-column p strong {
    font-weight: 600;
    color: white;
}

@media (max-width: 968px) {
    .adverteren-container {
        flex-direction: column;
    }

    .adverteren-info {
        flex-direction: column;
    }

    .info-column {
        padding: 3rem 3rem;
    }
}

@media (max-width: 640px) {
    .adverteren-section {
        padding: 3rem 1rem;
    }

    .adverteren-card {
        padding: 3rem 2rem 0rem 2rem;
    }

    .adverteren-title {
        font-size: 2.5rem;
    }

    .adverteren-intro {
        font-size: 1rem;
        max-width: 100%;
    }

    .adverteren-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .adverteren-button {
        width: 100%;
        justify-content: center;
        font-size: 0.55rem !important;
        padding: 0.875rem 0.25rem;
    }

    .info-column {
        padding: 2rem 2rem 0rem 2rem;
    }

    .info-column:nth-child(2) {
        padding: 2rem 2rem;
    }

    .info-title {
        font-size: 0.95rem;
    }

    .info-column p {
        font-size: 0.875rem;
    }
}
/* Edities Section */
.edities-section {
    background-color: #f5f5f5;
    padding: 4rem 2rem;
}

.edities-header {
    max-width: 1400px;
    margin: 0 auto 2rem auto;
}

.edities-title {
    font-family: "Anton", sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #6b7a4f;
    margin: 0;
    text-align: left;
}

.edities-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.edities-row {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: -2rem;
    margin-right: -2rem;
}

.edities-row::-webkit-scrollbar {
    display: none;
}

.edities-scroll-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0 2.5rem;
}

.scroll-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #98978a;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    color: #98978A;
}

.scroll-btn:hover {
    background: #98978a;
    color: white;
}

.editie-card {
    flex: 0 0 auto;
    width: 280px;
    position: relative;
}

.editie-card:first-child {
    width: 350px;
}

.editie-link {
    text-decoration: none;
    display: block;
}

.editie-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: visible;
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
}

.editie-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.editie-link:hover .editie-image {
    transform: scale(1.05);
}

.editie-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #e14b41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.editie-link:hover .editie-badge {
    transform: scale(1.1);
    background-color: #c0392b;
}

.editie-name {
    font-size: 0.95rem;
    color: #111111;
    margin: 0;
    margin-left: 1rem;
    font-weight: 500;
}

.edities-footer {
    max-width: 1400px;
    margin: 3rem auto 0 auto;
    text-align: center;
}

.edities-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #6b7a4f;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 2.4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.edities-button:hover {
    background-color: #5a6642;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 122, 79, 0.3);
}

/* Leukomtelezen Section */
.leukomtelezen-section {
    background-color: white;
    margin-top: 10rem;
}

.leukomtelezen-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.leukomtelezen-title {
    font-family: "Lora", serif;
    font-size: clamp(4rem, 4vw, 3rem);
    font-weight: 400;
    color: #e14b41;
    position: absolute;
    top: -160px;
    left: 28%;
    z-index: 5;
    line-height: 0.8;
    transition: all 0.5s ease;
}

.title-part-1 {
    display: block;
}

.title-part-2 {
    display: block;
    margin-left: 4rem;
}

.title-part-3 {
    display: block;
    margin-left: 2rem;
}

/* Title position for Layout 1 */
.leukomtelezen-grid[data-layout="1"].active ~ .leukomtelezen-title,
.leukomtelezen-grid[data-layout="1"].active ~ * .leukomtelezen-title {
    top: -100px;
    left: 400px;
}

/* Title position for Layout 2 */
.leukomtelezen-grid[data-layout="2"].active ~ .leukomtelezen-title,
.leukomtelezen-grid[data-layout="2"].active ~ * .leukomtelezen-title {
    top: -100px;
    right: 50px;
    left: auto;
}

.leukomtelezen-nav {
    display: flex;
    gap: 1rem;
    position: absolute;
    bottom: -30px;
    right: 0;
    z-index: 10;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid #e14b41;
    background-color: transparent;
    color: #e14b41;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background-color: #e14b41;
    color: white;
}

.leukomtelezen-layouts {
    position: relative;
    min-height: 700px;
}

.leukomtelezen-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.leukomtelezen-grid.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Layout 1: Vertical first */
.leukomtelezen-grid[data-layout="1"] .grid-item.vertical {
    grid-column: 1 / 3;
    grid-row: 1 / 5;
    position: relative;
    top: -60px;
    left: 20px;
    z-index: 1;
}

.leukomtelezen-grid[data-layout="1"] .grid-item.square:nth-of-type(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    position: relative;
    top: 30px;
    left: -30px;
    z-index: 2;
}

.leukomtelezen-grid[data-layout="1"] .grid-item.horizontal {
    grid-column: 5 / 9;
    grid-row: 1 / 3;
    position: relative;
    top: 10px;
    left: -30px;
    z-index: 1;
}

.leukomtelezen-grid[data-layout="1"] .grid-item.square:nth-of-type(3) {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
    position: relative;
    top: 30px;
    left: 25px;
    z-index: 1;
}

.leukomtelezen-grid[data-layout="1"] .grid-item.square:nth-of-type(4) {
    grid-column: 5 / 7;
    grid-row: 3 / 5;
    position: relative;
    top: -25px;
    left: 25px;
    z-index: 2;
}

.leukomtelezen-grid[data-layout="1"] .grid-item.square:nth-of-type(5) {
    grid-column: 7 / 9;
    grid-row: 3 / 5;
    position: relative;
    top: 10px;
    left: 25px;
    z-index: 2;
}

.grid-item.vertical {
    border-top-right-radius: 0;
}

.grid-item.square,
.grid-item.horizontal {
    border-top-left-radius: 0;
}

/* Layout 2: Horizontal first */
.leukomtelezen-grid[data-layout="2"] .grid-item.horizontal {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    position: relative;
    top: 10px;
    right: -30px;
    z-index: 1;
}

.leukomtelezen-grid[data-layout="2"] .grid-item.square:nth-of-type(2) {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
    position: relative;
    top: 30px;
    right: -30px;
    z-index: 2;
}

.leukomtelezen-grid[data-layout="2"] .grid-item.vertical {
    grid-column: 7 / 9;
    grid-row: 1 / 5;
    position: relative;
    top: -60px;
    right: 20px;
    z-index: 1;
}

.leukomtelezen-grid[data-layout="2"] .grid-item.square:nth-of-type(3) {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
    position: relative;
    top: 10px;
    right: 25px;
    z-index: 2;
}

.leukomtelezen-grid[data-layout="2"] .grid-item.square:nth-of-type(4) {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
    position: relative;
    top: -25px;
    right: 25px;
    z-index: 2;
}

.leukomtelezen-grid[data-layout="2"] .grid-item.square:nth-of-type(5) {
    grid-column: 5 / 7;
    grid-row: 3 / 5;
    position: relative;
    top: 30px;
    right: 25px;
    z-index: 1;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.grid-item.vertical {
    height: 700px;
    border-top-right-radius: 0;
}

.grid-item.square {
    height: 350px;
    border-top-left-radius: 0;
}

.grid-item.horizontal {
    height: 350px;
    border-top-left-radius: 0;
}

.grid-link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.grid-link:hover img {
    transform: scale(1.05);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 2rem;
    color: white;
}

.grid-overlay p {
    margin-bottom: 0;
}

.grid-text {
font-family: 'Lora', serif;
font-size: clamp(2.2rem, 2vw, 2.8rem);
line-height: 1.3;
margin: 0 0 0.5rem 0;
font-weight: 400;
}

.grid-text em {
    font-style: italic;
    font-weight: 400;
}

.grid-link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: white;
}

.grid-link-text svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobile responsive */
@media (max-width: 968px) {
    .leukomtelezen-container {
        padding: 0 1rem;
    }

    .leukomtelezen-title {
        position: static;
        text-align: left;
        margin-bottom: 2rem;
        font-size: clamp(2.5rem, 8vw, 4rem);
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .title-part-1,
    .title-part-2,
    .title-part-3 {
        margin-left: 0;
    }

    .leukomtelezen-layouts {
        min-height: auto;
    }

    .leukomtelezen-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        position: relative;
    }

    .grid-item.vertical,
    .grid-item.square,
    .grid-item.horizontal {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 15px !important;
        border-top-left-radius: 15px !important;
        border-top-right-radius: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 0 !important;
        padding-bottom: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .grid-link {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

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

    .grid-overlay {
        padding: 1.5rem;
    }

    .grid-text {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .leukomtelezen-nav {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
        justify-content: center;
    }

    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .leukomtelezen-section {
        margin-top: 5rem;
    }

    .leukomtelezen-title {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 1.5rem;
    }

    .leukomtelezen-grid[data-layout="1"] .grid-item.vertical,
    .leukomtelezen-grid[data-layout="1"] .grid-item.square,
    .leukomtelezen-grid[data-layout="1"] .grid-item.horizontal,
    .leukomtelezen-grid[data-layout="2"] .grid-item.vertical,
    .leukomtelezen-grid[data-layout="2"] .grid-item.square,
    .leukomtelezen-grid[data-layout="2"] .grid-item.horizontal {
        height: 200px !important;
    }

    .grid-overlay {
        padding: 1rem;
    }

    .grid-text {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .grid-link-text {
        font-size: 0.75rem;
    }

    .grid-link-text svg {
        width: 14px;
        height: 14px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Verspreiding Section */
.verspreiding-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 10rem;
}

.verspreiding-section::before {
    content: "";
    position: absolute;
    left: 25%;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #fff396;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    z-index: 0;
}

.verspreiding-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.verspreiding-image {
flex: 0 0 auto;
width: 600px;
height: 600px;
border-radius: 27px;
overflow: hidden;
}

.verspreiding-image img {
    width: 100%;
    height: auto;
    display: block;
}

.verspreiding-content {
    padding-top: 2rem;
}

.verspreiding-title {
    font-family: "Anton", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #e14b41;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: 1.4px;
}

.verspreiding-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 2.5rem 0;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 2px solid #e14b41;
}

.accordion-header {
    font-family: "Lora", serif;
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e14b41;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    opacity: 0.8;
}

.accordion-icon {
    font-size: 2rem;
    font-weight: 400;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #e14b41;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    background-color: #e14b41;
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.accordion-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}

@media (max-width: 968px) {
    .verspreiding-section::before {
        left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .verspreiding-container {
        flex-direction: column;
        gap: 2rem;
    }

    .verspreiding-image {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .verspreiding-content {
        padding-top: 0;
    }

    .accordion-header {
        font-size: 1.2rem;
        padding: 1.25rem 0;
    }
}

/* Stories Carousel Section */
.stories-section {
    background-color: white;
}

.stories-container {
    margin: 0 auto;
    position: relative;
}

.stories-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.stories-carousel::-webkit-scrollbar {
    display: none;
}

.story-card {
    flex: 0 0 auto;
    width: 440px;
    height: 700px;
    position: relative;
    border-radius: 25px;
    border-top-left-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 2rem 1.5rem;
    color: white;
}

.story-overlay p {
    margin-bottom: 0;
}

.story-title {
    font-family: "Lora", serif;
    font-size: 2.5rem;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    font-weight: 400;
    color: white;
}

.story-title em {
    font-style: italic;
    font-weight: 400;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.story-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.story-link:hover {
    transform: translateX(5px);
}

.stories-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.stories-arrow {
    width: 75px;
    height: 45px;
    border: 1px solid #e14b41;
    background-color: transparent;
    color: #e14b41;
    border-radius: 29px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stories-arrow:hover {
    background-color: #e14b41;
    color: white;
}

@media (max-width: 968px) {
    .story-card {
        width: 280px;
        height: 400px;
    }

    .story-card img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .story-title {
        font-size: 1.2rem;
    }

    /* Responsive styles for foto's page stories section */
    .fotos-stories-flex {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .fotos-stories-title,
    .fotos-stories-content {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .fotos-stories-title {
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }

    .leukomtelezen-title {
        position: relative !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 500px) {
    .story-card {
        width: 82vw;
        height: 76vh;
    }
}

@media (max-width: 768px) {
    .fotos-stories-title {
        margin-bottom: 1rem;
    }
}

/* Edities Titlecard Section */
.edities-titlecard-section {
    background-color: #e0d8d0;
}

.titlecard-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.titlecard-container::before {
    content: "";
    position: absolute;
    top: 21%;
    left: 450px;
    width: calc(20rem - 40px);
    height: 2px;
    background-color: #6b7a4f;
    transform: translateY(-50%);
}

.titlecard-image {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.titlecard-image img {
width: 100%;
height: auto;
border-radius: 20px;
display: block;
}

.titlecard-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #e14b41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.titlecard-content {
    padding: 2rem 0;
    margin-left: 15rem;
    max-width: 550px;
}

.titlecard-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #6b7a4f;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.titlecard-title {
    font-family: "Anton", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #6b7a4f;
    margin: 0 0 2rem 0;
    line-height: 1.1;
}

.titlecard-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin: 0;
}

.titlecard-image a {
    display: block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.titlecard-image a:hover {
    transform: scale(1.02);
}

.titlecard-image a:hover .titlecard-badge {
    transform: scale(1.1);
}

@media (max-width: 968px) {
    .edities-titlecard-section {
        padding: 3rem 1.5rem;
    }

    .titlecard-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .titlecard-container::before {
        display: none;
    }

    .titlecard-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .titlecard-content {
        text-align: center;
        margin-left: 0;
        padding: 1rem 0;
        max-width: 100%;
    }

    .titlecard-label {
        font-size: 0.8rem;
    }

    .titlecard-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .titlecard-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 640px) {
    .edities-titlecard-section {
        padding: 2rem 1rem;
    }

    .titlecard-container {
        gap: 1.5rem;
    }

    .titlecard-image {
        max-width: 320px;
    }

    .titlecard-badge {
        width: 35px;
        height: 35px;
        font-size: 1.75rem;
        bottom: -12px;
        right: -12px;
    }

    .titlecard-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .titlecard-description {
        font-size: 0.9rem;
    }
}

/* Edities Gemist Section */
.edities-gemist-section {
    background-color: white;
}

.gemist-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.gemist-title {
    font-family: "Lora", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #e14b41;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.gemist-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 2rem 0;
}

.gemist-year-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.custom-dropdown {
    position: relative;
    min-width: 180px;
}

.dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.5rem 0.8rem 2rem;
    border: 2px solid #e14b41;
    background-color: transparent;
    color: #e14b41;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.dropdown-button:hover {
    background-color: #e14b41;
    color: white;
}

.custom-dropdown.open .dropdown-button {
    background-color: #e14b41;
    color: white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    padding-bottom: calc(0.8rem + 2px);
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: white;
	border: 2px solid #e14b41;
	border-top: none;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 100;
	margin-top: -22px;
}

.custom-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 0.75rem 2rem;
    color: #e14b41;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(225, 75, 65, 0.1);
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #fef5f4;
}

.dropdown-option.selected {
    background-color: #e14b41;
    color: white;
}

.dropdown-selected {
    flex-grow: 1;
    white-space: nowrap;
}

.gemist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gemist-item {
    position: relative;
}

.gemist-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.gemist-link:hover {
    transform: translateY(-5px);
}

.gemist-image-wrapper {
position: relative;
aspect-ratio: 3/4;
border-radius: 15px;
overflow: visible;
margin-bottom: 1rem;
}

.gemist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.gemist-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #e14b41;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.gemist-link:hover .gemist-badge {
    transform: scale(1.1);
}

.gemist-name {
    font-size: 0.95rem;
    color: #111111;
    margin: 0;
    font-weight: 500;
    text-align: left;
    margin-left: 1rem;
}

.gemist-archive-button {
	margin-top: 3rem;
	text-align: center;
}

.archive-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background-color: #e14b41;
	color: white;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 2.4px;
	transition: all 0.3s ease;
}

.archive-button:hover {
	background-color: #c63d34;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(225, 75, 65, 0.3);
}

.archive-button svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 1200px) {
    .gemist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gemist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .foto-item:nth-child(18n + 1),
    .foto-item:nth-child(18n + 10) {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 1;
    }
}

/* Advert Titlecard Section */
.advert-titlecard-section {
    background-color: #e14b41;
    padding: 4rem 0;
    overflow: visible;
}

.advert-titlecard-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 500px;
    position: relative;
}


.advert-titlecard-content {
    padding: 0 3rem 0 4rem;
    color: white;
    z-index: 1;
    margin-top: 4rem;
}

.advert-titlecard-title {
    font-family: "Lora", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    color: white;
    line-height: 1.1;
}

.advert-titlecard-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 2.5rem 0;
    color: white;
    max-width: 450px;
}

.advert-titlecard-image {
    height: auto;
    position: relative;
    overflow: visible;
    padding: 0 2rem;
    margin-bottom: -10rem;
}

.advert-titlecard-image img {
	width: 100%;
	height: auto;
	min-height: 600px;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 0 25px 25px 25px;
}

@media (max-width: 968px) {
    .advert-titlecard-section {
        padding: 3rem 0;
        overflow: visible;
    }

    .advert-titlecard-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .advert-titlecard-content {
        padding: 2rem;
        order: 1;
        margin-top: 0;
    }

    .advert-titlecard-title {
        font-size: 2.5rem;
    }

    .advert-titlecard-text {
        max-width: 100%;
    }

    .advert-titlecard-image {
        order: 2;
        padding: 0 1.5rem;
        margin-bottom: -6rem;
    }

    .advert-titlecard-image img {
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    .advert-titlecard-section {
        padding: 2rem 0;
    }

    .advert-titlecard-content {
        padding: 2rem 1.5rem;
    }

    .advert-titlecard-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .advert-titlecard-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .advert-titlecard-image {
        padding: 0 1rem;
        margin-bottom: -5rem;
    }

    .advert-titlecard-image img {
        min-height: 300px;
        border-radius: 15px;
    }
}

/* Advert Tarieven Section */
.advert-tarieven-section {
    background-color: white;
    padding: 8rem 2rem;
}

.advert-tarieven-section p {
    margin: 0;
}

.advert-tarieven-container {
    max-width: 1470px;
    margin: 0 auto;
}

.advert-tarieven-title {
    font-family: "Anton", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #e14b41;
    margin: 0 0 3rem 0;
    text-align: left;
}

.tarieven-table {
    width: 100%;
}

.tarieven-header {
    display: grid;
    grid-template-columns: 100px 150px 150px 1fr;
    gap: 0.2rem 2rem;
}

.tarieven-header .tarieven-col {
    font-weight: 700;
    font-size: 1rem;
    color: #111111;
}

.tarieven-row {
    display: grid;
    grid-template-columns: 100px 150px 150px 1fr;
    gap: 0 2rem;
    padding: 0.6rem 0;
    border-top: 1px solid #e14b41;
    align-items: center;
}

.tarieven-row:last-child {
    border-bottom: none;
}

.tarieven-col {
    font-size: 1rem;
    color: #333333;
}

.tarieven-col strong {
    font-weight: 600;
    color: #111111;
}

.tarieven-col-actions {
    display: flex;
    gap: 0.5rem;
}

.tarieven-col-actions .adverteren-button {
    font-size: 0.75rem;
    padding: 0.65rem 1.25rem;
    white-space: nowrap;
}

.tarieven-col-actions .adverteren-button svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1200px) {
    .tarieven-header,
    .tarieven-row {
        grid-template-columns: 80px 130px 130px 1fr;
        gap: 1.5rem;
    }

    .tarieven-col-actions .adverteren-button {
        font-size: 0.7rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 968px) {
    .advert-tarieven-section {
        padding: 4rem 2rem;
    }

    .tarieven-header {
        display: none;
    }

    .tarieven-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
        border-top: 1px solid #e14b41;
    }

    .tarieven-row:first-child {
        border-top: none;
    }

    .tarieven-col {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .tarieven-col::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.85rem;
        color: #e14b41;
    }

    .tarieven-col-actions {
        flex-direction: column;
        gap: 0.1rem;
        margin-top: 0.5rem;
    }

    .tarieven-col-actions .tarieven-button {
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .advert-tarieven-section {
        padding: 3rem 1.5rem;
    }

    .advert-tarieven-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .tarieven-row {
        padding: 1.5rem 0;
        gap: 0.75rem;
    }

    .tarieven-col {
        font-size: 0.95rem;
    }

    .tarieven-col-actions .tarieven-button {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }
}

/* Tarieven Button Styles */
.tarieven-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tarieven-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.tarieven-button.primary {
    background-color: #e14b41;
    color: white;
    border: 2px solid #e14b41;
}

.tarieven-button.primary:hover {
    background-color: #c93d33;
    border-color: #c93d33;
    transform: translateY(-1px);
}

.tarieven-button.secondary {
    background-color: transparent;
    color: #e14b41;
    border: 1px solid #e14b41;
}

.tarieven-button.secondary:hover {
    background-color: #fef5f4;
    transform: translateY(-1px);
}

.tarieven-col-actions .tarieven-button {
    font-size: 0.7rem;
}

/* Aanleverspecificaties Section */
.aanleverspecificaties-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.aanleverspecificaties-section p {
    margin: 0;
}

.aanleverspecificaties-section::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 10%;
    background-color: #fff396;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    z-index: 0;
    height: 500px;
}

.aanleverspecificaties-container {
    max-width: 70vw;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.aanlever-content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.aanlever-left {
    padding: 2rem 3rem 2rem 0;
}

.aanlever-right {
    padding: 2rem 0 2rem 6rem;
    display: flex;
    flex-direction: column;
}

.aanlever-right-header {
    margin-bottom: 2rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.aanlever-divider-vertical {
    width: 2px;
    background-color: #e14b41;
    height: 145px;
    flex-shrink: 0;
}

.aanlever-right-content {
    flex: 1;
}

.aanlever-right-title {
    font-family: "Lora", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin: 0 0 2rem 0;
    color: #e14b41;
    line-height: 1.2;
}

.aanlever-right-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: #111111;
    max-width: 300px;
}

.aanlever-title {
    font-family: "Lora", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #e14b41;
    margin: 0 0 2.5rem 0;
    line-height: 1.1;
}

.aanlever-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-item {
    font-size: 1rem;
    line-height: 1.6;
    color: #111111;
}

.spec-item strong {
    font-weight: 700;
    color: #111111;
}

.aanlever-card {
    background-color: #e14b41;
    border-radius: 25px;
    padding: 2.5rem 0rem 2.5rem 3rem;
    color: white;
    max-width: 300px;
    width: 100%;
}

.aanlever-card-subtitle {
    font-family: "Lora", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    color: #fff39e;
}

.aanlever-mail {
    margin-bottom: 1.5rem;
}

.aanlever-info:last-child {
    margin-bottom: 0;
}

.aanlever-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: white;
    margin: 0;
}

.aanlever-info strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

@media (max-width: 1280px) {
    .aanleverspecificaties-section::before {
        left: 0;
        right: 0;
        border-radius: 0;
        height: auto;
    }

    .aanlever-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .aanlever-divider-vertical {
        display: none;
    }

    .aanlever-left {
        padding: 0;
    }

    .aanlever-right {
        padding: 0;
    }

    .aanlever-right-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .aanlever-right-title {
        font-size: 2.5rem;
    }

    .aanlever-right-text {
        max-width: 100%;
    }

    .aanlever-card {
        max-width: 100%;
        margin-left: 0;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 640px) {
    .aanleverspecificaties-section {
        padding-left: 0 !important;
    }

    .aanleverspecificaties-container {
        padding: 0 1.5rem;
    }

    .aanlever-title,
    .aanlever-right-title,
    .aanlever-card-subtitle {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .aanlever-card {
        padding: 2rem 1.5rem;
    }

    .aanlever-right-text {
        font-size: 1rem;
    }
}

.aanlever-card {
    padding: 2rem 1.5rem;
}

.aanlever-card-title {
    font-size: 1.75rem;
}

/* Zij gingen je voor Section */
.zijgingenjevoor-section {
    background: transparent;
    padding: 4rem 0;
}

.zijgingenjevoor-section p {
    margin: 0;
}

.zijgingenjevoor-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.zijgingenjevoor-title {
    font-family: "Lora", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: #e14b41;
    text-align: center;
    margin: 0 0 3rem 0;
    line-height: 1.1;
}

.zijgingenjevoor-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
}

.zijgingenjevoor-card {
background: #ffffff;
border: 1px solid #cebaa6;
border-radius: 20px;
padding: 12px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 110px;
transition: transform 0.2s ease;
}

.zijgingenjevoor-card:hover {
transform: translateY(-5px);
}

.zijgingenjevoor-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.zijgingenjevoor-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .zijgingenjevoor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .zijgingenjevoor-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .zijgingenjevoor-section {
        padding-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .zijgingenjevoor-container {
        padding: 0 1.5rem;
    }

    .zijgingenjevoor-title {
        margin-bottom: 2rem;
        font-size: 1.75rem;
    }

    .zijgingenjevoor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Over Ons Titlecard Section */
.over-ons-titlecard-section {
    background-color: #e0d8d0;
    padding: 0;
}

.over-ons-titlecard-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem 0 2rem;
}

.over-ons-titlecard-content {
    padding: 2rem 0;
}

.over-ons-label {
    font-size: 0.975rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333333;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.over-ons-title {
    font-family: "Lora", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: #e14b41;
    margin: 2rem 0 2rem 0;
    line-height: 1.1;
}

.over-ons-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 5.5rem 0;
    max-width: 550px;
}

.over-ons-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #e14b41;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.over-ons-button:hover {
    background-color: #c93d33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 75, 65, 0.3);
}

.over-ons-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.over-ons-titlecard-image {
    position: relative;
    align-self: end;
}

.over-ons-titlecard-image img {
width: 100%;
height: 700px;
object-fit: cover;
border-radius: 25px;
border-top-left-radius: 0;
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
margin-bottom: -9rem;
display: block;
}

@media (max-width: 968px) {
    .over-ons-titlecard-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }

    .over-ons-titlecard-image img {
        max-height: 450px;
    }

    .over-ons-titlecard-content {
        text-align: center;
        padding: 0;
    }

    .over-ons-description {
        max-width: 100%;
    }

    .over-ons-button {
        margin: 0 auto;
    }

    .over-ons-titlecard-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .over-ons-titlecard-container {
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .over-ons-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .over-ons-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .over-ons-button {
        font-size: 0.8rem;
        padding: 0.875rem 1.75rem;
    }

    .over-ons-titlecard-image {
        max-width: 100%;
    }
}

/* Medewerkers Section */
.medewerkers-section {
    background-color: white;
    margin-top: 6rem;
}

.medewerkers-section p {
    margin: 0;
}

.medewerkers-container {
    max-width: 1400px;
    margin: 0 auto;
}

.medewerkers-title {
    font-family: "Anton", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #e14b41;
    text-align: center;
    margin: 0 0 2rem 0;
    line-height: 1.1;
}

.medewerkers-dropdown-filter {
    max-width: 400px;
    margin: 0 auto 3rem;
    position: relative;
}

.medewerkers-dropdown-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: white;
    color: #e14b41;
    border: 2px solid #e14b41;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.medewerkers-dropdown-btn:hover {
    background-color: #fef5f4;
}

.medewerkers-dropdown-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.medewerkers-dropdown-filter.open .medewerkers-dropdown-arrow {
    transform: rotate(180deg);
}

.medewerkers-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e14b41;
    border-radius: 20px;
    overflow: hidden;
    display: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.medewerkers-dropdown-filter.open .medewerkers-dropdown-menu {
    display: block;
}

.medewerkers-dropdown-option {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #333;
    font-weight: 500;
}

.medewerkers-dropdown-option:hover {
    background-color: #fef5f4;
}

.medewerkers-dropdown-option.active {
    background-color: #e14b41;
    color: white;
}

.medewerkers-filters {
    display: none;
}

.medewerkers-filter-dropdown {
    display: none;
}

.medewerkers-filter-dropdown .custom-dropdown {
    max-width: 400px;
    margin: 0 auto;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #e14b41;
    border: 2px solid #e14b41;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background-color: #e14b41;
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #e14b41;
    color: white;
}

.medewerkers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.medewerkers-grid .medewerker-rectangle {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: #fff;
}

.medewerkers-grid .medewerker-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.medewerkers-grid .medewerker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.medewerkers-grid .medewerker-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: #e14b41;
    color: #fff;
    padding: 0.75em 1em;
    box-sizing: border-box;
    border-radius: 8px;
    width: calc(100% - 32px);
}

.medewerkers-grid .medewerker-name {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: 1.15em;
    color: #fff;
    margin: 0 0 0.25em 0;
    line-height: 1.2;
}

.medewerkers-grid .medewerker-role {
    font-family: "Jost" sans-serif;
    font-size: 0.8em;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.medewerkers-grid .text-only-card {
    background-color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
}

.medewerkers-grid .medewerker-text-content {
    text-align: left;
    padding: 1.5rem;
}

.medewerkers-grid .special-card {
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 2rem;
    box-sizing: border-box;
}

.medewerkers-grid .special-card.redactie-card {
    background-color: #e14b41;
}

.medewerkers-grid .special-card.journalisten-card {
    background-color: #fff396;
}

.medewerkers-grid .special-card:hover {
transform: scale(1.05);
}

.medewerkers-grid .special-card-content {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.medewerkers-grid .special-card-title {
    font-family: "Anton", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
}

.medewerkers-grid .special-card-title svg {
    display: inline-block;
    flex-shrink: 0;
}

.medewerkers-grid .redactie-card .special-card-title {
    color: white;
}

.medewerkers-grid .journalisten-card .special-card-title {
    color: #e14b41;
}

.medewerkers-grid .redactie-card svg {
    color: white;
}

.medewerkers-grid .journalisten-card svg {
    color: #e14b41;
}

@media (max-width: 768px) {
    .medewerkers-section {
        padding: 3rem 1.5rem;
    }

    .medewerkers-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .medewerkers-dropdown-filter {
        max-width: 100%;
        padding: 0 1rem;
    }

    .medewerkers-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .medewerker-name {
        font-size: 1.1rem;
    }

    .medewerker-role {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .medewerkers-section {
        padding: 2rem 1rem;
    }

    .medewerkers-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .medewerkers-dropdown-btn {
        font-size: 0.85rem;
        padding: 0.875rem 1.25rem;
    }

    .medewerkers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Contact Page Styles */
.contact-page-wrapper {
    padding: 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-hero-image {
    width: 100%;
    height: 600px;
    background-image: url("/wp-content/themes/hadeejer/assets/images/contact-hero.png");
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    margin: 0;
}

@media (max-width: 1024px) {
    .contact-hero-image {
        background-position: bottom;
    }
}

.contact-container {
    max-width: 1400px;
    margin: -250px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
    padding: 0 3rem;
}

.contact-form-section {
    background: #fff39e;
    padding: 4rem 4rem 5rem 4rem;
    border-radius: 0 45px 45px 45px;
    position: relative;
}

.contact-title {
    font-family: "Anton", sans-serif;
    font-size: 4rem;
    color: #e14b41;
    margin: 0 0 1rem 0;
    line-height: 0.95;
    font-weight: 400;
}

.contact-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 2.5rem 0;
    max-width: 520px;
}

.contact-info-section {
    background: #e14b41;
    padding: 3rem 2.5rem;
    border-radius: 32px;
    color: #ffffff;
    position: absolute;
    right: 15rem;
    top: 6rem;
    width: 280px;
    z-index: 10;
}

.contact-info-title {
    font-family: "Lora", serif;
    color: #fff39e;
    font-size: 2.75rem;
    margin: 0 0 2rem 0;
    line-height: 1.15;
    font-weight: 400;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-label {
    color: black;
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.3px;
}

.contact-info-value {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.contact-info-value:hover {
    opacity: 0.9;
}

.contact-address,
.contact-phone {
    font-size: 0.95rem;
    opacity: 0.95;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

.contact-social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.3s;
}

.contact-social-icon:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.5);
}

.contact-form-section .forminator-custom-form {
    margin-top: 2rem;
    max-width: 560px;
}

.contact-form-section .forminator-label,
.contact-form-section label {
    display: none !important;
}

.contact-form-section .forminator-field,
.contact-form-section .forminator-row {
    margin-bottom: 1.25rem;
    margin-left: 0 !important;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section input[type="url"],
.contact-form-section textarea,
.contact-form-section .forminator-input,
.contact-form-section .forminator-textarea {
    background: transparent !important;
    border: 1px solid #e14b41 !important;
    border-radius: 30px !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    max-width: 560px !important;
    transition: border-color 0.3s !important;
    font-family: inherit !important;
    box-shadow: none !important;
}

.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder,
.contact-form-section .forminator-input::placeholder,
.contact-form-section .forminator-textarea::placeholder {
    color: black !important;
    opacity: 0.7 !important;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus,
.contact-form-section .forminator-input:focus,
.contact-form-section .forminator-textarea:focus {
    border-color: #e14b41 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(225, 75, 65, 0.1) !important;
}

.contact-form-section textarea,
.contact-form-section .forminator-textarea {
    border-radius: 24px !important;
    min-height: 140px !important;
    resize: vertical !important;
    padding: 1.25rem 1.5rem !important;
}

.contact-form-section button[type="submit"],
.contact-form-section .forminator-button,
.contact-form-section .forminator-button-submit {
    background: #e14b41 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 1rem 3rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    letter-spacing: 1px !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 12px rgba(225, 75, 65, 0.3) !important;
    display: inline-block !important;
}

.contact-form-section button[type="submit"]:hover,
.contact-form-section .forminator-button:hover,
.contact-form-section .forminator-button-submit:hover {
    background: #c93d34 !important;
    box-shadow: 0 6px 16px rgba(225, 75, 65, 0.4) !important;
    transform: translateY(-2px) !important;
}

.contact-form-section button[type="submit"]::after,
.contact-form-section .forminator-button::after,
.contact-form-section .forminator-button-submit::after {
    content: " →" !important;
    margin-left: 0.5rem !important;
    font-size: 1.2rem !important;
}

/* Error and validation messages */
.contact-form-section .forminator-error,
.contact-form-section .forminator-error-message,
.contact-form-section span.forminator-error-message {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #e74c3c !important;
    padding: 0.5rem 0 0 1.5rem !important;
    font-size: 0.85rem !important;
    margin-top: 0.35rem !important;
    display: block !important;
    font-weight: 500 !important;
    font-style: italic !important;
}

/* Hide top notification bar */
.contact-form-section .forminator-response-message:not(.forminator-success),
.contact-form-section .forminator-message-box:not(.forminator-success) {
    display: none !important;
}

/* Error state for input fields */
.contact-form-section input.forminator-has-error,
.contact-form-section textarea.forminator-has-error,
.contact-form-section .forminator-input.forminator-has-error,
.contact-form-section .forminator-textarea.forminator-has-error {
    border-color: #e74c3c !important;
}

/* Success messages */
.contact-form-section .forminator-success,
.contact-form-section .forminator-success-message {
    background: rgba(46, 204, 113, 0.1) !important;
    border: 1px solid #2ecc71 !important;
    border-radius: 20px !important;
    color: #1e7e45 !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
    margin-top: 1rem !important;
    font-weight: 500 !important;
}

.contact-form-section .forminator-col {
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0.5rem;
    }

    .contact-form-section {
        padding: 3rem 2rem;
    }

    .contact-info-section {
        position: relative;
        right: auto;
        top: auto;
        margin: 2rem;
        width: auto;
    }

    .contact-title {
        font-size: 3rem;
    }

    .contact-info-title {
        font-size: 2.5rem;
    }
}

/* Event Page Styles */
.event-page-wrapper {
    padding: 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.event-hero-image {
    width: 100%;
    height: 600px;
    background-image: url("/wp-content/themes/hadeejer/assets/images/contact-hero.png");
    background-size: cover;
    background-position: bottom;
    position: relative;
    z-index: 1;
    margin: 0;
}

.event-container {
    max-width: 900px;
    margin: -150px auto 4rem auto;
    position: relative;
    z-index: 2;
    padding: 0 3rem;
}

.event-form-section {
    background: #fff39e;
    padding: 4rem 4rem 5rem 4rem;
    border-radius: 0 45px 45px 45px;
    position: relative;
}

.event-title {
    font-family: "Anton", sans-serif;
    font-size: 4rem;
    color: #e14b41;
    margin: 0 0 1rem 0;
    line-height: 0.95;
    font-weight: 400;
}

.event-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 2.5rem 0;
}

.event-form-section .forminator-custom-form {
    margin-top: 2rem;
}

.event-form-section .forminator-label,
.event-form-section label {
    display: block !important;
    font-size: 0.9rem !important;
    color: #666666 !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
}

.event-form-section .forminator-input,
.event-form-section .forminator-textarea,
.event-form-section input[type="text"],
.event-form-section input[type="email"],
.event-form-section input[type="tel"],
.event-form-section input[type="date"],
.event-form-section textarea,
.event-form-section select {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    background: transparent !important;
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    font-family: "Inter", sans-serif !important;
    border: 2px solid #999999 !important;
    border-radius: 8px !important;
}

.event-form-section .forminator-field:focus,
.event-form-section input:focus,
.event-form-section textarea:focus,
.event-form-section select:focus {
    border-color: #e14b41 !important;
    outline: none !important;
    background: transparent !important;
}

.event-form-section .forminator-field.forminator-has-error,
.event-form-section input.forminator-has-error,
.event-form-section textarea.forminator-has-error {
    border-color: #e74c3c !important;
    background: transparent !important;
}

.event-form-section textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.event-form-section .forminator-date--field input {
    cursor: pointer !important;
}

.event-form-section .forminator-button {
    background: #e14b41 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1.2rem 3rem !important;
    border-radius: 30px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    margin-top: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(225, 75, 65, 0.3) !important;
}

.event-form-section .forminator-button:hover {
    background: #c93d33 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(225, 75, 65, 0.4) !important;
}

.event-form-section .forminator-error-message {
    color: #e74c3c !important;
    font-size: 0.875rem !important;
    margin-top: -1.2rem !important;
    margin-bottom: 1rem !important;
    padding: 0.5rem 1rem !important;
    background: #fff5f5 !important;
    border-left: 3px solid #e74c3c !important;
    border-radius: 4px !important;
}

.event-form-section .forminator-response-message {
    background: #f0f9f4 !important;
    border: none !important;
    border-left: 4px solid #1e7e45 !important;
    border-radius: 8px !important;
    color: #1e7e45 !important;
    padding: 1.2rem 1.5rem !important;
    font-size: 1rem !important;
    margin-top: 1.5rem !important;
    font-weight: 500 !important;
}

.event-form-section .forminator-col {
    padding: 0 !important;
}

.event-form-section .forminator-row {
    margin-bottom: 0 !important;
}

/* Blog Detail Page Styles */
.blog-detail-wrapper {
    padding: 0;
    background: #ffffff;
}

.blog-featured-image {
    width: calc(100% - 4rem);
    height: 500px;
    overflow: hidden;
    border-radius: 0 30px 30px 30px;
    margin: 0 2rem 4rem 2rem;
    display: grid;
    gap: 1.5rem;
}

.blog-featured-image.blog-images-1 {
    grid-template-columns: 1fr;
}

.blog-featured-image.blog-images-2 {
    grid-template-columns: repeat(2, 1fr);
}

.blog-featured-image.blog-images-3 {
    grid-template-columns: repeat(3, 1fr);
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    border-radius: 0 30px 30px 30px;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.blog-content-wrapper {
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
}

.blog-detail-title {
    font-family: "Lora", serif;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    font-size: 3rem;
    color: #e14b41;
    line-height: 1.2;
    font-weight: 400;
    font-style: italic;
}

.blog-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-main-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 4rem;
}

.blog-main-content p {
    margin-bottom: 1.5rem;
}

.blog-main-content h2 {
    font-family: "Lora", serif;
    font-size: 2.5rem;
    color: #e14b41;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.2;
}

.blog-main-content h3 {
    font-family: "Lora", serif;
    font-size: 2rem;
    color: #333333;
    margin: 2.5rem 0 1.25rem 0;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 4rem;
}

.blog-nav-arrows {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-nav-overview {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid #e14b41;
    border-radius: 29px;
    color: #e14b41;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.blog-nav-overview:hover {
    background: #e14b41;
    color: white;
}

.blog-nav-arrow {
    min-width: 60px;
    width: 75px;
    height: 50px;
    border-radius: 29px;
    border: 1px solid #e14b41;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e14b41;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.blog-nav-arrow:hover {
    background: #e14b41;
    color: white;
}

.blog-nav-arrow svg {
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
    .blog-navigation {
        gap: 1rem;
    }

    .blog-nav-overview {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }

    .blog-nav-arrow {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 2.5rem;
    }

    .blog-featured-image.blog-images-2,
    .blog-featured-image.blog-images-3 {
        grid-template-columns: 1fr;
        height: auto;
    }

    .blog-hero-image {
        height: 250px;
    }

    .blog-hero-section {
        padding: 6rem 1.5rem 3rem 1.5rem;
    }

    .blog-content-wrapper {
        padding: 0 1.5rem;
    }

    .blog-navigation {
        flex-direction: column;
    }

    .blog-nav-next {
        text-align: left;
    }
}

.event-form-section .forminator-field--inner {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .event-container {
        padding: 0 1.5rem;
    }

    .event-form-section {
        padding: 3rem 2rem;
        border-radius: 0;
    }

    .event-title {
        font-size: 3rem;
    }
}

/* Foto's Section */
.fotos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    grid-auto-flow: dense;
    gap: 1.5rem;
}

.foto-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px 25px 25px 25px;
    aspect-ratio: 1;
}

/* Quote tile styling */
.foto-item.foto-quote {
    background-color: #fdb4a3;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.foto-quote-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2.5rem 2rem 2rem 2.5rem;
    text-align: left;
    box-sizing: border-box;
}

.foto-quote-subtitle {
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    color: black;
}

.foto-quote-middle {
    flex: 1;
    display: flex;
    align-items: end;
    width: 100%;
}

.foto-quote-text {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    text-decoration: none;
    line-height: 1.2;
    font-weight: 700;
    color: #d83a32;
    margin: 0;
}

.foto-item:nth-child(18n + 1) {
    grid-column: 1 / span 2;
    grid-row: span 2;
}

.foto-item:nth-child(18n + 10) {
    grid-column: 3 / span 2;
    grid-row: span 2;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.foto-item a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.foto-item.foto-quote a {
    text-decoration: none;
}

.foto-item:hover img {
    transform: scale(1.05);
}

.foto-item .foto-overlay,
.foto-overlay-title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(225, 75, 65, 0.6);
    padding: 2rem 2rem 5rem 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.foto-item:nth-child(5n + 2) .foto-overlay,
.foto-item:nth-child(5n + 2) .foto-overlay-title {
    background: rgba(255, 243, 158, 0.85);
    color:#e14b41;
}

.foto-item:nth-child(5n + 3) .foto-overlay,
.foto-item:nth-child(5n + 3) .foto-overlay-title {
    background: rgba(146, 204, 205, 0.85);
    color: #e14b41;
}

.foto-item:nth-child(5n + 4) .foto-overlay,
.foto-item:nth-child(5n + 4) .foto-overlay-title {
    background: rgba(116, 171, 133, 0.85);
    color:#e14b41;
}

.foto-item:nth-child(5n + 5) .foto-overlay,
.foto-item:nth-child(5n + 5) .foto-overlay-title {
    background: rgba(255, 116, 53, 0.85);
    color: #fff;
}

.foto-item:hover .foto-overlay-title {
    opacity: 1;
}

.foto-overlay-link {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    z-index: 2;
}

.foto-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.foto-item:hover .foto-overlay {
    opacity: 1;
}

.foto-overlay p {
    margin-bottom: 0;
}

.foto-text {
    font-family: "Anton", serif;
    font-size: 3rem;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
    color: white;
}

.foto-text em {
    font-style: italic;
    font-weight: 400;
}

.foto-link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
}

.foto-link-text svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.foto-title-item {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.foto-title-content {
    font-family: "Lora", serif;
    font-size: clamp(6rem, 5vw, 4rem);
    font-weight: 400;
    color: #e14b41;
    line-height: 0.9;
    text-align: left;
}

.foto-title-content .title-part-1 {
    display: block;
}

.foto-title-content .title-part-2 {
    display: block;
    margin-left: 2rem;
}

.foto-title-content .title-part-3 {
    display: block;
    margin-left: 1rem;
}

@media (max-width: 968px) {
    .fotos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .foto-text {
        font-size: 1.1rem;
    }

    .foto-overlay {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .fotos-grid {
        grid-template-columns: 1fr;
    }

    .foto-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 1;
    }
    .foto-overlay {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .foto-text {
        font-size: 1rem;

        .foto-item:first-child {
            grid-column: span 1;
            grid-row: span 1;
            aspect-ratio: 1;
        }
    }

    .foto-link-text {
        font-size: 0.75rem;
    }

    .foto-link-text svg {
        width: 14px;
        height: 14px;
    }
}

/* Fancybox Firefox fixes */
.fancybox__container {
    --fancybox-width: 95vw;
    --fancybox-height: 90vh;
}

.fancybox__content {
    width: 95vw !important;
    height: 90vh !important;
    max-width: 1400px !important;
    max-height: 900px !important;
}

.fancybox__iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.fancybox__slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Force proper sizing for iframe containers in Firefox */
@-moz-document url-prefix() {
    .fancybox__content {
        display: flex !important;
        flex-direction: column !important;
    }

    .fancybox__iframe {
        flex: 1 1 auto !important;
        min-height: 600px !important;
    }
}
