@font-face {
    font-family: 'Geliat-ExtraBold';
    src: url('Geliat-ExtraBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Geliat-ExtraLight';
    src: url('Geliat-ExtraLight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   1. GLOBAL & LAYOUT
   ============================================= */
#header {
    display: none;
}

.header {
    background-color: #00766a;
    color: #fff;
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-left: 150px;
}

.header img {
    height: 180px;
    width: auto;
    position: relative;
    top: 75px;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    top: 8px;
}

.header-text h1.title {
    font-family: 'Geliat-ExtraBold', sans-serif;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    font-size: 58px;
    color:#fff;
}

.title-newsfrom {
    font-family: 'Geliat-ExtraLight', sans-serif;
    font-size: 16px;
    color: #9ee2d8;

    margin-bottom: 5px;
    overflow: hidden;
    white-space: nowrap;
}


.title-newsfrom span {
    display: inline-block; 
}

#wrapper {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: 0px -138px !important;
    background-image: url(/wp-content/uploads/2026/02/landingpage-bg.jpg) !important;
}

div[role="main"] {
    background-color: #00766a;
    margin-top: -160px !important;
    margin-bottom: 65px;
    padding: 100px 0 0;
}

.landing_page>.row {
    width: 1350px !important;
}



.landing_page .landing_page_sub_head {
    font-size: 23px;
    color: #00766a;
    background: transparent;
    text-align: center;
}

.region_blurb {
    font-size: 18px !important;
    margin-bottom: 20px;
    line-height: 20px;
}

.side-bar-layout {
    display: grid;
    grid-template-columns: 375px 1fr;
    gap: 4px;
    margin: 50px 0;
    padding: 4px;
    background-color: #ffffffb4;
    border-radius: 15px;
}


.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 25px;
    color: #00766a;
    text-align: center;
    margin: -10px 0 0 0;
}

.header-date {
    font-size: 13px !important;
    margin: 0;
    font-weight: 300 !important;
}

.landing_page_head,
.landing_page_sub_head {
    color: #00766a;
    text-align: left;
}

.landing_page_head {
    font-size: 18px!important;
    font-weight: 700;
    margin-bottom: 5px;
}

.landing_page_sub_head {
    font-size: 16px!important;
    margin-bottom: 25px;
}

/* ==========================================================================
   2. CONTACT & CARDS & SIDEBAR COMPONENTS
   ========================================================================== */

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: .95rem;
    color: #444;
}

.info-row .icon.hidden {
    visibility: hidden;
}

.icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    opacity: .6;
    flex-shrink: 0;
}

.contact-column {
    padding: 0;
}

.contact-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #666;
}

.contact-section-title {
    font-size: 22px;
    color: #666;
    text-align: left;
}

.user-info-row {
    padding: 0 15px 25px 15px;
    display: flex;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    font-family: Montserrat, sans-serif;
    margin-bottom: 30px;
}

