/* WordPress-side additions to the React design (main.css is the React stylesheet, unchanged). */

[hidden] { display: none !important; }

/* WordPress gives <body> the class "page" on every page; the React CSS means .page as the
   <main> wrapper that clears the fixed header. Keep it off the body. */
body.page { padding-top: 0; }

/* The React app swapped desktop/phone markup in JS; here both are in the HTML and CSS picks one. */
@media (max-width: 700px) { .rr-d { display: none !important; } }
@media (min-width: 701px) { .rr-m { display: none !important; } }
@media (max-width: 900px) { .rr-d9 { display: none !important; } }
@media (min-width: 901px) { .rr-m9 { display: none !important; } }

/* Without JS, never leave sections invisible. */
html:not(.rr-js) .reveal { opacity: 1; transform: none; }

/* Logged-in admin bar sits above the fixed header. */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } .admin-bar.rr-scrolled .header { top: 0; } }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* Forms */
.rr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rr-form-err { margin: 0; padding: 10px 14px; border-left: 3px solid #e2725b; background: rgba(226, 114, 91, .12); font-size: 14px; }
.section-dark .rr-form-err { color: #fff; }
button[disabled] { opacity: .65; cursor: progress; }
.fl-detail { display: inline-block; }

/* ------------------------------------------------------------------------
   Kept content: blog posts, SEO landing pages and archives in the new frame
   ------------------------------------------------------------------------ */
.rr-kept .page-hero .page-title { max-width: 24ch; font-size: clamp(32px, 4.6vw, 58px); }
.rr-single .page-hero .page-title { max-width: 28ch; font-size: clamp(30px, 4vw, 52px); text-transform: none; }
.rr-post-meta { margin: 18px 0 0; font-size: 14px; color: var(--steel); }
.rr-post-meta a { color: var(--ink); border-bottom: 1px dotted var(--accent); }

.rr-entry { padding-block: clamp(40px, 6vw, 80px); }
.rr-entry-el { padding-bottom: clamp(32px, 5vw, 64px); }
.rr-elementor .page-hero + .rr-entry-el { padding-top: clamp(24px, 4vw, 48px); }
.rr-kept.rr-elementor:not(:has(.page-hero)) { padding-top: 92px; }

.rr-prose { max-width: 820px; font-size: 17px; line-height: 1.75; color: #1f3443; }
.rr-prose > * + * { margin-top: 1.1em; }
.rr-prose h2, .rr-prose h3, .rr-prose h4 { font-family: var(--display); text-transform: uppercase; line-height: 1.1; margin-top: 1.8em; color: var(--ink); }
.rr-prose h2 { font-size: clamp(26px, 3vw, 36px); }
.rr-prose h3 { font-size: clamp(21px, 2.4vw, 27px); }
.rr-prose a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.rr-prose img { height: auto; border-radius: 2px; }
.rr-prose ul, .rr-prose ol { padding-left: 1.3em; }
.rr-prose li + li { margin-top: .4em; }
.rr-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--steel); }
.rr-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rr-prose th, .rr-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.rr-prose figure { margin-inline: 0; }
.rr-prose figcaption, .rr-prose .wp-caption-text { font-size: 13px; color: var(--steel); }
.rr-entry-thumb { margin: 0 0 32px; }
.rr-entry-thumb img { width: 100%; height: auto; }

/* Elementor content keeps its own layout; just stop it fighting the frame. */
.rr-entry-el .elementor { max-width: 100%; }
.rr-entry-el .elementor-section.elementor-section-boxed > .elementor-container { max-width: min(1140px, calc(100% - 2 * var(--pad))); }

.rr-post-foot { padding-bottom: clamp(32px, 5vw, 64px); }
.rr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.rr-tags a { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--steel); }
.rr-tags a:hover { border-color: var(--accent); color: var(--ink); }
.rr-post-nav { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; font-weight: 600; }
.rr-post-nav span:last-child { text-align: right; }
.rr-post-nav a:hover { color: var(--accent-dk); }

/* Listings */
.rr-listing-body { padding-block: clamp(40px, 6vw, 88px); }
.rr-post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .rr-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rr-post-grid { grid-template-columns: 1fr; } }
.rr-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.rr-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.rr-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rr-post-card:hover .rr-post-img img { transform: scale(1.04); }
.rr-post-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rr-post-body .rr-post-meta { margin: 0; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.rr-post-title { font-size: 23px; line-height: 1.12; text-transform: uppercase; }
.rr-post-title a:hover { color: var(--accent-dk); }
.rr-post-excerpt { margin: 0; color: var(--steel); font-size: 15px; line-height: 1.6; flex: 1; }
.rr-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.rr-pager .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); font-weight: 600; }
.rr-pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.rr-pager a.page-numbers:hover { border-color: var(--ink); }
.rr-empty { font-size: 18px; color: var(--steel); }
.search-form { display: flex; gap: 10px; max-width: 520px; margin-top: 20px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); font: inherit; }
.search-form .search-submit { height: 48px; padding: 0 22px; border: 0; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }

