/*
Theme Name: Vos en Vino Theme
Theme URI: https://example.com/
Author: Your Company
Description: A simple responsive company WordPress theme with a 1200px content layout, navigation, black footer, and orange image/content block.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: vos-vino-theme
*/


/* =========================================================
   Global
   ========================================================= */

.page-content h1,
.entry-content h1,
.wp-block-post-content h1,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Georgia, serif !important;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
}

a:hover {
    opacity: .75;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
    border-bottom: 2px solid #f46905;
    background: #fff;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 30px;

    display: flex;
    align-items: center;
}


/* =========================================================
   Brand
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.brand-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.brand-logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.brand-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 90px;
    max-height: 120px;
    height: auto;
}

/* Company name and slogan */

.brand-text {
    display: block;
    text-decoration: none;
    min-width: 0;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.brand-slogan {
    margin-top: 3px;
    font-size: 13px;
    color: #777;
}

.brand-image {
    display: block;
    max-width: 170px;
    height: auto;
}

/* =========================================================
   Desktop Navigation
   ========================================================= */

/* .main-navigation {
    margin-left: auto;
} */


/* =========================================================
   Vos & Vino – organische achtergrond navigatie
   ========================================================= */

@media (min-width: 801px) {

    .main-navigation::before {
        content: "";
        position: absolute;
        z-index: -1;
        pointer-events: none;

        top: 50%;
        left: 0;
        right: -35px;
        height: 110px;

        transform: translateY(-50%);

        background: #fff4e9;
        border: 1px solid #f46905;

        border-radius:
            48% 35% 42% 30% /
            55% 45% 55% 45%;
    }
}

/* Mobiel: bestaande uitklapnavigatie behouden */
@media (max-width: 800px) {
    .main-navigation {
        padding: 15px 0;
    }

    .main-navigation::before {
        display: none;
    }
}


.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}


/* Normale menu-link */

.main-navigation a {
    position: relative;

    display: inline-block;

    padding: 10px 0;

    color: #111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    opacity: 1;

    transition:
        color .2s ease,
        transform .2s ease;
}


/* Oranje underline */

.main-navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 2px;

    width: 0;
    height: 3px;

    background: #f46905;
    border-radius: 3px;

    transition: width .25s ease;
}


/* Oranje puntje */

.main-navigation a::before {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -5px;

    width: 6px;
    height: 6px;

    background: #f46905;
    border-radius: 50%;

    transform: translateX(-50%) scale(0);

    transition: transform .2s ease;
}


/* Hover */

.main-navigation a:hover {
    color: #f46905;
    opacity: 1;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover::before {
    transform: translateX(-50%) scale(1);
}


/* Actieve pagina */

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: #f46905;
    opacity: 1;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current-menu-ancestor > a::after {
    width: 100%;
}

.main-navigation .current-menu-item > a::before,
.main-navigation .current-menu-ancestor > a::before {
    transform: translateX(-50%) scale(1);
}


/* =========================================================
   Contact knop
   ========================================================= */

.main-navigation li:last-child a {
    padding: 10px 18px;

    color: #fff;
/*     background: #f46905; */

    border-radius: 6px;

    transition:
        background .2s ease,
        transform .2s ease;
}


/* Contact heeft geen underline/puntje */

.main-navigation li:last-child a::before,
.main-navigation li:last-child a::after {
    display: none;
}


/* Contact hover */

.main-navigation li:last-child a:hover {
    color: #fff;
    background: #d95700;
    opacity: 1;

    transform: translateY(-1px);
}


/* =========================================================
   Mobile Menu Button
   ========================================================= */

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;
    padding: 8px;
    margin: 0;

    cursor: pointer;

    font: inherit;
    color: #111;

    align-items: center;
    gap: 10px;
}

.menu-toggle-text {
    font-size: 14px;
    font-weight: 600;
}

