@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

:root {

    /* Kleuren */
    --ac-red: #a12011;
    --ac-black: #111111;
    --ac-text: #1a1a1a;
    --ac-border: #999999;
    --ac-bg: #f7f4ef;
    --ac-white: #ffffff;

    /* Breedtes */
    --ac-page-width-max: 100%;
    --ac-page-width: 850px;
    --ac-media-padding: 12px;
    --ac-line-thick: 2px;

    /* Witruimte */
    --ac-spacer: 10px;

}

/* Consistente maatvoering voor alle elementen */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 0;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--ac-bg);
}

html {
    font-size: 100%;
}

/* ==========================================
   HEADER: RODE BALK, ZOEKEN, TEMPERATUUR EN MEER-MENU
   ========================================== */
.ac-header-bar {
    position: relative;
    z-index: 1000;
    overflow: visible;
    width: 100%;
    background: var(--ac-red);
    color: var(--ac-white);
    margin: 0 0 var(--ac-spacer);
}

.ac-header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Klikbare temperatuur naast het vergrootglas */
.ac-temperature-link,
.ac-temperature-link:visited,
.ac-temperature-link:hover,
.ac-temperature-link:focus {
    display: inline-flex;
    align-items: center;
    color: var(--ac-white);
    text-decoration: none;
    border: 0;
    box-shadow: none;
}

.ac-temperature-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.ac-temperature {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

/* ==========================================
   HEADER - ONZE DOSSIERS
   ========================================== */

.ac-dossiers-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 3px;

    color: var(--ac-white);
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
    white-space: nowrap;

    transition: background-color 0.2s, color 0.2s;
}

.ac-dossiers-link,
.ac-dossiers-link:visited {
    color: var(--ac-white);
    text-decoration: none;
}

.ac-dossiers-link:hover,
.ac-dossiers-link:focus-visible {
    background-color: var(--ac-white);
    color: var(--ac-red);
    text-decoration: none;
}

.ac-dossiers-mobile {
    display: none;
}


.ac-header-date {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: var(--ac-page-width);
    margin: 0 auto;
    padding: 9px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ac-white);
}

.ac-search {
    position: relative;
}

.ac-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ac-white);
    cursor: pointer;
}

.ac-search-icon:hover {
    color: rgba(255, 255, 255, 0.75);
}

.ac-header-icons svg {
    display: block;
}


.ac-search-form[hidden] {
    display: none;
}

.ac-search-form:not([hidden]) {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 100;
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--ac-white);
    border: 1px solid var(--ac-border);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.ac-search-form input {
    width: 230px;
    max-width: 55vw;
    padding: 8px;
    font-size: 14px;
}

.ac-search-form button {
    padding: 8px 12px;
    border: 0;
    background: var(--ac-black);
    color: var(--ac-white);
    cursor: pointer;
}