/* The site's older WhatsApp snippet (added via WP Headers and Footers) duplicates the theme's button. */
a.float[href*="whatsapp"] { display: none !important; }

/* Many posts/pages pull their first Elementor section up (e.g. margin-top: -250px) to sit under
   Astra's old title bar. In this frame that would cover the page title, so start it in place. */
.rr-entry-el > .elementor > .elementor-section:first-child,
.rr-entry-el > .elementor > .e-con:first-child,
.rr-entry-el > .elementor > .e-parent:first-child { margin-top: 0 !important; }

/* ------------------------------------------------------------------------
   Blog: index, archives and posts, in the redesign's type and colour
   ------------------------------------------------------------------------ */
.pj-filter-row a {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 999px;
  padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: var(--steel); white-space: nowrap;
  transition: color .2s, background .2s, border-color .2s;
}
.pj-filter-row a:hover { color: var(--ink); }
.pj-filter-row a.on { color: var(--ink); background: var(--mist); border-color: var(--line); }
@media (max-width: 700px) {
  .pj-filter-row a { flex: 0 0 auto; border-color: var(--line); }
  .pj-filter-row a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
}

.bl-body { padding-block: clamp(44px, 6vw, 88px); }
.bl-lead-head .eyebrow, .bl-grid-head { margin-bottom: 22px; }
.bl-grid-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.bl-more .bl-grid-head { margin-top: 0; }
.bl-grid-head p { margin: 0; color: var(--steel); font-size: 14px; }
.bl-grid-head .section-title { font-size: clamp(30px, 4vw, 46px); }

.bl-lead, .bl-grid { list-style: none; margin: 0; padding: 0; }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 1020px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bl-grid { grid-template-columns: 1fr; } }

.bl-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.bl-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.bl-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bl-card:hover .bl-card-img img { transform: scale(1.05); }
.bl-card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.bl-card-title { font-size: 22px; line-height: 1.12; text-transform: uppercase; }
.bl-card-title a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.bl-card-title a:hover { color: var(--accent-dk); }
.bl-card-text { margin: 0; color: var(--steel); font-size: 15px; line-height: 1.6; flex: 1; }
.bl-card-go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--accent-dk); }
.bl-card:hover .bl-card-go svg { transform: translateX(4px); }
.bl-card-go svg { transition: transform .25s; }

.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.bl-cat { color: var(--accent-dk); font-weight: 700; }

.bl-card-lead { display: grid; grid-template-columns: 1.25fr 1fr; }
.bl-card-lead .bl-card-img { aspect-ratio: auto; min-height: 340px; }
.bl-card-lead .bl-card-body { padding: clamp(24px, 3.4vw, 48px); justify-content: center; }
.bl-card-lead .bl-card-title { font-size: clamp(28px, 3.2vw, 42px); }
.bl-card-lead .bl-card-text { flex: 0; font-size: 16.5px; }
@media (max-width: 860px) { .bl-card-lead { grid-template-columns: 1fr; } .bl-card-lead .bl-card-img { min-height: 0; aspect-ratio: 16 / 10; } }

/* Post */
.bl-hero { background: var(--sand); padding: calc(92px + clamp(32px, 5vw, 64px)) 0 clamp(40px, 5vw, 72px); }
.bl-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .bl-hero-grid { grid-template-columns: 1fr; } }
.bl-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; text-transform: uppercase; color: var(--ink); }
.bl-meta-hero { margin-top: 22px; font-size: 13px; }
.bl-meta-hero span + time::before, .bl-meta-hero time + span::before { content: '·'; margin-right: 14px; color: var(--line); }
.bl-meta-hero a { color: var(--ink); border-bottom: 1px dotted var(--accent); }
.bl-hero-fig { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.bl-hero-fig img { width: 100%; height: 100%; object-fit: cover; }
.bl-hero .crumb { flex-wrap: wrap; }

.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 72px); align-items: start; }
@media (max-width: 1020px) { .bl-layout { grid-template-columns: 1fr; } }
.bl-article { max-width: 760px; }
.bl-article > :first-child { margin-top: 0; }
.bl-article h2, .bl-article h3 { scroll-margin-top: 110px; }
.bl-article h2 { padding-top: .3em; border-top: 1px solid var(--line); }
.bl-article h2:first-child { border-top: 0; padding-top: 0; }
.bl-article b, .bl-article strong { color: var(--ink); }
.bl-article section { display: contents; }