.card-title {
    color: #fff;
    padding: 14px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.card-title.green {
    background: #658d6e;
}

.card-title.yellow {
    background: #a7bf69;
}

.card-title.blue {
    background: #d1d34e;
}

.card-title.darkgreen {
    background: #00766a;
}

.content-card-list {
    background: #ffffff;
    padding: 15px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    list-style: none;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.content-card-list li {
    border-bottom: 1px solid #f0f2f5;
}

.content-card-list li:last-child {
    border-bottom: none;
}

.local-card-container {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.region-card {
    width: 100%;
    margin-bottom: 50px;
}

.region-card-container {
    margin: 0px 0;
    text-align: left;
}

.region-card .user-info-row {
    margin: 10px;
}


/* ==========================================================================
   3. TABLE OF CONTENTS & ACCORDIONS
   ========================================================================== */
.toc-wrapper {
    text-align: center;
    padding: 25px 0;
}

.toc-header {
    margin: 0;
}

.toc-header h2 {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.sidebar-layout-toc {
    border: 1px solid #28766a54;
    background: #f4f4f4e8;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: left;
}

.toc-item-list-details-element {
    transition: background-color 0.3s ease, border-left 0.3s ease;
    padding: 1rem 0.5rem;
    border-left: 4px solid transparent;
}

.toc-item-list-details-element summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a1b;
    list-style: none;
    transition: color 0.2s ease;
}

.toc-item-list-details-element summary::-webkit-details-marker {
    display: none;
}

.toc-item-list-details-element summary:hover {
    color: #00766a;
}

.toc-item-list-details-element[open] {
    background-color: #f8fafc;
    border-left: 4px solid #00766a;
    padding-left: 12px;
    margin: 4px 0;
}

.toc-item-list-details-element[open] summary {
    color: #00766a;
    background-color: transparent;
    padding: 2px 10px;
    border-radius: 5px;
}

.toc-item-list-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.toc-item-list-content {
    padding: 0.75rem 0 0.5rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.toc-featured-thumb {
    width: 100%;
    max-height: 325px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background-color: #f0f0f0;
}

.toc-item-list-details-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 1rem 0;
    align-items: flex-start;
}

.details-text {
    flex-grow: 1;
    min-width: 0;
}

.details-text p {
    margin: 0 0 1rem 0;
    font-style: normal;
    font-weight: 500;
    color: #28684e;
    font-size: 1.45rem;
    line-height: 21px;
}

.toggle-icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
    color: #196950;
}

.toc-item-list-details-element[open] .toggle-icon {
    transform: rotate(45deg);
    color: #ef4444;
}

.summary-svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* ==========================================================================
   4. AJAX & DYNAMIC CONTENT
   ========================================================================== */
.ajax-post-content {
    min-height: 350px;
}

.ajax-post-content ul {
    padding-left: 3.25rem;
    margin: 0 0 2rem 0;
}

.ajax-post-content li {
    text-align: left;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

#ajax-post-output {
    padding: 20px;
    background: #f4f4f4f2;
    border-radius: 15px;
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 50vh;
    border: 1px solid #28766a54;
}


#ajax-post-output article p {
    font-size: 16px;
    color: #555;
    text-align: left;
    margin-bottom: 10px;
}

#ajax-post-output article h1 {
    text-align: left;
    font-size: 28px;
}

#ajax-post-output .entry-content a {
    color: #00766a;
    text-decoration: underline;
}

#ajax-post-output .entry-content a:hover {
    color: #0e4d3b !important;
}

#ajax-post-output .entry-content {
    text-align: left;
}

#ajax-post-output article .wp-caption {
    max-width: 45%;
    margin: 0 20px 20px 0;
    display: block;
}

#ajax-post-output article .wp-caption:nth-of-type(odd) {
    float: left;
    margin-right: 20px;
    margin-left: 0;
}

#ajax-post-output article .wp-caption:nth-of-type(even) {
    float: right;
    margin-left: 20px;
    margin-right: 0;
}

#ajax-post-output article::after {
    content: '';
    display: table;
    clear: both;
}


/* ==========================================================================
   5. SPONSORS & SPONSOR GRID
   ========================================================================== */
.sponsor-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 50px;
}

.main-sponsors {
    grid-template-columns: repeat(2, 1fr);
}

.regular-sponsors {
    grid-template-columns: repeat(3, 1fr);
}

.sponsor-grid>* {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    aspect-ratio: 4 / 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0;
    text-decoration: none;
    overflow: hidden;
}

.sponsor-grid>*:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.sponsor-grid img {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-grid .card-title.green {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2d5a27;
    margin: 40px 0 20px 0;
    border-left: 5px solid #4CAF50;
    padding-left: 15px;
    text-transform: uppercase;
}

.full-width-block {
    width: 100%;
    display: block;
}



/* ==========================================================================
   7. BUTTONS & UTILITIES
   ========================================================================== */
.btn-read-more {
    display: flex;
    margin-top: 1rem;
    padding: 8px 16px;
    background-color: #eaeaea;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #00766a;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    align-items: center;
}

.post-actions .btn-read-more {
    background-color: #9c905f;
    color: #fff;
}

.post-actions {
    clear: both;
    width: 100%;
}


.btn-read-more:hover {
    background-color: #00766a;
    color: white;
    border-color: #00766a;
}

.meta .social li a {
    color: #fff !important;
    background: #9c905f !important;
}

.meta .social li a:hover {
    background: #00766a !important;
}

.full-width {
    width: 100%;
}

.no-decor {
    text-decoration: none;
}

.region-selector-padding {
    text-align: center;
    padding: 100px 0;
}

.social .columns {
    position: relative;
    right: 0;
    top: 0;
    margin-bottom: 30px;
}



#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #42654a;
    color: #ffffff;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 20px;
}

#scrollTopBtn:hover {
    background-color: #1e3523;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}


/* ==========================================================================
   8. ANIMATIONS & SPINNER
   ========================================================================== */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
}

