/* WordPress adapters for the original Dawen stylesheet. */
body { overflow-x: visible; }
body, button, input, textarea { letter-spacing: 0; }
[hidden] { display: none !important; }
main, section, article, nav, .contact-card, .brand-text { min-width: 0; }
h1, h2, h3, p, a, strong { overflow-wrap: anywhere; }
.hero-copy, .article-card p, .service-card p, .rec-page-hero__description { overflow-wrap: break-word; }
:where(a, button, summary, input, textarea):focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
:where(section, h2, h3, #main-content) { scroll-margin-top: 116px; }
.rec-skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; padding: 12px 20px; background: white; color: var(--ink); }
.rec-skip-link:focus { top: 12px; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand { flex-shrink: 0; }
.brand--wide-logo { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand--wide-logo .brand-logo { width: auto; height: 44px; max-width: 220px; }
.brand--wide-logo .brand-text small { line-height: 1.4; }
.repair-footer .brand--wide-logo .brand-logo { padding: 4px 8px; border-radius: 4px; background: var(--paper); }
.site-nav a { display: block; }
.repair-menu, .repair-menu ul { list-style: none; margin: 0; padding: 0; }
.repair-menu { display: flex; flex-wrap: wrap; align-items: center; }
.repair-menu li { position: relative; }
.repair-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 8px; }
.repair-menu li:hover > .sub-menu, .repair-menu li:focus-within > .sub-menu { display: block; }
.repair-menu .sub-menu .sub-menu { left: 100%; top: 0; }
.site-nav .current-menu-item > a { color: var(--orange-dark); }
.admin-bar .site-header { top: 50px; }
.service-card a { display: flex; flex-direction: column; height: 100%; }
.service-card a:hover h3, .article-card a:hover h2, .article-card a:hover h3 { color: var(--orange-dark); }
.article-card h2 { font-size: 19px; margin: 0; line-height: 1.4; }
.article-card--text a::before { display: none; }
.article-card-action { display: block; margin-top: 18px; color: var(--orange-dark); font-size: 14px; font-weight: 700; }
.service-card .article-card-action { margin-top: auto; padding-top: 16px; }
.article-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .article-meta { margin-bottom: 10px; }
.section-more { margin: 28px 0 0; text-align: center; }
.repair-empty { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.repair-empty h3 { margin: 0 0 8px; font-size: 21px; }
.repair-empty p { margin: 0; color: var(--muted); }
.contact-row strong { min-width: 0; text-align: right; }
.contact-row > span { flex-shrink: 0; }
.footer-links, .footer-filings { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-filings { margin-top: 14px; font-size: 13px; }
.repair-footer { padding: 56px 0 28px; }
.repair-footer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; }
.repair-footer-about { max-width: 540px; }
.repair-footer .brand-text strong { color: #fff; }
.repair-footer .brand-text small { color: #9eb0c4; }
.repair-footer-about > p { margin: 18px 0 0; font-size: 14px; }
.repair-footer h2 { color: #fff; font-size: 17px; margin: 0 0 18px; }
.repair-footer a:hover { color: #ff9b70; }
.repair-footer-default { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.repair-footer-default nav > a, .repair-footer-menu a { display: block; padding: 6px 0; }
.repair-footer-contact { margin: 20px 0 0; font-size: 14px; }
.repair-footer-contact > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; margin: 8px 0; }
.repair-footer-contact dd { margin: 0; color: #e3eaf3; }
.repair-footer-menu, .repair-footer-menu ul, .repair-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.repair-footer-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.repair-footer-menu .sub-menu { padding-left: 14px; font-size: 14px; }
.repair-footer-menu li { min-width: 0; }
.repair-footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid #2c4054; font-size: 13px; }
.repair-footer .footer-grid { flex-wrap: wrap; }
.repair-footer-disclaimer { margin: 14px 0 0; }
.repair-back-top { color: #fff; }
.faq-grid { align-items: start; }
.faq-grid h2 { text-wrap: balance; }
.faq-list { align-content: start; }
.faq-list[data-rec-faq-ready] details[open] [data-rec-faq-answer] { height: 6rem; overflow: auto; overscroll-behavior: contain; }
.faq-list[data-rec-faq-ready] details:not([open]) [data-rec-faq-answer] { display: none; }
.faq-list [data-rec-faq-answer]:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
.rec-page-hero { padding: 148px 0 60px; color: #fff; background: linear-gradient(115deg, rgba(7,23,39,.96), rgba(13,70,82,.86)), url('../img/devices-grid.webp') center / cover no-repeat; }
.rec-page-hero__inner, .rec-content-list, .rec-filter-nav, .rec-contact__layout { width: calc(100% - 40px); max-width: 1180px; margin: 0 auto; }
.rec-page-hero h1 { margin: 0; max-width: 880px; font-size: 44px; line-height: 1.25; }
.rec-page-hero__description { max-width: 780px; margin: 22px 0 0; font-size: 18px; color: rgba(255,255,255,.8); }
.rec-eyebrow { margin: 0 0 16px; color: var(--orange); font-size: 14px; font-weight: 800; }
.rec-breadcrumbs { font-size: 14px; margin: 0 0 22px; }
.rec-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rec-breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--muted); }
.rec-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.rec-page-hero .rec-breadcrumbs { color: rgba(255,255,255,.72); }
.rec-content-list { padding: 56px 0 72px; }
.rec-content-grid, .rec-card-grid, .rec-service-directory { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.rec-service-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rec-service-directory__card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.rec-service-directory__card h2 { font-size: 24px; line-height: 1.35; margin: 14px 0; }
.rec-service-directory__card p { color: var(--muted); }
.rec-content-badge { color: var(--teal); font-size: 13px; font-weight: 700; }
.rec-content-card__footer { display: flex; justify-content: space-between; gap: 12px; color: var(--orange-dark); font-weight: 700; }
.rec-service-boundary { border-top: 1px solid var(--line); padding-top: 18px; }
.rec-content-single { padding-bottom: 72px; }
.rec-entry-content, .rec-detail-section, .rec-related-content, .rec-related-routes, .rec-service-detail__media, .rec-case-facts, .rec-case-gallery { width: calc(100% - 40px); max-width: 900px; margin: 36px auto; }
.rec-entry-content, .rec-detail-section { font-size: 18px; color: var(--ink-soft); }
.rec-entry-content:empty { display: none; }
.rec-entry-content h2, .rec-detail-section h2, .article-content h2 { color: var(--ink); font-size: 26px; line-height: 1.4; margin: 34px 0 18px; }
.rec-entry-content h3, .article-content h3 { color: var(--ink); font-size: 21px; }
.rec-entry-content a, .article-content a:not(.btn) { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.rec-entry-content ul, .rec-entry-content ol, .article-content ul, .article-content ol { padding-left: 1.5em; }
.rec-entry-content table, .article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rec-entry-content td, .rec-entry-content th, .article-content td, .article-content th { padding: 10px; border: 1px solid var(--line); }
.rec-entry-content pre, .article-content pre { overflow: auto; }
.rec-entry-content img, .article-content img, .article-cover { height: auto; }
.rec-entry-content figure, .article-content figure { margin-left: 0; margin-right: 0; }
.rec-service-detail__media img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 8px; }
.rec-stop-box { border-left: 4px solid var(--orange); padding: 4px 24px; background: var(--wash); }
.rec-filter-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 32px; }
.rec-filter-nav a { padding: 8px 0; border-bottom: 2px solid var(--line); }
.rec-filter-nav a:hover, .rec-filter-nav a[aria-current] { color: var(--orange-dark); border-color: var(--orange); }
.rec-content-list__action { text-align: center; margin: 36px 20px 0; }
.rec-related-routes { display: flex; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); }
.article-content .rec-related-routes { width: 100%; }
.rec-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; text-align: center; }
.rec-button:hover { background: var(--orange-dark); }
.rec-button--secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.rec-button--secondary:hover { background: var(--wash); }
.rec-empty-state { grid-column: 1 / -1; padding: 26px 0; }
.rec-empty-state h2 { font-size: 26px; margin: 0 0 14px; }
.rec-empty-state p { color: var(--muted); }
.rec-empty-state__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pagination, .rec-pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; }
.page-numbers.current { color: white; background: var(--orange-dark); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rec-article-toc { padding: 22px 26px; background: var(--wash); border-left: 3px solid var(--teal); margin-bottom: 32px; }
.rec-article-toc h2 { margin: 0 0 12px; font-size: 20px; }
.rec-article-toc ol { margin: 0; }
.rec-article-toc li { margin: 8px 0; }
.rec-case-facts dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.rec-case-facts dd { margin: 8px 0; }
.rec-case-section, .rec-case-summary, .rec-about-media { width: calc(100% - 40px); max-width: 900px; margin: 36px auto; }
.rec-case-section h2 { font-size: 26px; line-height: 1.4; }
.rec-case-section p, .rec-case-section li { color: var(--ink-soft); font-size: 18px; }
.rec-case-section--notice { padding: 20px 24px; border-left: 3px solid var(--orange); background: var(--wash); }
.rec-case-section--quote blockquote { margin: 0; padding: 14px 24px; border-left: 3px solid var(--teal); }
.rec-case-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.rec-case-summary dd { margin: 6px 0 0; font-weight: 700; }
.rec-case-gallery__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.rec-case-gallery figure { margin: 0; }
.rec-case-gallery img { border-radius: 8px; }
.rec-about-media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; }
.rec-about-media figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.rec-contact__layout { padding: 56px 0; }
.rec-video-detail video, .rec-video-frame iframe { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.rec-video-chapters button { border: 1px solid var(--line); border-radius: 6px; background: var(--wash); padding: 10px 14px; text-align: left; cursor: pointer; }
.rec-video-chapters li { margin-bottom: 8px; }
.rec-dialog { display: none; }
.rec-dialog:target, .rec-dialog[data-open="true"] { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: rgba(7,23,39,.72); }
.rec-dialog__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 32px; background: white; border-radius: 8px; box-shadow: var(--shadow); }
.rec-dialog__close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 30px; }
.rec-dialog__heading { padding-right: 22px; }
.rec-dialog__heading h2 { font-size: 28px; margin: 8px 0; }
.rec-dialog__eyebrow { color: var(--orange-dark); font-weight: 700; margin: 0; }
.rec-dialog__contact { padding: 16px 0; }
.rec-dialog__qr img { max-width: 180px; height: auto; margin: auto; }
.rec-dialog__channels p { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.rec-dialog__channels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rec-dialog__channels p { flex-basis: 100%; margin: 10px 0; }
.rec-dialog__channels strong { font-size: 22px; }
.rec-dialog__channels a { display: inline-block; color: var(--orange-dark); }
.rec-dialog__template { display: grid; gap: 10px; }
.rec-dialog textarea { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 6px; font: inherit; resize: vertical; }
.rec-dialog__notice { color: var(--muted); font-size: 14px; }
.rec-dialog-open { overflow: hidden; }
.repair-copy { border: 0; background: var(--wash); color: var(--ink); padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.repair-notice { display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 8px; background: var(--ink); color: white; z-index: 1100; }
.repair-notice:not(:empty) { display: block; }
@media (max-width: 1100px) and (min-width: 981px) {
  .site-header { gap: 12px; }
  .site-nav a { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 980px) {
  .repair-footer-grid { gap: 36px; }
  .site-nav { max-height: calc(100dvh - 112px); overflow-y: auto; }
  .site-header:not([data-enhanced]) { position: relative; margin-top: 12px; flex-wrap: wrap; }
  .site-header:not([data-enhanced]) .site-nav { display: flex; position: static; width: 100%; box-shadow: none; border: 0; max-height: none; }
  .repair-menu { display: block; }
  .repair-menu .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .rec-content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rec-page-hero h1 { font-size: 36px; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 58px; }
}
@media (max-width: 640px) {
  .repair-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .repair-footer-menu, .repair-footer-default { gap: 18px; }
  .faq-list[data-rec-faq-ready] details[open] [data-rec-faq-answer] { height: 10rem; }
  .container { width: calc(100% - 28px); max-width: 362px; margin-left: auto; margin-right: auto; }
  .site-header { left: 50%; transform: translateX(-50%); }
  .brand { min-width: 0; }
  .brand-logo { width: 42px; height: 42px; }
  .brand--wide-logo .brand-logo { width: auto; height: 38px; max-width: 170px; }
  .article-heading { align-items: flex-start; flex-direction: column; }
  .article-heading .text-link { flex-shrink: 0; }
  .hero-stats dt { font-size: 28px; }
  .rec-page-hero { padding: 116px 0 44px; }
  .rec-page-hero__inner, .rec-content-list, .rec-filter-nav, .rec-contact__layout { width: calc(100% - 28px); }
  .rec-page-hero h1 { font-size: 30px; }
  .rec-page-hero__description, .article-lead { font-size: 17px; }
  .rec-content-grid, .rec-service-directory, .rec-case-gallery__grid, .rec-case-facts dl, .rec-case-summary { grid-template-columns: minmax(0,1fr); }
  .rec-entry-content, .rec-detail-section, .rec-related-content, .rec-related-routes, .rec-service-detail__media, .rec-case-facts, .rec-case-gallery { width: calc(100% - 28px); }
  .rec-case-section, .rec-case-summary, .rec-about-media { width: calc(100% - 28px); }
  .rec-entry-content, .article-content { font-size: 17px; }
  .rec-entry-content h2, .article-content h2 { font-size: 23px; }
  .contact-row strong { font-size: 20px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .rec-dialog:target, .rec-dialog[data-open="true"] { padding: 14px; }
  .rec-dialog__panel { padding: 24px 20px; max-height: calc(100dvh - 28px); }
  .rec-article-toc { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
