/*
Theme Name: Cultina
Theme URI: https://cultina.de
Author: Cultina
Description: Eigenes Theme für den cultina.de-Relaunch. Stellt Elementor-Support bereit und ermöglicht es, Header und Footer als Elementor-Library-Templates zu pflegen (ohne Elementor Pro).
Version: 0.4.5
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cultina
Tags: catering, custom-colors, elementor, full-width-template, threaded-comments, translation-ready
*/

/*
 * The real CSS lives in /assets/css/ and is enqueued individually by
 * inc/enqueue.php in this cascade order:
 *   1. _tokens.css       - design tokens (custom properties)
 *   2. _reset.css        - modern reset
 *   3. _typography.css   - headings, body, links, lists, blockquote
 *   4. _layout.css       - container, grid, stack, cluster, skip-link
 *   5. style.css         - this file: page-chrome glue only
 *
 * Keep this file minimal. New module CSS goes into assets/css/<module>.css
 * and gets its own wp_enqueue_style() call with proper dependencies.
 */

/* ----- page-chrome glue ----------------------------------------------- */

.cultina-site-main {
    min-height: 50vh;
}

/* Elementor-Canvas page template suppresses our header/footer. */
.cultina-elementor-canvas .cultina-site-header,
.cultina-elementor-canvas .cultina-site-footer {
    display: none;
}

/* ----- fallback header/footer (used before Elementor templates are picked) */

.cultina-fallback-header,
.cultina-fallback-footer {
    max-width: var(--cultina-container-max);
    margin-inline: auto;
    padding: var(--cultina-space-5) var(--cultina-container-padding-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--cultina-space-4);
}

.cultina-fallback-footer {
    background: var(--cultina-color-text);
    color: var(--cultina-color-text-inverse);
    max-width: none;
    justify-content: center;
}

.cultina-fallback-footer a {
    color: var(--cultina-color-text-inverse);
}

.cultina-fallback-brand {
    font-family: var(--cultina-font-family);
    font-size: var(--cultina-font-size-h4);
    color: var(--cultina-color-primary);
    text-decoration: none;
    font-weight: var(--cultina-font-weight-bold);
}

.cultina-fallback-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--cultina-space-5);
    flex-wrap: wrap;
}

.cultina-fallback-nav a {
    text-decoration: none;
    color: var(--cultina-color-text);
    font-weight: var(--cultina-font-weight-medium);
}

.cultina-fallback-nav a:hover {
    color: var(--cultina-color-primary);
}

.cultina-notice {
    background: var(--cultina-color-surface-cream);
    color: var(--cultina-color-text);
    padding: var(--cultina-space-3) var(--cultina-space-4);
    text-align: center;
    font-size: var(--cultina-font-size-body);
}

.cultina-default-content {
    max-width: var(--cultina-container-max);
    margin-inline: auto;
    padding: var(--cultina-space-7) var(--cultina-container-padding-x);
}

.cultina-default-content .entry-title {
    font-size: var(--cultina-font-size-h1);
    margin-bottom: var(--cultina-space-5);
}

/* Footer links must not inherit the theme link color (magenta) — the
   reference shows all footer text in light Rum-Swizzle/white. */
.cultina-site-footer a {
    color: inherit;
    text-decoration: none;
}

.cultina-site-footer a:hover,
.cultina-site-footer a:focus-visible {
    text-decoration: underline;
}