.ac-logo {
    max-width: var(--ac-page-width);
    margin: 20px auto 15px;
    padding: 15px 0 20px;
    border-top: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac-logo a {
    display: block;
    max-width: 100%;
}

.ac-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* ==========================================
   ARNHEMSCHE COURANT - HORIZONTALE SLIDER
   ========================================== */

.ac-slider {
    position: relative;
    width: calc(100% - 30px);
    max-width: 1250px;
    margin: 15px auto 20px;
    overflow: hidden;
}

/* Horizontaal scrollbare rij */

.ac-slider-track {
    display: flex;
    gap: 15px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding: 0 0 10px;

    scrollbar-width: none;
    -ms-overflow-style: none;

    -webkit-overflow-scrolling: touch;
}

.ac-slider-track::-webkit-scrollbar {
    display: none;
}

/* Individuele slides */

.ac-slide {
    display: flex;
    flex: 0 0 510px;
    height: 180px;

    background: #eeece8;
    border-radius: 4px;
    overflow: hidden;

    color: var(--ac-black);
    text-decoration: none;

    scroll-snap-align: start;
}

.ac-slide:visited,
.ac-slide:hover {
    color: var(--ac-black);
    text-decoration: none;
}

/* Afbeelding links */
.ac-slide-image {
    flex: 0 0 auto;
    width: 270px;
    height: 180px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

/* Tekst rechts - vaste breedte */
.ac-slide-content {
    flex: 0 0 240px;
    min-width: 0;
    padding: 12px 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ac-slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tekst rechts */

.ac-slide-label {
    color: var(--ac-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
}

.ac-slide-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 8px;
}

.ac-slide-content p {
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

/* ==========================================
   SLIDER - NAVIGATIEPIJLEN
   ========================================== */

.ac-slider-prev,
.ac-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 44px;
    padding: 0;

    border: none;
    border-radius: 3px;

    background: rgba(0, 0, 0, 0.45);
    color: #fff;

    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.ac-slider-prev {
    left: 0;
}

.ac-slider-next {
    right: 0;
}

.ac-slider-prev:hover,
.ac-slider-next:hover {
    background: var(--ac-red);
}

/* ==========================================
   AGENDA SLIDER
   ========================================== */

.ac-agenda-slider {
    display: flex;
    align-items: center;

    width: calc(100% - 30px);
    max-width: 1100px;
    height: 44px;

    margin: 0 auto 20px;

    background: #ffffff;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;

    overflow: hidden;
}

/* Vast agenda-icoon links */

.ac-agenda-slider-start {
    display: flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;
    height: 100%;

    padding: 0 15px 0 10px;

    color: var(--ac-red);
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    border-right: 1px solid #dddddd;
}

.ac-agenda-slider-start:hover {
    color: var(--ac-red);
    text-decoration: none;
}

/* Scrollbare evenementen */

.ac-agenda-slider-track {
    display: flex;
    align-items: center;
    gap: 25px;

    flex: 1;
    min-width: 0;
    height: 100%;

    padding: 0 15px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ac-agenda-slider-track::-webkit-scrollbar {
    display: none;
}

/* Individueel evenement */

.ac-agenda-slider-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;

    white-space: nowrap;
    text-decoration: none;

    font-size: 12px;
    color: var(--ac-black);
}

.ac-agenda-slider-item:hover {
    color: var(--ac-red);
    text-decoration: none;
}

.ac-agenda-slider-date {
    font-weight: 700;
    color: var(--ac-red);
}

.ac-agenda-slider-title {
    font-weight: 400;
}

/* Geen evenementen */

.ac-agenda-slider-empty {
    font-size: 12px;
    color: #777777;
    white-space: nowrap;
}

/* Vast plusteken rechts */

.ac-agenda-slider-add {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;
    height: 100%;

    border-left: 1px solid #dddddd;

    color: var(--ac-red);
    font-size: 27px;
    font-weight: 300;
    text-decoration: none;
}

.ac-agenda-slider-add:hover {
    background: var(--ac-red);
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================
   AGENDA SLIDER - NAVIGATIEPIJLEN
   ========================================== */

.ac-agenda-slider-prev,
.ac-agenda-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;
    height: 100%;

    padding: 0;
    border: none;
    background: #fff;

    color: #777;
    font-size: 13px;
    cursor: pointer;

    transition: background 0.2s, color 0.2s;
}

.ac-agenda-slider-prev {
    border-right: 1px solid #eee;
}

.ac-agenda-slider-next {
    border-left: 1px solid #eee;
}

.ac-agenda-slider-prev:hover,
.ac-agenda-slider-next:hover {
    background: var(--ac-red);
    color: #fff;
}

.ac-agenda-slider-prev:disabled,
.ac-agenda-slider-next:disabled {
    color: #ccc;
    cursor: default;
    background: #fff;
}

/* ==========================================
   BANNER - GECENTREERD BOVEN NIEUWS
   ========================================== */
.ac-topBanner {
    width: 100%;
    max-width: var(--ac-page-width);
    margin: 20px auto 25px;
    padding: 0;
    text-align: center;
}

.ac-topBanner img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =========================================
   HOMEPAGE - NIEUWSITEMS
   ========================================= */

.nieuws-item {
    position: relative;
    display: block;
    width: 100%;
    max-width: var(--ac-page-width);
    margin: 0 auto 15px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background: #333;
}

.nieuws-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nieuws-item:hover img {
    transform: scale(1.05);
}

.nieuws-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        transparent 75%
    );
    pointer-events: none;
}

.nieuws-titel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 1.25rem;

    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.25rem, 2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;

    color: #fff;
    z-index: 2;

    overflow-wrap: break-word;
}

.nieuws-item a {
    display: block;
    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.artikel-titel {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #000;

    overflow-wrap: break-word;
}

/* =========================================
   HOMEPAGE - MEER NIEUWS
   ========================================= */

.ac-meer-nieuws {
    width: 100%;
    max-width: var(--ac-page-width);
    margin: 25px auto 40px;
    padding: 0 12px;
}

.ac-meer-nieuws h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--ac-black);
}

