/*
Theme Name: Nositelé odkazu - Custom Theme
Author: Martin Voldřich
Version: 1.0
Requires at least: 6.0
*/

/* Vložení Tailwindu a písem přímo do CSS hlavičky */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body {
    background-color: #faf9f7;
    color: #1a1c1b;
}

.wp-site-blocks > *, 
:where(.wp-site-blocks) > * {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.museum-block {
    border-top: 1px solid #000000;
    padding-top: 32px;
}




/* Stylování dynamického textu z WordPress databáze uvnitř detailu článku */
.custom-wp-content p {
    margin-bottom: 2rem;
}

.custom-wp-content h2 {
    font-family: 'EB Garamond', serif !important;
    font-size: clamp(22px, 3.5vw, 30px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: #1a1c1b !important;
    margin-top: 4rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid #1a1c1b !important;
    position: relative !important;
}


.custom-wp-content h3 {
    font-family: 'EB Garamond', serif !important;
    font-size: clamp(18px, 2.5vw, 26px) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #1a1c1b !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    border-left: 3px solid #765b00 !important;
    padding-left: 1rem !important;
}

/* H4 — drobný nadpis, label styl */
.custom-wp-content h4 {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #4f4632 !important;
    margin-top: 2rem !important;
    margin-bottom: 0.75rem !important;
}

.custom-wp-content h2::before {
    content: '';
    display: block;
    width: 32px;
    height: 4px;
    background-color: #f9c300;
    margin-bottom: 1rem;
}

.custom-wp-content blockquote {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    background-color: #eeeeee !important; /* surface-container */
    border-top: 1px solid #d2c5ab !important; /* border-outline-variant */
    border-bottom: 1px solid #d2c5ab !important;
    font-style: italic !important;
    font-family: 'EB Garamond', serif !important;
    font-size: 24px !important; /* headline-md */
    text-align: center !important;
    color: #765b00 !important; /* primary */
}

/* Úprava odkazu na kategorie, aby vypadaly jako muzejní štítky */
.wp-block-post-terms a {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: #e8e8e8; /* surface-container-high */
    font-family: 'Inter', sans-serif;
    font-size: 12px; /* label-md */
    font-weight: 600;
    text-transform: uppercase;
    border-left: 2px solid #765b00;
    color: #1a1c1b;
    text-decoration: none;
    margin-right: 0.75rem;
}

.wp-block-post-terms a:hover {
    background-color: #f9c300; /* brand-accent */
}