/*
Theme Name: Physio FRG
Theme URI: https://physio-frg.toabai.media/
Description: Individuelles Child-Theme für die Berufsfachschule für Physiotherapie Freyung auf Basis von GeneratePress.
Author: toabai.media
Author URI: https://toabai.media/
Template: generatepress
Version: 1.0.6
Requires at least: 6.6
Requires PHP: 8.1
Update URI: https://updates.toabai.media
Text Domain: physio-frg
*/

/*
 * Projektspezifische Styles kommen hier hinein.
 * Globale Farben und Typografie werden primär über GeneratePress/GenerateBlocks gepflegt.
 */


/* Local Inter webfont. Source: Inter 4.1, SIL Open Font License 1.1. */
@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter/Inter-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter/Inter-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter/Inter-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("assets/fonts/inter/Inter-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}


/*
 * Global typography fallback. GeneratePress remains the source of the detailed
 * typography settings; this ensures Inter is also inherited by GenerateBlocks
 * and by the block editor.
 */
body,
.editor-styles-wrapper {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/*
 * Button utilities. GeneratePress applies its global article link color with
 * higher selector specificity than GenerateBlocks' generated button color.
 * These explicit utility classes keep button text/hover colors predictable
 * without editing theme files from the WordPress backend.
 */
.inside-article a.button-primary {
    color: #ffffff;
}

.inside-article a.button-primary:hover,
.inside-article a.button-primary:focus {
    color: #ffffff;
}

.inside-article a.button-secondary {
    color: #1a4a9b;
}

.inside-article a.button-secondary:hover,
.inside-article a.button-secondary:focus {
    color: #ffffff;
}

/*
 * FAQ accordion utility.
 * Expected block classes:
 * .faq-item    = complete FAQ item
 * .faq-trigger = clickable question row
 * .faq-answer  = answer content
 */
.faq-trigger {
    cursor: pointer;
}

.faq-answer {
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* Keep FAQ answers visible while editing in Gutenberg. */
.editor-styles-wrapper .faq-answer {
    display: block !important;
}

.faq-trigger [data-faq-icon] {
    display: inline-block;
    min-width: 1em;
    text-align: right;
}
