:root {
    --background: #FFF;
    --text: #000;
    --textAlternate: #FFF;
    
    --primary: #3254A2;
    --secondary: #7C9DE9;
    --accent: #72B18F;
    
    --grey: #6D6D6D;
    --lightgrey: #ededed;
    --darkgrey: #0d0d0d;
    --stroke: #3D3D3D;
    
    --font: 'PP Mori', sans-serif;
    --fontHeader: 'PP Kyoto', serif;
    
    --margin: 10rem;
}

html {
  font-size: 16px;
}

body {
  background: var(--background);
  margin: 0;
  padding: 0;
  
  font-family: var(--font);
  font-weight: normal;
  font-size: 1rem;
  color: var(--text);
  
  position: relative;
}

body.lock {
  overflow: hidden;
}

.post, .page {
  margin: 0;
}

/* Typography */

p {
  font-family: var(--font);
  font-weight: normal;
  font-size: 1rem;
  
  line-height: 1.6em;
}

p.small {
  font-size: 0.8rem;
}

.small p {
  font-size: 0.8rem;
}

h1, h2, .h1, .h2 {
  font-family: var(--fontHeader);
  font-weight: bold;
  line-height: 1.1em;
  letter-spacing: -0.02em;
  margin: 2rem 0;
}

h1, .h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1em;
}

h2, .h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1em;
}

h3, h4, h5, h6,
.h3, .h4, .h5, .h6 {
  font-family: var(--font);
  font-weight: bold;
  line-height: 1.2em;
  margin: 1em 0;
}

h3, .h3 {
  font-family: var(--fontHeader);
  font-weight: normal;
  font-size: clamp(22px, 3vw, 28px);
}

h4, .h4 {
  font-size: clamp(22px, 2.5vw, 28px);
}

h5, .h5, .content-item-number {
  font-size: clamp(18px, 2vw, 20px);
}

