/* PROTECTED GALLERY RULES: copied from the original site. */
   ======================================================= */
.thankyou {
  font-size: 20pt;
  font-weight: bolder;
  font-family: "Satisfy", cursive;
}

/* =======================================================
   2023 PHOTOS SECTION
   ======================================================= */
.tabletop { 
  display: flex; 
  flex-direction: column; 
  width: 100%; 
  max-width: 850px; 
  height: auto; 
  background-color: rgb(40, 97, 162) !important; 
  border-radius: 12px; 
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.1); 
  overflow: visible !important; 
  margin: 0 auto 50px auto; 
  box-sizing: border-box;
}

.collage-header1 { 
  padding: 25px 20px 15px 20px; 
  text-align: center; 
  background-color: rgb(40, 97, 162) !important; 
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
} 

.collage-title1 { 
  margin: 0; 
  display: inline-block !important; 
  background-color: rgb(40, 97, 162) !important; 
  padding: 8px 18px !important; 
  border-radius: 6px !important; 
  font-family: 'Courier New', Courier, monospace; 
  font-size: 60px; 
  color: #222; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
} 

.photo-area {
    position: relative;
    flex: 1;
    width: 100%;
    background-color: rgb(40, 97, 162) !important;
    min-height: 1650px;
    box-sizing: border-box;
} 

.polaroid { 
  position: absolute; 
  width: 150px; 
  background: #ffffff !important; 
  padding: 12px 12px 24px 12px !important; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
  border-radius: 2px; 
  box-sizing: border-box !important; 
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s, z-index 0.1s; 
} 

.polaroid, .polaroid p, .polaroid span {
  color: #222222 !important;
}

