/**
 * =========================================================
 * Camino Theme Customization – Aufgemöbelt by Caritas
 * =========================================================
 *
 * Projekt: aufgemoebelt-ruethen.de
 * Theme: Camino TYPO3
 * Farben: Aufgemöbelt Grün + warme Naturtöne
 *
 * =========================================================
 * Inhaltsverzeichnis
 * =========================================================
 *
 * 1. Farbvariablen
 * 2. Header / Navigation
 * 3. Footer
 * 4. TYPO3 Kontaktformular
 * 5. Sprachumschalter ausblenden
 *
 * =========================================================
 */


/* =========================================================
   1. Farbvariablen
   ========================================================= */

.theme-ocean-breeze {

    /* Primärfarben */
    --color-primary-75:  #c8e05a !important;
    --color-primary-100: #7ea10c !important;

    /* Warme neutrale Farben */
    --color-neutral-0:  #ffffff !important;
    --color-neutral-10: #faf7f2 !important;
    --color-neutral-20: #f5f0e8 !important;
    --color-neutral-30: #e8e0d0 !important;
    --color-neutral-40: #d4c9b8 !important;
    --color-neutral-50: #c0b09e !important;
    --color-neutral-60: #8a7e6e !important;
    --color-neutral-70: #5c4f41 !important;
    --color-neutral-80: #3a2e22 !important;
    --color-neutral-90: #1a1208 !important;
}


/* =========================================================
   2. Header / Navigation
   ========================================================= */

/* Header Hintergrund */
.theme-ocean-breeze .header {
    background: #6d6d6d !important;
    border-bottom: 1px solid #f1eadf;
    box-shadow: 0 2px 12px rgba(26, 18, 8, 0.04);
}


/* =========================================================
   3. Footer
   ========================================================= */

.theme-ocean-breeze .component--page-footer {
    background: #6b675f !important;
    color: #ffffff !important;
}

/* =========================================================
   4. TYPO3 Kontaktformular
   ========================================================= */

/* Formular Wrapper */
.theme-ocean-breeze form[id^="aufgemoebelt-"] {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* Formular Abstände */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .form-element {
    margin-bottom: 1.4rem;
}

/* Labels */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .form-label {
    display: block;
    margin-bottom: 0.45rem;

    font-weight: 600;
    color: #3a2e22;
}

/* Pflichtfelder */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .required {
    color: #7ea10c;
}

/* Eingabefelder */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .form-control {
    width: 100%;
    max-width: 100%;
    min-height: 52px;

    padding: 0.85rem 1rem;

    border: 1px solid #d4c9b8;
    border-radius: 14px;

    background: #ffffff;
    color: #1a1208;

    font-size: 1rem;
    line-height: 1.5;

    box-sizing: border-box;
}

/* Textarea */
.theme-ocean-breeze form[id^="aufgemoebelt-"] textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Fokus */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .form-control:focus {
    outline: none;

    border-color: #7ea10c;
    box-shadow: 0 0 0 0.2rem rgba(126, 161, 12, 0.18);
}

/* Aktionen */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .actions {
    margin-top: 2rem;
}

/* Buttons */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .btn,
.theme-ocean-breeze form[id^="aufgemoebelt-"] .btn-primary {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0.85rem 1.8rem;

    border: 0;
    border-radius: 999px;

    background: #6b5a49;
    color: #ffffff;

    font-weight: 600;
    cursor: pointer;
}

/* Button Hover */
.theme-ocean-breeze form[id^="aufgemoebelt-"] .btn:hover,
.theme-ocean-breeze form[id^="aufgemoebelt-"] .btn-primary:hover {

    background: #5a4a3b;
    color: #ffffff;
}

/* Honeypot Spamfeld */
.theme-ocean-breeze form[id^="aufgemoebelt-"] input[aria-hidden="true"] {
    position: absolute !important;
    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;
}


/* =========================================================
   5. Sprachumschalter ausblenden
   ========================================================= */

.theme-ocean-breeze .header__language-nav {
    display: none !important;
}

.header__language-nav {
    display: none !important;
}

.header__nav {
    gap: 0 !important;
}

/* =========================================================
   NS Gallery – 4:3 Kacheln, volle Breite
   ========================================================= */

.ns-gallery-google-view {
    margin: 0 0.1rem;
    width: 100% !important;
    max-width: none !important;
}

.ns-gallery-google-view .GITheWall,
.ns-gallery-google-view .cus-row {
    width: 100% !important;
    max-width: none !important;
}

.ns-gallery-google-view .cus-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.ns-gallery-google-view .ajaxBlock,
.ns-gallery-google-view .ns-gallery-google-view-item {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    position: relative !important;
}

.ns-gallery-google-view .ns-gallery-item {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.ns-gallery-google-view .ns-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px;
}

/* Tablet */
@media (max-width: 1024px) {
    .ns-gallery-google-view .cus-row {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Handy quer / kleine Tablets */
@media (max-width: 768px) {
    .ns-gallery-google-view .cus-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.9rem !important;
    }
}

/* Handy hochkant */
@media (max-width: 480px) {
    .ns-gallery-google-view .cus-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

/* =========================================================
   Aktionen – Monatliche Fundstücke hervorheben
   Inhaltselement UID 169
   ========================================================= */

#c169 + .textmedia-teaser-grid
.textmedia-teaser-grid__intro
.rich-text h2,
#c169 + .textmedia-teaser-grid
.textmedia-teaser-grid__intro
.rich-text h2 + p {
    width: 100%;
    max-width: 58rem !important;
    box-sizing: border-box;
    background-color: #f5f6f0;
    border-left: 0.4rem solid #7fa900;
}

/* Überschrift – oberer Teil */
#c169 + .textmedia-teaser-grid
.textmedia-teaser-grid__intro
.rich-text h2 {
    margin: 2rem 0 0;
    padding: 1.4rem 1.75rem 0.5rem;
    border-radius: 0 1rem 0 0;
}

/* Text – unterer Teil */
#c169 + .textmedia-teaser-grid
.textmedia-teaser-grid__intro
.rich-text h2 + p {
    margin: 0;
    padding: 0.25rem 1.75rem 1.4rem;
    border-radius: 0 0 1rem 0;
}