/*
Theme Name: Fjellerad.info
Version: 1.0
Text Domain: fjellerad-info
*/

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:root{
    /* General styles */
    --primary-color: #7a935a;
    --secondary-color: #2c3b6e;

    /* Navigation bar styles */
    --nav-bar-bg: var(--primary-color);
    --nav-bar-link: #fff;

    /* Calender styles overrides */
    --tec-font-family-sans-serif: inherit!important;
    --tec-color-background-events-bar-submit-button: #6f746d!important;
    --tec-color-background-events-bar-submit-button-hover: #5d625b!important;
    --tec-color-accent-primary: #6f746d!important;
}
/* General styles */
body {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background: #f9f4ea;
    color: #333;
    font-size: 100%;
}

/* Wrapper - Centers all content */
.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
body > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #f9f9f9;
    width: 100%;
}

header h1 a {
    text-decoration: none;
    color: #333;
}

.pre-header {
    width: 100%;
    background-color: var(--secondary-color);
    background-color: #6f746d;
}
.town-selector {
    gap: 0;
}
#fjellerad .town-selector .fjellerad {
    /*background: rgba(0, 0, 0, 0.2);
    color: #fff;*/
    text-decoration: underline;
}
#vaarst .town-selector .vaarst {
    /*background: rgba(0, 0, 0, 0.2);
    color: #fff;*/
    text-decoration: underline;
}
.town-selector a {
    padding-left: 10px !important;
}
/* Navigation */
nav {
    display: flex;
    width: 100%;
    background-color: #f9f4ea;
}
nav .container{
    align-items: center; 
}
nav a.home {
    color: #020000;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
}
header ul {
    list-style: none;
    display: flex;
}

header ul li {
    display: inline-block;
}

header ul li a {
    text-decoration: none;
    color: #232622;
    padding: 8px 12px;
    display: inline-block;
    margin: 15px 2px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
}
header ul li:first-child {
    margin-left: -10px;
}
.pre-header ul li a {
    font-size: 0.8em;
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.pre-header ul li a:hover {
    text-decoration: underline;
}
header > nav ul li.current-menu-item a {
    background: #6f746d;
    color: #fff;
}
header > nav ul li.current-menu-item a:before{
    filter: invert(1);
}
header > nav ul li:not(.current-menu-item) a:hover{
    text-decoration: underline;
}

nav img {
    height: 40px;
    width: auto;
    vertical-align: -12px;
    margin-right: 10px;
}

.custom-image-text-block img {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.wp-block-media-text>.wp-block-media-text__media {
    height: 100%;
}
.wp-block-media-text__media img, .wp-block-media-text__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    border-radius: 20px;
}
ul.wp-block-list,
ol.wp-block-list {
    margin-left: 30px;
    margin-bottom: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}

.close {
    color: #ffffff !important;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background-color: #000000;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    line-height: 40px;
    cursor: pointer;
    z-index: 999;
}

.close:hover {
    color: black;
}

a.videoLink {
    display: inline-block;
    margin: 20px;
    font-size: 18px;
    background: var(--primary-color);
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 10px 20px;
    box-sizing: border-box;
}
.home-content > div {
    padding-left: 0 !important;
}
a.videoLink svg {
    width: 20px;
    height: auto;
    vertical-align: -4px;
}
/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f9f9f9;
    position: absolute;
    top: 60px;
    left: 0;
}

.mobile-nav ul {
    flex-direction: column;
    width: 100%;
}

.mobile-nav ul li {
    width: 100%;
    text-align: center;
}

.mobile-nav ul li a {
    display: block;
    padding: 10px;
    width: 100%;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
}

/* Content Container */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Main Content Area */
.main-content {
    width: 90%;
    padding: 50px 0 100px;
    box-sizing: border-box;
    margin: 0 auto;
}

/* Sidebar */
.sidebar {
    width: 30%;
    padding: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #6f746d;
    width: 100%;
    color: #fff;
    font-size: 14px;
}

/* Headers and paragraphs */
h1{
    margin-bottom: 10px;
    font-size: 30px;
}
h2 {
    margin-bottom: 15px;
    font-size: 25px;
}
.main-content p {
    margin-bottom: 20px;
}

