/*
Theme Name: Nandi Institute of Nursing Sciences
Author: Programic IT Solutions, Raichur
Description: Website theme for Nandi Institute of Nursing Sciences, Bagalkot. Sticky header with a drop-down Courses menu, hero photo slider, courses, about, four course pages, contact page with WhatsApp admission enquiry, and a 404 page. Works with the Agency Core plugin and the free Elementor plugin, so every page can be edited by drag and drop.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nandi
*/

/* Layout: left-aligned throughout on a 1180px measure; the crest's shield shape frames the hero photo;
   programmes read as a comparison table rather than cards. */
:root{
  --plum:#3a1561;        /* crest purple */
  --plum-deep:#24093f;
  --maroon:#9c1c2e;      /* crest ribbon / flyer red */
  --leaf:#1d6a45;        /* flyer green */
  --marigold:#f0b429;    /* flyer yellow */
  --ink:#1f1828;
  --muted:#5f566b;
  --line:#e3dcec;
  --tint:#f6f2fa;        /* lilac-white band */
  --white:#fff;
  --font-display:"Bricolage Grotesque","Trebuchet MS",Arial,sans-serif;
  --font-body:"Instrument Sans","Segoe UI",Arial,sans-serif;
  --wrap-width:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font-family:var(--font-body);font-size:16px;line-height:1.65;color:var(--ink);background:var(--white)}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--font-display);line-height:1.08;margin:0;text-wrap:balance;letter-spacing:-.015em}
p{margin:0}
:focus-visible{outline:3px solid var(--marigold);outline-offset:2px}
.wrap{max-width:var(--wrap-width);margin-inline:auto;padding-inline:20px}
.band{padding-block:84px}
.band-tint{background:var(--tint)}
.band-head{max-width:640px;margin-bottom:40px}
.band-head h2{font-size:clamp(30px,4vw,44px);font-weight:800;color:var(--plum)}
.band-head p{margin-top:14px;color:var(--muted);font-size:17px}

