
/*=======================
photos CSS styles
========================*/

body {
background: var(--background)!important;
color: var(--foreground)!important;

--spacer-height: 8rem;

}

.darkmode {
	/* background: black!important;
	color: white!important; */

}

.chapter {
margin: 0 auto;
width: fit-content;
}


.index_container {
  width: 70%;
 margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.index_column_left,
.index_column_right {
flex: 1;
  min-width: 300px;
  line-height: 2;
}

a.index_item {
  display: block;
 color: var(--foreground);
/* border: red 1px solid; */
box-shadow: 0 4px 8px rgba(212, 207, 207, 0.1);
}

a.index_item:hover {
	color: var(--ms-red);
  letter-spacing: 2px;
}

.photo_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
 margin: 0 auto;
  width: 90%;
}

.album_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  margin: 3rem auto;
   width: fit-content;
}

.album_title {
margin: 0 auto; 
  width: fit-content;
}

.album_photos {
  padding: 1rem;
}

.index_return {
 margin: 0 auto;
 width: fit-content;
}

.index_return_button {
    display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
  background: transparent;
  color: var(--foreground);
  border-radius: 5px;
  font-weight: 700;
    transition: background 0.3s; /* Smooth color change on hover */
  cursor: pointer;
}

.index_return_button:hover {
  color: var(--ms-red);
}


.spacer_1 {
height: var(--spacer-height);
}












/* a.menu-link {
   font-size: 1rem;
} */


/* .photo-gallery {
font-family: var(--english-font-one);
  text-transform: uppercase;
} */

/*.photo-gallery-EN {
font-family: var(--english-font-one);
  /*font-family: var(--english-font-two);*!/
  text-transform: uppercase;
}*/

/* .photo-gallery-JP {
font-family: var(--japanese-font-one);
} */


/*================================
/*Photo index List*/
/*================================*/

/* .index-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin: 0 auto;
	padding: 1rem;
}  */


 a.index-item {
    font-family: var(--english-font-one);
	color: black;
	font-size: 1rem;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(212, 207, 207, 0.1);
    text-align: center;
}

a.index-item:hover {
	color: var(--ms-red);
}


.index-item img {
    width: 100%;  /*Images fill their container */
    height: auto;  /*Maintain aspect ratio */
    display: block;  /*Remove default inline margin issues */
    vertical-align: middle;
} */

 /*Image Descriptions*/ 
.desc {
    padding: 15px;
    font-size: 0.9em;
    color: #555;
}

/* Optional: Media Queries for enhanced responsiveness */
@media only screen and (max-width: 600px) {
    .gallery-container {
        /* On small screens, stack items vertically (one column) */
        grid-template-columns: 1fr;
    }
}

/*================================
/*Photo Display */
/*================================*/

.album {
	padding: 6rem 0;
}

.centerhtml {
display: flex;
/*flex-wrap: wrap;*/
/*text-align: center;*/
/*justify-content: center;*/
position: relative;
/*padding: 10px 10px 10px 10px;*/
/*width: 380px;*/
/*bottom: 4rem;*/
/*margin-left: 4rem;*/
/*margin-top: 20px;*/
}

.pa-gallery-player-widget, .pa-carousel-widget {
position: relative;
}

.pa-gallery-player-widget::before, .pa-carousel-widget::before {
  font-family: var(--english-font-one);
  color: #000000;
  font-size: 1.4rem;
background: transparent;
content: attr(data-title);
  left: 50%;
  padding: 0 1em;
  position: absolute;
 white-space: nowrap; /* Prevents text from wrapping */
overflow: hidden;    /* Hides overflowing content */
 text-overflow: ellipsis; /* Displays ellipsis for truncated text */
  top: -3rem;
  text-align: center;
  transform: translateX(-50%);
}





/* ==============================
=================================
=================================
        @MEDIA QUERIES
=================================
=================================
================================= */

/* ============= Small Mobile  320px - 480px =============*/
@media (max-width: 480px) {

.album_container {
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  padding: 0;
  margin: 0 auto;
   width: 100vw;
}

.album_title {
margin: 0 0; 
width: fit-content;
}

.album_photos {
  padding: 0;
}

}

/* ============= Large Mobile / Tabletse (Portrait) 481px – 768px =============*/
@media (min-width: 481px) and (max-width: 768px) {


}

/* ============= Tablets / Small Laptops 769px – 1024px =============*/
@media (min-width: 769px) and (max-width: 1024px) {

}

/* ============= Desktops / Laptops 1025px and up =============*/
@media (min-width: 1025px) {

}