/* Custom styles */
.header-image {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top 18% center;
    display: flex;
    align-items: center;
    justify-content: start;
    box-sizing: border-box;
    position: relative;
    animation: bgsize 5s ease-in-out forwards;
}
.header-image:after {
    content: "";
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}
.header-image .container {
    justify-content: start;
    align-items: center;
    gap: 110px;
}
.header-image .container h1 {
    color: #fff;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
}
@keyframes bgsize {
    0% {
        background-size: 100%
    }
    100% {
        background-size: 110%
    }
}
.home .header-image{
    display: none;
}
.site-branding a{
    color: #fff;
    position: relative;
    z-index: 1;
}

.facebook-logo:before{
    content: "";
    display: inline-block;
    background-image: url('data:image/svg+xml,<svg height="100%"  style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;" version="1.1" viewBox="0 0 512 512" width="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:serif="http://www.serif.com/" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M255.022,511.998l0.229,0.001l-0.079,0l-0.15,-0.001Zm1.806,0.001l-0.079,0l0.229,-0.001l-0.15,0.001Zm-2.588,-0.005l0.247,0.001l-0.142,0l-0.105,-0.001Zm3.415,0.001l-0.142,0l0.247,-0.001l-0.105,0.001Zm-4.169,-0.007l0.165,0.001l-0.132,-0.001l-0.033,0Zm4.995,0l-0.132,0.001l0.165,-0.001l-0.033,0Zm0.826,-0.009l-0.058,0.001l0.223,-0.003l-0.165,0.002Zm-6.779,-0.002l0.223,0.003l-0.058,-0.001l-0.165,-0.002Zm7.604,-0.01l-0.135,0.002l0.275,-0.004l-0.14,0.002Zm-8.404,-0.002l0.275,0.004l-0.135,-0.002l-0.14,-0.002Zm9.228,-0.012l-0.182,0.003l0.254,-0.005l-0.072,0.002Zm-9.984,-0.002l0.254,0.005l-0.182,-0.003l-0.072,-0.002Zm-0.937,-0.019l0.225,0.005l-0.04,-0.001l-0.185,-0.004Zm11.745,0.004l-0.04,0.001l0.225,-0.005l-0.185,0.004Zm-12.567,-0.025l0.309,0.008l-0.125,-0.003l-0.184,-0.005Zm13.39,0.005l-0.125,0.003l0.309,-0.008l-0.184,0.005Zm0.823,-0.022l-0.201,0.006l0.316,-0.009l-0.115,0.003Zm-14.967,-0.003l0.316,0.009l-0.201,-0.006l-0.115,-0.003Zm-0.72,-0.022l0.225,0.007l-0.212,-0.007l-0.194,-0.006l0.181,0.006Zm16.509,0l-0.212,0.007l0.225,-0.007l0.181,-0.006l-0.194,0.006Zm0.821,-0.027l-0.112,0.004l0.345,-0.012l-0.233,0.008Zm-18.371,-0.008l0.345,0.012l-0.112,-0.004l-0.233,-0.008Zm-0.749,-0.028l0.362,0.013l-0.201,-0.007l-0.161,-0.006Zm19.941,0.006l-0.201,0.007l0.362,-0.013l-0.161,0.006Zm-20.676,-0.036l0.354,0.015l-0.277,-0.011l-0.077,-0.004Zm21.495,0.004l-0.277,0.011l0.354,-0.015l-0.077,0.004Zm-22.525,-0.049l0.38,0.017l-0.093,-0.003l-0.287,-0.014Zm23.345,0.014l-0.093,0.003l0.38,-0.017l-0.287,0.014Zm-24.084,-0.048l0.394,0.018l-0.186,-0.008l-0.208,-0.01Zm24.902,0.01l-0.186,0.008l0.394,-0.018l-0.208,0.01Zm-25.63,-0.047l0.397,0.02l-0.279,-0.013l-0.118,-0.007Zm26.448,0.007l-0.279,0.013l0.397,-0.02l-0.118,0.007Zm0.818,-0.043l-0.362,0.019l0.321,-0.017l0.378,-0.021l-0.337,0.019Zm-27.925,0.002l0.321,0.017l-0.362,-0.019l-0.337,-0.019l0.378,0.021Zm28.741,-0.048l-0.16,0.009l0.406,-0.023l-0.246,0.014Zm-29.844,-0.014l0.406,0.023l-0.16,-0.009l-0.246,-0.014Zm-0.722,-0.043l0.405,0.024l-0.253,-0.014l-0.152,-0.01Zm31.382,0.01l-0.253,0.014l0.405,-0.024l-0.152,0.01Zm-32.071,-0.053l0.365,0.023l-0.34,-0.021l-0.342,-0.022l0.317,0.02Zm32.887,0.002l-0.34,0.021l0.365,-0.023l0.317,-0.02l-0.342,0.022Zm0.814,-0.053l-0.122,0.008l0.387,-0.026l-0.265,0.018Zm-34.755,-0.018l0.387,0.026l-0.122,-0.008l-0.265,-0.018Zm-0.721,-0.05l0.38,0.027l-0.208,-0.014l-0.172,-0.013Zm36.29,0.013l-0.208,0.014l0.38,-0.027l-0.172,0.013Zm-37.009,-0.064l0.349,0.025l-0.271,-0.019l-0.078,-0.006Zm37.822,0.006l-0.271,0.019l0.349,-0.025l-0.078,0.006Zm-38.789,-0.079l0.306,0.023l-0.074,-0.005l-0.232,-0.018Zm39.602,0.018l-0.074,0.005l0.306,-0.023l-0.232,0.018Zm0.811,-0.063l-0.146,0.011l0.311,-0.025l-0.165,0.014Zm-41.157,-0.014l0.311,0.025l-0.146,-0.011l-0.165,-0.014Zm-0.725,-0.059l0.264,0.022l-0.186,-0.015l-0.078,-0.007Zm42.694,0.007l-0.186,0.015l0.264,-0.022l-0.078,0.007Zm-43.492,-0.074l0.079,0.007l-0.013,-0.001l-0.066,-0.006Zm44.302,0.006l-0.013,0.001l0.079,-0.007l-0.066,0.006Zm0.81,-0.071l-0.072,0.006l0.181,-0.016l-0.109,0.01Zm-45.965,-0.01l0.181,0.016l-0.072,-0.006l-0.109,-0.01Zm-0.75,-0.068l0.135,0.013l-0.084,-0.008l-0.051,-0.005Zm47.523,0.005l-0.084,0.008l0.135,-0.013l-0.051,0.005Zm-63.736,-2.025c-122.319,-19.226 -216,-125.203 -216,-252.887c0,-141.29 114.71,-256 256,-256c141.29,0 256,114.71 256,256c0,127.684 -93.681,233.661 -216,252.887l0,-178.887l59.65,0l11.35,-74l-71,0l0,-48.021c0,-20.245 9.918,-39.979 41.719,-39.979l32.281,0l0,-63c0,0 -29.296,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.887Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: invert(1);  
    width: 18px;
    height: 18px;
    vertical-align: -4px;
    margin-right: 8px;
}
.wp-block-separator {
    border-color: #ccc;
    border-width: 1px;
    margin: 30px 0 30px;
}
.main-content p a,
.main-content ul a,
.main-content ol a{
    color: var(--primary-color)
}

ul.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 15px;
}
ul.grid li {
    background-color: #6f746d;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32%;
    height: 80px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}
