/*
Theme Name: millerauto
Theme URI: https://millerauto.pl
Author: millerauto.pl
Description: Lekki motyw strony warsztatu millerauto.pl (2026). Szybki, mobilny, bez jQuery.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: millerauto
*/

:root {
	--red: #b3171b; --red-dark: #8f1215; --red-tint: #fbeceb;
	--ink: #17191c; --text: #1d2025; --body: #3d424a; --muted: #555b64;
	--line: #e6e4df; --tint: #f5f4f1; --dark2: #23262b; --on-dark: #c9ccd1;
	--radius: 14px; --wrap: 1200px;
	--font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; padding-bottom: 76px; }
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--ink); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.2px; }
h1 { font-size: clamp(36px, 6vw, 58px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3, .h3 { font-size: 24px; line-height: 1.1; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.narrow { max-width: 880px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 8px; color: #fff; }
.icon { flex: none; }

/* Buttons */
.btn { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; font-family: inherit; }
.btn-lg { font-size: 18px; padding: 15px 26px; min-height: 56px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-red { color: var(--red); border-color: var(--red); background: #fff; }
.btn-ghost { color: #fff; border-color: #5b616b; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { color: var(--red-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; }

/* Top bar + header */
.topbar { background: var(--ink); color: #d9dbde; font-size: 14px; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar-info span { display: inline-flex; gap: 6px; align-items: center; }
.topbar-24 { color: #fff; font-weight: 600; }
.topbar-24 a { color: #fff; }
@media (max-width: 767px) { .hide-sm { display: none !important; } .topbar { font-size: 13px; } }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { margin: 0; font-family: "Chakra Petch", var(--font); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .3px; }
.logo a { color: var(--red); text-decoration: none; }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.header-call { display: none; }
.site-nav { width: 100%; display: none; }
.site-nav.is-open { display: block; }
.menu { list-style: none; margin: 0; padding: 6px 0; }
.menu a { display: block; padding: 11px 4px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0 14px; }
.menu .sub-menu a { font-weight: 500; font-size: 15px; }
.menu .current-menu-item > a, .menu .current_page_item > a { color: var(--red); }
@media (min-width: 1024px) {
	.logo { font-size: 30px; }
	.nav-toggle { display: none; }
	.site-nav { display: block; width: auto; margin-left: auto; }
	.menu { display: flex; gap: 4px 26px; padding: 0; }
	.menu > li { position: relative; }
	.menu a { border: 0; padding: 10px 0; font-size: 15px; }
	.menu .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 8px; display: none; z-index: 60; }
	.menu .sub-menu a { padding: 9px 12px; border-radius: 8px; }
	.menu .sub-menu a:hover { background: var(--tint); }
	.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: block; }
	.header-call { display: inline-flex; }
}

/* Hero */
.hero { background: var(--tint); }
.hero-grid { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 44px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; } }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy h1 { margin: 0; }
.pill { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; color: var(--body); }
.lead { font-size: 18px; color: var(--body); margin: 0; max-width: 580px; }
@media (min-width: 900px) { .lead { font-size: 19px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.ticks li { display: inline-flex; gap: 8px; align-items: center; }
.ticks .icon { color: var(--red); }
.hero-media { position: relative; }
.hero-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% center; border-radius: 16px; background: #ddd; }
.hero-card { position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: 330px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 2px; }
.hero-card-sub { font-size: 14px; color: var(--muted); }
.open-badge { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; }
.open-dot { width: 11px; height: 11px; border-radius: 6px; background: #8a8f97; flex: none; }
.open-badge.is-open .open-dot { background: #1f8a4c; }
.open-badge.is-closed .open-dot { background: #c98a00; }
.hero-rating { position: absolute; right: 14px; top: 14px; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; }
.hero-rating:hover { color: #fff; background: #000; }
.hero-rating-num { font-family: var(--display); font-size: 26px; font-weight: 700; }
.hero-rating-sub { font-size: 13px; color: #d9dbde; }

/* Sections */
.section { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .section { padding-top: 88px; padding-bottom: 88px; } }
.section-tight { padding-top: 32px; padding-bottom: 56px; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.eyebrow { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; }
.eyebrow-light { color: #ff8a80; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack > * { margin: 0; }
.two-col { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; } }
.band-dark { background: var(--ink); color: #fff; padding: 56px 0; }
@media (min-width: 900px) { .band-dark { padding: 80px 0; } }
.band-dark h2 { color: #fff; }
.lead-light { color: var(--on-dark); font-size: 18px; }
.band-tint { background: var(--tint); padding: 56px 0; }
@media (min-width: 900px) { .band-tint { padding: 80px 0; } }

/* Cards */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 900px) { .card-grid { gap: 20px; } }
.service-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.service-card:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,.08); color: var(--text); }
.service-card h3, .service-card .h3 { margin: 0; font-size: 24px; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; flex-grow: 1; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; }
.service-price { font-size: 15px; font-weight: 700; color: var(--red); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--dark2); border-radius: var(--radius); padding: 20px; }
.steps strong { display: block; font-size: 18px; }
.steps span:not(.step-n) { color: var(--on-dark); font-size: 15px; }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 22px; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 24px; font-weight: 700; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.photo-pair img:nth-child(2) { margin-top: 36px; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 600px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons li { display: flex; gap: 12px; }
.reasons .icon { color: var(--red); margin-top: 2px; }
.reasons strong { display: block; color: var(--ink); font-size: 17px; }
.reasons span { color: var(--muted); font-size: 15px; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #efede8; }
.price-row:last-child { border-bottom: 0; }
.price-row strong { white-space: nowrap; color: var(--ink); }
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--tint); }
.review blockquote { margin: 0; font-size: 15px; color: #2b2f35; flex-grow: 1; }
.review figcaption { font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: #a36f00; }

/* Contact & form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
@media (min-width: 900px) { .form-card { padding: 32px; } }
.form-card h2 { font-size: 36px; margin-bottom: 6px; }
.info-cols { display: grid; gap: 18px; }
@media (min-width: 600px) { .info-cols { grid-template-columns: 1fr 1fr; } }
.info-cols h3 { margin-bottom: 6px; }
.info-cols p { margin: 0 0 6px; }
.contact-line a { font-weight: 700; text-decoration: none; }
.map-facade { min-height: var(--map-h, 300px); border-radius: 16px; background: #e3e1dc; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.map-facade-inner { padding: 20px; color: var(--body); }
.map-facade-inner .icon { color: var(--red); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.map-facade iframe { width: 100%; height: var(--map-h, 300px); border: 0; display: block; }
.contact-cards { display: grid; gap: 12px; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); text-decoration: none; font-size: 14px; }
.contact-card .icon { color: var(--red); margin-top: 2px; }
.contact-card strong { display: block; color: var(--ink); font-size: 16px; }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 14px; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.ma-form .row-2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .ma-form .row-2 { grid-template-columns: 1fr 1fr; } }
.wpcf7 label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 select, .wpcf7 textarea { font: inherit; font-weight: 400; width: 100%; padding: 12px; border: 1px solid #b9b5ad; border-radius: 8px; background: #fff; color: var(--text); min-height: 48px; }
.wpcf7 textarea { min-height: 96px; resize: vertical; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label, .wpcf7 .ma-consent label { flex-direction: row; font-weight: 400; font-size: 13px; color: var(--muted); align-items: flex-start; gap: 10px; }
.wpcf7 input[type="checkbox"] { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.wpcf7 input[type="submit"] { font: inherit; font-weight: 700; font-size: 17px; background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 15px; cursor: pointer; width: 100%; }
.wpcf7 input[type="submit"]:hover { background: var(--red-dark); }
.wpcf7-not-valid-tip { font-size: 13px; color: #b00020; font-weight: 400; }
.wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.wpcf7-spinner { margin: 0 auto; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: #fff; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; color: var(--ink); }
.faq details p { margin: 10px 0 0; color: var(--body); }

/* Inner pages */
.page-hero { background: var(--tint); padding: 22px 0 36px; }
@media (min-width: 900px) { .page-hero { padding: 28px 0 52px; } }
.page-hero h1 { margin: 10px 0 16px; max-width: 900px; }
.breadcrumbs { font-size: 14px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; }
.page-layout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 960px) { .page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 56px; padding-bottom: 72px; } }
.entry-content { min-width: 0; font-size: 17px; color: var(--body); }
.entry-content h2 { font-size: 34px; margin-top: 1.2em; }
.entry-content h3 { margin-top: 1em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 15px; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.entry-content .wp-block-table { overflow-x: auto; margin: 0 0 1em; }
.entry-content iframe { max-width: 100%; }
.entry-content img { border-radius: 10px; }
.page-aside { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 960px) { .page-aside { position: sticky; top: 16px; align-self: start; } }
.aside-cta { background: var(--ink); color: #fff; border-radius: 16px; padding: 22px; }
.aside-cta p { color: var(--on-dark); font-size: 15px; }
.aside-cta .aside-title { font-family: var(--display); font-size: 28px; font-weight: 700; color: #fff !important; line-height: 1.1; margin-bottom: 8px; }
.aside-cta .small { margin: 10px 0 0; color: #9a9fa7; font-size: 13px; }
.aside-box { border: 1px solid var(--line); border-radius: 16px; padding: 20px; font-size: 15px; }
.aside-title-dark { font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 17px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aside-links a { text-decoration: none; font-weight: 600; }
.cta-band { background: var(--red); color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.cta-band-title { font-family: var(--display); font-size: clamp(28px, 4vw, 36px); font-weight: 700; margin: 0; line-height: 1.1; }
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; }
.entry-content .price-table td, .entry-content .price-table th { border: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; }
.price-table th { text-align: left; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.price-table .price { white-space: nowrap; font-weight: 700; color: var(--ink); text-align: right; }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }

/* Content from the previous theme (image grids, contact blocks) */
.entry-content .container, .entry-content .area_row, .entry-content #welcomearea, .entry-content .welcomebx { max-width: none; padding: 0; margin: 0; width: auto; }
.entry-content .area_row, .entry-content .ourfeatured-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: 1em 0; }
.entry-content .ourfeatured_three_column { width: auto !important; float: none !important; margin: 0 !important; }
.entry-content .ourfeaturedcontentbg { background: var(--tint); border-radius: 12px; overflow: hidden; height: 100%; }
.entry-content .ourfeatured-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.entry-content .ourfeaturedcontentbg h3, .entry-content .ourfeaturedcontentbg p { padding: 0 12px; font-size: 15px; }
.entry-content .ourfeaturedcontentbg h3 { font-size: 20px; margin-top: 10px; }
.entry-content .clear { clear: both; }
.entry-content .area_row > .clear, .entry-content .area_row > br, .entry-content .area_row > p:empty { display: none; }
.entry-content .m-add-info { display: flex; gap: 10px; margin-bottom: 12px; }
.entry-content .m-addbox h6 { margin: 0; font-size: 15px; }
.entry-content .fadeInLeft, .entry-content .fadeInRight { animation: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.footer-grid { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.logo-footer a { color: #ff6b61; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-phone { color: #fff !important; font-weight: 700; font-size: 18px; }
.footer-bottom { border-top: 1px solid #2e3238; padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: #9a9fa7; }

/* Mobile call bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.1); }
.mobile-bar .btn { min-height: 50px; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* Third-party widgets: popup above the mobile bar, cookie bar readable */
@media (max-width: 767px) {
	#pum-2093 .pum-container { bottom: 84px !important; left: 4% !important; right: 4% !important; width: auto !important; }
	#cookie-notice { bottom: 70px !important; }
}
#cookie-notice .cn-button { border-radius: 8px !important; }
/* One thing at a time: the call popup waits until the visitor has answered the cookie banner. */
body.cookies-not-set #pum-2093 { display: none !important; }

/* Service page building blocks (used in page content) */
.entry-content > .lead, .entry-content p.lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 760px; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content ul.ma-facts { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); }
.entry-content ul.ma-facts li { margin: 0; background: var(--tint); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.entry-content ul.ma-facts li strong { display: block; font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--red); margin-bottom: 2px; }
.entry-content .check-list li { margin-bottom: .5em; }
.entry-content ol.ma-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); }
.entry-content ol.ma-steps li { counter-increment: step; background: var(--tint); border-radius: 12px; padding: 16px; margin: 0; font-size: 15px; }
.entry-content ol.ma-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 6px; }
.entry-content ol.ma-steps li strong { display: block; color: var(--ink); }
.entry-content .price-box-inline { margin: 1em 0 .4em; }
.entry-content .wp-block-details.ma-faq { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 10px; background: #fff; }
.entry-content .wp-block-details.ma-faq summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 17px; }
.entry-content .wp-block-details.ma-faq p { margin: 10px 0 0; }
.entry-content .ma-note { background: var(--red-tint); border-radius: 12px; padding: 14px 18px; color: var(--text); }
.entry-content .ma-services { margin: 1em 0 2em; }
.ma-services .service-card .h3 { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.1; }
.ma-services .service-text { color: var(--muted); font-size: 15px; flex-grow: 1; }
.entry-content .ma-gallery-sm.wp-block-gallery.ma-gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
@media (max-width: 480px) { .entry-content .ma-gallery-sm.wp-block-gallery.ma-gallery { grid-template-columns: 1fr 1fr; } }

/* Gallery (core Gallery block with class "ma-gallery") */
.entry-wide { max-width: none; }
.entry-content .wp-block-gallery.ma-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px !important; margin: 0 0 2em; padding: 0; }
.entry-content .wp-block-gallery.ma-gallery > .wp-block-image { width: auto !important; margin: 0 !important; display: flex; flex-direction: column; background: var(--tint); border-radius: 12px; overflow: hidden; }
.entry-content .wp-block-gallery.ma-gallery > .wp-block-image a { display: block; flex: none; }
.entry-content .wp-block-gallery.ma-gallery > .wp-block-image img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .25s; }
.entry-content .wp-block-gallery.ma-gallery > .wp-block-image a:hover img { transform: scale(1.03); }
.entry-content .wp-block-gallery.ma-gallery > .wp-block-image figcaption { position: static !important; background: none !important; color: var(--text) !important; text-align: left !important; font-size: 14px !important; font-weight: 600; line-height: 1.35; padding: 10px 12px 12px !important; margin: 0 !important; max-height: none !important; overflow: visible !important; text-shadow: none !important; }
.entry-content .wp-block-gallery.ma-gallery > .wp-block-image figcaption::before { display: none !important; }
@media (max-width: 480px) { .entry-content .wp-block-gallery.ma-gallery { grid-template-columns: 1fr 1fr; gap: 10px !important; } .entry-content .wp-block-gallery.ma-gallery > .wp-block-image figcaption { font-size: 13px !important; padding: 8px !important; } }

/* Lightbox */
.ma-lightbox { position: fixed; inset: 0; z-index: 2147483000; background: rgba(10,10,12,.92); display: flex; align-items: center; justify-content: center; padding: 56px 12px 72px; }
.ma-lightbox[hidden] { display: none; }
.ma-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.ma-lightbox-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-weight: 600; padding: 0 60px; }
.ma-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 24px; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ma-lightbox button:hover { background: rgba(255,255,255,.25); }
.ma-lb-close { top: 10px; right: 10px; }
.ma-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.ma-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Comfortable tap targets for list/utility links (WCAG 2.2 target size) */
.aside-links a, .aside-box p a, .footer-links a, .breadcrumbs a, .contact-line a, .site-footer p a, .topbar-24 a { display: inline-block; padding: 6px 0; min-height: 24px; }
.footer-links { gap: 0; }
.aside-links { gap: 2px; }

/* Misc */
.post-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
