/*
Theme Name: PMDG Studio
Description: The Material Atelier design for PMDG Studio. Editable section blocks, a complete print and signage catalogue, original pricing and a guided content importer. No page builder required.
Version: 1.3.3
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Author: PMDG Studio
Text Domain: pmdg-studio
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
.custom-logo { max-width:190px; max-height:62px; width:auto; height:auto; }
.site-header>.wordmark { min-width:0; max-width:30%; white-space:normal; overflow-wrap:anywhere; flex-shrink:1; }
.site-header>.header-quote,.site-header>.menu-toggle { flex-shrink:0; }
.site-header .custom-logo { max-width:100%; object-fit:contain; }
.footer .wordmark { white-space:normal; overflow-wrap:anywhere; max-width:100%; }
.home-intro .hero-copy p { white-space:normal; text-wrap:balance; }
@media (max-width:700px) { .site-header>.wordmark { max-width:none; flex:1; } }
/* Original PNGs are preserved. This window removes only their transparent
   canvas margins (visible artwork: x74/y145, 868x752 on a 1042px canvas). */
.pmdg-brand-image { display:block; position:relative; width:128px; max-width:100%; aspect-ratio:868 / 752; overflow:hidden; }
.pmdg-brand-image>img { display:block; position:absolute; width:120.046083%; max-width:none; height:auto; left:-8.525346%; top:-19.281915%; }
.pmdg-supplied-branding .site-header { height:132px; }
.pmdg-supplied-branding .site-header>.wordmark { display:block; flex:0 0 128px; max-width:128px; }
.pmdg-supplied-branding .site-header .mega-menu { top:100%; }
.pmdg-supplied-branding .footer .wordmark { display:block; }
.footer .pmdg-brand-image { width:184px; }
@media (max-width:900px) and (min-width:701px) {
  .pmdg-supplied-branding .site-header { height:116px; }
  .pmdg-supplied-branding .site-header>.wordmark { flex-basis:112px; max-width:112px; }
}
@media (max-width:700px) {
  .pmdg-supplied-branding .site-header { height:108px; gap:10px; }
  .pmdg-supplied-branding .site-header>.wordmark { flex:0 0 104px; max-width:104px; }
  .pmdg-supplied-branding .site-header>.main-nav { top:100%; }
  .pmdg-supplied-branding .header-quote { min-height:44px; }
  .pmdg-supplied-branding .menu-toggle { min-width:44px; min-height:44px; }
  .footer .pmdg-brand-image { width:160px; }
}
@media (max-width:370px) {
  body.pmdg-supplied-branding { min-width:0; }
  .pmdg-supplied-branding .site-header { padding-inline:18px; }
}
.pmdg-custom-menu { display:flex; align-items:center; gap:25px; padding:0; margin:0; list-style:none; }
.pmdg-custom-menu .sub-menu { display:none; position:absolute; background:white; padding:20px; list-style:none; z-index:30; border:1px solid #ddd; }
.pmdg-custom-menu li:hover>.sub-menu,.pmdg-custom-menu li:focus-within>.sub-menu { display:block; }
.pmdg-custom-menu .sub-menu a { display:block; padding:10px; }
.wp-block-image img { max-width:100%; height:auto; }
.pmdg-entry { padding:60px var(--pad); max-width:1100px; margin:auto; }
.pmdg-entry h1 { font-size:clamp(42px,7vw,80px); }
@media (max-width:700px) { .pmdg-custom-menu { flex-direction:column; align-items:stretch; gap:0; } .pmdg-custom-menu a { display:block; padding:15px 0; } .pmdg-custom-menu .sub-menu { position:static; display:block; border:0; padding:0 0 0 15px; } }
@media print { #wpadminbar { display:none!important; } html { margin-top:0!important; } }
.pmdg-local-section { border-top:1px solid #ddd; }
.pmdg-local-section>div { min-width:0; }
.pmdg-local-section h2 { font-size:clamp(32px,3.8vw,56px); line-height:1.12; text-wrap:balance; }
.pmdg-local-section>div>p { max-width:70ch; font-size:17px; line-height:1.7; }
.pmdg-local-links { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; margin-top:24px; }
.pmdg-local-links .text-link { margin-top:0; padding:10px 0; }
.pmdg-visit { display:grid; grid-template-columns:1.1fr 1fr; gap:8vw; border-top:1px solid #ddd; background:#f5f3ef; }
.pmdg-visit>div { min-width:0; }
.pmdg-visit h2 { font-size:clamp(34px,4vw,60px); line-height:1.08; margin-bottom:26px; text-wrap:balance; }
.pmdg-visit h3 { margin-bottom:20px; }
.pmdg-visit p,.pmdg-visit address { max-width:62ch; font-size:16px; line-height:1.7; margin-bottom:18px; }
.pmdg-visit address { font-style:normal; font-weight:500; }
.pmdg-hours { margin:0 0 20px; }
.pmdg-hours>div { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,1.3fr); gap:12px; border-bottom:1px solid #d4d2ce; padding:12px 0; font-size:16px; }
.pmdg-hours dd { margin:0; text-align:right; }
.pmdg-visit .pmdg-hours-note { font-size:14px; color:#555; }
#opening-hours { scroll-margin-top:100px; }
.pmdg-content-guide { border-top:1px solid #d5d3d0; background:#f4f3f0; }
.pmdg-content-grid,.pmdg-content-faq { display:grid; grid-template-columns:1fr 1.5fr; gap:60px; }
.pmdg-content-grid>div,.pmdg-content-faq>div { min-width:0; }
.pmdg-content-guide h2 { font-size:clamp(34px,4vw,60px); line-height:1.1; letter-spacing:-.025em; text-wrap:balance; }
.pmdg-content-guide h3 { font-family:'Manrope',Arial,sans-serif; font-size:19px; font-weight:600; line-height:1.45; margin:26px 0 14px; letter-spacing:-.02em; }
.pmdg-content-copy p { font-size:16px; line-height:1.75; color:#414141; margin:0 0 18px; max-width:70ch; }
.pmdg-content-copy ul { list-style:disc; padding-left:20px; margin:0; }
.pmdg-content-copy li::marker { color:#e80000; }
.pmdg-content-copy li p { margin-bottom:12px; padding-left:4px; }
.pmdg-content-faq { margin-top:44px; padding-top:32px; border-top:1px solid #d5d3d0; }
.pmdg-content-faq>h3 { margin:0; }
.pmdg-content-faq details { border-bottom:1px solid #ccc; }
.pmdg-content-faq summary { list-style:none; cursor:pointer; min-height:52px; padding:16px 32px 16px 0; font-size:16px; font-weight:600; line-height:1.5; position:relative; }
.pmdg-content-faq summary::-webkit-details-marker { display:none; }
.pmdg-content-faq summary::after { content:'+'; position:absolute; right:0; top:14px; font-size:22px; color:#b80000; }
.pmdg-content-faq details[open] summary::after { content:'−'; }
.pmdg-content-faq details>p { margin:0; padding:0 24px 22px 0; font-size:16px; line-height:1.75; color:#414141; }
.pmdg-content-faq summary:focus-visible { outline:2px solid #b80000; outline-offset:4px; }
@media(max-width:850px) { .pmdg-content-grid,.pmdg-content-faq { grid-template-columns:1fr; gap:24px; } .pmdg-content-grid h2 { max-width:20ch; } }
@media(max-width:700px) { .pmdg-visit { grid-template-columns:1fr; gap:40px; } .pmdg-local-section>div>p { font-size:16px; } .pmdg-local-links { align-items:flex-start; flex-direction:column; gap:4px; } }