.bl-side { position: sticky; top: 116px; display: grid; gap: 22px; }
@media (max-width: 1020px) { .bl-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.bl-side-k { margin: 0 0 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent-dk); }
.bl-toc { border-left: 2px solid var(--line); padding-left: 18px; }
.bl-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; max-height: 50vh; overflow: auto; }
.bl-toc a { font-size: 14px; line-height: 1.4; color: var(--steel); display: block; }
.bl-toc a:hover, .bl-toc a.on { color: var(--ink); }
.bl-toc .lvl-3 { padding-left: 14px; }
.bl-side-cta { background: var(--ink); color: #fff; padding: 24px; }
.bl-side-cta .bl-side-k { color: var(--accent); }
.bl-side-cta p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.bl-side-cta .btn { width: 100%; justify-content: center; }
.bl-side-call { display: block; margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.75); text-align: center; }
.bl-side-call:hover { color: #fff; }
.bl-share { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-share .bl-side-k { width: 100%; margin-bottom: 4px; }
.bl-share a { font-size: 13px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--steel); }
.bl-share a:hover { border-color: var(--ink); color: var(--ink); }
.bl-foot .rr-tags { margin: 0; padding-bottom: clamp(32px, 4vw, 56px); }
.bl-more { background: var(--mist); padding-block: clamp(48px, 6vw, 88px); }

/* The menu carries 7 links (the React nav + Blogs), so the dotted leaders and gaps are a
   little tighter than the 6-link React header to keep "Get a Quote" on screen. */
.nav { gap: clamp(12px, 1.8vw, 34px); margin-inline: clamp(16px, 2.4vw, 48px); }
.nav a::after { width: clamp(14px, 2.2vw, 48px); }
.nav a:last-child::after { width: clamp(14px, 1.8vw, 36px); }
.header-cta .btn { white-space: nowrap; }
/* Seven links need a little more room than six: switch to the menu button below 1100px
   (the React header switched at 1020px). Mirrors main.css's 1020px rules. */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; border-top: 1px solid var(--line); }
  .mobile-nav a { display: block; padding: 15px var(--pad); font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--line); }
}

/* Post hero is text only; the featured image sits above the first paragraph, uncropped. */
.bl-hero-grid { grid-template-columns: 1fr; }
.bl-title { max-width: none; } /* title runs the full width of the hero */
.bl-feature { margin: 0 0 32px; }
.bl-feature img { display: block; width: 100%; height: auto; box-shadow: var(--shadow); }

/* Table of contents inside the article (built from its headings, after the introduction). */
.bl-toc-box { margin: 28px 0 36px; background: var(--mist); border-left: 3px solid var(--accent); }
.bl-toc-box summary { cursor: pointer; list-style: none; padding: 16px 22px; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.bl-toc-box summary::-webkit-details-marker { display: none; }
.bl-toc-box summary::after { content: '–'; font-size: 18px; color: var(--accent-dk); }
.bl-toc-box details:not([open]) summary::after { content: '+'; }
.bl-article .bl-toc-box ol { margin: 0; padding: 0 22px 20px 22px; list-style: none; display: grid; gap: 8px; }
.bl-article .bl-toc-box li { margin: 0; padding: 0 0 0 16px; font-size: 15px; line-height: 1.45; position: relative; }
.bl-toc-box li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--accent); }
.bl-toc-box li.sub { margin-left: 18px; font-size: 14px; }
.bl-toc-box li.sub::before { background: var(--line); }
.bl-toc-box a { color: var(--steel); text-decoration: none; border: 0; }
.bl-toc-box a:hover { color: var(--ink); text-decoration: underline; }
.bl-article h4 { scroll-margin-top: 110px; }