.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;font-weight:700;font-size:15px;border:2px solid transparent;cursor:pointer;font-family:inherit;line-height:1.2}
.btn-solid{background:var(--maroon);color:#fff}
.btn-solid:hover{background:#7f1525}
.btn-gold{background:var(--marigold);color:var(--plum-deep)}
.btn-gold:hover{background:#ffc94d}
.btn-line{border-color:var(--plum);color:var(--plum);background:transparent}
.btn-line:hover{background:var(--plum);color:#fff}

/* Utility bar + header */
.util{background:var(--plum-deep);color:#e9dff3;font-size:13px}
.util .wrap{display:flex;justify-content:space-between;gap:16px;padding-block:8px;flex-wrap:wrap}
.util a{color:var(--marigold);font-weight:700}
.header{position:sticky;top:0;z-index:100;background:var(--white);border-bottom:1px solid var(--line)}
.header .wrap{display:flex;align-items:center;gap:24px;padding-block:10px}
.brand{display:flex;align-items:center;gap:12px;margin-right:auto;min-width:0}
.brand img{width:58px;height:auto;flex:none}
.brand-name{font-family:var(--font-display);font-weight:800;font-size:18px;line-height:1.1;color:var(--plum)}
.brand-name small{display:block;font-family:var(--font-body);font-weight:500;font-size:12px;color:var(--muted);margin-top:3px;letter-spacing:0}
.nav{display:flex;align-items:center;gap:4px}
.nav a{padding:9px 13px;border-radius:999px;font-weight:600;font-size:15px;color:var(--ink)}
.nav a:hover{background:var(--tint);color:var(--plum)}
.menu-btn{display:none;background:none;border:2px solid var(--plum);color:var(--plum);border-radius:10px;width:44px;height:44px;cursor:pointer;padding:0}
.menu-btn span{display:block;width:20px;height:2px;background:currentColor;margin:4px auto}

/* Hero: full-width photo slider behind the headline */
.hero{position:relative;background:var(--plum);color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;overflow:hidden}
.track{display:flex;height:100%;transition:transform .9s cubic-bezier(.65,0,.2,1)}
.slide{flex:0 0 100%;height:100%;overflow:hidden;background:linear-gradient(120deg,var(--plum-deep),#6a3a9c)}
.slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.slide.on img{animation:drift 7s ease-out forwards}
@keyframes drift{from{transform:scale(1.02)}to{transform:scale(1.1)}}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(36,9,63,.94) 0%,rgba(58,21,97,.78) 45%,rgba(58,21,97,.22) 100%)}
.hero .wrap{position:relative;z-index:2;min-height:600px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-block:80px 110px}
.hero-flag{display:inline-block;background:var(--marigold);color:var(--plum-deep);font-weight:700;font-size:14px;padding:7px 15px;border-radius:999px}
.hero h1{font-size:clamp(40px,6.4vw,84px);font-weight:800;margin-top:22px;max-width:14ch}
.hero-lede{margin-top:20px;max-width:560px;font-size:18px;color:#efe6f7}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero .btn-line{border-color:rgba(255,255,255,.6);color:#fff}
.hero .btn-line:hover{background:#fff;color:var(--plum)}
.hero-call{margin-top:24px;font-size:15px;color:#e3d7ee}
.hero-call b{color:#fff;font-size:17px;white-space:nowrap}
.hero-ui{position:absolute;z-index:3;left:0;right:0;bottom:26px}
.hero-ui .wrap{min-height:0;padding-block:0;flex-direction:row;justify-content:space-between;align-items:center}
.dots{display:flex;gap:8px}
.dots button{width:34px;height:5px;border:0;border-radius:3px;background:rgba(255,255,255,.4);cursor:pointer;padding:0}
.dots button.on{background:var(--marigold)}
.arrows{display:flex;gap:8px}
.arrows button{width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);background:rgba(36,9,63,.35);color:#fff;font-size:20px;cursor:pointer;line-height:1}
.arrows button:hover{background:var(--marigold);border-color:var(--marigold);color:var(--plum-deep)}

/* Recognition strip */
.recog{background:var(--plum-deep);color:#e9dff3}
.recog .wrap{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px;padding-block:16px;font-size:14px}
.recog strong{color:var(--marigold);font-weight:700}
.recog ul{display:flex;flex-wrap:wrap;gap:6px 24px;list-style:none;margin:0;padding:0}

/* Programmes table */
.prog{border-top:2px solid var(--plum)}
.prog-row{display:grid;grid-template-columns:1.5fr .6fr 1fr .6fr 110px;gap:24px;align-items:start;padding:26px 0;border-bottom:1px solid var(--line)}
.prog-head{padding:12px 0;font-size:13px;font-weight:700;color:var(--muted)}
.prog-row h3{font-size:24px;font-weight:700;color:var(--plum)}
.prog-level{display:inline-block;font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;margin-bottom:10px;background:var(--tint);color:var(--plum)}
.prog-level.pg{background:#f7e6e8;color:var(--maroon)}
.prog-level.ah{background:#e3f1ea;color:var(--leaf)}
.prog-row p{color:var(--muted);font-size:15px;margin-top:8px;max-width:44ch}
.prog-row dl{margin:0}
.prog-row dt{display:none;font-size:12px;font-weight:700;color:var(--muted)}
.prog-row dd{margin:0;font-weight:600;padding-top:34px}
.prog-spec{margin-top:12px;font-size:14px;color:var(--ink)}
.prog-spec b{display:block;color:var(--maroon);font-size:13px}
.prog-ask{align-self:center;justify-self:end;white-space:nowrap}

/* About */
.about{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.about h2{font-size:clamp(30px,4vw,44px);font-weight:800;color:var(--plum)}
.about-copy p{color:var(--muted);margin-top:16px;font-size:17px}
.since{margin-top:28px;display:flex;align-items:baseline;gap:14px;border-top:1px solid var(--line);padding-top:20px}
.since b{font-family:var(--font-display);font-size:54px;font-weight:800;color:var(--maroon);line-height:1}
.since span{color:var(--muted);font-size:15px;max-width:22ch}
.vm{display:grid;gap:20px}
.vm article{padding:30px;border-radius:18px;color:#fff;background:var(--plum)}
.vm article + article{background:var(--leaf)}
.vm h3{font-size:24px;font-weight:700;margin-bottom:10px}
.vm p{color:rgba(255,255,255,.88)}

/* Campus */
.fac{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line);background:var(--white)}
.fac div{padding:22px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.fac h3{font-size:19px;font-weight:700;color:var(--plum);margin-bottom:6px}
.fac p{font-size:14.5px;color:var(--muted);line-height:1.5}
.photos{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-auto-rows:190px;gap:14px;margin-top:40px}
.photos figure{margin:0;border-radius:14px;overflow:hidden;position:relative;background:var(--white);border:2px dashed #cdbfe0;display:grid;place-items:center;color:var(--muted);font-size:14px;text-align:center;padding:12px}
.photos figure:first-child{grid-row:span 2}
.photos figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photos figcaption b{display:block;color:var(--plum);font-family:var(--font-display);font-size:18px}

/* People */
.people{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.person{display:flex;gap:16px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--white)}
.person-photo{width:76px;height:76px;border-radius:50%;background:var(--tint);flex:none;display:grid;place-items:center;color:#b6a5cc}
.person h3{font-size:18px;font-weight:700;color:var(--plum)}
.person p{font-size:14px;color:var(--muted)}
.people-title{font-family:var(--font-display);font-size:24px;font-weight:700;color:var(--ink);margin:44px 0 18px}
.people-title:first-of-type{margin-top:0}

/* Notices */
.notices{list-style:none;margin:0;padding:0;border-top:2px solid var(--plum);max-width:820px}
.notices li{display:grid;grid-template-columns:130px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.notices time{font-weight:700;color:var(--maroon);font-size:14px}
.notices b{display:block;font-size:18px;color:var(--plum);font-family:var(--font-display)}
.notices span{color:var(--muted);font-size:15px}

/* Admissions */
.admit{background:var(--plum);color:#fff}
.admit .wrap{display:grid;grid-template-columns:320px 1fr 1fr;gap:48px;align-items:start}
.admit h2{font-size:clamp(30px,4vw,44px);font-weight:800}
.admit-lede{margin-top:14px;color:#e6daf1;font-size:17px}
.flyer{border-radius:10px;overflow:hidden;box-shadow:0 18px 40px rgba(20,4,36,.45);transform:rotate(-2deg)}
.contacts{margin:28px 0 0;display:grid;gap:18px}
.contacts dt{font-size:13px;font-weight:700;color:var(--marigold)}
.contacts dd{margin:2px 0 0;font-size:16px;overflow-wrap:anywhere}
.contacts a:hover{text-decoration:underline}
.form{background:var(--white);color:var(--ink);border-radius:18px;padding:28px;display:grid;gap:14px}
.form h3{font-size:24px;font-weight:700;color:var(--plum)}
.form label{display:grid;gap:5px;font-size:14px;font-weight:600}
.form input,.form select,.form textarea{font:inherit;font-weight:400;padding:12px 14px;border:1.5px solid #cfc5db;border-radius:10px;background:#fff;color:var(--ink);width:100%}
.form textarea{min-height:90px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--plum);outline:3px solid rgba(240,180,41,.5);outline-offset:0}
.form .btn{justify-content:center}
.form-note{font-size:13.5px;color:var(--muted)}
.form-msg{font-size:14.5px;font-weight:600;border-radius:10px;padding:10px 12px}
.form-msg.err{background:#f7e6e8;color:var(--maroon)}
.form-msg.ok{background:#e3f1ea;color:var(--leaf)}
.form-msg a{text-decoration:underline}

/* Footer */
.footer{background:var(--plum-deep);color:#d6cae3;padding-block:56px 22px;font-size:15px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
.footer h4{margin:0 0 12px;color:#fff;font-family:var(--font-display);font-size:17px}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.footer a:hover{color:var(--marigold)}
.footer-brand{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.footer-brand img{width:52px;background:#fff;border-radius:10px;padding:4px}
.footer-brand b{color:#fff;font-family:var(--font-display);font-size:17px;line-height:1.15}
.legal{border-top:1px solid rgba(255,255,255,.14);margin-top:36px;padding-top:18px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px;color:#a999ba}

/* Floating actions + dialog */
.wa{position:fixed;right:18px;bottom:18px;z-index:200;display:flex;align-items:center;gap:8px;background:#1fa855;color:#fff;font-weight:700;font-size:14px;padding:12px 16px;border-radius:999px;box-shadow:0 8px 22px rgba(0,0,0,.25)}
.wa svg{width:20px;height:20px;fill:currentColor}
.top{position:fixed;right:18px;bottom:76px;z-index:200;width:44px;height:44px;border-radius:50%;border:0;background:var(--plum);color:#fff;font-size:20px;cursor:pointer}
.top[hidden]{display:none}
dialog{border:0;padding:0;border-radius:18px;width:min(460px,calc(100% - 32px));box-shadow:0 30px 80px rgba(20,4,36,.5)}
dialog::backdrop{background:rgba(36,9,63,.7)}
.dlg-head{background:var(--plum);color:#fff;padding:24px 28px}
.dlg-head p{color:var(--marigold);font-weight:700;font-size:14px}
.dlg-head h3{font-size:26px;font-weight:800;margin-top:4px}
.dlg-close{position:absolute;right:10px;top:10px;width:40px;height:40px;border:0;background:none;color:#fff;font-size:24px;cursor:pointer;border-radius:50%}
dialog .form{border-radius:0}

@media(max-width:1020px){
  .admit .wrap{grid-template-columns:1fr 1fr}
  .flyer{display:none}
  .fac{grid-template-columns:1fr 1fr}
  .people{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .prog-row{grid-template-columns:1fr 1fr 1fr}
  .prog-head{display:none}
  .prog-main{grid-column:1/-1}
  .prog-row dt{display:block}
  .prog-row dd{padding-top:0}
  .prog-ask{grid-column:1/-1;justify-self:start}
}
@media(max-width:820px){
  .menu-btn{display:block}
  .header .apply{display:none}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--white);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:8px 20px 16px;box-shadow:0 20px 30px rgba(36,9,63,.12)}
  .nav.open{display:flex}
  .nav a{padding:13px 8px;border-radius:0;border-bottom:1px solid var(--line)}
  .hero .wrap{min-height:520px;padding-block:56px 100px}
  .hero-bg::after{background:linear-gradient(180deg,rgba(36,9,63,.9),rgba(58,21,97,.72))}
  .about,.admit .wrap{grid-template-columns:1fr}
  .band{padding-block:60px}
  .photos{grid-template-columns:1fr 1fr;grid-auto-rows:150px}
  .photos figure:first-child{grid-row:auto;grid-column:1/-1}
  .notices li{grid-template-columns:1fr;gap:4px}
}
@media(max-width:560px){
  .util span:first-child{display:none}
  .brand img{width:46px}
  .brand-name{font-size:15px}
  .brand-name small{display:none}
  .fac,.people,.footer-grid{grid-template-columns:1fr}
  .prog-row{grid-template-columns:1fr 1fr}
  .wa span{display:none}
  .wa{padding:14px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .track{transition:none}.slide.on img{animation:none}
}

/* =====================================================================
   Theme additions (not in the original HTML)
   ===================================================================== */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;left:10px;top:10px;z-index:100000;width:auto;height:auto;clip:auto;background:#fff;color:var(--plum);padding:10px 14px;border-radius:8px}
.admin-bar .header{top:32px}
@media(max-width:782px){.admin-bar .header{top:46px}}
@media(max-width:600px){.admin-bar .header{top:0}}
.brand .custom-logo{width:58px;height:auto;flex:none}
.eyebrow{display:inline-block;color:var(--maroon);font-size:13px;font-weight:800;letter-spacing:.12em;margin-bottom:12px}
.eyebrow.light{color:var(--marigold)}

/* ---------- Main menu with drop-down sub-menus ---------- */
.nav ul{list-style:none;margin:0;padding:0}
.nav-list{display:flex;align-items:center;gap:4px}
.nav-list li{position:relative}
.nav-list a{display:block;white-space:nowrap}
.nav-list>li.current-menu-item>a,
.nav-list>li.current-menu-ancestor>a,
.nav-list>li.current-menu-parent>a{background:var(--tint);color:var(--plum)}

/* arrow on items that have a sub-menu */
.nav-list>li.menu-item-has-children>a{padding-right:30px}
.nav-list>li.menu-item-has-children>a::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;margin-top:-6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s ease,margin .2s ease}
.nav-list>li.menu-item-has-children:hover>a::after,
.nav-list>li.menu-item-has-children:focus-within>a::after,
.nav-list>li.menu-item-has-children.open>a::after{transform:rotate(-135deg);margin-top:-2px}

/* the drop-down panel */
.nav .sub-menu{position:absolute;left:0;top:100%;z-index:120;min-width:260px;padding:8px;background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 46px rgba(36,9,63,.16);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.nav .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px} /* keeps it open while the mouse crosses the gap */
.nav li:hover>.sub-menu,
.nav li:focus-within>.sub-menu,
.nav li.open>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-list>li>.sub-menu{margin-top:10px}
.nav .sub-menu a{padding:10px 14px;border-radius:10px;font-size:14.5px;font-weight:600;color:var(--ink);white-space:normal}
.nav .sub-menu a:hover,
.nav .sub-menu .current-menu-item>a{background:var(--tint);color:var(--plum)}
.nav .sub-menu li+li{margin-top:2px}
/* third level opens to the side */
.nav .sub-menu .sub-menu{left:100%;top:-8px;margin:0 0 0 6px}
.nav .sub-menu li.menu-item-has-children>a{padding-right:28px}
.nav .sub-menu li.menu-item-has-children>a::after{content:"›";position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:18px;line-height:1}
/* last top-level items open to the left so the panel stays on screen */
.nav-list>li:nth-last-child(-n+2)>.sub-menu{left:auto;right:0}
.sub-toggle{display:none}

@media(max-width:820px){
  .nav-list{flex-direction:column;align-items:stretch;gap:0;width:100%}
  .nav-list a{white-space:normal}
  .nav-list>li.current-menu-item>a,.nav-list>li.current-menu-ancestor>a,.nav-list>li.current-menu-parent>a{background:none}
  .nav-list>li.menu-item-has-children>a{padding-right:56px}
  .nav-list>li.menu-item-has-children>a::after,.nav .sub-menu li.menu-item-has-children>a::after{display:none}
  .sub-toggle{display:grid;place-items:center;position:absolute;right:0;top:4px;width:44px;height:40px;border:0;border-radius:10px;background:var(--tint);color:var(--plum);cursor:pointer;padding:0}
  .sub-toggle::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px;transition:transform .2s ease,margin .2s ease}
  li.open>.sub-toggle::before{transform:rotate(-135deg);margin-top:4px}
  .nav .sub-menu,.nav .sub-menu .sub-menu{position:static;display:none;opacity:1;visibility:visible;transform:none;min-width:0;margin:0;padding:0 0 6px 14px;border:0;border-radius:0;box-shadow:none;background:none;transition:none}
  .nav .sub-menu::before{display:none}
  .nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:none}
  .nav li.open>.sub-menu{display:block}
  .nav .sub-menu a{padding:11px 8px;border-radius:0;border-bottom:1px solid var(--line);font-size:14.5px;color:var(--muted)}
  .nav .sub-menu li+li{margin-top:0}
  .nav{max-height:calc(100vh - 80px);overflow-y:auto}
}
@media(prefers-reduced-motion:reduce){.nav .sub-menu{transition:none}}

/* ---------- 404 page ---------- */
.nf{padding-block:90px;text-align:center}
.nf-code{font-family:var(--font-display);font-size:clamp(96px,18vw,190px);font-weight:800;line-height:.8;color:var(--plum);letter-spacing:-.08em;margin:22px 0 34px}
.nf h1{font-size:clamp(34px,6vw,64px);font-weight:800;color:var(--plum)}
.nf p{max-width:620px;margin:18px auto 30px;color:var(--muted);font-size:18px}
.nf-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.nf-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.nf-card{display:block;background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px;transition:transform .2s ease,box-shadow .2s ease}
.nf-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(36,9,63,.10)}
.nf-card h3{font-size:22px;color:var(--plum)}
.nf-card p{margin-top:8px;color:var(--muted);font-size:15px}
@media(max-width:820px){.nf{padding-block:60px}.nf-cards{grid-template-columns:1fr}}

/* ---------- Plain pages (any page without its own design) ---------- */
.plain-hero{background:var(--plum-deep);color:#fff;padding:64px 0 58px}
.plain-hero h1{font-size:clamp(38px,6vw,64px);font-weight:800}
.plain-body{padding-block:64px;font-size:17px}
.plain-body .wrap{max-width:900px}
.plain-body p{margin:0 0 1.1em;color:var(--muted)}
.plain-body h2,.plain-body h3{color:var(--plum);margin:1.4em 0 .5em}
.plain-body a{color:var(--maroon);text-decoration:underline}

/* links to a section of the home page (/#campus) are not "the current page" */
.nav-list>li.current-menu-item>a[href*="#"]{background:none;color:var(--ink)}
.nav-list>li.current-menu-item>a[href*="#"]:hover{background:var(--tint);color:var(--plum)}

/* fix: on phones the slider dots/arrows row inherited the hero's min-height and sat on top of the text */
.hero .hero-ui .wrap{min-height:0;padding-block:0}

/* Hero Slider widget: the headline keeps its look whichever tag is chosen */
.hero .hero-title{font-family:var(--font-display);font-size:clamp(40px,6.4vw,84px);font-weight:800;line-height:1.08;letter-spacing:-.015em;margin:22px 0 0;max-width:14ch;text-wrap:balance;color:inherit}
.hero .dots[hidden]{display:none}
.hero .hero-ui .wrap:has(.dots[hidden]){justify-content:flex-end}
/* Enquiry Form widget without the white card */
.form.form-plain{padding:0;background:transparent;border-radius:0}
.form.form-plain h3{font-size:30px}