h6, .h6 {
  font-size: clamp(14px, 1.5vw, 16px);
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, p:first-child {
  margin-top: 0;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child {
  margin-bottom: 0;
}

ul li {
  font-size: clamp(14px, 1.5vw, 16px);
}

/* General  */

.site-main {
  opacity: 0;
  visibility: hidden;
  
  position: absolute;
  top: 0;
  width: 100%;
}

.contain {
  width: 87%;
  max-width: 1680px;
  margin: 0 auto; 
}

.contain-small {
  max-width: 1280px;
}

.contain-peewee {
  max-width: 800px;
}

.restrict {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.padding {
  padding: clamp(3rem, 6vw, 7rem) 0;
}

.padding-small {
  padding: clamp(1rem, 1vw, 2rem) 0;
}

.grid {
  display: grid;
  grid-gap: clamp(2rem, 5vw, 5rem);
}

.grid-align-middle {
  align-items: center;
}

.grid-gapless {
  grid-gap: 0;
}

.grid-gap-small {
  grid-gap: 1rem;
}

.grid.grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.grid-twothird {
  grid-template-columns: 1fr 3fr;
}

.grid.grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.grid-five {
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 3rem 1.5rem;
}

.grid.grid-six {
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 3rem 1.5rem;
}

@media (max-width: 1300px) {
  .grid.grid-six {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1180px) {
  .grid.grid-six,
  .grid.grid-five {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .grid.grid-six,
  .grid.grid-five,
  .grid.grid-four {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid.grid-twothird {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 1020px) {
    .grid.grid-six,
    .grid.grid-five,
    .grid.grid-three,
    .grid.grid-four {
      grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .grid.grid-two,
    .grid.grid-three,
    .grid.grid-four,
    .grid.grid-six,
    .grid.grid-five,
    .grid.grid-twothird {
      grid-template-columns: 1fr;
    }
    
    .category .grid.grid.grid-six,
    .artists .grid.grid-four {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .artists .grid.grid-four {
      grid-gap: 1rem;
    }
}

@media (max-width: 600px) {
  .contain {
    max-width: 87%;
  }
}

.image-container {
  position: relative;
  width: 100%;
}

.image-container-full {
  height: 100%;
}


.background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  
  top: 0;
  left: 0;
  z-index: 0;
}

@media (max-width: 600px) {
  .hero .background-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    background: #ffffff;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
  }
}

.background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img, svg {
  width: 100%;
  vertical-align: middle;
}

.image-container-full img, 
.image-container-full svg {
  height: 100%;
  object-fit: cover;
}

video {
  max-width: 100%;
  position: relative;
}

/* Color Schemes */

.color-scheme-primary {
  background: var(--primary);
}

.color-scheme-primary,
.color-scheme-primary a {
  color: var(--textAlternate);
}

.color-scheme-dark {
  background: var(--text);
}

.color-scheme-dark,
.color-scheme-dark a {
  color: var(--background);
}

.color-scheme-light {
  background: var(--background);
  color: var(--text);
}

.color-scheme-light :is(h1, h2, h3, h4, h5, h6) {
  color: var(--primary);
}

.color-scheme-light :is(em) {
  color: var(--accent);
}

.color-scheme-light,
.color-scheme-light a {
  color: var(--text);
}

.color-scheme-accent {
  background: var(--accent);
  color: white;
}

.color-scheme-accent :is(h1, h2, h3, h4, h5, h6, em) {
  color: var(--primary);
}

.color-scheme-accent,
.color-scheme-accent a {
  color: white;
}

/* Links */

a:visited, 
a:focus,
a:active {
  outline: none;
  color: var(--text);
}

a {
  color: var(--text);
  text-decoration: none;
  
  transition: color 0.225s ease;
  -webkit-transition: color 0.225s ease;
}

a:hover {
  color: var(--grey);
}

a.button,
.menu li.button a {
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  background: var(--primary);
  border: 0;
  outline: none;
  color: var(--background);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2em;
  transition: background 0.225s ease, color 0.225s ease;
  -webkit-transition: background 0.225s ease, color 0.225s ease;
}

a.button:hover,
.menu li.button a:hover {
  background: var(--accent);
  color: var(--background);
  border: 0;
}

.is-overlapping:not(.echo-header--not-top) .menu li.button a {
  background: var(--accent);
  color: var(--background);
}

.is-overlapping:not(.echo-header--not-top) .menu li.button a:hover {
  background: var(--background);
  color: var(--primary);
}

a.button.reverse {
  background: var(--accent);
  color: var(--background);
}

a.button.reverse:hover {
 background: var(--background);
 color: var(--primary);
}


a.button-text {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.96px;
  
  text-transform: uppercase;
  color: var(--text);
  
  border-bottom: 1px solid var(--text);
  
  transition: border 0.225s ease, color 0.225s ease;
  -webkit-transition: border 0.225s ease, color 0.225s ease;
}

a.button-text:hover {
  color: var(--grey);
  border-bottom: 1px solid var(--grey);
}

/* Header */

header#masthead {
  position: fixed;
  top: 0;
  z-index: 999999;
  
  width: 100vw;
  max-width: 100%;
  padding: 1.5rem;
  
  pointer-events: none;
  
  transition: background 0.225s ease, color 0.225s ease;
  -webkit-transition: background 0.225s ease, color 0.225s ease;
}

header#masthead.echo-header--not-top {
  background: white;
  box-shadow: 0 0 10px rgba(50, 84, 162, 0.2);
}

header#masthead :is(li, a, button, input, select) {
  pointer-events: auto;
}

.admin-bar header#masthead {
  top: 32px;
}

.site-header {
    will-change: transform;
    transition: transform 200ms linear;
}
.site-header--pinned {
    transform: translateY(0%);
}
.site-header--unpinned {
    transform: translateY(-100%);
}

.site-header-inner {
  display: grid;
  grid-template-columns: 225px 1fr;
  align-items: center;
  grid-gap: 2rem;
}

.site-branding {
  z-index: 999;
  position: relative;
}

.site-branding img, 
.site-branding svg {
  display: block;
}

.site-branding svg path {
  
  fill: var(--primary);
  transition: all 0.225s ease;
  -webkit-transition: all 0.225s ease;
}

.site-branding svg path.sub-text {
  fill: var(--accent);
}

.site-branding svg:hover path {
  fill: var(--accent);
}

header#masthead.is-overlapping:not(.echo-header--not-top)  .site-branding svg path {
  fill: var(--background);
}

header#masthead.is-overlapping:not(.echo-header--not-top) .site-branding svg path.sub-text {
  fill: var(--accent);
}

.main-navigation, 
.menu-main-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu li a, 
.footer-menu li a {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
  
  color: var(--primary);
  border-bottom: 1px solid transparent;
  
  transition: border 0.225s ease, color 0.225s ease;
  -webkit-transition: border 0.225s ease, color 0.225s ease;
}

#primary-menu > li {
  position: relative;
  padding: 1.25rem 0.25rem;
  
  cursor: pointer;
} 

