/*
Theme Name: Revidon
Theme URI: https://revidon.co.uk
Author: Revidon Ltd
Description: Revidon company website. Eleven fixed page templates built from the approved design mock-ups (October 2026). Fonts are hosted locally; no third-party requests.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary - Revidon Ltd. Fonts: SIL Open Font License 1.1 (Poppins, Lora).
Text Domain: revidon
*/

@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/poppins-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/poppins-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/poppins-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/poppins-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Lora';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/lora-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Lora';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/lora-latin-400-italic.woff2') format('woff2')}
@font-face{font-family:'Lora';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/lora-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Lora';font-style:italic;font-weight:500;font-display:swap;src:url('fonts/lora-latin-500-italic.woff2') format('woff2')}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/lora-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Lora';font-style:italic;font-weight:600;font-display:swap;src:url('fonts/lora-latin-600-italic.woff2') format('woff2')}

/* Shared styles from the design mock-ups */
body{margin:0;background:#F7F4EF}
a{color:#0B1A2B}a:hover{color:#7A5328}
.wrap{max-width:1240px;margin:0 auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px));box-sizing:border-box}
.mono{font-family:Lora,Georgia,serif;font-style:italic}
.nav a{color:#DCE2E8;text-decoration:none;font-size:14px;padding:10px 11px;border-radius:6px}
.nav a:hover{color:#FFFFFF;background:rgba(255,255,255,0.08)}
.dd{position:relative}
.ddb{background:none;border:0;color:#DCE2E8;font:inherit;font-size:14px;padding:10px 11px;border-radius:6px;cursor:pointer}
.ddb:hover,.dd:focus-within .ddb{color:#FFFFFF;background:rgba(255,255,255,0.08)}
.ddm{display:none;position:absolute;right:0;top:100%;min-width:250px;background:#0B1A2B;border:1px solid rgba(255,255,255,0.16);border-radius:10px;padding:6px;z-index:20;box-shadow:0 14px 34px rgba(0,0,0,0.35)}
.dd:hover .ddm,.dd:focus-within .ddm{display:flex;flex-direction:column}
a:focus-visible,button:focus-visible{outline:3px solid #A8763E;outline-offset:2px}
@media (max-width:900px){.herosvg{opacity:0.22}}
button{font:inherit}
.ddb.on{color:#0B1A2B;background:#F7F4EF}
header > *{position:relative}
header > .hdrsvg{position:absolute}
@media (max-width:900px){.hdrsvg{opacity:0.25}}
.frame{background:#FFFFFF;border:1px solid #C9C2B6;border-radius:12px;overflow:hidden;box-shadow:0 18px 50px rgba(11,26,43,0.22)}
.frame img{display:block;width:100%;height:auto}
input,select,textarea,button{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #A8763E;outline-offset:2px}
.legal{max-width:820px}
.legal h2{margin:44px 0 10px;font-size:24px;line-height:1.25;font-weight:600}
.legal p,.legal li{font-size:16px;line-height:1.7;color:#2E3A47}
.legal p{margin:0 0 12px}
.legal ul{margin:0 0 12px;padding-left:20px}
.legal table{border-collapse:collapse;width:100%;font-size:15px;margin:8px 0 16px}
.legal th{text-align:left;background:#0B1A2B;color:#F7F4EF;font-weight:600;padding:10px 12px}
.legal td{padding:10px 12px;border-top:1px solid #E4DED4;vertical-align:top;background:#FFFFFF}
.tbc{background:#FBEFD9;color:#6B4600;border-radius:4px;padding:1px 6px}

/* Theme additions */
.rv-editorial { padding-top:48px; padding-bottom:48px; border-top:1px solid #C9C2B6; }
.rv-editorial h2 { font-size:clamp(26px,3vw,38px); line-height:1.2; font-weight:600; margin:0 0 24px; }
.rv-editorial p,.rv-editorial li { font-size:16px; line-height:1.7; max-width:900px; }
.rv-editorial li { margin-bottom:12px; }
.rv-evidence { margin:28px 0; }
.rv-evidence img { display:block; width:100%; height:auto; border:1px solid #C9C2B6; border-radius:12px; }
.rv-evidence figcaption { font-size:14px; line-height:1.65; margin-top:14px; max-width:1000px; }
.rv-evidence a { display:block; }
.rv-product-nav { display:flex; flex-wrap:wrap; gap:14px 24px; align-items:center; padding-top:18px; padding-bottom:18px; background:#F7F4EF; color:#0B1A2B; font:14px Poppins,system-ui,sans-serif; }
.rv-product-nav a { padding:6px 0; text-underline-offset:5px; }
.rv-product-nav a[aria-current="page"] { font-weight:600; color:#7A5328; }
.rv-next { padding-top:40px; padding-bottom:56px; border-top:1px solid #C9C2B6; }
.rv-next a { font-weight:600; text-underline-offset:5px; }
.rv-module-links { display:flex; flex-wrap:wrap; gap:24px; margin-top:24px; }
#proposed-modules { scroll-margin-top:24px; }
html{-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:border-box}
img{max-width:100%;height:auto}
.rv-variant[hidden]{display:none !important}
.rv-skip{position:absolute;left:-9999px;top:0;background:#A8763E;color:#0B1A2B;padding:10px 14px;z-index:100;font-family:Poppins,system-ui,sans-serif;font-weight:600}
.rv-skip:focus{left:12px;top:12px}
.rv-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
@media (max-width:640px){.nav{width:100%}.dd .ddm{left:0;right:auto}}


/* Keep the masthead separate from the decorative records graphic. */
/* The Carbon workspace image is below, not inside, the decorative graphic. */
header:not(.carbon-header) > .hdrsvg {
  top: 140px !important;
  height: calc(100% - 164px) !important;
}
@media (max-width:640px) {
  header:not(.carbon-header) > .hdrsvg {
    top: 200px !important;
    height: calc(100% - 224px) !important;
  }
}
.carbon-header > .hdrsvg {
  top: 200px !important;
  right: 3vw !important;
  width: 38% !important;
  height: 440px !important;
}
.carbon-header {
  background: radial-gradient(ellipse 480px 360px at 80% 410px, rgba(168,118,62,0.23), transparent 100%), #0B1A2B !important;
}
body:has(.carbon-header) .wrap {
  max-width: 1600px;
  padding-left: clamp(24px, 4vw, 76px);
  padding-right: clamp(24px, 4vw, 76px);
}
@media (max-width:1100px) {
  .carbon-header > .hdrsvg { opacity: 0.16 !important; }
}
.carbon-workspace { clear: both; }
.carbon-workspace .frame { background: #FFFFFF; }
header:has(> .herosvg), header:not(.carbon-header):has(> .hdrsvg), header.decision-header {
  background: radial-gradient(ellipse at 84% 57%, rgba(168,118,62,0.28) 0%, rgba(168,118,62,0.10) 25%, transparent 60%), #0B1A2B !important;
}
header > .wrap:has(> .nav) {
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
  background: #0B1A2B;
  z-index: 30;
  isolation: isolate;
}
header > .wrap > .nav {
  margin-left: auto;
  justify-content: flex-end;
}
.herosvg {
  top: 96px !important;
  height: calc(100% - 96px) !important;
}
@media (max-width:640px) {
  header > .wrap > .nav { margin-left: 0; justify-content: flex-start; }
  .herosvg { top: 160px !important; height: calc(100% - 160px) !important; }
}
