/* Blog, service and 404 pages. Built on the template's classes (style.css); only layout lives here. */
.blog-hero { min-height: 62vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.blog-hero-inner { width: 100%; }
.blog-hero .headline-m { max-width: 900px; }
.blog-hero a { color: inherit; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
@media (max-width: 999px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card a { display: block; color: inherit; text-decoration: none; }
.blog-card-img { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-date { margin-top: 18px; color: #b0b0b0; }
.blog-card-title { margin-top: 8px; line-height: 1.35; }
.blog-card-excerpt { margin-top: 10px; color: #dadada; line-height: 1.6; }
.blog-card a:hover .blog-card-title { color: var(--red, #e7002a); }

.blog-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 70px; }
.blog-pager-link { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #444; border-radius: 6px; color: #fff; text-decoration: none; font-family: 'Montserrat', sans-serif; }
.blog-pager-link:hover, .blog-pager-link.is-current { background: var(--red, #e7002a); border-color: var(--red, #e7002a); }

.blog-body { max-width: 760px; margin: 0 auto; font-family: 'Montserrat', sans-serif; font-size: 18px; line-height: 1.75; }
.blog-body > * + * { margin-top: 1.1em; }
.blog-body h2 { font-size: 30px; font-weight: 600; line-height: 1.3; margin-top: 1.8em; }
.blog-body h3 { font-size: 23px; font-weight: 600; line-height: 1.35; margin-top: 1.5em; }
.blog-body ul, .blog-body ol { padding-left: 1.4em; }
.blog-body li + li { margin-top: .4em; }
.blog-body a { color: #c4001f; text-decoration: underline; }
.blog-body blockquote { border-left: 3px solid var(--red, #e7002a); padding-left: 20px; font-style: italic; }
.blog-body img { max-width: 100%; height: auto; border-radius: 10px; display: block; }
@media (max-width: 599px) { .blog-body { font-size: 17px; } .blog-body h2 { font-size: 25px; } }

.blog-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

/* Service pages */
.service-intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.service-intro .blog-body { margin: 0; }
@media (max-width: 999px) { .service-intro { grid-template-columns: 1fr; } }
.service-price { background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 6px 24px rgba(0,0,0,.08); display: grid; gap: 14px; position: sticky; top: 120px; }
.service-price-value { margin: 0; }
.service-btn { display: block; text-align: center; background: var(--red, #e7002a); color: #fff; padding: 14px 16px; border-radius: 6px; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.service-btn-ghost { background: transparent; color: #111; border: 1px solid #c9c9c9; }
.service-includes { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 30px; }
.service-includes li { padding-left: 28px; position: relative; }
.service-includes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--red, #e7002a); }
.service-work { margin: 0; }
.service-work figcaption { margin-top: 12px; }
.service-link { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.service-link.is-current { color: var(--red, #e7002a); text-decoration: none; }
.service-faq details { border-bottom: 1px solid #d5d5d5; padding: 18px 0; }
.service-faq summary { cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 24px; line-height: 1; }
.service-faq details[open] summary::after { content: "−"; }
.service-faq details p { margin-top: 12px; line-height: 1.7; }
.service-others { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
