/* Reserva do Vale - Evolucao das Obras.
 * Visual system v1.1: editorial, restrained and fully scoped against theme CSS.
 */
.rvoe-root {
  --rvoe-navy: #0a2f43;
  --rvoe-navy-deep: #061f2d;
  --rvoe-navy-soft: #163f52;
  --rvoe-accent: #c87543;
  --rvoe-accent-soft: #f3e8de;
  --rvoe-green: #55734b;
  --rvoe-green-soft: #e9efe5;
  --rvoe-blue: #759eb6;
  --rvoe-ink: #173444;
  --rvoe-muted: #6f7f87;
  --rvoe-line: rgba(10, 47, 67, .13);
  --rvoe-paper: #f7f5f1;
  --rvoe-paper-dark: #eeece6;
  --rvoe-white: #fff;
  --rvoe-radius: 26px;
  --rvoe-shadow: 0 24px 70px rgba(6, 31, 45, .10);
  color: var(--rvoe-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
  isolation: isolate;
  width: 100%;
}

.rvoe-root *, .rvoe-root *::before, .rvoe-root *::after { box-sizing: border-box; }
.rvoe-root button, .rvoe-root input { font: inherit; }
.rvoe-root button { color: inherit; }
.rvoe-root img { display: block; height: auto; max-width: 100%; }
.rvoe-root svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; width: 20px; }
.rvoe-root [hidden] { display: none !important; }
.rvoe-shell { margin: 0 auto; max-width: 1280px; padding: 76px 24px 92px; width: 100%; }

/* Editorial heading */
.rvoe-section-heading { display: grid; gap: 15px; margin: 0 0 46px; max-width: 820px; }
.rvoe-section-heading::before { background: var(--rvoe-accent); content: ''; height: 2px; margin-bottom: 4px; width: 42px; }
.rvoe-section-heading h2, .rvoe-subheading h3, .rvoe-current h3, .rvoe-delivered h3, .rvoe-public-empty h3, .rvoe-latest-card h3 { color: var(--rvoe-navy); font-family: inherit; font-weight: 480; letter-spacing: -.042em; line-height: 1.06; margin: 0; }
.rvoe-section-heading h2 { font-size: clamp(2.35rem, 5vw, 4.35rem); max-width: 760px; }
.rvoe-section-heading p { color: var(--rvoe-muted); font-size: clamp(1rem, 1.55vw, 1.15rem); line-height: 1.65; margin: 2px 0 0; max-width: 680px; }
.rvoe-eyebrow, .rvoe-kicker { color: var(--rvoe-navy-soft); display: inline-block; font-size: .69rem; font-weight: 720; letter-spacing: .15em; text-transform: uppercase; }