.polaroid img, .polaroid video {
    display: block !important;
    width: 100% !important;
    height: 130px !important;
    object-fit: cover !important;
    border: 1px solid #f0f0f0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Column 1 (Left side) ~4% */
.p-1  { top: 20px;   left: 4%;   transform: rotate(-8deg);  z-index: 1; } 
.p-5  { top: 200px;  left: 3%;   transform: rotate(14deg);  z-index: 4; } 
.p-9  { top: 380px;  left: 5%;   transform: rotate(-9deg);  z-index: 1; } 
.p-13 { top: 560px;  left: 2%;   transform: rotate(12deg);  z-index: 6; } 
.p-17 { top: 750px;  left: 4%;   transform: rotate(9deg);   z-index: 3; } 
.p-21 { top: 930px;  left: 3%;   transform: rotate(13deg);  z-index: 2; } 
.p-25 { top: 1120px; left: 5%;   transform: rotate(5deg);   z-index: 6; } 

/* Column 2 ~28% */
.p-2  { top: 15px;   left: 28%;  transform: rotate(6deg);   z-index: 2; } 
.p-6  { top: 220px;  left: 26%;  transform: rotate(-5deg);  z-index: 5; } 
.p-10 { top: 395px;  left: 30%;  transform: rotate(11deg);  z-index: 4; } 
.p-14 { top: 580px;  left: 27%;  transform: rotate(-11deg); z-index: 5; } 
.p-18 { top: 735px;  left: 29%;  transform: rotate(-14deg); z-index: 4; } 
.p-22 { top: 920px;  left: 28%;  transform: rotate(-7deg);  z-index: 1; } 
.p-26 { top: 1105px; left: 30%;  transform: rotate(-9deg);  z-index: 5; } 

/* Column 3 ~52% */
.p-3  { top: 35px;   left: 52%;  transform: rotate(-12deg); z-index: 1; } 
.p-7  { top: 190px;  left: 50%;  transform: rotate(8deg);   z-index: 6; } 
.p-11 { top: 370px;  left: 53%;  transform: rotate(-3deg);  z-index: 2; } 
.p-15 { top: 555px;  left: 51%;  transform: rotate(6deg);   z-index: 1; } 
.p-19 { top: 765px;  left: 52%;  transform: rotate(4deg);   z-index: 5; } 
.p-23 { top: 945px;  left: 53%;  transform: rotate(10deg);  z-index: 4; } 
.p-27 { top: 1135px; left: 52%;  transform: rotate(11deg);  z-index: 1; } 

/* Column 4 (Right side, safely bounded) ~76% */
.p-4  { top: 10px;   left: 76%;  transform: rotate(10deg);  z-index: 3; } 
.p-8  { top: 205px;  left: 75%;  transform: rotate(-15deg); z-index: 2; } 
.p-12 { top: 390px;  left: 77%;  transform: rotate(7deg);   z-index: 3; } 
.p-16 { top: 570px;  left: 74%;  transform: rotate(-8deg);  z-index: 2; } 
.p-20 { top: 750px;  left: 76%;  transform: rotate(-6deg);  z-index: 6; } 
.p-24 { top: 935px;  left: 75%;  transform: rotate(-12deg); z-index: 3; }

.polaroid:hover {
  transform: scale(1.22) rotate(0deg) !important;
  z-index: 999 !important;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

/* =======================================================
   2024 PHOTOS SECTION
   ======================================================= */
.puttputt, #putthead { 
  text-align: center; 
  background-color: rgb(80, 149, 101); 
  color: black; 
  font-size: 26px; 
  font-family: "Chicle", serif; 
} 

.puttputt { 
  padding: 30px 15px; 
  margin-bottom: 50px; 
}

.picture-container {
  column-count: 3; 
  column-gap: 15px; 
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 0 auto;
}

.masonry-item {
  display: block;
  margin: 0 0 15px 0; 
  background: white; 
  padding: 8px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  break-inside: avoid; 
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .picture-container {
    column-count: 2;
    column-gap: 10px;
  }
  .masonry-item {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .picture-container {
    column-count: 1;
  }
}

/* =======================================================
   2025 PHOTOS SECTION
   ======================================================= */
.collage-container { 
    background-color: red; 
    position: relative; 
    width: 100%; 
    max-width: 800px; 
    min-height: 1250px; 
    margin: 40px auto; 
    padding: 40px; 
    border-radius: 12px; 
    overflow: visible !important; 
    box-sizing: border-box; 
} 

.collage-header2 { 
    background-color: red; 
    text-align: center; 
    margin-bottom: 50px; 
    position: relative; 
    z-index: 10; 
} 

.collage-title2 { 
    background-color: red; 
    margin: 0; 
    display: inline-block; 
    font-family: "Happy Monkey", system-ui; 
    font-size: 26px; 
    color: #222; 
    letter-spacing: 2px; 
} 

.collage-item { 
    position: absolute; 
    width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); 
    background: #ffffff; 
    padding: 10px 10px 20px 10px; 
    box-sizing: border-box; 
    margin: 0; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, z-index 0.1s; 
} 

.collage-item img, .collage-item iframe, .collage-item video { 
    width: 100%; 
    height: 130px; 
    object-fit: cover; 
    display: block; 
    border: 1px solid #e0e0e0; 
} 

/* Row 1 */
.pic-1 { top: 140px; left: 30px; transform: rotate(-8deg); z-index: 4; } 
.pic-2 { top: 130px; left: 215px; transform: rotate(10deg); z-index: 2; } 
.pic-3 { top: 150px; left: 400px; transform: rotate(-5deg); z-index: 5; } 
.video-4 { top: 125px; left: 585px; transform: rotate(7deg); z-index: 3; } 

/* Row 2 */
.pic-5 { top: 340px; left: 35px; transform: rotate(8deg); z-index: 2; } 
.pic-6 { top: 380px; left: 220px; transform: rotate(-12deg); z-index: 6; } 
.pic-7 { top: 350px; left: 410px; transform: rotate(6deg); z-index: 1; } 
.pic-8 { top: 400px; left: 590px; transform: rotate(-4deg); z-index: 4; } 

/* Row 3 */
.pic-9 { top: 580px; left: 30px; transform: rotate(-7deg); z-index: 5; } 
.pic-10 { top: 550px; left: 205px; transform: rotate(11deg); z-index: 2; } 
.pic-11 { top: 600px; left: 395px; transform: rotate(-9deg); z-index: 7; } 
.pic-12 { top: 560px; left: 580px; transform: rotate(13deg); z-index: 3; } 

/* Row 4 */
.pic-14 { top: 780px; left: 35px; transform: rotate(12deg); z-index: 1; } 
.pic-15 { top: 810px; left: 215px; transform: rotate(-6deg); z-index: 5; } 
.pic-16 { top: 760px; left: 405px; transform: rotate(14deg); z-index: 2; } 
.pic-17 { top: 800px; left: 590px; transform: rotate(-8deg); z-index: 6; } 

/* Row 5 */
.pic-18 { top: 980px; left: 120px; transform: rotate(-10deg); z-index: 5; } 
.pic-19 { top: 960px; left: 310px; transform: rotate(7deg); z-index: 2; } 
.pic-20 { top: 990px; left: 500px; transform: rotate(-5deg); z-index: 4; } 

.collage-item:hover { 
    transform: rotate(0deg) scale(1.2) !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45); 
    z-index: 999 !important; 
}

/* ============================================================================================
   2026 PHOTOS SECTION
   ============================================================================================ */
#thisyear {
  border: 10px inset black;
  background-color: seagreen;
  padding: 30px 15px;
  margin-bottom: 50px;
  text-align: center;
}

.currenthead {
  font-family: "Smokum", serif;
  background-color: seagreen;
  color: #000;
  font-size: 34px;
}

#thisyear img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 20px auto 0 auto;
  border: 4px solid black;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* ========================================================================================================

/* Original mobile collage behavior. */
@media screen and (max-width: 768px) {
    .collage-container {
        padding: 20px !important;
        min-height: auto !important;
    }

    .collage-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin: 20px auto !important;
        width: 90% !important;
        max-width: 320px !important;
        transform: rotate(0deg) !important;
    }
}