header#masthead.is-overlapping:not(.echo-header--not-top) .menu li a {
  color: var(--background);
}

header#masthead.is-overlapping:not(.echo-header--not-top) .menu li.button:hover a {
  color: var(--primary);
}

.menu > li:hover > a,
.menu > li > ul.sub-menu > li:hover a,
.footer-menu > li:hover > a,
.footer-menu > li > ul.sub-menu > li:hover a {
  border-bottom: 1px solid;
}

.main-navigation #primary-menu {
  margin: 0;
  padding: 0 1rem;
  list-style: none;
}

.main-navigation .menu-item-has-children {
  position: relative;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.main-navigation .menu-item-has-children:after {
  content: '▲';
  position: absolute;
  top: 100%;
  left: 50%;
  
  opacity: 0;
  visibility: hidden;
  
  transform: translateY(calc(-100% + 5px)) translateX(-50%);
  -webkit-transform: translateY(calc(-100% + 5px)) translateX(-50%);
  color: white;
  line-height: 1em;
}

.main-navigation .menu-item-has-children:hover:after {
  opacity: 1;
  visibility: visible;
}

.main-navigation ul ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  
  box-shadow: none;
  list-style: none;
  position: absolute;
  left: 0;
  top: 100%;
  
  margin: 0;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 12px;
  
  opacity: 0;
  visibility: hidden;
  
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.main-navigation ul ul li a {
  display: inline;
  white-space: nowrap;
  
  font-weight: normal;
  color: var(--primary) !important;
  font-weight: 600;
}

.menu-button-container {
  display: none;
  
  position: relative;
  height: 25px;
  width: 30px;
  
  cursor: pointer;
  z-index: 100;
  transition: opacity .25s ease;
  border: 0;
  background-color: transparent;
}

.menu-button-container:hover {
  opacity: 0.7;
}

.menu-button-container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: var(--text);
}

.menu-button-container.active .middle {
  opacity: 0;
}
.menu-button-container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: var(--text);
}

.menu-button-container span {
  background: var(--text);
  border: none;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition:  all .35s ease;
  cursor: pointer;
}

.menu-button-container span:nth-of-type(2) {
  top: 11px;
}

.menu-button-container span:nth-of-type(3) {
  top: 22px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--background);
  
  z-index: 99;
  
  opacity: 0;
  visibility: hidden;
  
  transition: opacity .25s, visibility .25s, height .25s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay-inner {
  height: 100%;
  padding: 100px 5vw 5vw;
}

