h3 {
    margin: 24px 0;
}

h4 {
    margin: 0;
}

aa-item__title{
	scroll-margin-top: 80px;
}

.main-information {
    padding: 40px 120px;
	max-width: 600px;
}

.aa-content {
    padding: 0px 120px;
	offset-anchor: 50px;
}

.aa-content nav ul {       
    list-style: none;
    padding: 0;
    display: flex;
    column-gap: 40px;
	row-gap: 8px;
    flex-wrap: wrap;
}

.aa-content nav ul li{       
    font-size: 20px;
}

.aa-content nav ul li a{       
    color: #6B840F;
    text-decoration: underline;
}

.aa-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.aa-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.aa-gallery {
    width: 45%;
    display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.aa-gallery > :first-child {
    margin: 0;
	grid-column: span 6;
	max-height: 300px;
	background: black;
}

.aa-gallery > :first-child img {
	width: 100%;
	height: 300px;
	object-fit: contain;
	aspect-ratio: 3/2;
}

.aa-gallery > :not(:first-child) {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
	aspect-ratio: 1/1;
}

.aa-gallery > :not(:first-child) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-content {
    width: 50%;
}

:where(figure) {
    margin: 0;
}

/* --- Gallery arrows (only affects the big image) --- */

/* Make sure the big image wrapper can hold absolute-positioned arrows */
.aa-gallery > :first-child {
  position: relative; /* keeps your current layout */
}

/* Arrow buttons */
.aa-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  z-index: 3;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Position left/right */
.aa-gallery__arrow--prev { left: 12px; }
.aa-gallery__arrow--next { right: 12px; }

/* Hover */
.aa-gallery__arrow:hover {
  opacity: 0.85;
}

/* Optional: only show arrows when hovering the big image (keeps it clean) */
.aa-gallery > :first-child .aa-gallery__arrow {
  opacity: 0;
}
.aa-gallery > :first-child:hover .aa-gallery__arrow {
  opacity: 1;
}

/* --- Gallery arrows (only affects the big image) --- */

/* Make sure the big image wrapper can hold absolute-positioned arrows */
.aa-gallery > :first-child {
  position: relative; /* keeps your current layout */
}

/* Arrow buttons */
.aa-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  z-index: 3;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Position left/right */
.aa-gallery__arrow--prev { left: 12px; }
.aa-gallery__arrow--next { right: 12px; }

/* Hover */
.aa-gallery__arrow:hover {
  opacity: 0.85;
}

/* Optional: only show arrows when hovering the big image (keeps it clean) */
.aa-gallery > :first-child .aa-gallery__arrow {
  opacity: 0;
}
.aa-gallery > :first-child:hover .aa-gallery__arrow {
  opacity: 1;
}

@media (max-width:1024px){
	.aa-content {
    	padding: 0 40px;
	}
	.main-information {
    	padding: 40px;
	}
}
@media (max-width:767px) {
	.aa-item {
		flex-direction: column-reverse
	}
	.sidebar-content {
    	width: 100%;
	}
	.aa-gallery {
    	width: 100%;
	}
}


