/* gallery grid for thumbnails */
  .gallery-grid{display:flex;flex-wrap:wrap;gap:1rem}
  .gallery-grid .gallery-item{width:100%}
  @media(min-width:992px){.gallery-grid .gallery-item{width:calc(33.333% - 1rem)}}

  /* ac1f24 theme */
  :root{--primary:#ac1f24;--text:#111;--bg:#fff}
  body{font-family:"Inter","Helvetica Neue",Arial,sans-serif;line-height:1.65;color:var(--text)}
  h2,h3{color:var(--primary);margin-top:1.2em}

  /* accordion */
  details{border:2px solid var(--primary);border-radius:.5rem;margin-bottom:1rem;overflow:hidden}
  details summary{cursor:pointer;padding:.75rem 1rem;background:var(--primary);color:#fff;font-weight:600;list-style:none;position:relative}
  details summary::after{content:"\25BC";position:absolute;right:1rem;transition:transform .3s ease}
  details[open] summary::after{transform:rotate(180deg)}
  details>div{padding:1rem 1.25rem;background:#f9f9f9;animation:fadeIn .6s ease}
  @keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

  /* images inside accordion */
  .accordion-img{width:100%;border-radius:.5rem;box-shadow:0 4px 10px rgba(0,0,0,.15);margin-bottom:0.75rem}
  /* hover animation for thumbnails */
  .gallery-grid img{width:100%;border-radius:.5rem;box-shadow:0 4px 10px rgba(0,0,0,.15);transition:transform .35s cubic-bezier(0.25,0.8,0.25,1),box-shadow .35s ease;height:auto}
  .gallery-grid img:hover{transform:scale(1.08);box-shadow:0 10px 20px rgba(0,0,0,.25)}
  /* desktop layout: side-by-side using flex to avoid column glitches */