/* Sidebar: fleet for this kind of work. */
.bl-fleet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bl-fleet li a { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s; }
.bl-fleet li a:hover { border-color: var(--ink); }
.bl-fleet-photo, .bl-fleet-plate { grid-row: 1 / 4; width: 84px; height: 64px; overflow: hidden; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.bl-fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.bl-fleet-plate img { width: 90%; height: auto; }
.bl-fleet-name { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; line-height: 1.2; }
.bl-fleet-role { font-size: 12.5px; color: var(--steel); }
.bl-fleet-v { font-size: 12px; color: var(--accent-dk); line-height: 1.35; }
.bl-fleet-all { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bl-fleet-all svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------------
   Listing pages (blog, archives, projects): filters in a left sidebar
   ------------------------------------------------------------------------ */
.rr-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 4.4vw, 72px); align-items: start; }
.rr-main { min-width: 0; }
.rr-shell .bl-grid-head:first-child { margin-top: 0; }
.rr-shell .bl-grid, .rr-shell .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1280px) { .rr-shell .pj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rr-shell .bl-grid { gap: 32px 28px; }

/* Sticky on desktop. A sidebar taller than the window scrolls with the page until its end is in
   view, then holds there (main.js sets that offset); a short one holds just under the header. */
.rr-side { display: grid; gap: 40px; position: sticky; top: 116px; }
.rr-side-sec { margin: 0; }
.rr-side-h {
  list-style: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 0 12px;
  border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 15px; color: var(--ink); cursor: default;
}
.rr-side-h::-webkit-details-marker { display: none; }
.rr-side-h::before { content: ''; width: 8px; height: 8px; background: var(--accent); flex: none; }
.rr-side-list { list-style: none; margin: 0; padding: 0; }
.rr-side-list a, .rr-side-list button {
  position: relative; display: block; width: 100%; margin: 0; padding: 12px 22px 12px 0; text-align: left;
  font: inherit; font-size: 15px; line-height: 1.35; color: var(--steel); background: none; cursor: pointer;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; transition: color .2s, padding .2s, background .2s;
}
.rr-side-list a::after, .rr-side-list button::after {
  content: '\2192'; position: absolute; right: 4px; top: 50%; transform: translate(-6px, -50%); opacity: 0;
  color: var(--accent-dk); transition: opacity .2s, transform .2s;
}
.rr-side-list a:hover, .rr-side-list button:hover { color: var(--ink); padding-left: 6px; }
.rr-side-list a:hover::after, .rr-side-list button:hover::after { opacity: 1; transform: translate(0, -50%); }
.rr-side-list a.on, .rr-side-list button.on { color: var(--ink); font-weight: 600; background: var(--mist); padding-left: 14px; box-shadow: inset 3px 0 0 var(--accent); }
.rr-side-list a.on::after, .rr-side-list button.on::after { opacity: 1; transform: translate(-4px, -50%); }
.rr-side-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding-top: 18px; }
.rr-side-tags a { padding: 7px 11px; font-size: 13px; line-height: 1.2; color: var(--steel); border: 1px solid var(--line); border-radius: 0; background: var(--paper); transition: border-color .2s, color .2s, background .2s; }
.rr-side-tags a:hover { border-color: var(--ink); color: var(--ink); }
.rr-side-tags a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rr-side-cta { background: var(--ink); color: #fff; padding: 24px 22px; border-top: 3px solid var(--accent); }
.rr-side-cta-k { margin: 0 0 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--accent); }
.rr-side-cta p:not(.rr-side-cta-k) { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.82); }
.rr-side-cta .btn { width: 100%; justify-content: center; }

/* Tablet/phone: the sidebar sits above the list as folded boxes (folded on load by main.js). */
@media (max-width: 1020px) {
  .rr-shell { grid-template-columns: 1fr; gap: 28px; }
  .rr-side { gap: 10px; position: static; }
  .rr-side-sec { border: 1px solid var(--line); background: var(--paper); }
  .rr-side-h { cursor: pointer; padding: 15px 16px; border-bottom: 0; }
  .rr-side-sec[open] > .rr-side-h { border-bottom: 2px solid var(--ink); }
  .rr-side-h::after { content: '+'; margin-left: auto; font-size: 20px; line-height: 1; color: var(--accent-dk); }
  .rr-side-sec[open] > .rr-side-h::after { content: '\2013'; }
  .rr-side-list { padding: 0 16px 6px; }
  .rr-side-list li:last-child a, .rr-side-list li:last-child button { border-bottom: 0; }
  .rr-side-tags { padding: 14px 16px 16px; }
  .rr-side-cta { display: none; }
}
@media (max-width: 640px) { .rr-shell .bl-grid, .rr-shell .pj-grid { grid-template-columns: 1fr; } }