.mobile-menu-overlay ul {
  flex-direction: column;
  gap: 1.5rem;
  
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu-overlay ul li {
  position: relative;
  text-align: center;
  
  opacity: 0;
  visibility: hidden;
  
  backface-visibility: hidden;
}

.mobile-menu-overlay.open ul li {
  animation: fadeInBottom 1s ease forwards;
  animation-delay: var(--delay);
}

.mobile-menu-overlay ul a {
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
}

.mobile-menu-overlay ul ul a {
  font-size: 0.7rem;
}

.mobile-menu-overlay ul ul {
  position: relative;
  left: auto;
  padding: 0.5rem 0 0;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0,10%,0);
    -webkit-transform: translate3d(0,10%,0);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
  }
}

@media (max-width: 650px) {
  .menu-navigation-container {
    display: none;
  }
  
  .menu-button-container,
  .mobile-menu-overlay .menu-main-container {
    display: block;
  }
}

/* Footer  */

.footer {
  position: relative;
  background: var(--primary);
  color: var(--textAlternate);
}

.footer-content {
  position: relative;
  z-index: 1;
  
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.footer-logo {
  position: relative;
  width: 100%;
  max-width: 200px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.footer-center, 
.footer-right {
  padding-left: clamp(1.5rem, 3vw, 2rem);
  border-left: 1px solid var(--secondary);
}

.footer-left {
  flex: 1;
}

.footer-menu {
  min-width: 150px;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu ul li {
  margin: 0.75rem 0;
}

.footer-menu ul li a {
  font-size: 1rem;
  font-weight: normal;
  color: var(--background);
  
  border-bottom: 1px solid transparent;
}

.footer-menu ul li a:hover {
  border-bottom: 1px solid var(--accent);
}

.contact-info {
  margin: 0.75rem 0;
}

.contact-info h6 {
  font-size: 0.8rem;
  text-transform: none;
  margin: 0 0 0.25rem;
}

.contact-info a {
  color: var(--background);
  border-bottom: 1px solid transparent;
}

.contact-info a:hover {
  border-bottom: 1px solid var(--accent);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  background: var(--primary);
  color: var(--background);
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 900px) {
    .footer-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    
    .footer-left {
      grid-column: span 2;
      
      display: flex;
      justify-content: center;
      
      margin: 0 0 3rem;
    }
}

@media (max-width: 600px) {
  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-left {
    grid-column: span 1;
  }
}

/* General Layout */

.layout {
  position: relative;
  width: 100%;
}

.layout-inner {
  position: relative;
  z-index: 1;
}

.layout.full-height .layout-inner .grid {
  min-height: 75vh;
  min-height: 75dvh;
}

.layout-header {
  margin: 0 0 2rem;
}


@media (min-width: 960px) {
  .layout.min-height .layout-inner .grid {
    min-height: 700px;
  }
  
  .layout.full-height .layout-inner .grid {
    height: 100vh;
    height: 100dvh;
  }
  
  .admin-bar .layout.full-height .layout-inner .grid {
    height: calc(100vh - 32px);
    height: calc(100dvh - 32px);
  }
}

.layout-content.flex-header,
.layout-content.flex-header .layout-content-inner {
  height: 100%;
}

.layout-content.flex-header .layout-content-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.layout-grid-content-container {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem);
}

.row-reverse > div {
  grid-column: 2;
}

.row-reverse .layout-grid-content-container {
  grid-row: 1;
  grid-column: auto;
}

.layout-content .button-container {
  margin-top: 2rem;
}

.layout-content .button-container a.button {
  display: inline-block;
}

.icon-container {
  display: flex;
  justify-content: center;
}

.icon {
  max-width: clamp(180px, 20vw, 500px);
}

.icon-container .icon {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .row-reverse > div {
    grid-column: auto;
  }
  
  .row-reverse .layout-grid-content-container {
    grid-row: auto;
  }

}

/* Hero  */

.hero .background-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background: #ffffff;
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 48%, rgba(91, 126, 207, 1) 100%);
  
  opacity: 0.5;
}

.hero h1 {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.scroll-arrow {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    z-index: 2;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 900px) {
  .hero {
    padding: 5rem 0px;
  }
}

/* Services */

.service-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  counter-reset: item;
}

