/*
Theme Name: FC Greffen
Theme URI: https://fc-greffen.de
Author: FC Greffen 1946 e.V.
Description: Schlankes Block-Theme für den FC Greffen 1946 e.V. in den Vereinsfarben aus dem Wappen.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Version: 0.3.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fc-greffen
*/

/* Kleine Ergänzungen, die theme.json nicht abdeckt. */
.fcg-topbar a { color: #fff; text-decoration: none; }
.fcg-topbar a:hover { text-decoration: underline; color: #fff; }
.fcg-footer a { color: #fff; text-decoration: none; }
.fcg-footer a:hover { color: #fff; text-decoration: underline; }
.fcg-header { position: sticky; top: 0; z-index: 50; }
.fcg-logo img { display: block; width: 56px; height: auto; }
.fcg-eyebrow { color: var(--wp--preset--color--vereinsrot); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; margin-bottom: .25rem; }
.fcg-card { background: #fff; border: 1px solid var(--wp--preset--color--linie); border-radius: 10px; }
.fcg-card-top { border-top: 4px solid var(--wp--preset--color--vereinsrot); }
.fcg-hero-bild img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.is-style-fcg-outline .wp-block-button__link { background: transparent; border: 2px solid currentColor; color: inherit; }
.is-style-fcg-weiss .wp-block-button__link { background: #fff; color: var(--wp--preset--color--vereinsrot); }
.is-style-fcg-weiss .wp-block-button__link:hover { background: var(--wp--preset--color--rosa); color: var(--wp--preset--color--weinrot); }
.wp-block-post-template.is-layout-grid .wp-block-post-featured-image img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 20%; }
/* Titelbild im Beitrag: ganzes Bild in seinem eigenen Format, nie größer als die Datei (Plakate sind oft Hochformat). */
.fcg-titelbild { text-align: center; }
.fcg-titelbild img { display: inline-block; width: auto !important; max-width: 100%; height: auto !important; max-height: 80vh; object-fit: contain; border-radius: 12px; }
:where(.wp-site-blocks) :focus-visible { outline: 2px solid var(--wp--preset--color--vereinsrot); outline-offset: 2px; }
@media (max-width: 781px) { .fcg-header { position: static; } }
.is-style-fcg-card { background: #fff; border: 1px solid var(--wp--preset--color--linie); border-radius: 10px; }
