/* Static recreation of the Google Sites "Aristotle" theme used by avro.lk */
:root{--cream:#f7f4ee;--band:#827153;--gold:#cea964;--ink:#212121;--head:#74664d;--nav-h:56px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font:400 16px/1.56 "Open Sans",sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
p,h1,h2,h3,h4{margin:0}

/* nav */
.topnav{position:fixed;inset:0 0 auto;height:var(--nav-h);z-index:10;display:flex;align-items:center;gap:16px;padding:0 24px 0 32px;transition:background .2s,box-shadow .2s}
.topnav.solid{background:rgba(33,33,33,.96);box-shadow:0 2px 6px rgba(0,0,0,.25)}
.brand{display:flex;align-items:center;gap:20px;text-decoration:none;color:#fff;font-weight:700;font-size:20px;letter-spacing:.3px}
.brand img{width:30px;height:30px;object-fit:contain}
.topnav ul{list-style:none;margin:0 0 0 auto;padding:0;display:flex;align-items:center}
.topnav li+li::before{content:"·";color:rgba(255,255,255,.7);padding:0 10px}
.topnav li a{color:#fff;text-decoration:none;font-size:16px;opacity:.92}
.topnav li a:hover{opacity:1;text-decoration:underline}
.topnav li a[aria-current]{font-weight:700;opacity:1}
.menu{display:none;margin-left:auto;background:none;border:0;padding:8px;cursor:pointer}
.menu span{display:block;width:22px;height:2px;background:#fff;margin:5px 0}

/* hero */
.hero{position:relative;height:310px;display:flex;align-items:center;justify-content:center;padding:var(--nav-h) 24px 0;
  background:#2a2a2b center/cover no-repeat;text-align:center}
.hero::before{content:"";position:absolute;inset:0;background:rgba(33,33,33,.45)}
.hero-inner{position:relative;max-width:1280px;width:100%}
.hero h1{margin-bottom:0}
.hero h1::after{content:"";display:block;width:100px;height:8px;background:var(--gold);margin:12px auto 0}

/* sections */
section{padding:24px 0}
section.cream{background:var(--cream)}
section.band{background:var(--band);color:#fff}
section.plain{background:#fff}
section.spacer{padding:9px 0}
.wrap{max-width:1280px;margin:0 auto}
.row{display:flex;align-items:flex-start}
.col{margin-left:var(--ml);width:var(--w);flex:none;padding:0 8px}
.col>*+*{margin-top:0}
.image img{width:100%;height:auto}
.text{padding:8px 0}
.video,.map{position:relative;width:100%}
.video iframe{width:100%;aspect-ratio:4/5;border:0;display:block;background:#000}
.map iframe{width:100%;height:289px;border:0;display:block}

/* collapsible results */
details{border-bottom:1px solid #74664d}
summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:10px 8px}
summary::-webkit-details-marker{display:none}
summary h2{font:700 24px/1.56 Roboto,sans-serif;color:var(--head)}
summary::after{content:"";width:10px;height:10px;border:solid var(--head);border-width:0 2px 2px 0;transform:rotate(45deg);margin:0 8px 6px 0;transition:transform .2s}
details[open] summary::after{transform:rotate(-135deg);margin-bottom:0}
.details-body{padding:8px 8px 24px}
.details-body .image img{width:100%}

/* carousel */
.carousel .slides{position:relative;aspect-ratio:562/487;overflow:hidden}
.carousel .slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s}
.carousel .slides img.on{opacity:1}
.carousel .prev,.carousel .next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;
  background:rgba(0,0,0,.35);color:#fff;font-size:30px;line-height:40px;cursor:pointer;opacity:0;transition:opacity .2s}
.carousel .prev{left:12px}.carousel .next{right:12px}
.carousel:hover .prev,.carousel:hover .next,.carousel button:focus-visible{opacity:1}
.carousel .dots{display:flex;justify-content:center;gap:8px;padding:16px 0 4px}
.carousel .dots button{width:10px;height:10px;border-radius:50%;border:0;padding:0;background:#ccc;cursor:pointer}
.carousel .dots button.on{background:var(--band)}

/* tablet & phone */
@media (max-width:900px){
  .topnav ul{display:none;position:absolute;top:var(--nav-h);left:0;right:0;flex-direction:column;align-items:stretch;background:rgba(33,33,33,.98);padding:8px 0}
  .topnav.open ul{display:flex}
  .topnav.open{background:rgba(33,33,33,.98)}
  .topnav li+li::before{content:none}
  .topnav li a{display:block;padding:12px 32px}
  .menu{display:block}
}
@media (max-width:768px){
  .row{flex-direction:column;align-items:stretch;padding:0 16px}
  .col{margin-left:0;width:100%;padding:0}
  .col+.col{margin-top:16px}
  .hero{height:240px}
  .hero h1{font-size:40px!important;line-height:1.2!important}
  .text [style*="font-size:48px"]{font-size:34px!important}
  .text [style*="font-size:32px"]{font-size:26px!important}
  .video iframe{aspect-ratio:16/9}
}
