/* Battery Replacement Dublin: inner pages (batteries, prices, questions, contact, privacy, cookies, advice) and fixes on top of look.css. */

/* Staging placeholders stay visible in staging (yellow), hidden live. look.css hides them, so this file turns them back on. */
.is-staging .ph { display: inline !important; }
.is-staging li.ph { display: list-item !important; }
.is-clean .ph { display: none !important; }
.foot__mail { margin: .8rem 0 0; }
.foot__mail a { font-weight: 600; }
.foot__legal a { color: var(--frost); }

/* Page header */
.pagehead__label { margin-bottom: 1.2rem; }
.brj-main.page { padding-top: clamp(1.5rem, 4vw, 3rem); }
.pagehead__title { max-width: 18em; }

/* Reading column */
.prose { max-width: none; min-width: 0; }
.prose > p, .prose > h2, .prose > ul, .prose > ol, .prose > h3, .prose section > p, .prose section > h2, .prose section > ul { max-width: 44rem; }
.prose .brj-page-intro { margin-bottom: 1.6rem; font-size: 1.25rem; line-height: 1.5; color: var(--frost); max-width: 44rem; }
.prose section.brj-page-section { margin: 0 0 .5rem; }
.prose section.brj-page-section h2 { margin-top: 1.6em; }
.prose section.brj-page-section:first-child h2 { margin-top: 0; }
.prose section p { color: #D4DCE2; }
.prose a { text-decoration-color: var(--red-hi); }
.prose a.btn { color: #141D35; }

/* Photos inside pages and articles */
.prose .brj-photo { margin: 1.4rem 0 2rem; }
.prose .brj-photo img { width: 100%; height: auto; border-radius: 1.4rem; border: 1px solid var(--p-hair); object-fit: cover; background: var(--night-2); }
.prose .brj-photo figcaption { font: 500 .72rem/1.4 var(--mono); color: var(--dim); margin-top: .6rem; }
.prose .brj-photo--top { margin-top: 0; }
.prose .brj-range { margin: 1.4rem 0 2rem; }
.prose .brj-range img { border-radius: 1.4rem; border: 1px solid var(--p-hair); }
.prose .brj-range figcaption { font: 500 .72rem/1.4 var(--mono); color: var(--dim); margin-top: .6rem; }
.p-strip--2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .p-strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Battery type cards inside pages */
.prose section.brj-page-wide { max-width: none; }
.prose section.brj-page-wide > h2 { margin-bottom: 1rem; }
.brj-types { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .brj-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brj-type { display: flex; flex-direction: column; border: 1px solid var(--p-hair); border-radius: 1.4rem; overflow: hidden; background: rgba(255, 255, 255, .03); text-decoration: none; color: var(--frost); transition: transform .5s var(--p-ease), border-color .4s; }
.brj-type:hover { transform: translateY(-3px); border-color: var(--red-hi); color: var(--frost); }
.brj-type-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.brj-type-img img { width: 100%; height: 100%; object-fit: cover; }
.brj-type-body { display: grid; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.brj-type-body strong { font: 800 1.5rem/1 var(--display); text-transform: uppercase; }
.brj-type-body span { color: #D4DCE2; font-size: .98rem; }
.brj-type-body em { color: var(--red-hi); font: 600 .95rem var(--sans); }

/* Brand note, price table, questions */
.prose .brj-brand-note { border: 1px solid var(--p-hair); border-radius: 1.2rem; padding: 1rem 1.2rem; background: rgba(255, 255, 255, .03); max-width: 44rem; }
.prose .brj-brand-note p { margin: 0 0 .5rem; }
.prose .brj-brand-note p:last-child { margin: 0; }
.brj-provisional, .brj-price-note { border-left: 3px solid var(--red-hi); padding: .2rem 0 .2rem 1rem; color: var(--frost); margin: 0 0 1.2rem; max-width: 44rem; }
.brj-price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 1.02rem; }
.brj-price-table th, .brj-price-table td { text-align: left; padding: .9rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.brj-price-table th { font-weight: 700; width: 45%; color: var(--frost); }
.brj-price-table td { color: #E6EBF5; }
@media (max-width: 40rem) { .brj-price-table th, .brj-price-table td { display: block; width: 100%; padding: .4rem 0; border: 0; } .brj-price-table tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--rule); } }
.brj-faqs { display: grid; gap: .8rem; max-width: 52rem; }
.brj-faqs .brj-faqs { max-width: none; }
.brj-faq { border: 1px solid var(--p-hair); border-radius: 1.2rem; padding: 1rem 1.3rem; background: rgba(255, 255, 255, .03); }
.brj-faq h3 { font: 700 1.15rem/1.3 var(--sans); margin: 0 0 .4rem; text-transform: none; letter-spacing: 0; }
.brj-faq p { margin: 0; color: #D4DCE2; }

/* Call band inside pages */
.prose section.brj-section { max-width: none; margin-top: 2.4rem; }
.brj-call-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: var(--p-r); background: var(--p-grad, linear-gradient(100deg, #F6CB3A, #DAAC01)); color: #141D35; }
.brj-call-band .brj-eyebrow { font: 600 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .5rem; color: #141D35; }
.brj-call-band h2 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); text-transform: uppercase; color: #141D35; }
.brj-call-band p { color: #141D35 !important; margin: 0; max-width: none; }
.brj-call-band > a, .prose .brj-call-band > a { display: inline-flex; align-items: center; min-height: 3.2rem; padding: .8rem 1.4rem; border-radius: 999px; background: #141D35; color: #F3F5FA; font: 700 1.05rem var(--sans); text-decoration: none; }
.brj-call-band > a:hover { background: #E30613; color: #fff; }

/* Contact form section */
.brj-form { max-width: 44rem; }
.brj-form .btn { justify-self: start; }
.notice { max-width: 44rem; border-radius: 1rem; }
.notice--ok { color: var(--frost); }
.notice a { color: var(--frost); font-weight: 700; }

/* Articles */
.prose .wp-block-heading { text-transform: uppercase; }
.prose h3.wp-block-heading { font-size: 1.5rem; }
.prose > p { color: #D4DCE2; }
.pagehead__meta { display: inline-block; margin-bottom: 1rem; }

/* Footer link area gets a little more room for long article titles */
.foot__posts li { max-width: 18rem; }

/* Blog list: keep the list inside the page gutter */
.blog .postlist { padding: 0; }
.blog .postlist__items { background: transparent; border: 0; gap: 1rem; }
.blog .postcard { overflow: hidden; }

/* Phones: the long wordmark, the call button and the menu button must all fit in the header */
@media (max-width: 30rem) {
  .brj-mark { font-size: 1.12rem; }
  .brj-mark__tld { display: none; }
  .head { gap: .4rem; padding-left: .8rem; padding-right: .5rem; }
  .head__call { padding: .5rem .75rem; font-size: .88rem; }
  .head__call .ico { display: none; }
  .menu summary { width: 40px; height: 40px; }
}

/* Batteries we fit: text wordmark card, no logo image */
.home--a > section.brj-brands { display: grid; gap: 1.6rem 3rem; align-items: center; padding: clamp(3rem, 7vw, 6rem) var(--gut) clamp(2rem, 5vw, 4rem); max-width: var(--max); margin-inline: auto; }
@media (min-width: 52rem) { .home--a > section.brj-brands { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.brj-brands p { color: #D4DCE2; max-width: 40rem; }
.brj-brands .label { color: var(--dim); }
.brj-brands__card { margin: 0; display: grid; place-items: center; min-height: 11rem; border: 1px solid var(--p-hair); border-radius: var(--p-r); background: var(--p-shell); }
.brj-brands__mark { font: 800 clamp(3rem, 2rem + 4vw, 5rem)/1 var(--display); letter-spacing: .12em; color: var(--frost); }
.prose .brj-brands { max-width: none; border: 1px solid var(--p-hair); border-radius: 1.4rem; padding: 1.4rem; background: rgba(255, 255, 255, .03); margin: 1.5rem 0; }
.prose .brj-brands h2 { margin-top: .4rem; }
.prose .brj-brands__card { min-height: 7rem; margin-top: 1rem; }

.home--a > section.brj-gallery { padding: clamp(2rem, 5vw, 4rem) var(--gut); max-width: var(--max); margin-inline: auto; }
.brj-gallery__head { margin-bottom: 1.6rem; }
.brj-gallery__grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .brj-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .brj-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brj-gallery figure { margin: 0; }
.brj-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.brj-gallery figcaption { padding: .55rem .2rem 0; font-size: .85rem; color: #D4DCE2; }

.brj-brands__card { flex-direction: column; gap: .8rem; padding: 1.6rem 1.2rem; }
.brj-brands__sold { margin: 0; font-size: .85rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.brj-brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.brj-brands__list li { border: 1px solid var(--p-hair); border-radius: 999px; padding: .25rem .8rem; font-size: .9rem; color: #D4DCE2; }