/* =========================================
   HOMEPAGE - HEADLINES MET KLEINE FOTO
   ========================================= */

.ac-headline {
    padding: 12px 0;
    border-bottom: 1px solid var(--ac-border);
}

.ac-headline:first-of-type {
    border-top: 1px solid var(--ac-border);
}

.ac-headline a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--ac-black);
    text-decoration: none;
}

.ac-headline-foto {
    width: 150px;
    height: 150px;
    min-width: 150px;
    flex: 0 0 150px;
    object-fit: cover;
    border-radius: 4px;
}

.ac-headline-titel {
    flex: 1;
    min-width: 0;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ac-headline a:hover {
    color: var(--ac-red);
}

.ac-bekijk-alles {
    display: block;
    margin-top: 20px;
    text-align: right;
    font-family: 'Oswald', sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--ac-black);
    text-decoration: none;
}

.ac-bekijk-alles:hover {
    color: var(--ac-red);
}

/* ==========================================
   RUBRIEKEN
   ========================================== */

.ac-rubrieken {
    width: 100%;
    max-width: var(--ac-page-width-max);
    margin: 30px auto 0;
    background: var(--ac-white);
}

.ac-rubrieken-inner {
    width: 100%;
    max-width: var(--ac-page-width);
    margin: 0 auto;
    padding: 25px 15px;
}

.ac-rubrieken h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--ac-black);
}

.ac-rubrieken-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 8px;
}

.ac-rubrieken-links a {
    color: var(--ac-text);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
}

.ac-rubrieken-links a:hover {
    color: var(--ac-red);
    text-decoration: underline;
}

/* ==========================================
   FOOTER
   ========================================== */

.ac-footer {
    width: 100%;
    max-width: var(--ac-page-width-max);
    margin: 30px auto;
    background: var(--ac-red);
    color: #fff;
}

.ac-footer-inner {
    width: 100%;
    max-width: var(--ac-page-width);
    margin: 0 auto;
    padding: 45px 15px 20px;
}

.ac-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.ac-footer h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 15px;
}

.ac-footer p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 15px;
    max-width: 380px;
}

.ac-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.ac-footer a:hover {
    text-decoration: underline;
}

.ac-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ac-footer-nav h3 {
    margin-bottom: 5px;
}

.ac-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    margin-top: 35px;
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* =========================================
   SOCIALMEDIA-ICONEN
   ========================================= */

@font-face {
    font-family: 'icon56';
    src: url('/wp-content/themes/fox/css56/icons56-v68/icon56.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.ac-socials {
    max-width: var(--ac-page-width);
    margin: 10px auto 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
}

.ac-socials a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 34px;
    height: 34px;
    border: var(--ac-line-thick) solid var(--ac-black);
    border-radius: 50%;

    color: #333;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;

    transition: color 0.2s, border-color 0.2s;
}