/* Project selector. Important declarations intentionally block global theme button colors. */
.rvoe-project-tabs { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 32px; }
.rvoe-root .rvoe-project-tab {
  -webkit-appearance: none !important;
  align-items: center;
  appearance: none !important;
  background: rgba(255, 255, 255, .86) !important;
  border: 1px solid var(--rvoe-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 28px rgba(6, 31, 45, .035) !important;
  color: var(--rvoe-navy) !important;
  cursor: pointer;
  display: grid;
  gap: 17px;
  grid-template-columns: auto 1fr auto;
  line-height: 1.2 !important;
  min-height: 112px;
  overflow: hidden;
  padding: 22px 23px !important;
  position: relative;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease !important;
  width: 100%;
}
.rvoe-root .rvoe-project-tab::before { background: var(--rvoe-accent); bottom: 0; content: ''; height: 2px; left: 23px; opacity: 0; position: absolute; transition: opacity .25s ease, width .25s ease; width: 26px; }
.rvoe-root .rvoe-project-tab:hover { background: #fff !important; border-color: rgba(10, 47, 67, .26) !important; box-shadow: 0 16px 40px rgba(6, 31, 45, .08) !important; color: var(--rvoe-navy) !important; transform: translateY(-2px); }
.rvoe-root .rvoe-project-tab:hover::before { opacity: 1; width: 44px; }
.rvoe-root .rvoe-project-tab:focus-visible { outline: 3px solid rgba(117, 158, 182, .38) !important; outline-offset: 3px; }
.rvoe-root .rvoe-project-tab.is-active, .rvoe-root .rvoe-project-tab.is-active:hover { background: linear-gradient(135deg, var(--rvoe-navy), var(--rvoe-navy-deep)) !important; border-color: transparent !important; box-shadow: 0 18px 45px rgba(6, 31, 45, .20) !important; color: #fff !important; transform: none; }
.rvoe-root .rvoe-project-tab.is-active::before { opacity: 1; width: 48px; }
.rvoe-project-tab > svg { opacity: .45; transition: opacity .25s ease, transform .25s ease; }
.rvoe-project-tab:hover > svg, .rvoe-project-tab.is-active > svg { opacity: .85; transform: translateX(3px); }
.rvoe-tab-index { color: var(--rvoe-blue); font-size: .64rem; font-weight: 720; letter-spacing: .13em; }
.rvoe-project-tab.is-active .rvoe-tab-index { color: #d7e5ec; }
.rvoe-tab-copy { align-items: flex-start; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rvoe-tab-copy strong { color: inherit !important; font-size: 1rem; font-weight: 620; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.rvoe-status { align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; font-size: .61rem; font-weight: 760; letter-spacing: .105em; line-height: 1; padding: 7px 10px; text-transform: uppercase; width: fit-content; }
.rvoe-status--completed { background: var(--rvoe-green-soft); border-color: rgba(85, 115, 75, .11); color: #46613e; }
.rvoe-status--progress { background: var(--rvoe-accent-soft); border-color: rgba(200, 117, 67, .13); color: #8d4e2a; }
.rvoe-status--planned { background: #e8f0f4; border-color: rgba(117, 158, 182, .12); color: #416d84; }
.rvoe-project-tab.is-active .rvoe-status { backdrop-filter: blur(8px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.rvoe-project-panel { animation: rvoeFade .35s ease both; }
@keyframes rvoeFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* Main project story */
.rvoe-current, .rvoe-delivered { background: linear-gradient(140deg, var(--rvoe-navy), var(--rvoe-navy-deep)); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rvoe-radius); box-shadow: var(--rvoe-shadow); color: var(--rvoe-white); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 548px; overflow: hidden; }
.rvoe-current__media, .rvoe-delivered__media { min-height: 438px; overflow: hidden; position: relative; }
.rvoe-current__media > img, .rvoe-delivered__media > img { height: 100%; object-fit: cover; position: absolute; width: 100%; }
.rvoe-current__media::after, .rvoe-delivered__media::after { background: linear-gradient(180deg, rgba(6,31,45,.02) 50%, rgba(6,31,45,.50)); content: ''; inset: 0; pointer-events: none; position: absolute; }
.rvoe-current__content, .rvoe-delivered__content { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 70px); }
.rvoe-current h3, .rvoe-delivered h3 { color: var(--rvoe-white); font-size: clamp(2.35rem, 4.5vw, 4.15rem); margin: 18px 0 15px; }
.rvoe-current .rvoe-lead, .rvoe-delivered__content > p { color: rgba(255, 255, 255, .72); font-size: clamp(1rem, 1.45vw, 1.13rem); line-height: 1.65; margin: 0 0 27px; max-width: 570px; }
.rvoe-date-line { align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; font-size: .66rem; justify-content: space-between; letter-spacing: .095em; margin-bottom: 27px; padding-bottom: 14px; text-transform: uppercase; width: 100%; }
.rvoe-date-line span { color: rgba(255,255,255,.42); }
.rvoe-date-line time { color: rgba(255,255,255,.82); font-weight: 640; }
.rvoe-media-label { align-items: center; backdrop-filter: blur(12px); background: rgba(6,31,45,.72); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; bottom: 24px; color: var(--rvoe-white); display: flex; font-size: .64rem; font-weight: 700; gap: 8px; left: 24px; letter-spacing: .1em; padding: 10px 14px; position: absolute; text-transform: uppercase; z-index: 2; }
.rvoe-media-label--completed { background: rgba(52, 80, 44, .82); }
.rvoe-media-label svg { height: 15px; width: 15px; }
.rvoe-placeholder { align-items: center; background: linear-gradient(145deg, #e8eceb, #d8e1e2); color: #879aa1; display: flex; flex-direction: column; gap: 12px; height: 100%; justify-content: center; min-height: 360px; width: 100%; }
.rvoe-placeholder svg { height: 52px; width: 52px; }
.rvoe-placeholder small { font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rvoe-overall { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10); border-radius: 15px; margin: 0 0 24px; padding: 16px 18px; width: 100%; }
.rvoe-overall > div { align-items: center; display: flex; font-size: .72rem; justify-content: space-between; letter-spacing: .045em; margin-bottom: 11px; }
.rvoe-overall strong { color: var(--rvoe-white); font-size: 1.1rem; }
.rvoe-progress-track { background: rgba(255,255,255,.12); border-radius: 999px; display: block; height: 3px; overflow: hidden; }
.rvoe-progress-track i { background: var(--rvoe-accent); display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.8,.2,1); width: var(--rvoe-value); }
.rvoe-progress-track i.is-visible { transform: scaleX(1); }
.rvoe-milestones { display: grid; gap: 9px; width: 100%; }
.rvoe-milestone { align-items: flex-start; border-top: 1px solid rgba(255,255,255,.10); display: grid; gap: 11px; grid-template-columns: 21px 1fr; padding-top: 13px; }
.rvoe-milestone > svg { color: #a9c49d; height: 17px; margin-top: 2px; width: 17px; }
.rvoe-milestone span { display: grid; gap: 3px; }
.rvoe-milestone small { color: rgba(255,255,255,.43); font-size: .61rem; font-weight: 680; letter-spacing: .095em; text-transform: uppercase; }
.rvoe-milestone strong { color: rgba(255,255,255,.88); font-size: .84rem; font-weight: 500; line-height: 1.45; }

/* Detailed progress */
.rvoe-progress-section, .rvoe-evidence-section, .rvoe-archive-section { padding-top: clamp(68px, 8vw, 108px); }
.rvoe-subheading { align-items: end; border-bottom: 1px solid var(--rvoe-line); display: flex; gap: 40px; justify-content: space-between; margin-bottom: 36px; padding-bottom: 24px; }
.rvoe-subheading h3 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); margin-top: 9px; }
.rvoe-subheading > p { color: var(--rvoe-muted); font-size: .88rem; margin: 0; max-width: 390px; text-align: right; }
.rvoe-subheading .rvoe-kicker, .rvoe-update__date small { color: var(--rvoe-accent); }
.rvoe-stage-groups { display: grid; gap: 18px; }
.rvoe-stage-group { background: linear-gradient(135deg, #faf9f6, var(--rvoe-paper)); border: 1px solid var(--rvoe-line); border-radius: 20px; display: grid; gap: 28px; grid-template-columns: minmax(190px, .30fr) minmax(0, 1fr); padding: clamp(25px, 4vw, 42px); }
.rvoe-stage-group__title { align-content: start; display: grid; gap: 16px; }
.rvoe-stage-group__title span { background: var(--rvoe-accent); border-radius: 999px; height: 2px; width: 36px; }
.rvoe-stage-group__title h4 { color: var(--rvoe-navy); font-size: 1.08rem; font-weight: 610; line-height: 1.4; margin: 0; }
.rvoe-stage-items { display: grid; gap: 22px; }
.rvoe-stage { display: grid; gap: 8px; }
.rvoe-stage__meta { align-items: baseline; display: flex; gap: 18px; justify-content: space-between; }
.rvoe-stage__meta span { color: var(--rvoe-ink); font-size: .89rem; font-weight: 550; }
.rvoe-stage__meta strong { color: var(--rvoe-navy); font-size: .89rem; font-variant-numeric: tabular-nums; }
.rvoe-stage__track { background: #dfe4e3; border-radius: 999px; height: 5px; overflow: hidden; }
.rvoe-stage__fill { background: var(--rvoe-accent); border-radius: inherit; display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.8,.2,1); width: var(--rvoe-value); }
.rvoe-stage__fill.is-visible { transform: scaleX(1); }
.rvoe-stage__fill--completed { background: var(--rvoe-green); }
.rvoe-stage__fill--planned { background: var(--rvoe-blue); }
.rvoe-stage > small { color: #89969b; font-size: .61rem; letter-spacing: .075em; text-transform: uppercase; }

/* Monthly archive */
.rvoe-update-list { border-top: 1px solid var(--rvoe-line); }
.rvoe-update { border-bottom: 1px solid var(--rvoe-line); }
.rvoe-update > summary { align-items: center; cursor: pointer; display: flex; gap: 28px; justify-content: space-between; list-style: none; padding: 28px 4px; }
.rvoe-update > summary::-webkit-details-marker { display: none; }
.rvoe-update > summary:focus-visible { outline: 3px solid rgba(117,158,182,.35); outline-offset: 3px; }
.rvoe-update__date { display: grid; gap: 5px; }
.rvoe-update__date small { font-size: .61rem; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; }
.rvoe-update__date strong { color: var(--rvoe-navy); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 520; letter-spacing: -.025em; }
.rvoe-update__count { align-items: center; color: var(--rvoe-muted); display: flex; font-size: .76rem; gap: 15px; }
.rvoe-update__count svg { transition: transform .25s ease; }
.rvoe-update[open] .rvoe-update__count svg { transform: rotate(180deg); }
.rvoe-update__body { animation: rvoeFade .3s ease; padding: 6px 4px 50px; }
.rvoe-update__intro { align-items: flex-start; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 29px; }
.rvoe-update__intro p { color: var(--rvoe-muted); font-size: 1rem; margin: 0; max-width: 730px; }
.rvoe-media-type { border: 1px solid var(--rvoe-line); border-radius: 999px; color: var(--rvoe-navy); flex: 0 0 auto; font-size: .6rem; font-weight: 720; letter-spacing: .105em; padding: 8px 11px; text-transform: uppercase; }
.rvoe-media-type--render { background: #f5efe4; border-color: #e6d7bd; color: #785a2b; }
.rvoe-update__body > .rvoe-milestones { gap: 13px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 32px; }
.rvoe-update__body > .rvoe-milestones .rvoe-milestone { background: var(--rvoe-paper); border: 1px solid rgba(10,47,67,.06); border-radius: 14px; padding: 17px; }
.rvoe-update__body > .rvoe-milestones .rvoe-milestone small { color: #859298; }
.rvoe-update__body > .rvoe-milestones .rvoe-milestone strong { color: var(--rvoe-ink); }
.rvoe-update__body > .rvoe-milestones .rvoe-milestone > svg { color: var(--rvoe-green); }

/* Gallery buttons are explicitly reset so Elementor cannot recolor them. */
.rvoe-gallery { display: grid; gap: 11px; grid-auto-rows: 190px; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.rvoe-root .rvoe-gallery__item { -webkit-appearance: none !important; appearance: none !important; background: #dce4e5 !important; border: 0 !important; border-radius: 13px !important; box-shadow: none !important; color: #fff !important; cursor: zoom-in; line-height: 1 !important; min-height: 0; overflow: hidden; padding: 0 !important; position: relative; text-align: left !important; text-transform: none !important; }
.rvoe-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.rvoe-gallery__item img { height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); width: 100%; }
.rvoe-gallery__item:hover img { transform: scale(1.03); }
.rvoe-gallery__item:focus-visible { outline: 3px solid var(--rvoe-blue) !important; outline-offset: 3px; }
.rvoe-gallery__item > span { background: linear-gradient(transparent, rgba(4,27,39,.80)); bottom: 0; color: #fff; font-size: .69rem; left: 0; overflow: hidden; padding: 30px 12px 11px; position: absolute; right: 0; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.rvoe-gallery__item > b { align-items: center; background: rgba(6,31,45,.72); color: #fff; display: flex; font-size: 1.05rem; font-weight: 540; inset: 0; justify-content: center; position: absolute; }
.rvoe-gallery__item--extra { display: none; }
.rvoe-gallery--1 { grid-auto-rows: min(520px, 60vw); grid-template-columns: 1fr; }
.rvoe-gallery--1 .rvoe-gallery__item:first-child { grid-column: auto; grid-row: auto; }
.rvoe-gallery--2 { grid-auto-rows: min(430px, 45vw); grid-template-columns: repeat(2, 1fr); }
.rvoe-gallery--2 .rvoe-gallery__item:first-child { grid-column: auto; grid-row: auto; }
.rvoe-gallery--3 { grid-auto-rows: 205px; grid-template-columns: 1.5fr 1fr; }
.rvoe-gallery--3 .rvoe-gallery__item:first-child { grid-column: auto; }
.rvoe-video { aspect-ratio: 16 / 9; border-radius: 16px; margin-top: 18px; overflow: hidden; }
.rvoe-video iframe { height: 100%; width: 100%; }

/* Delivered projects and reusable cards */
.rvoe-delivered__facts { border-bottom: 1px solid rgba(255,255,255,.11); border-top: 1px solid rgba(255,255,255,.11); display: grid; gap: 13px; margin: 0 0 25px; padding: 18px 0; width: 100%; }
.rvoe-delivered__facts span { align-items: center; color: rgba(255,255,255,.82); display: flex; font-size: .81rem; gap: 10px; }
.rvoe-delivered__facts svg { color: #a9c49d; height: 17px; width: 17px; }
.rvoe-delivered__facts strong { font-weight: 500; }
.rvoe-text-link { align-items: center; color: #fff !important; display: inline-flex; font-size: .75rem; font-weight: 700; gap: 10px; letter-spacing: .08em; padding: 5px 0; position: relative; text-decoration: none !important; text-transform: uppercase; }
.rvoe-text-link::after { background: var(--rvoe-accent); bottom: 0; content: ''; height: 1px; left: 0; position: absolute; transition: width .25s ease; width: 38px; }
.rvoe-text-link:hover::after { width: 100%; }
.rvoe-status-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.rvoe-status-card { align-items: center; background: #fff; border: 1px solid var(--rvoe-line); border-radius: 14px; display: flex; gap: 18px; justify-content: space-between; padding: 17px 18px; }
.rvoe-status-card > span { color: var(--rvoe-navy); font-size: .89rem; font-weight: 610; }
.rvoe-latest-card { background: linear-gradient(140deg, var(--rvoe-navy), var(--rvoe-navy-deep)); border-radius: var(--rvoe-radius); color: #fff; display: grid; grid-template-columns: minmax(240px,.72fr) minmax(0,1fr); min-height: 320px; overflow: hidden; }
.rvoe-latest-card__media { min-height: 280px; position: relative; }
.rvoe-latest-card__media > img { height: 100%; object-fit: cover; position: absolute; width: 100%; }
.rvoe-latest-card__content { align-self: center; padding: clamp(32px,5vw,64px); }
.rvoe-latest-card h3 { color: #fff; font-size: clamp(1.9rem,4vw,3.2rem); margin: 12px 0; }
.rvoe-latest-card p { color: rgba(255,255,255,.72); margin: 0; }

/* Empty state: deliberately compact and editorial instead of a large blank box. */
.rvoe-public-empty { align-items: center; background: linear-gradient(135deg, #fbfaf8 0%, var(--rvoe-paper) 100%); border: 1px solid var(--rvoe-line); border-radius: var(--rvoe-radius); display: grid; gap: clamp(30px, 6vw, 76px); grid-template-columns: minmax(0, 1fr) auto; min-height: 330px; overflow: hidden; padding: clamp(42px, 7vw, 78px); position: relative; text-align: left; }
.rvoe-public-empty::before { background: var(--rvoe-accent); content: ''; height: 1px; left: clamp(42px, 7vw, 78px); position: absolute; top: 0; width: 54px; }
.rvoe-public-empty__copy { max-width: 680px; position: relative; z-index: 1; }
.rvoe-public-empty h3 { font-size: clamp(2rem,4vw,3.35rem); margin: 13px 0 15px; }
.rvoe-public-empty p { color: var(--rvoe-muted); line-height: 1.65; margin: 0; max-width: 560px; }
.rvoe-public-empty__note { align-items: center; border-left: 1px solid var(--rvoe-line); display: grid; gap: 8px; min-width: 210px; padding: 22px 0 22px clamp(26px, 4vw, 52px); position: relative; z-index: 1; }
.rvoe-public-empty__note span { color: var(--rvoe-accent); font-size: .62rem; font-weight: 740; letter-spacing: .12em; text-transform: uppercase; }
.rvoe-public-empty__note strong { color: var(--rvoe-navy); font-size: .9rem; font-weight: 570; line-height: 1.45; max-width: 175px; }
.rvoe-editor-hint { background: #fbf6e7; border: 1px solid #e8ddb9; border-radius: 10px; color: #655b37; font-size: 13px; margin: 18px 0; padding: 12px 15px; }

/* Lightbox */
.rvoe-lightbox { align-items: center; background: rgba(2,18,27,.95); display: flex; inset: 0; justify-content: center; opacity: 0; padding: 4vw; pointer-events: none; position: fixed; transition: opacity .2s ease; visibility: hidden; z-index: 999999; }
.rvoe-lightbox.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.rvoe-lightbox figure { display: grid; gap: 13px; margin: 0; max-height: 90vh; max-width: min(1200px, 92vw); }
.rvoe-lightbox img { border-radius: 8px; max-height: 82vh; object-fit: contain; }
.rvoe-lightbox figcaption { color: rgba(255,255,255,.78); font-size: .81rem; text-align: center; }
.rvoe-root .rvoe-lightbox__close { background: transparent !important; border: 1px solid rgba(255,255,255,.38) !important; border-radius: 50% !important; box-shadow: none !important; color: #fff !important; cursor: pointer; font-size: 29px !important; height: 44px; line-height: 1 !important; padding: 0 0 4px !important; position: absolute; right: 22px; text-transform: none !important; top: 20px; width: 44px; }
.rvoe-root .rvoe-lightbox__nav { align-items: center; background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.24) !important; border-radius: 50% !important; box-shadow: none !important; color: #fff !important; cursor: pointer; display: flex; font-size: 34px !important; height: 50px; justify-content: center; line-height: 1 !important; padding: 0 0 5px !important; position: absolute; text-transform: none !important; top: 50%; transform: translateY(-50%); width: 50px; }
.rvoe-lightbox__nav--prev { left: 18px; }
.rvoe-lightbox__nav--next { right: 18px; }
.rvoe-lightbox__nav:focus-visible, .rvoe-lightbox__close:focus-visible { outline: 3px solid var(--rvoe-blue) !important; outline-offset: 3px; }
.rvoe-no-scroll { overflow: hidden; }

@media (max-width: 900px) {
  .rvoe-shell { padding: 60px 20px 76px; }
  .rvoe-project-tabs { display: flex; overflow-x: auto; padding: 0 0 10px; scroll-snap-type: x mandatory; }
  .rvoe-root .rvoe-project-tab { flex: 0 0 min(82vw, 350px); scroll-snap-align: start; }
  .rvoe-current, .rvoe-delivered { grid-template-columns: 1fr; }
  .rvoe-current__media, .rvoe-delivered__media { min-height: min(65vw, 500px); }
  .rvoe-current__content, .rvoe-delivered__content { padding: 42px 31px 47px; }
  .rvoe-stage-group { grid-template-columns: 1fr; }
  .rvoe-stage-group__title { align-items: center; display: flex; }
  .rvoe-update__body > .rvoe-milestones { grid-template-columns: 1fr; }
  .rvoe-gallery { grid-auto-rows: 160px; grid-template-columns: repeat(2,1fr); }
  .rvoe-gallery__item:first-child { grid-column: span 2; }
  .rvoe-status-grid { grid-template-columns: 1fr; }
  .rvoe-public-empty { grid-template-columns: 1fr; }
  .rvoe-public-empty__note { border-left: 0; border-top: 1px solid var(--rvoe-line); grid-template-columns: auto 1fr; min-width: 0; padding: 24px 0 0; }
}

@media (max-width: 620px) {
  .rvoe-root { font-size: 15px; }
  .rvoe-shell { padding-left: 16px; padding-right: 16px; }
  .rvoe-section-heading { margin-bottom: 32px; }
  .rvoe-root .rvoe-project-tab { min-height: 92px; padding: 17px !important; }
  .rvoe-current, .rvoe-delivered { border-radius: 19px; }
  .rvoe-current__media, .rvoe-delivered__media { min-height: 72vw; }
  .rvoe-current__content, .rvoe-delivered__content { padding: 33px 22px 38px; }
  .rvoe-date-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .rvoe-media-label { bottom: 14px; left: 14px; }
  .rvoe-subheading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .rvoe-subheading > p { text-align: left; }
  .rvoe-stage-group { border-radius: 16px; padding: 24px 19px; }
  .rvoe-update > summary { padding: 22px 2px; }
  .rvoe-update__count { font-size: 0; gap: 0; }
  .rvoe-update__intro { flex-direction: column; gap: 14px; }
  .rvoe-gallery { gap: 7px; grid-auto-rows: 120px; }
  .rvoe-root .rvoe-gallery__item { border-radius: 9px !important; }
  .rvoe-gallery--1 { grid-auto-rows: 68vw; }
  .rvoe-gallery--2 { grid-auto-rows: 45vw; }
  .rvoe-gallery--3 { grid-auto-rows: 120px; grid-template-columns: 1.4fr 1fr; }
  .rvoe-latest-card { grid-template-columns: 1fr; }
  .rvoe-latest-card__media { min-height: 65vw; }
  .rvoe-public-empty { border-radius: 19px; min-height: 0; padding: 38px 24px; }
  .rvoe-public-empty::before { left: 24px; }
  .rvoe-public-empty__note { align-items: start; grid-template-columns: 1fr; }
  .rvoe-lightbox { padding: 70px 12px; }
  .rvoe-root .rvoe-lightbox__nav { bottom: 16px; height: 42px; top: auto; transform: none; width: 42px; }
  .rvoe-lightbox__nav--prev { left: calc(50% - 50px); }
  .rvoe-lightbox__nav--next { right: calc(50% - 50px); }
}

@media (prefers-reduced-motion: reduce) {
  .rvoe-root *, .rvoe-root *::before, .rvoe-root *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .rvoe-stage__fill, .rvoe-overall i { transform: scaleX(1); }
}