/* Square edges across the site: chips, tags, buttons and cards (round icons and dots stay round). */
.rr-tags a, .bl-share a, .pj-filter-row a, .pj-filter-row button, .fl-card, .fl-badge, .fl-cta, .fv-card,
.pp2-img, .pp2-cta-card, .pp2-cta-btn, .pp2-card, .pp2-pill, .pp2-method-item, .pp2-challenge, .pp2-banner, .pp2-banner-btn,
.about-journey-img-wrap, .about-stewardship-img-wrap, .abv2-hero-img-card, .abv2-adv-strip, .abv2-adv-icon,
.abp-founder-card, .abp-founder-img-wrap, .ab-mv-media, .ab-exact-team-card, .pp-hero-fig, .map-chip, .map-chip span,
.abv2-m-photo, .abv2-m-proof, .btn, .rr-prose img, .bl-toc-box { border-radius: 0 !important; }

/* ------------------------------------------------------------------------
   One hero standard for every inner page (the Projects page is the reference):
   same banner height, title size, intro size and line length on Services, each
   service, About, project and fleet pages. Blog posts keep a smaller title
   because their titles run to 15+ words.
   ------------------------------------------------------------------------ */
.page-hero.has-img, .rn-hero, .sp-hero { min-height: min(60svh, 560px); }
.rn-hero-inner { padding-bottom: clamp(48px, 7vw, 96px); }
.page-title, .rn-title, .sp-title, .ab-exact-hero-title, .pp-title {
  font-size: clamp(38px, 6vw, 74px); line-height: 1.02; letter-spacing: 0; max-width: 18ch;
}
.rn-title, .sp-title { text-transform: uppercase; }
.page-lede, .sp-lede, .ab-exact-hero-lede, .pp-lede {
  font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.7; max-width: 62ch;
}
.sp-title { margin-bottom: 0; }
.sp-lede { margin-top: 24px; }

/* Homepage: the heading wraps to the same width as the paragraph under it. */
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 660px; }
.hero-tag { max-width: 660px; }
.hero-body { max-width: 660px; grid-template-columns: 1fr; }
/* Same banner height on desktop for every inner page; the copy sits at the bottom of it. */
@media (min-width: 1021px) {
  .page-hero.has-img, .rn-hero, .sp-hero { min-height: 640px; }
  .ab-exact-hero { min-height: 732px; } /* sits under the header: 640 + 92 */
}

/* ------------------------------------------------------------------------
   Home "Our advantage": description under each title on desktop; on phones a
   slow strip of photo cards (two in full, a slice of the third in view).
   ------------------------------------------------------------------------ */
.abv2-adv-card-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.82); }
.abv2-adv-marquee { overflow: hidden; margin-right: calc(-1 * var(--pad)); }
.abv2-adv-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: rr-adv-marquee 45s linear infinite; }
.abv2-adv-marquee:hover .abv2-adv-track, .abv2-adv-marquee:active .abv2-adv-track { animation-play-state: paused; }
.abv2-adv-slide { flex: none; width: calc((100vw - var(--pad) - 28px) / 2.13); margin-right: 14px; }
.abv2-adv-slide-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.abv2-adv-slide-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.abv2-adv-slide-ic { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--accent); background: rgba(7,23,35,.72); }
.abv2-adv-slide-ic svg { width: 20px; height: 20px; }
.abv2-adv-slide h3 { margin: 12px 0 4px; font-family: var(--display); font-size: 15px; line-height: 1.2; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.abv2-adv-slide p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--steel); }
@keyframes rr-adv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .abv2-adv-marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .abv2-adv-track { animation: none; }
  .abv2-adv-slide { scroll-snap-align: start; }
  .abv2-adv-slide[aria-hidden] { display: none; }
}

/* Home "Featured projects" on phones: more of the next card peeks in. */
.proj-snap .snap-track > * { flex: 0 0 calc(100vw - 2 * var(--pad) - 52px); }

/* Space above the breadcrumb: posts and projects use the same top padding as the other
   page headers (they had the header height added twice). */
.bl-hero { padding-top: clamp(48px, 7vw, 96px); }
.pp-hero-sand { padding-top: clamp(48px, 7vw, 96px); }

/* Phones: the header is 72px tall there, so pages start right under it (no white strip). */
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .page, .rn, .rr-kept.rr-elementor:not(:has(.page-hero)) { padding-top: 72px; }
}

/* Light (sand) page headers with a photo beside the title (fleet class, vessel, project) and
   archive/post headers: breadcrumb close under the menu, short gap under the photo. */
.page-hero:not(.has-img), .pp-hero-sand, .bl-hero { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(36px, 4vw, 56px); }