.ac-socials a:hover {
    color: var(--ac-red);
    border-color: var(--ac-red);
}

.ac-socials [class^="ic56-"]::before {
    font-family: 'icon56';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

/* Facebook */
.ac-socials .ic56-facebook::before {
    content: "\ea90";
}

/* Instagram */
.ac-socials .ic56-instagram::before {
    content: "\ea92";
}

/* X */
.ac-socials .ic56-x::before {
    content: "\e915";
}

/* TikTok */
.ac-socials .ic56-tiktok::before {
    content: "\e90b";
}

/* Bluesky */
.ac-socials .ic56-bluesky-brands-solid::before {
    content: "\e92b";
}

/* LinkedIn */
.ac-socials .ic56-linkedin::before {
    content: "\eac9";
}

/* WhatsApp */
.ac-socials .ic56-whatsapp::before {
    content: "\ea93";
}

/* E-mail */
.ac-socials .ic56-envelope::before {
    content: "\e914";
}

/* ==========================================
   MOBIELE WEERGAVE - ALLE AANPASSINGEN BIJ ELKAAR
   ========================================== */
@media (max-width: 600px) {
    /* Agenda-slider */
    .ac-agenda-slider {
        width: calc(100% - 24px);
        height: 40px;
        margin-bottom: 18px;
    }

    .ac-agenda-slider-start {
        padding: 0 10px;
        font-size: 13px;
    }

    .ac-agenda-slider-track {
        gap: 18px;
        padding: 0 10px;
    }

    .ac-agenda-slider-item {
        font-size: 11px;
    }

    .ac-agenda-slider-add {
        flex-basis: 36px;
        font-size: 24px;
    }

    .ac-agenda-slider-prev,
    .ac-agenda-slider-next {
        display: none;
    }

    .ac-slider {
        width: calc(100% - 24px);
        margin: 12px auto 18px;
    }

    .ac-slider-track {
        gap: 10px;
    }

    .ac-slide {
        flex: 0 0 88%;
        height: 150px;
    }

    .ac-slide-image {
        flex: 0 0 42%;
        width: auto;
        height: 100%;
        aspect-ratio: auto;
    }

    .ac-slide-content {
        flex: 1;
        min-width: 0;
        padding: 10px;
    }

    .ac-slide-label {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .ac-slide-content h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .ac-slide-content p {
        font-size: 10px;
        line-height: 1.3;
    }

    .ac-slider-prev,
    .ac-slider-next {
        width: 25px;
        height: 36px;
        font-size: 16px;
    }

    .ac-header-date {
        padding: 9px var(--ac-media-padding);
    }

    .ac-header-icons {
        gap: 12px;
    }


    .ac-temperature {
        font-size: 14px;
    }

	/* Dossiersknop op mobiel */
.ac-dossiers-link {
    padding: 4px 7px;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0;
}

.ac-dossiers-desktop {
    display: none;
}

.ac-dossiers-mobile {
    display: inline;
}

    .ac-topLinks-box {
        padding: 10px 12px 12px;
    }

    .ac-topLinks {
        gap: 4px 15px;
    }

    .ac-topLinks a {
        font-size: 14px;
        line-height: 1.2;
    }

    .nieuws-grid {
        padding-left: var(--ac-media-padding);
        padding-right: var(--ac-media-padding);
    }

.ac-logo {
    width: calc(100% - 30px);
}

.ac-logo a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ac-logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

    .ac-socials {
        padding-right: var(--ac-media-padding);
    }

    .ac-headline-foto {
        width: 75px;
        height: 75px;
        min-width: 75px;
        flex-basis: 75px;
    }

    .ac-headline a {
        gap: 12px;
    }

    .ac-footer-inner {
        padding: 35px 15px 20px;
    }

    .ac-footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ac-footer-bottom {
        margin-top: 30px;
    }

    .ac-topBanner {
        width: calc(100% - 2 * var(--ac-media-padding));
        margin: 20px auto 25px;
    }
}