.service-list li {
  counter-increment: item;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
}

.service-list li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--fontHeader);
  color: var(--accent); 
  font-weight: 700;
  display: inline-block;
  width: 2rem;
  margin-right: 0.5rem;
}

.service-list a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  display: inline-block;
  transition: all 0.2s ease;
}

.service-list a:hover {
  border-color: #ffffff;
}

/* Intro */

.layout.intro {
  padding-top: clamp(8rem, 10vw, 14rem)
}

.breadcrumb-container {
  position: relative;
  z-index: 3;
}

.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;

  color: var(--background);
}

.breadcrumb a,
.breadcrumb li {
  font-size: 0.85rem;
  font-weight: 600;
  color:  var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* Content TOC */

.content-toc:nth-child(even), 
.content-toc:nth-child(even) .layout-toc:after {
  background-color: var(--background); /* Light gray for odd items */
}

.content-toc:nth-child(odd),
.content-toc:nth-child(odd) .layout-toc:after {
  background-color: var(--lightgrey); /* White for even items */
}

.content-item {
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--masthead-height) + 4rem);
}

.sticky {
  position: sticky;
  top: calc(var(--masthead-height) + 4rem);
}

.toc-title {
  display: inline-block;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.toc-title.active span {
  border-bottom: 1px solid var(--accent);
}

.toc-title:hover span {
  border-bottom: 1px solid var(--primary);
}

.layout-toc {
  position: relative;
  margin: 2rem 0 0;
  border-left: 1px solid var(--accent);
}

.layout-toc:after {
  content: "Contents";
  position: absolute;
  top: 0;
  left: 0;
  
  letter-spacing: 0.01em;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0 0.5rem;
  color: var(--primary);
  
  transform-origin: right center;
  -webkit-transform:translate(-100%, -75%) rotate(-90deg);
  transform: translate(-100%, -75%) rotate(-90deg);
}

.layout-toc ul {
  margin: 0;
  padding: 0 0 0 2rem;
  list-style: none;
  
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-toc .layout-header {
  max-width: 450px;
}

.content-toc h3,
.content-toc h5 {
  font-weight: 600;
  color: var(--primary);
}

.content-toc h5 {
  margin: 0 0 0.75rem;
}

.content-toc p:has(+ ul) {
  margin: 0;
}


.content-item-number {
  position: relative;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  line-height: 1em;
  z-index: 0;
  border-radius: 25px;
  overflow: hidden;
  
  margin: 0 0 0.5rem;
}

.content-item-number::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  z-index: -1;
}

/* Layout Content Image */

.content-text .layout-header h2 {
  margin: 0 0 0.5rem;
}

.content-text .layout-header p {
  font-size: clamp(20px, 3vw, 28px);
}

.content-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  
  height: 100%;
  
  padding: clamp(3rem, 5vw, 6rem);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
  }

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    margin: 0;
}

.accordion-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
    background: var(--accent);
    color: white;
}

.accordion-trigger:focus {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.accordion-trigger[aria-expanded="true"] {
    background: var(--accent);
    color: white;
}

.accordion-title {
    flex: 1;
    margin-right: 1rem;
}

.accordion-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="false"] .icon-minus {
    display: none;
}

.accordion-trigger[aria-expanded="true"] .icon-plus {
    display: none;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-panel.open {
    max-height: none;
}

.accordion-content {
    padding: 1.5rem;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    line-height: 1.6;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .accordion-trigger {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-content {
        padding: 1rem;
    }
}

/* 404 */

.layout-404 h3 {
  text-align: center;
}

.layout-404 .color-scheme-light:not(:last-child){
  border-right: 2px solid var(--lightgrey);
}

@media (max-width: 900px) {
  .layout-404 .color-scheme-light:not(:last-child){
    border-right: 0px solid var(--lightgrey);
    border-bottom: 2px solid var(--lightgrey);
  }
}