/*
Theme Name: Chalmont Agentur
Theme URI: https://chalmont-agentur.com
Author: Chalmont Agentur
Author URI: https://chalmont-agentur.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chalmont-agentur
Tags: responsive-layout, custom-colors, custom-menu, featured-images, theme-options, translation-ready

 *
 * Designer: shxmsmrxd
 * Contact: shxmsmrxd@gmlail.com
 */

/* Typography: Acumin Variable */
@font-face {
    font-family: 'Chalmont Acumin';
    src: url('assets/font/AcuminVariableConcept.otf') format('opentype-variations');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* Typography: Sackers Gothic */
@font-face {
    font-family: 'Sackers Gothic';
    src: url('assets/font/SackersGothicStd-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sackers Gothic';
    src: url('assets/font/SackersGothicStd-Heavy.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Chalmont Acumin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    font-weight: 300;
    color: #2b2b2b;
    background-color: #f9f7f4;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Global preloader */
.site-preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.site-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.site-preloader-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background:
        conic-gradient(
            #fa4000 calc(var(--preloader-progress, 0) * 1%),
            transparent 0
        );
    -webkit-mask:
        radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0) content-box;
    mask:
        radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0) content-box;
    padding: 2px; /* ring thickness */
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    background-clip: padding-box;
    transition: background 0.2s linear;
}

.site-preloader-text {
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-preloader-percent {
    font-size: 10px;
    letter-spacing: 0.16em;
    color: #999999;
}

.site-preloader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 1500;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 8px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cookie-consent-text {
    font-size: 13px;
    line-height: 1.6;
}

.cookie-consent-button {
    border: 1px solid rgba(250,64,0,0.5);
    background: #fa4000;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 1px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cookie-consent-button:hover {
    background: #f9f7f4;
    color: #fa4000;
    border-color: #fa4000;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

h1, h2, h3, h4, h5, h6,
.site-title,
.hero-title,
.section-title,
.service-title,
.widget-title,
strong, b {
    font-weight: 600;
}

/* Text reveal on scroll */
.reveal-line {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
}

.reveal-line.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Heading typography */
h1, h2, h3 {
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-transform: uppercase;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, border-bottom-color 0.25s ease;
}

/* Header on front page before scroll: white background, no transparency */
.home .site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-main {
    padding: 32px 0 24px;
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-main {
    padding: 24px 0 18px;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo-horizontal {
    display: block;
    max-height: 72px;
    height: auto;
    width: auto;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Logo for light backgrounds (noir) - default */
.site-logo-horizontal {
    content: url('assets/logo/chalmont agentur_horiz typo noir.png');
}

/* On the home page before scroll, also use the horizontal noir logo */
.home .site-header:not(.scrolled) .site-logo-horizontal {
    content: url('assets/logo/chalmont agentur_horiz typo noir.png');
}

.site-header.scrolled .site-logo-horizontal {
    max-height: 42px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 0;
    transition: color 0.25s ease;
}

/* Navigation links */
.home .site-header:not(.scrolled) .main-navigation a {
    color: #2b2b2b;
}

.main-navigation a:hover,
.home .site-header:not(.scrolled) .main-navigation a:hover {
    color: #fa4000;
}

/* Campaigns Section */
/* Text block under campaigns on home */
.hero-text-block {
    margin-top: 40px; /* slightly tighter space above intro text */
}

.hero-intro-text {
    font-family: 'Acumin Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.4;
    color: #111111;
    max-width: 920px;
    text-align: left; /* desktop: back to left-aligned */
    transform-origin: left center;
}

.hero-intro-text + .hero-intro-text {
    margin-top: 10px;
}

.hero-intro-text-secondary {
    font-size: 22px;
}

/* Tighten space below the final hero intro sentence when used outside the home hero block */
.hero-intro-text:last-child {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero-text-block {
        text-align: center;
    }

    .hero-intro-text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;              /* mobile: center text */
        transform-origin: center top;    /* mobile: zoom from top center for both lines */
    }
}

.hero-separator {
    position: relative;
    margin: 32px 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow-x: hidden; /* prevent width overflow */
    overflow-y: visible; /* allow full mascot height (no vertical trim) */
}

.hero-separator-icon {
    display: block;
    height: 48px;
    width: auto;
    /* make the mascot appear white even if the source SVG is dark */
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .hero-separator-icon {
        /* Keep same scale on mobile to avoid any clipped edge */
        transform: none;
    }
}

.campaigns-section {
    padding: 48px 0 56px;
    margin-top: 80px; /* reduced space below fixed header on home */
    background: #f9f7f4;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0; /* no distance between cards */
    margin-top: 0;
}

/* When there is an odd number of cards, make the last one span both columns on desktop */
@media (min-width: 768px) {
    .campaigns-grid > *:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* Avoid horizontal overflow from long URLs/text anywhere in main content */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content a {
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.campaign-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.campaign-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #000000;
    display: block;
}

.campaign-item:hover {
    cursor: pointer;
}

.campaign-item-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
}

/* Keep Latest Campaigns thumbnails in a uniform 1621x1081-ish box on the home page */
.home .campaigns-grid .campaign-item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1621 / 1081;
}

.campaign-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.campaign-overlay-inner {
    padding: 16px 20px;
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campaign-item:hover .campaign-item-overlay {
    opacity: 1;
}

@media (max-width: 767px) {
    .campaigns-grid {
        grid-template-columns: 1fr; /* single column on small screens */
    }
}

.campaign-date {
    font-size: 10px;
    font-weight: 700;
    color: #666666;
    display: block;
}

.campaign-title {
    font-size: 11px;
    line-height: 1.6;
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #000000;
    color: #2b2b2b;
    padding: 0;
    margin-top: 0;
    height: 70vh;
    min-height: 500px;
}

.hero-section::after {
    content: none;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-campaign-card {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.hero-campaign-card.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-campaign-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-campaign-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2b2b2b;
    z-index: 10;
}

@media (min-width: 1200px) {
    .hero-campaign-caption {
        left: calc((100vw - 1200px) / 2 + 20px);
    }
}

.hero-slideshow-dots {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 1);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 1);
}

.hero-dot.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    background: transparent;
    color: #fa4000;
    text-decoration: none;
    border-radius: 1px;
    border: 1px solid rgba(250,64,0,0.5);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:focus,
.btn:focus-visible,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* White buttons on front page hero */
.home .hero-section .btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn:hover {
    transform: translateY(-1px);
    background-color: #fa4000;
    color: #f9f7f4 !important;
    border-color: #fa4000;
}

/* Coming Soon page: remove default focus outline from the email button */
.coming-soon-page .btn,
.coming-soon-page .btn:focus,
.coming-soon-page .btn:active {
    outline: none;
    border: 1px solid rgba(250,64,0,0.5);
}

/* Coming Soon page: password error message */
.coming-soon-error {
    margin-top: 10px;
    color: #fa4000;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home .hero-section .btn:hover {
    background-color: #ffffff;
    color: #2b2b2b !important;
    border-color: #ffffff;
}

/* Main Content */
.site-main {
    padding: 120px 0 100px;
}

.page-title {
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 40px;
    color: #111111;
}

.entry-content {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* In-content links (About text, Impressum, etc.) */
.entry-content a {
    font-family: 'Chalmont Acumin', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    color: #fa4000;
    text-decoration: none;
    border-bottom: 1px solid rgba(250,64,0,0.4);
    padding-bottom: 1px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.entry-content a:hover {
    color: #000000;
    border-color: #000000;
}

.entry-content h2 {
    font-size: 21px; /* ~75% of 28px */
    margin: 30px 0 15px;
    color: #1a1a2e;
}

.entry-content h3 {
    font-size: 18px; /* ~75% of 24px */
    margin: 25px 0 12px;
    color: #1a1a2e;
}

/* About page section spacing & separators */
.about-agency .entry-content > section {
    margin-bottom: 40px;
}

.about-agency .entry-content > section + section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* About Lea layout */
.about-lea-layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.about-lea-photo {
    flex: 0 0 260px;
}

.about-lea-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Strong black & white look with a bit of contrast, no opacity fade */
    filter: grayscale(100%) contrast(1.2) brightness(1.05);
    transition: filter 1s ease;
}

/* When header has scrolled state, show Lea photo in color */
.site-header.scrolled ~ .site-main .about-lea-photo img {
    filter: none;
}

.about-lea-text {
    flex: 1;
}

.about-lea-text p + p {
    margin-top: 10px;
}

.about-separator {
    width: 140px;
    height: 1px;
    margin: 40px auto 32px;
    background-image: url('assets/separationfull_mascot.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Contact Address & Map */
.address-map-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    align-items: flex-start;
}

.address-text {
    flex: 1;
}

.address-map {
    flex: 0 0 auto;
}

.address-map iframe {
    width: 350px;
    height: 280px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.address-map iframe:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .address-map-container {
        flex-direction: column;
    }
    
    .address-map {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .address-map iframe {
        max-width: 100%;
        width: 100%;
    }
}

/* Contact Form */
.contact-form {
    width: 100%;
    margin-top: 30px;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #2b2b2b;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid rgba(0,0,0,0.12);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    border-radius: 0;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fa4000;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-row-submit {
    margin-top: 10px;
}

.contact-form .btn {
    cursor: pointer;
}

/* 404 page suggestion buttons: horizontal row, styled like navigation/brand */
.error-404 .404-suggestion-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.error-404 .404-suggestion-buttons .btn {
    text-align: center;
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: 0.14em;
}

/* Single Campaign Page */
.campaign-single {
    padding: 40px 0;
}

.campaign-header {
    margin-bottom: 40px;
}

.campaign-single .campaign-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.campaign-meta {
    font-size: 14px;
    color: #666666;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campaign-featured-image {
    margin-bottom: 40px;
    max-width: 800px;
}

.campaign-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.campaign-gallery-slideshow {
    position: relative;
    margin-bottom: 40px;
    max-width: 1200px;
    overflow: hidden;
}

.campaign-gallery-slide {
    display: none;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.campaign-gallery-slide.active {
    display: block;
    opacity: 1;
}

.campaign-gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.campaign-gallery-dots {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.campaign-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 1);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.campaign-gallery-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.campaign-gallery-dot.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .campaign-gallery-dots {
        right: 15px;
        gap: 8px;
    }
    
    .campaign-gallery-dot {
        width: 8px;
        height: 8px;
    }
}

.campaign-content {
    margin-bottom: 40px;
    line-height: 1.8;
}

.campaign-details {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
}

.campaign-details h2 {
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.campaign-details p {
    margin-bottom: 12px;
}

.campaign-navigation {
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    padding: 80px 0 60px;
    background: #f9f7f4;
}

.section-title {
    text-align: left;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: #111111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.calendar-card-figure {
    max-width: 120px;
    margin: 0 0 12px 0;
}

.calendar-card-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 0;
    margin: 0;
}

/* Calendar page cards */
.calendar-page .calendar-section {
    margin-bottom: 40px;
}

.calendar-page .calendar-section h2 {
    margin-bottom: 18px;
}

.calendar-page .calendar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.calendar-page .calendar-list li {
    padding: 0;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
    overflow: hidden;
}

.calendar-page .calendar-date {
    font-family: "Chalmont Acumin", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.calendar-page .calendar-entry {
    display: inline-block;
    margin-bottom: 4px;
    font-family: "Sackers Gothic Heavy", "Sackers Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.calendar-page .calendar-time,
.calendar-page .calendar-location,
.calendar-page .calendar-notes {
    display: inline-block;
    margin-bottom: 3px;
    font-family: "Chalmont Acumin", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.calendar-page .calendar-entry em {
    font-style: normal;
}

/* Calendar page card image full-width at top */
.calendar-page .calendar-card-figure {
    margin: 0 0 14px 0;
    max-width: none;
}

.calendar-page .calendar-card-image {
    display: block;
    width: 100%;
    height: auto;
}

.calendar-page .calendar-list li .calendar-date,
.calendar-page .calendar-list li .calendar-entry,
.calendar-page .calendar-list li .calendar-time,
.calendar-page .calendar-list li .calendar-location,
.calendar-page .calendar-list li .calendar-notes {
    padding: 0 22px;
}

.calendar-page .calendar-list li .btn.mt-10 {
    margin: 14px 22px 18px 22px;
}

@media (max-width: 768px) {
    .calendar-page .calendar-list {
        grid-template-columns: 1fr;
    }
}

.calendar-page .calendar-notes {
    font-size: 12px;
    opacity: 0.8;
}

.calendar-page .btn {
    margin-top: 10px;
}

.service-card {
    background: #ffffff;
    padding: 32px 28px 30px;
    border-radius: 0;
    text-align: left;
    border-top: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    background-color: #f9f5f3;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fa4000;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
}

/* Footer */
.site-footer {
    position: relative;
    background: #ffffff;
    color: #2b2b2b;
    padding: 30px 0 15px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    display: block;
    max-height: 40px;
    width: auto;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 0;
    width: 220px;
    height: 220px;
    background-image: url("assets/logo/chalmont agentur_blanc.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-widgets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-widget h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #111111;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 4px;
}

.footer-widget a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

.footer-widget a:hover {
    color: #fa4000;
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 10px;
    color: #666666;
}

.footer-bottom-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 6px;
    padding-top: 8px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
    width: 100%;
    grid-column: 1 / -1;
}

.contact-info li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #666666;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-main {
        padding: 20px 0 16px;
    }

    .site-header.scrolled .header-main {
        padding: 16px 0 12px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .site-branding {
        justify-content: center;
        width: 100%;
    }

    .site-logo-horizontal {
        max-height: 56px;
    }

    .site-header.scrolled .site-logo-horizontal {
        max-height: 38px;
    }

    .main-navigation {
        width: 100%;
        text-align: center;
    }

    .about-lea-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-lea-photo img {
        height: auto;
        max-width: 100%;
    }

    /* Keep About text left-aligned on mobile */
    .about-agency .entry-content,
    .about-lea-text {
        text-align: left;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .main-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px 20px;
    }
    
    .main-navigation li {
        margin: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        flex-direction: row;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}


.about-quote {
    margin-top: 32px;
    padding: 20px 20px 20px 40px;
    position: relative;
    font-size: 15px;
    line-height: 1.9;
}

.about-quote::before,
.about-quote::after {
    content: "“";
    position: absolute;
    top: -10px;
    font-family: 'Sackers Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 42px;
    color: #fa4000;
    opacity: 0.4;
}

.about-quote::before {
    left: 0;
}

.about-quote::after {
    content: "”";
    right: 16px;
}
