/*
Theme Name: Afscheid in Mijdrecht
Theme URI: https://oudeparochiehuis.nl/
Author: ’t Oude Parochiehuis
Description: Persoonlijke uitvaartlocatie in Mijdrecht. Een rustig, toegankelijk ontwerp met bewerkbare WordPress-blokken, eigen fotografie en mobiele navigatie. Gebruik samen met de plug-in Afscheid beheer.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afscheid-in-mijdrecht
*/

/* Native block compatibility; the visual design lives in assets/site.css. */
body { margin: 0; }
.wp-block-group { box-sizing: border-box; }
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: middle; }
.wp-block-image a { display: block; }
.wp-block-image figcaption { margin: 0; }
.wp-block-group .wp-block-group { max-width: none; }
.container.wp-block-group { max-width: 1280px; }
.wp-block-buttons { gap: 16px; }
.wp-block-button.aim-native-button.button, .wp-block-button.aim-native-button.text-link { background: none; border: 0; padding: 0; color: inherit; display: inline-block; }
.wp-block-button.aim-native-button.button > .wp-block-button__link { display: inline-flex; gap: 14px; justify-content: center; align-items: center; background: var(--green, #2f453a); border: 1px solid var(--green, #2f453a); color: #fff; border-radius: 0; padding: 16px 24px; font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; }
.wp-block-button.aim-native-button.button > .wp-block-button__link:hover { background: #24382e; }
.wp-block-button.button-outline > .wp-block-button__link { background: transparent; color: var(--green, #2f453a); }
.wp-block-button.button-outline > .wp-block-button__link:hover { background: #e7ece5; }
.wp-block-button.aim-native-button.text-link > .wp-block-button__link { padding: 4px 0; background: transparent; border-radius: 0; color: inherit; font: inherit; font-size: 14px; border-bottom: 1px solid currentColor; text-decoration: none; }
.wp-block-button.aim-native-button.text-link.light > .wp-block-button__link { color: #fff; }
.wp-block-button__link svg { height: 20px; width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.actions.wp-block-group { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.service-card .wp-block-image { width: 100%; }
.service-card .wp-block-image a { height: 100%; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card .text-link { margin-bottom: 18px; }
figure.gallery-photo { position: relative; margin: 0; }
figure.gallery-photo a { display: block; height: 100%; }
figure.gallery-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; padding: 24px 16px 12px; background: linear-gradient(transparent,rgba(0,0,0,.58)); font-size: 13px; pointer-events: none; }
.wp-block-details > summary { cursor: pointer; }
.wp-block-details > summary::marker { content: ''; }
.check-list.wp-block-list { padding-left: 0; list-style: none; }
.check-list.wp-block-list li { position: relative; padding-left: 26px; }
.check-list.wp-block-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green, #2f453a); }
.wp-block-table { margin: 0; overflow-x: auto; }
.wp-block-table table { width: 100%; }
.wp-block-table td, .wp-block-table th { border: 0; }
.custom-logo-link { display: inline-block; max-width: 300px; }
.custom-logo { width: auto; height: auto; max-height: 76px; }
.standard-content { padding-top: 80px; padding-bottom: 100px; max-width: 920px; }
.standard-content > h1, .standard-content article > h1 { margin-bottom: 32px; }
.standard-content h2 { margin-top: 36px; }
.standard-content p, .standard-content ul { margin-bottom: 20px; }
.post-excerpt { margin-top: 48px; padding-bottom: 32px; border-bottom: 1px solid #d6ddd5; }
.admin-bar .site-header { top: 32px; }
@media(max-width:782px) { .admin-bar .site-header { top:46px; } }
@media(max-width:760px) { .standard-content { padding-top:48px; padding-bottom:70px; } .custom-logo-link { max-width:230px; } .custom-logo { max-height:60px; } }
@media(max-width:600px) { .admin-bar .site-header { top:0; } }
@media print { .site-header,.utility,.mobile-contact,.footer,.wish-planner,.aim-contact-form,.lightbox { display:none!important; } body { color:#000;background:#fff; } }

/* Preserve composition when the editor introduces semantic figure wrappers. */
figure.hero-img > img { width:100%; height:100%; object-fit:cover; object-position:60% center; }
.house-photo > .wp-block-image { height:100%; }
.service-image > .wp-block-image { margin:0; }
.steps article > .step-number { font-size:12px; letter-spacing:.1em; color:var(--gold); margin:0; }
.timeline article > .step-number { font:400 52px var(--serif); color:#8b987d; margin:0; }
.rate-card > .aim-button-row { margin-top:auto; }
.rate-card .price { margin-bottom:0; }
.faq-section > div > .aim-button-row { margin-top:22px; }
.faq-list .wp-block-details > summary::after { content:'+'; font-size:23px; line-height:1; color:#89967c; font-weight:300; flex:none; }
.faq-list .wp-block-details[open] > summary::after { content:'−'; }
.faq-list .wp-block-details > .wp-block-group { padding:0 28px 25px 0; font-size:13px; line-height:1.9; }
.contact-method .aim-native-button > .wp-block-button__link { font:inherit; display:inline-flex; color:inherit; }
.wp-block-buttons.aim-button-row { margin:0; }
.wp-block-button.aim-native-button { margin:0; min-height:0; }
.wp-block-button.aim-native-button:hover { background:none; }
.wp-block-button.aim-native-button.text-link > .wp-block-button__link { font-weight:600; }
.wp-block-button.aim-native-button.text-link > .wp-block-button__link::after { content:'→'; margin-left:16px; }
.wp-block-button.aim-native-button.button > .wp-block-button__link { min-height:57px; border-radius:3px; font-size:13px; padding:17px 24px; }
.wp-block-button.aim-native-button.button > .wp-block-button__link::after { content:'→'; margin-left:10px; }
.check-list.wp-block-list li { display:block; }
figure.gallery-photo figcaption { padding:0; background:none; }
figure.gallery-photo .gallery-caption { position:relative; display:block; }
figure.gallery-photo a::after { content:'↗'; position:absolute; top:16px; right:16px; display:grid; place-items:center; width:30px; height:30px; background:#f8f5efed; color:var(--green); border-radius:50%; font-size:16px; }
.menu-table tbody th { text-transform:none; letter-spacing:normal; font-weight:400; color:var(--muted); padding:15px 18px 15px 0; font-size:13px; line-height:1.65; border-bottom:1px solid var(--line); }
.menu-table-wrap table { width:100%; border-collapse:collapse; text-align:left; }
.menu-table-wrap thead th { font-size:10px; text-transform:uppercase; letter-spacing:.09em; font-weight:500; color:#6f7a63; padding-bottom:15px; border-bottom:1px solid #bdc7b1; }
.menu-table-wrap td { border-bottom:1px solid var(--line); }
.menu-table-wrap td:last-child,.menu-table-wrap thead th:last-child { text-align:right; }
.menu-category-heading > p { max-width:300px; font-size:11px; text-align:right; }
@media(max-width:760px) {
    figure.hero-img > img { object-position:center 45%; }
    .steps article > .step-number { font-size:11px; }
    .timeline article > .step-number { font-size:41px; grid-row:1/3; grid-column:1; }
    .faq-section > div > .aim-button-row { margin-top:14px; }
    .faq-list .wp-block-details > .wp-block-group { padding-right:10px; }
    .menu-table tbody th { font-size:12px; padding-block:14px; }
    .menu-category-heading { flex-wrap:wrap; }
    .menu-category-heading > p { max-width:none; text-align:left; }
    figure.gallery-photo a::after { width:25px; height:25px; top:10px; right:10px; font-size:14px; }
}