.menu-toggle-icon {
    width: 24px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


/* =========================================================
   Main Content
   ========================================================= */

.site-content {
    flex: 1 0 auto;
    min-height: 0;
    background: #fff;
}

/* Keep the theme orange block directly against the footer.
   When the page has spare vertical space, the block is pushed to
   the bottom of the main area instead of leaving a gap above the footer. */
.site-content:has(.orange-block) {
    display: flex;
    flex-direction: column;
}

.site-content:has(.orange-block) .orange-block {
    margin-top: auto;
    margin-bottom: 0;
}


/* =========================================================
   Normal Content Page
   ========================================================= */

.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

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

.page-content h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 35px;
}

.page-content h2 {
    font-size: 30px;
    line-height: 1.25;
    margin-top: 45px;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.page-content p {
    margin: 0 0 20px;
}


/* =========================================================
   Orange Media / Content Block
   ========================================================= */

.orange-block {
    background: #f46905;
    color: #fff;
    padding: 30px;
}

.orange-block-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
}

.orange-block h2 {
    margin: 0 0 35px;
    font-size: 34px;
    line-height: 1.2;
}

.orange-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.orange-gallery figure {
    margin: 0;
}

.orange-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.orange-gallery figcaption {
    padding-top: 10px;
    font-size: 14px;
}

/* =========================================================
   Grey + Orange Two Block Pattern
   ========================================================= */

.grey-orange-pair {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.grey-orange-pair__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;

    gap: 50px;
}


/* Beide blokken */

.grey-orange-pair__block {
    flex: 1 1 0;
    width: 50%;
    padding: 35px;

    border-radius: 5px;
}


/* Linker grijze blok */

.grey-orange-pair__block--grey {
/*     background: #f2f2f2; */
	background: #f46905;
    color: #111;
}


/* Rechter oranje blok */

.grey-orange-pair__block--orange {
    background: #f46905;
    color: #fff;
}


/* Koppen */

.grey-orange-pair__block h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.2;
	color: black;
}


/* Paragrafen */

.grey-orange-pair__block p {
    margin-bottom: 0;
}


/* =========================================================
   Tablet / Mobile
   ========================================================= */