.spinner div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    margin: 4px;
    border: 4px solid #00766a;
    border-radius: 50%;
    animation: spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #00766a transparent transparent transparent;
}

.spinner div:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner div:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner div:nth-child(3) {
    animation-delay: -0.15s;
}

/* ==========================================================================
   IMAGE MODAL
   ========================================================================== */
/* 1. MAIN LIST ITEM CONTAINER
   The white card with the shadow you mentioned */
.toc-item-list-details-body {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    border-radius: 4px;
    /* Optional: adds a subtle rounded corner */
}

/* 2. THE THUMBNAIL WRAPPER
   This is the anchor for your magnifying glass icon */
.toc-featured-thumb-wrapper {
    width: 100%;
    position: relative;
    display: block;
    line-height: 0;
    /* Removes the gap at the bottom of images */
    overflow: hidden;
    /* Keeps the hover-zoom contained */
    cursor: pointer;
    margin-bottom: 15px;
    /* Space between image and title */
}

/* 3. THE IMAGE
   Includes the "lift" and brightness transition */
.toc-featured-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* 4. THE MAGNIFYING GLASS
   Centered perfectly using your SVG */
.toc-featured-thumb-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-image: url("data:image/svg+xml,%3Csvg width='20px' height='20px' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M17.545 15.467l-3.779-3.779a6.15 6.15 0 0 0 .898-3.21c0-3.417-2.961-6.377-6.378-6.377A6.185 6.185 0 0 0 2.1 8.287c0 3.416 2.961 6.377 6.377 6.377a6.15 6.15 0 0 0 3.115-.844l3.799 3.801a.953.953 0 0 0 1.346 0l.943-.943c.371-.371.236-.84-.135-1.211zM4.004 8.287a4.282 4.282 0 0 1 4.282-4.283c2.366 0 4.474 2.107 4.474 4.474a4.284 4.284 0 0 1-4.283 4.283c-2.366-.001-4.473-2.109-4.473-4.474z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 38px;
    height: 38px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    /* Allows click to pass through to link */
    z-index: 10;
}

/* 5. HOVER EFFECTS
   Triggers when the user hovers over the wrapper */
.toc-featured-thumb-wrapper:hover .toc-featured-thumb {
    filter: brightness(0.7);
}

.toc-featured-thumb-wrapper:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    /* Smooth pop-in */
}

/* The Image inside the modal */
#modal-img {
    max-width: 800px !important;
    max-height: 90vh;
    /* Viewport height to ensure it doesn't overflow screen */
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: default;
    /* Arrow cursor so user knows clicking image does nothing */
    background-color: #fff;
}

/* Optional: Entry Animation */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Prevent body scrolling when modal is open (optional) */
body.modal-open {
    overflow: hidden;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   9. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1150px) {
    .header {
        margin-top: 30px!important;
        margin-left: 0px;
        text-align: center;
    }
    .header-text h1.title {
       font-size: 43px;
    }
    .header-text {
        top: 6px;
    }
    .regular-sponsors {
        grid-template-columns: repeat(2, 1fr);
    }
 
}

@media (max-width: 768px) {
    .sponsor-slider>div:nth-child(2) a {
        flex: 1 1 100%;
    }

    .sponsor-slider>div:nth-child(2) a img {
        max-height: 100px;
    }

    .side-bar-layout {
        grid-template-columns: 1fr;
        gap: 0px;
        margin: 5px 0;
    }

    .social {
        display: flex;
        justify-content: space-around;
    }

    .ajax-post-content {
        margin-top: 10px;
        max-width: 93vw;
    }

    .post-actions {
        flex-direction: column;
    }

     .content-card-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .local-card-container {
        grid-template-columns: 1fr;
    }

    /* Header */
      .header {
        flex-direction: column;
        align-items: center;
       margin-top: 133px;
        margin-left: 0;
        padding: 5px 0px;
        gap: 15px;
    }

    .header img {
        height: 75px;
        top: 0;
    }

    .header-text {
        align-items: center;
        top: 0;
    }

    .header-text h1.title {
        font-size: 32px;
    }

    .title-newsfrom {
        font-size: 14px;
        white-space: normal;
    }
    #wrapper {
        background-position: unset !important;
    }
}

@media (max-width: 600px) {

    .main-sponsors,
    .regular-sponsors {
        grid-template-columns: 1fr;
    }

    .sponsor-grid>* {
        aspect-ratio: 2 / 1;
    }
}