ul.grid li a{
    color: inherit;
    text-decoration: none;
}
ul.grid li a:hover{
    text-decoration: underline;
}
ul.grid li a:after {
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="currentColor" stroke="currentColor"><title/><g data-name="Layer 2" id="Layer_2"><path d="M22,9a1,1,0,0,0,0,1.42l4.6,4.6H3.06a1,1,0,1,0,0,2H26.58L22,21.59A1,1,0,0,0,22,23a1,1,0,0,0,1.41,0l6.36-6.36a.88.88,0,0,0,0-1.27L23.42,9A1,1,0,0,0,22,9Z"/></g></svg>');
    /*content: "";*/
    display: inline-block;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 4px;
    vertical-align: -2px;
    filter: invert(1);
    transform: rotate(90deg);
}
.wp-block-group{
    scroll-margin-top: 440px;
}
#fjellerad-samraad{
    scroll-margin-top: 180px!important;
}
.hero-video-container {
    overflow: hidden;
    height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin: 0 auto;
    width: 95%;
}
.title-overlay{
    position: absolute;
    z-index: 1;
    color: #fff;
    width: 95%;
}

.title-overlay h1 {
    font-size: 70px;
    font-weight: 600;
    max-width: 350px;
    line-height: 1.3;
}
video.hero-video {
    position: relative;
    z-index: 0;
    margin: 0 auto;
}
a.play-full-video {
    display: flex;
    text-align: center;
    width: 150px;
    height: 150px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 100%;
    padding: 20px 20px 10px;
    flex-direction: column;
    gap: 6px;
    border-color: rgba(255, 255, 255, 0.7);
    margin-right: 100px;
}
a.play-full-video .play-icon {
    display: block;
    margin: 0 auto;
    height: 43%;
    width: 100%;
}
a.play-full-video label{
    width: 100%;
}
.title-overlay .container{
    align-items: center;
}
a.play-full-video:hover{
    border-color: rgba(255,255,255,1);
    background-color: rgba(0,0,0,0.2);
}
.calendar a:before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M1 4c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4zm2 2v12h14V6H3zm2-6h2v2H5V0zm8 0h2v2h-2V0zM5 9h2v2H5V9zm0 4h2v2H5v-2zm4-4h2v2H9V9zm0 4h2v2H9v-2zm4-4h2v2h-2V9zm0 4h2v2h-2v-2z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: -2px;
    margin-right: 5px;
}
header.scrolled {
    position: sticky;
    top: 0;
    z-index: 999;
}
header.scrolled .pre-header,
header.scrolled .header-image {
    display: none;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-top-bar__nav {
    width: auto;
}
.tribe-events-view {
    z-index: 0;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 30px;
    padding-top: 40px;
}
header.tribe-events-calendar-list__event-header {
    background-color: transparent!important;
}
header ul li.calendar a::after {
    content: "";
    display: inline-block;
    margin-left: 7px;
    width: 8px;
    height: 8px;
    background-color: #8c9987;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    vertical-align: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

header > nav ul li.current-menu-item a::after{
    background-color: #fff;
}


header ul li {
    position: relative; /* Sørger for, at cirklen placeres korrekt */
}
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{
    background-color: #6f746d;
    border-radius: 100%;
    height: 90px;
    width: 90px;
    align-items: center;
    justify-content: center;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime * {
    color: #fff;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium {
    text-transform: capitalize;
}
.tribe-events .tribe-events-c-nav__next-label-plural, .tribe-events .tribe-events-c-nav__prev-label-plural {
    text-transform: lowercase;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
    margin-bottom: 0;
    width: 20%;
}
.tribe-events-content {
    width: auto !important;
    flex: 1;
    padding-right: 30px;
}
.tribe-events-event-image {
    width: 40%!important;
    order: 2 !important;
}
.tribe-events-event-image img {
    object-fit: contain;
    object-position: left;
    width: 100%;
    height: auto;
}
.tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {
    width: 100%;
}
.tribe-events-single>.tribe_events {
    justify-content: space-between;
}
.tribe-common{
    order: 3!important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event {
    flex-direction: row-reverse;
    justify-content: space-between;
    justify-content: start;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 30px;
    padding-top: 40px;
    padding-right: 0;
    padding-left: 0;
    max-width: 1000px;
}
body .webmaster-contact-details {
    text-align: center;
    font-size: 14px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #6f746d;
    border-radius: 5px;
    color: #fff;
}
body .webmaster-contact-details a {
    text-decoration: underline !important;
    font-weight: 500;
    color: #ffffff !important;
}
.tribe-events-single>.tribe_events{
    overflow: visible!important;
}
/* Responsive Layout */
@media (max-width: 768px) {
    body .webmaster-contact-details span {
        display: block;
    }
    .wrapper {
        width: 95%;
    }

    /* Stack header for mobile */
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Hide desktop nav, show mobile toggle */

    .menu-toggle {
        display: flex;
        border: none;
        outline: none;
        background: transparent;
        width: 30px;
        cursor: pointer;
        position: absolute;
        right: 10px;
        font-size: 8px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 5px;
        text-transform: uppercase;
        box-sizing: border-box;
        padding: 0;
    }
    .menu-toggle img {
        width: 74%;
        height: auto;
        margin: 0 0 3px;
    }
    .menu-toggle span {
        color: #000;
    }
    /* Mobile navigation dropdown */
    .mobile-nav {
        display: flex;
    }

    /* Stack content for mobile */
    .container {
        flex-direction: column;
    }
    .pre-header .container {
        flex-direction: row;
        margin-right: 0;
        margin-left: 20px;
        width: calc(100% - 22px);
    }

    .main-content {
        width: 100%;
    }

    .sidebar {
        width: 100%;
    }



    nav .container {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        padding: 8px 0;
    }

    nav a.home {
        padding: 5px 0;
        font-size: 18px;
    }
    nav img {
        height: 30px;
        width: auto;
        vertical-align: -9px;
        margin-right: 10px;
    }


    .pre-header ul li a {
        font-size: 11px;
    }
    .menu-primaer-menu-container {
        position: absolute;
        top: 92px;
        z-index: 9;
        left: 0;
        width: 100%;
        background-color: #f9f4ea;
        display: none;
        border-top: 1px solid #d9d5ce;
        border-bottom: 1px solid #d9d5ce;
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    }
    .menu-primaer-menu-container.scrolled {
        top: 55px;
    }
    .menu-primaer-menu-container ul {
        display: block;
    }
    .menu-primaer-menu-container ul li {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }
    .menu-primaer-menu-container ul li a {
        display: block;
        text-align: left;
        width: 100%;
    }
    .hero-video-container {
        height: 55vh;
    }
    .title-overlay h1 {
        font-size: 27px;
        max-width: none;
    }
    .hero-video-container h2{
        font-size: 16px;
        margin-bottom: 40px;
    }
    .title-overlay .container {
        align-items: start;
        padding: 15px;
    }
    a.play-full-video {
        display: block;
        text-align: center;
        width: auto;
        height: auto;
        color: #fff;
        text-decoration: none;
        font-weight: 400;
        font-size: 15px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        padding: 10px 15px;
        flex-direction: column;
        gap: 6px;
        margin-right: 0;
    }
    a.play-full-video .play-icon {
        display: inline-block;
        margin: 0;
        height: auto;
        width: 20px;
        vertical-align: -4px;
    }
    a.play-full-video label {
        width: auto !important;
    }
    h1 {
        margin-bottom: 10px;
        font-size: 21px;
    }
    .modal-content {
        margin: 30% auto;
        padding: 20px;
        width: 90%;
    }
    a.videoLink {
        font-size: 15px;
    }
    .wp-block-media-text__content {
        margin-top: 20px;
    }
    h2 {
        margin-bottom: 15px;
        font-size: 18px;
    }
    header > nav ul li.current-menu-item a {
        background: transparent;
        color: #000;
        font-weight: 700;
    }
    .header-image {
        width: 100%;
        height: 180px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        align-items: center;
        justify-content: start;
        box-sizing: border-box;
        position: relative;
        animation: none;
    }
    .site-branding a img {
        width: 70px;
        height: auto;
    }
    .header-image .container h1 {
        position: relative;
        left: auto;
        width: 100%;
        text-align: center;
        font-size: 26px;
    }
    .header-image .container {
        justify-content: start;
        align-items: center;
        gap: 10px;
        flex-direction: column;
    }
    .wp-block-media-text>.wp-block-media-text__content {
        padding: 0;
    }
    ul.grid {
        display: block;
        gap: 15px;
    }
    ul.grid li {
        width: 100%;
        height: auto;
        margin: 10px 0 0;
    }

    .tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
        height: 40px;
        width: 40px;
    }
    .tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
        font-size: 8px;
    }
    .tribe-common .tribe-common-h5 {
        font-size: 15px;
    }
    .tribe-events-single>.tribe_events {
        display: block;
    }
    .tribe-events-event-image {
        width: 100% !important;
    }
    nav {
        border-bottom: 1px solid #d9d5ce;
    }
    .home header:not(.scrolled) nav {
        border: none;
    }
















}