@media (max-width: 800px) {

    .grey-orange-pair {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .grey-orange-pair__inner {
        flex-direction: column;
        gap: 20px;
    }

    .grey-orange-pair__block {
        width: 100%;
        padding: 25px;
    }

    .grey-orange-pair__block h2 {
        font-size: 26px;
    }
}


/* =========================================================
   Orange 60% Patterns
   ========================================================= */

.orange-60 {
    width: 75%;
    margin-top: 30px;
    margin-bottom: 30px;
    background: #f46905;
    color: #fff;
    padding: 30px;
    border-radius: 5px;
}

.orange-60--left {
    margin-right: auto;
}

.orange-60--right {
    margin-left: auto;
}

.orange-60__inner {
    width: 100%;
}

@media (max-width: 800px) {
    .orange-60 {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 20px;
    }
}


/* Light Grey 75% Patterns */

.lightgray-75 {
    width: 70%;
    margin-top: 30px;
    margin-bottom: 30px;
	margin-right: 10%;
/*     background: #f3f3f373; */
	background: #f46905;
    color: #111;
    padding: 30px;
    border-radius: 5px;
}

.lightgray-75--left {
    margin-right: auto;
}

.lightgray-75--right {
    margin-left: auto;
}

.lightgray-75__inner {
    width: 100%;
}

@media (max-width: 800px) {
    .lightgray-75 {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 20px;
    }
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: #000;
    color: #fff;
    padding: 60px 30px 25px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 60px;
	padding: 30px;
}

.footer-vosenvino {
    max-width: 450px;
}

.footer-vosenvino h2,
.footer-menu-column h2 {
    margin-top: 0;
    margin-bottom: 20px;

    font-size: 24px;
    line-height: 1.2;
}

.footer-vosenvino p {
    margin: 0;
    color: #aaa;
}

.footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.footer-navigation li {
    display: block;
    margin: 0 0 8px;
    padding: 0;
}

.footer-navigation li:last-child {
    margin-bottom: 0;
}

.footer-navigation a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.footer-navigation a:hover {
    opacity: .75;
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 20px;

    border-top: 1px solid #333;

    color: #777;
    font-size: 12px;
}


/* Container voor de twee footer-afbeeldingen */
.footer-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Afbeeldingen */
.footer-logos img {
    display: block;
    width: auto;
    max-width: 60%;
    height: auto;
    max-height: 95px;
    object-fit: contain;
}

/* Mobiele schermen */
@media (max-width: 600px) {
    .footer-logos {
        gap: 12px;
    }

    .footer-logos img {
        max-width: 44%;
        max-height: 70px;
    }
}

.event-button {
  display: ruby-text;
  padding: 16px;
  background-color: #f46905;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.event-button:hover a {
  color: #f0f0f0;
}

.tribe-events-content a.event-button,
.tribe-events-content a.event-button:hover,
.tribe-events-content a.event-button:focus {
    color: #ffffff !important;
    text-decoration: none;
}



/* =========================================================
   Tablet / Mobile
   ========================================================= */

@media (max-width: 800px) {

    /* Header */

    .header-inner {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;

        gap: 0;

        padding: 18px 20px;
    }


    /* Brand */

    .brand {
        flex: 1;
        width: auto;

        display: flex;
        flex-direction: row;
        align-items: center;

        gap: 10px;
        min-width: 0;
    }

    .brand-logo {
        flex: 0 0 auto;
    }

    .brand-logo .custom-logo {
        max-width: 50px;
        max-height: 48px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-name {
        font-size: 18px;
        line-height: 1.2;
    }

    .brand-slogan {
        font-size: 11px;
        line-height: 1.3;
        margin-top: 2px;
    }

    .brand-image {
        max-width: 145px;
    }


    /* Hamburger */

    .menu-toggle {
        display: flex;
        flex: 0 0 auto;
    }

    .menu-toggle-text {
        font-size: 13px;
    }

    .menu-toggle-icon {
        width: 22px;
    }


    /* =====================================================
       Navigation
       ===================================================== */

    .main-navigation {
        display: none;

        width: 100%;
        margin-left: 0;
        padding-top: 15px;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .main-navigation li {
        border-top: 1px solid #e5e5e5;
    }

    .main-navigation li:last-child {
        border-bottom: 0;
    }

    .main-navigation a {
        position: relative;

        display: block;

        padding: 12px 0;

        color: #111;
        font-size: 15px;
        line-height: 1.4;
        font-weight: 600;

        text-decoration: none;

        opacity: 1;
    }


    /* Mobiele underline */

    .main-navigation a::after {
        left: 0;
        bottom: 5px;

        width: 0;
        height: 3px;
    }


    /* Mobiel puntje */

    .main-navigation a::before {
        left: auto;
        right: 0;
        bottom: 50%;

        width: 6px;
        height: 6px;

        transform: translateY(50%) scale(0);
    }


    /* Mobiele hover */

    .main-navigation a:hover {
        color: #f46905;
        opacity: 1;
    }

    .main-navigation a:hover::after {
        width: 80px;
    }

    .main-navigation a:hover::before {
        transform: translateY(50%) scale(1);
    }


    /* Mobiel actief */

    .main-navigation .current-menu-item > a,
    .main-navigation .current-menu-ancestor > a {
        color: #f46905;
    }

    .main-navigation .current-menu-item > a::after,
    .main-navigation .current-menu-ancestor > a::after {
        width: 80px;
    }

    .main-navigation .current-menu-item > a::before,
    .main-navigation .current-menu-ancestor > a::before {
        transform: translateY(50%) scale(1);
    }


    /* Mobiele Contact knop */

    .main-navigation li:last-child {
        margin-top: 10px;
        border: 0;
    }

    .main-navigation li:last-child a {
        padding: 11px 18px;

        color: #fff;
        background: #f46905;

        border-radius: 6px;

        text-align: center;
    }

    .main-navigation li:last-child a::before,
    .main-navigation li:last-child a::after {
        display: none;
    }

    .main-navigation li:last-child a:hover {
        color: #fff;
        background: #d95700;

        transform: translateY(-1px);
        opacity: 1;
    }

    /* Hamburger animation */

    .menu-toggle[aria-expanded="true"]
    .menu-toggle-icon span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"]
    .menu-toggle-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"]
    .menu-toggle-icon span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* Main content */

    .content-container {
        padding: 25px 20px;
    }

    .page-content h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 25px;
    }

    .page-content h2 {
        font-size: 26px;
        line-height: 1.2;
        margin-top: 35px;
    }

    .page-content p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 18px;
    }


    /* Orange block */

    .orange-block {
        padding: 20px;
    }

    .orange-block-inner {
        padding: 20px;
    }

    .orange-block h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 25px;
    }


    /* Footer */

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-vosenvino h2,
    .footer-menu-column h2 {
        font-size: 21px;
    }

    .footer-vosenvino p,
    .footer-navigation a {
        font-size: 15px;
    }
}


/* =========================================================
   Small Mobile
   ========================================================= */

@media (max-width: 500px) {

    /* Header */

    .header-inner {
        padding: 15px 18px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo .custom-logo {
        max-width: 45px;
        max-height: 42px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-slogan {
        font-size: 10px;
    }

    .brand-image {
        max-width: 125px;
    }


    /* Hamburger */

    .menu-toggle {
        padding: 6px;
    }

    .menu-toggle-text {
        font-size: 12px;
    }

    .menu-toggle-icon {
        width: 21px;
    }


    /* Navigation */

    .main-navigation a {
        font-size: 15px;
        padding: 10px 0;
    }


    /* Content */

    .content-container {
        padding: 20px 18px;
    }

    .page-content h1 {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 22px;
    }

    .page-content h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .page-content p {
        font-size: 16px;
        line-height: 1.55;
    }


    /* Orange block */

    .orange-block {
        padding: 15px;
    }

    .orange-block-inner {
        padding: 15px;
    }

    .orange-block h2 {
        font-size: 25px;
        margin-bottom: 20px;
    }

    .orange-gallery {
        grid-template-columns: 1fr;
    }


    /* Footer */

    .site-footer {
        padding: 40px 18px 20px;
    }

    .footer-vosenvino h2,
    .footer-menu-column h2 {
        font-size: 20px;
    }

    .footer-vosenvino p,
    .footer-navigation a {
        font-size: 15px;
    }
}

/* =========================================================
   WPForms Submit Button
   ========================================================= */

.wpforms-form button.wpforms-submit,
.wpforms-form input[type="submit"],
.wpforms-form button[type="submit"] {
    display: inline-block;

    padding: 11px 22px;

    color: #fff !important;
    background: #f46905 !important;

    border: 0 !important;
    border-radius: 6px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    cursor: pointer;

    opacity: 1 !important;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* Hover */

.wpforms-form button.wpforms-submit:hover,
.wpforms-form input[type="submit"]:hover,
.wpforms-form button[type="submit"]:hover {
    color: #fff !important;
    background: #d95700 !important;

    opacity: 1 !important;
    transform: translateY(-1px);

    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}


/* Klikken */

.wpforms-form button.wpforms-submit:active,
.wpforms-form input[type="submit"]:active,
.wpforms-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}


/* Focus - toegankelijkheid */

.wpforms-form button.wpforms-submit:focus-visible,
.wpforms-form input[type="submit"]:focus-visible,
.wpforms-form button[type="submit"]:focus-visible {
    outline: 3px solid rgba(244, 105, 5, .3);
    outline-offset: 3px;
}

.wpforms-form button.wpforms-submit {
    padding: 10px 18px;
    border-radius: 6px;
}
`
/* =========================================================
   The Events Calendar – Vos & Vino
   Clean style
   ========================================================= */

.tribe-events-widget-events-list {
    margin-top: 25px;
}


/* =========================================================
   Event
   ========================================================= */

.tribe-events-widget-events-list__event-row {
    margin-bottom: 25px;
}


/* Datum */

.tribe-events-widget-events-list__event-date-tag {
    min-width: 70px;
}

.tribe-events-widget-events-list__event-date-tag-month {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: #777 !important;
}

.tribe-events-widget-events-list__event-date-tag-daynum {
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #111 !important;
}


/* =========================================================
   Tijdstip
   ========================================================= */

.tribe-events-widget-events-list__event-datetime-wrapper {
    margin-bottom: 5px;
}

.tribe-events-widget-events-list__event-datetime {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;

    /* Donker zodat het ook op oranje achtergrond leesbaar blijft */
    color: #111 !important;
}


/* De afzonderlijke tijd-onderdelen */

.tribe-events-widget-events-list__event-datetime .tribe-event-date-start,
.tribe-events-widget-events-list__event-datetime .tribe-event-time {
    color: #111 !important;
}

.tribe-events-widget .tribe-events-widget-events-list__event-date-tag {
	background-color: #f2f2f2;
	margin-right: 21px;
	padding-top: 3px;
	
}


/* =========================================================
   Evenement titel
   ========================================================= */

.tribe-events-widget-events-list__event-title {
    margin: 0 !important;
}

.tribe-events-widget-events-list__event-title-link {
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    color: #111 !important;

    text-decoration: none !important;
    border: 0 !important;

    opacity: 1 !important;

    transition: none !important;
}


/* Geen hover-effect */

.tribe-events-widget-events-list__event-title-link:hover,
.tribe-events-widget-events-list__event-title-link:focus {
    color: #111 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* .tribe-common .tribe-common-b2 {
	visibility: hidden;
} */


/* =========================================================
   Bekijk kalender
   ========================================================= */

.tribe-events-widget-events-list__view-more {
    margin-top: 30px;
    padding-top: 0;

    border: 0;
}

.tribe-events-widget-events-list__view-more-link {
    display: inline-block;

    padding: 10px 18px;

    color: #fff !important;
    background: #f46905 !important;

    border: 0 !important;
    border-radius: 6px;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4;

    text-decoration: none !important;

    opacity: 1 !important;

    transition: none !important;
}


/* Geen hover-effect op Bekijk kalender */

.tribe-events-widget-events-list__view-more-link:hover,
.tribe-events-widget-events-list__view-more-link:focus {
    color: #fff !important;
    background: #f46905 !important;

    text-decoration: none !important;
    opacity: 1 !important;

    transform: none !important;
    box-shadow: none !important;
}


/* =========================================================
   Mobiel
   ========================================================= */

@media (max-width: 800px) {

    .tribe-events-widget-events-list__event-row {
        margin-bottom: 25px;
    }

    .tribe-events-widget-events-list__event-date-tag {
        min-width: 55px;
    }

    .tribe-events-widget-events-list__event-date-tag-month {
        font-size: 12px !important;
    }

    .tribe-events-widget-events-list__event-date-tag-daynum {
        font-size: 28px !important;
    }

    .tribe-events-widget-events-list__event-datetime {
        font-size: 15px !important;
    }

    .tribe-events-widget-events-list__event-title-link {
        font-size: 17px !important;
    }

    .tribe-events-widget-events-list__view-more {
        margin-top: 25px;
    }

    .tribe-events-widget-events-list__view-more-link {
        font-size: 14px !important;
        padding: 10px 17px;
    }
}

/* Vos & Vino – brede, vloeiende organische vlek */
@media (min-width: 801px) {
    .site-header .main-navigation {
        position: relative;
        z-index: 1;
        margin-left: auto;
        padding: 0;
        isolation: isolate;
    }

    .site-header .main-navigation::before {
        content: "";
        position: absolute;
        z-index: -1;
        pointer-events: none;

        top: 50%;
        left: -55px;
        right: -65px;
        height: 150px;
        transform: translateY(-50%);

        background-color: #ffdebf;
        border: none;
        border-radius: 0;

        /* Zachte vervaging aan de buitenrand */
        -webkit-mask-image: radial-gradient(
            ellipse 85% 75% at 50% 50%,
            #000 65%,
            rgba(0, 0, 0, 0.85) 80%,
            transparent 100%
        );
        mask-image: radial-gradient(
            ellipse 85% 75% at 50% 50%,
            #000 65%,
            rgba(0, 0, 0, 0.85) 80%,
            transparent 100%
        );

        /* Organische vorm */
        clip-path: polygon(
            0% 43%,
            1% 39%,
            3% 33%,
            6% 27%,
            12% 20%,
            20% 16%,
            28% 19%,
            36% 25%,
            43% 31%,
            50% 34%,
            57% 32%,
            64% 26%,
            71% 20%,
            78% 17%,
            85% 19%,
            92% 26%,
            97% 34%,
            100% 40%,
            100% 61%,
            97% 69%,
            92% 77%,
            85% 82%,
            78% 84%,
            71% 82%,
            64% 78%,
            57% 74%,
            50% 73%,
            43% 75%,
            36% 80%,
            28% 84%,
            20% 84%,
            12% 79%,
            6% 70%,
            3% 62%,
            1% 55%,
            0% 50%
        );
    }
}


/* Evenementenlijst: nette kaarten */
.ecs-event-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ecs-event-list .ecs-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    grid-template-rows: auto auto auto auto;
    column-gap: 28px;
    align-items: start;
    padding: 28px 0;
    margin: 0 !important;
    border-bottom: 1px solid #eaded4;
}

/* Titel bovenaan, over de volledige breedte */
.ecs-event-list .ecs-event .entry-title {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 16px !important;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.25;
}

.ecs-event-list .ecs-event .entry-title a {
    color: #252525;
    text-decoration: none;
}

.ecs-event-list .ecs-event .entry-title a:hover {
    color: #f36b21;
}

/* Afbeelding rechts */
.ecs-event-list .ecs-event > a:has(img) {
    grid-column: 2;
    grid-row: 2 / 5;
    display: block;
}

.ecs-event-list .ecs-event img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
    border-radius: 6px;
}

/* Beschrijving links */
.ecs-event-list .ecs-event .ecs-excerpt {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 14px;
    line-height: 1.6;
}

/* Datum en tijd */
.ecs-event-list .ecs-event .duration.time {
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Locatie */
.ecs-event-list .ecs-event .duration.venue {
    grid-column: 1;
    grid-row: 4;
    color: #666;
}

/* Mobiel: afbeelding rechts, compacter */
@media (max-width: 600px) {
    .ecs-event-list .ecs-event {
        grid-template-columns: minmax(0, 1fr) 115px;
        column-gap: 14px;
        padding: 22px 0;
    }

    .ecs-event-list .ecs-event .entry-title {
        font-size: 22px;
        margin-bottom: 12px !important;
    }

    .ecs-event-list .ecs-event img {
        height: 110px;
    }

    .ecs-event-list .ecs-event .ecs-excerpt {
        font-size: 14px;
    }
}

/* WPForms - Naamvelden op mobiel */
@media only screen and (max-width: 600px) {
    #wpforms-126 .wpforms-field-name .wpforms-field-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #wpforms-126 .wpforms-field-name .wpforms-field-row-block {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Tussenvoegsel smaller maken */
#wpforms-126 .wpforms-field-name .wpforms-one-fifth {
    max-width: 100px;
}


/* Mobiel menu ongemoeid laten */
@media (max-width: 800px) {
    .site-header .main-navigation::before {
        display: none;
    }
}

/* Verberg beide kalenderknoppen op evenementpagina's */
.single-tribe_events .tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}

/* Verberg de abonneerknop ook in het kalenderoverzicht */
.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}