h1{
    font-family: 'Cascadia Code', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
    font-size: 31px;
    margin-top: 5px;
}
.header{
    position: relative;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    height: 176px;
}


/* Mobile-specific styles */
@media screen and (max-width: 768px) {
  .header {
    height: 120px;
  }
  .header::before {
    background-image: url(images-and-video/header-background-image-mobile.jpg); /*not working*/
    background-size: cover;
    background-position: center;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    max-width: 100%;
    overflow: hidden;              /* hide overflow just in case */
    font-size: clamp(15px, 5.7vw, 32px); /* scales font size with screen */
  }
}






.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images-and-video/header-background-image.jpg);
    background-size: cover;
    background-position: center;
    /*clip-path: polygon(7% 0, 100% 0, 100% 100%, -17% 100%);*/
    z-index: 1;
}







.header::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to left, dodgerblue, rgb(3, 216, 191));*/
    background: linear-gradient(to left, rgb(6, 36, 137), rgb(80, 182, 240));
    clip-path: polygon(99% 0, 100% 0, 100% 100%, 75% 100%);
    z-index: 1;
}
.header .blue-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(15, 115, 215), rgb(3, 216, 191));
    clip-path: polygon(0 0, 7% 0, -17% 100%, 0 100%);
    z-index: 3; /* Ensures it's above the image */
}

@media screen and (max-width: 768px) {
  .header::after {
    display: none;
  }

  .header .blue-overlay {
    display: none;
  }
}







.header h1{
    position: relative;
    z-index: 4;
}









footer{
    /*padding: 30px;*/
    color: white;
    background: linear-gradient(to left, black, rgb(1, 1, 43));
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    height: 85px;
    z-index: 2;
}
html, body {
    overflow-y: auto !important;
    height: 100% !important;                     /* give Safari a real scrollable height */
    -webkit-overflow-scrolling: touch !important; /* restore momentum scrolling on iOS */
    /*scroll-behavior: smooth;*/
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(16, 16, 16);
    overflow-x: hidden; /* prevent any horizontal scrolling
    /*display:flex; 
    flex-direction:column; */
    /*background-image: url(images_and_video/home_page/background2.jpg);*/
}
main {
    background-color: black; /* Content area background color */
    /*background-image: url(images/home\ page/background2.jpg);*/
    margin: 0 auto;
    max-width: 1070px;
    min-width: 1070px;
    min-height: 100vh; /* Force it to cover viewport height */
    box-shadow: 0 0 30px rgb(94, 94, 94); /* Optional: add shadow for separation*/
    position: relative;
    border: 2px solid transparent; /* Debug: set to red if needed */
    color: white;
}

@media screen and (max-width: 768px) {
  main {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-shadow: none; /* optional: disable shadow on mobile */
    border: none;     /* optional: remove border for clean look */
  }
}

































main::after {
    content: "";
    display: block;
    clear: both;
}
p{
    line-height: 1.3;
}







.content {
    text-align: left;
    display: flex; /* Arrange children horizontally */
    margin: 0px auto; /* Centralize blocks vertically */
    max-width: 1000px; /* Limit block width */
}






.image-container {
    width: 1000px;  /* Set the desired width */
    height: 300px; /* Set the desired height */
    overflow: hidden; /* Ensure anything outside the container is hidden */
}
.image-container img {
    width: 100%;       /* Ensure the image covers the entire width of the container */
    height: 100%;      /* Ensure the image covers the entire height of the container */
    object-fit: cover; /* Crop and scale the image to maintain its aspect ratio */
}







#d11f.content {
    text-align: left;
    display: flex;
    margin: 0px auto;
    max-width: 1000px;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
#d11f.image-container {
    width: 100%;
    height: 410px;
    overflow: hidden;
}
#d11f.image-container a {
    display: block;
    position: relative; /* Enable absolute positioning for the text */
    flex: 1;
    overflow: hidden;
}
#d11f.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
#d11f.image-container a:hover img {
    transform: scale(1.2);
    filter: brightness(60%);
}
/* Styling for the overlay text */
.overlay-text {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%); /* Center text both vertically and horizontally */
    white-space: nowrap;     /* Prevents the text from wrapping */
    overflow: hidden;        /* Hides any overflow */
    text-overflow: ellipsis; /* Adds an ellipsis if the text is too long */
    /* Adjust the font size to scale responsively 
       Minimum: 16px, Preferred: based on 2vw, Maximum: 24px */
    font-size: 19px; 
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add some shadow for readability */
    opacity: 1; /* Start with hidden text */
    transition: opacity 0.3s ease; /* Smooth transition for the text visibility */
}
/* Show the text when the image is hovered */
#d11f.image-container a:hover .overlay-text {
    opacity: 1;
}















/*index exusive*/    
#p1 {
    width: 601px;
    max-width: 601px;
    min-width: 601px;
    margin-left: 40px;
}
#p2 {
    width: 427px;
    max-width: 427px;
    min-width: 427px;
    margin-right: 40px;
}
#p3 {
    width: 725px;
    margin-left: 40px;
}
#d1{
    margin-bottom: 20px;
}
#d2{
    margin-right: 35px;
    margin-bottom: 20px;
}



/*11000ers page exclusive*/
#p111 {
    margin-right: 40px;
}
#p112{
    margin-left: 40px;
}
#d111{
    margin-top: 20px;
    margin-bottom: 20px;
}
#d112{
    margin-bottom: 20px;
}

#d111 video {
    /* Your styles here */
    margin-left: 300px;
    align-self: flex-start;
    flex-shrink: 0;
}










/*Canmore list page exclusive*/
#p1c{
    margin-right: 40px;
    width: 582px;
}

#d1c{
    margin-top: 20px;
    margin-bottom: 20px;
}



/*other sends page exclusive*/
#dos1{
    margin-top: 20px;
    margin-bottom: 20px;
}
#aos1{
    margin-right: 40px;
}
#pos1{
    margin-right: 40px;
}


#os1{
    margin-left: 40px;
    margin-top: px;
}





/*trip report exclusives*/




#r11-5-d1{
    margin-top: px;
}
#r11-5-a1{
    margin-right: 40px;
}


#r11-5-d1.content {
    display: flex;
    justify-content: center; /* Centers images horizontally */
    align-items: center; /* Centers images vertically (optional) */
    flex-wrap: wrap; /* Allows the images to wrap to the next line if necessary */
    gap: 20px; /* Optional, adds spacing between the images */
    text-align: center; /* Ensures any text inside is also centered */
}

.gallery img {
    /*width: 100%;*/
    /*height: auto;*/
}
.gallery {
    
    /*display: grid; /* Use a grid layout for images */
    /*grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
    /*.gap: 20px;
    margin: 20px;*/
}







/*TRIP REPORT IMAGE DISPLAY CODE*/
#trip-report-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* 40px gap between image pairs */
    padding: 0px 0;
    margin-left: 40px;
    margin-right: 40px;
}
/* Wrapper for all images */
#gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px; /* 40px gap between image pairs */
    width: 100%;
}
/* Pairs of images */
.image-pair {
    display: flex;
    justify-content: center; /* Centers the two images as a pair */
    gap: 40px; /* 40px space between images */
    width: 80%; /* Controls margin on the left and right */
    max-width: 1000px;
}
/* Single images that should be centered */
.single-image {
    text-align: center;
    width: 100%;
}
/* Make figure wrap tightly around the image and caption */
figure {
  display: inline-block;
  margin: 0;
  text-align: center;
}
/* Maintain fixed height of 430px for images */
#trip-report-gallery img {
    height: auto !important; /* Forces dynamic height adjustment */
    max-height: 430px; /* Default max height */
    width: auto;
    max-width: 1000px; /* Ensures width never exceeds 1000px */
}
/* Ensure videos in the mount-robertson-gallery follow the same formatting as images */
#trip-report-gallery video {
    height: 430px;
    width: auto; /* Maintain aspect ratio */
}



.gallery figure {
    text-align: center;
}

/* Make figcaption wrap text inside the figure width */
.gallery figcaption {
  display: block;
  max-width: 100%;       /* Prevent overflowing */
  white-space: normal;   /* Allow line breaks */
  word-wrap: break-word; /* Break long words if needed */
  margin-top: 8px;
  font-size: 16px;
  color: white;
  text-align: center;    /* Optional: Center the text */
}

/* Ensure images scale but allow figure to take actual image width */
figure img {
  display: block;
  height: auto;
  max-width: 100%; /* Makes it responsive inside its container */
}




#reportp1 {
    margin-right: 40px;
}
#reportp2{
    margin-left: 40px;
}
#reportd1{
    margin-top: 20px;
    margin-bottom: 20px;
}
#reportd1-02 {
  margin-top: 20px;
    margin-bottom: 20px;
}
#reportd2{
    margin-bottom: 20px;
}

#reportd1 video {
    /* Your styles here */
    margin-left: 400px;
    align-self: flex-start;
    flex-shrink: 0;
}










/*11000er PROGRESS ICON*/



/* ========= Existing styles ========= */
#mountain-progress-section .page {
    display: flex;
    align-items: center;
    padding: 0;
    margin: -50px -40px -70px 0;
  }
  #mountain-progress-section .content {
    flex: 1;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
  }
  #mountain-progress-section .mountain-wrapper {
    width: 300px;
    height: 300px;
    position: relative;
    margin-top: 55px;
  }
  #mountain-progress-section .mountain-wrapper svg,
  #mountain-progress-section .mountain-wrapper .fill-layer svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  #mountain-progress-section .fill-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 2s cubic-bezier(0.25,1,0.5,1);
  }
  #mountain-progress-section .number-counter {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
    font-size: 20px;
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: sans-serif;
  }

  /* ============== New ============== */
  /* Day counter positioned below the peaks counter */
  #mountain-progress-section .day-counter {
    position: absolute;
    top: 33px; /* increase to move day counter down */
    left: -10px; /* decrease to move day counter left */
    z-index: 10;
    font-size: 16px;
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: sans-serif;
  }

  #mountain-progress-section .age-counter {
  position: absolute;
  top: 58px;    /* 33 + 28px gap */
  left: -20px;
  z-index: 10;
  font-size: 16px;
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: sans-serif;

  /* allow the <br> to work */
  white-space: normal;
  text-align: center;
}









@media screen and (max-width: 768px) {
  /* 1) Stack icon above text, center both horizontally, remove negative margins */
  #mountain-progress-section .page {
    display: flex;                /* already set, but ensure it remains flex */
    flex-direction: column-reverse;
    align-items: center;         /* center children horizontally */
    margin-left: -23px;
    margin-right: -23px;
    margin-bottom: 0px;
    margin-top: -50px;
    padding: 0;
  }

  /* 2) Make paragraph fill the width, left-align, with 16px side padding */
  #mountain-progress-section .content {
    width: 100%;
    box-sizing: border-box;
    padding: 0px;              /* same horizontal padding as other mobile text */
    text-align: left;             /* align text flush to the left */
  }

  /* Make the mountain icon fill 80% of the viewport width (and height) */
  #mountain-progress-section .mountain-wrapper {
    width: 90vw;
    height: 90vw;
    max-width: 400px; /* optional: cap it if you don’t want it any larger */
    max-height: 400px;
    margin: 150px auto 0; /* keeps it centered */
    margin-left: 90px;
  }

  /* Ensure the SVG layers still fill that square */
  #mountain-progress-section .mountain-wrapper svg,
  #mountain-progress-section .mountain-wrapper .fill-layer svg {
    width: 100%;
    height: 100%;
  }
}













  
  /* Margin for your paragraph text */
  #mp11 {
    margin: 0 40px;
  }





/*LINK STYLING, UNDERLINE WHEN HOVERED OVER, NO CHANGING COLOR*/
  .link1 a {
    color: rgb(34, 126, 255);           /* Replace with your desired link color */
    text-decoration: none;    /* Remove underline by default */
  }
  .link1 a:visited {
    color: rgb(34, 126, 255);           /* Prevent color change after being clicked */
  }
  .link1 a:hover {
    text-decoration: underline; /* Add underline only on hover */
    color: rgb(34, 126, 255);              /* Optional: slightly darker on hover */
  }


/* CANMORE MOUNTAIN LIST PAGE MAP FIX*/
#d1c iframe {
    width: 380px;
    height: 480px;
    flex-shrink: 0; /* Prevent shrinking */
}
#pmf1 {
    margin-left: 40px;
    max-width: 575px;
}























@media screen and (max-width: 768px) {
  /* 1) Stack each .content vertically and fill most of the viewport */
  .content {
    display: flex;                 
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 16px;               
    box-sizing: border-box;        
  }

  /* 2) Scale images and videos so they respect that padding */
  .content img,
  .content video {
    width: 100%;
    height: auto;
    display: block;                
    margin: 0 auto;                
  }

  /* 3) Reset any specific paragraph margins that push content too far left/right */
  #reportp1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 1. Remove any horizontal margins on the gallery container */
  #trip-report-gallery {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 2. Make sure the gallery content stretches full width, with optional side padding */
  #gallery-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;    
    gap: 24px;               
    padding: 0 16px;         
    box-sizing: border-box;  
  }

  /* 3. Force every image-pair to stack vertically instead of sitting side-by-side */
  .image-pair {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;     
    margin: 0 auto;
  }

  /* 4. Make each <figure> inside .image-pair or any standalone <figure> fill full width */
  .image-pair figure,
  #gallery-content > figure {
    width: 100% !important;
    margin: 0;                
  }

  /* 5. Ensure every <img> (and videos, if any) scale to that 100% width */
  .image-pair img,
  #gallery-content img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 6. If you had custom figcaption widths, let them wrap naturally */
  .image-pair figcaption,
  #gallery-content figcaption {
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }
}


/* ───────────────────────────────────────────────────────────── */
/*   MOBILE OVERRIDES FOR THE “video + paragraph” SECTION       */
/* ───────────────────────────────────────────────────────────── */
@media screen and (max-width: 768px) {
  /* Push both .content.link1 blocks down under the header */
  .content.link1 {
    padding-top: 0.5rem;  
  }
  /* Add top padding to only the second block */
  .content.link1#reportd1-02 {
    padding-top: 1rem;
  }

  /* 1) Make sure the .content#d1c container no longer has any left‐margin */
  .content#d1c {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 16px;           
    box-sizing: border-box;    
    display: flex;
    flex-direction: column;    
    width: 100%;               
  }

  /* 2) Ensure the video always scales to fit that container */
  .content#d1c video {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
  }

  /* 3) Remove the desktop‐only left‐margin on the <p id="p112"> */
  #p112 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;     
    width: 100%;               
  }
}


/* ───────────────────────────────────────────────────────────── */
/*  Add space “after” the image in every .content.link1 block    */
/* ───────────────────────────────────────────────────────────── */
@media screen and (max-width: 768px) {
  /* Apply to all .content.link1 images */
  .content.link1 img {
    display: block;       
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;  
  }

  /* If you have a .body-text div inside those blocks, give it top margin */
  .content.link1 .body-text {
    margin-top: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .content.link1#reportd1-02 {
    flex-direction: column-reverse !important;
  }
}

/* Put this in your global CSS (outside any media query) */
html.no-scroll,
body.no-scroll {
  overflow: hidden;
}




@media screen and (max-width: 768px) {
  /* 1) Remove any extra top‐margin so #p112 sits directly below #p111 */
  #p112 {
    margin-top: 0;
  }

  /* 2) Hide only the first three <br> elements inside #p112 */
  #p112 > br:nth-of-type(-n+3) {
    display: none;
  }
}









































/* ──────────────────────────────────────────────────────────── */
/*   NAVBAR STYLING (ALL-INCLUSIVE)                           */
/* ──────────────────────────────────────────────────────────── */

/* ────────────── Desktop Styles (default) ────────────── */
.navbar {
  position: relative;
  z-index: 6;
}

.navbar ul {
  list-style-type: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar li {
  float: left;
  margin-left: 40.5px;
  margin-top: 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 15px;
  text-align: right;
  font-size: 16px;
  position: relative;
  z-index: 2;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.navbar a:hover {
  background-color: rgb(255, 128, 0);
}

/* Lower My Instagram and My Strava on desktop */
.navbar li:nth-child(8),
.navbar li:nth-child(9) {
  margin-top: 30px;
  margin-right: 10px;
}

.nav-link {
  text-decoration: none;
  color: red;
  padding: 10px 15px;
  transition: background-color 0.25s ease;
}

.nav-link.active {
  background-color: rgb(236, 71, 25);
}

/* ────────────── Hamburger Icon ────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  position: absolute;
  bottom: 15px;
  left: 20px;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ────────────── Mobile Styles ────────────── */
@media screen and (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 120px);
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    z-index: 9;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
  }

  .navbar.active {
    transform: translateY(0);
  }

  .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to right, rgb(15, 115, 215), rgb(3, 216, 191));*/
    clip-path: polygon(0 0, 15% 0, -350% 100%, 0 100%);
    z-index: 1;
  }

  .navbar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to left, rgb(6, 36, 137), rgb(80, 182, 240));*/
    clip-path: polygon(450% 0, 100% 0, 100% 100%, 30% 100%);
    z-index: 1;
  }

  .navbar ul,
  .navbar a {
    position: relative;
    z-index: 2;
  }

  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 20px 0;
    width: 100%;
  }

  .navbar li {
    float: none !important;
    width: 100%;
    margin: 0;
    margin-left: 0 !important;
  }

  .navbar a {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 1.5rem;
    padding: 12px 20px !important;
    color: white !important;
    background-color: transparent !important;
  }

  .navbar a:active {
    background-color: rgb(236, 71, 25) !important;
  }

  .navbar a.clicked {
    background-color: rgb(255, 128, 0) !important;
  }

  .navbar a:hover {
    background-color: transparent !important;
  }

  .menu-toggle {
    display: flex;
  }

  /* Orange line below Resources */
  .navbar li:nth-child(6) {
    border-bottom: none !important;
    margin: 1rem;
  }

  .navbar li:nth-child(6)::after {
    content: '';
    display: block;
    width: 200%;
    height: 4px;
    background: rgb(255, 128, 0);
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* ────────────── Desktop-Specific Reset ────────────── */
@media screen and (min-width: 769px) {
  .navbar li {
    float: left;
    margin-left: 40px;
    margin-top: 15px;
  }

  .navbar li:nth-child(8) {
    margin-top: 30px;
    margin-right: 0px;
  }
  .navbar li:nth-child(9) {
    margin-top: 30px;
    margin-right: 30px;
  }

  .navbar a {
    text-align: right;
    padding: 15px;
    background-color: transparent;
  }
}




@media screen and (max-width: 768px) {
  /* ─── Reset margins on the first six <li> items so they’re evenly stacked ─── */
  .navbar li:nth-child(1),
  .navbar li:nth-child(2),
  .navbar li:nth-child(3),
  .navbar li:nth-child(4),
  .navbar li:nth-child(5),
  .navbar li:nth-child(6) {
    margin: 0 !important;
  }

  /* You already have these for Instagram (8) and Strava (9): */
  .navbar li:nth-child(8),
  .navbar li:nth-child(9) {
    margin: 0 !important;
  }
}



/* ─────────────────────────────────────────────────── */
/*  Footer nav: offset-from-right + gap-between-items  */
/* ─────────────────────────────────────────────────── */
#n2 ul {
  display: flex;                /* lay out items in a row */
  justify-content: flex-end;    /* bind the group to the right edge */
  
  /* How far the group sits in from the right edge: */
  padding-right: 255px;          /* ← change this to your desired “distance from right” */
  padding-top: 18px;
  /* How much space between the two links: */
  gap: 32px;                    /* ← change this to your desired “gap between items” */

  margin: 0;                    /* reset any default margins */
  list-style: none;
}

/* Remove any floats or extra margins from the individual <li>s */
#n2 li {
  float: none;
  margin: 0;
  padding: 0;
}

/* (Optional) If your <li>s previously had padding or floats, override them: */
#n2 li a {
  padding: 15px;                /* keep your comfortable click area */
  text-decoration: none;
  color: white;
}


@media screen and (max-width: 768px) {
  /* ── 0) Kill the mobile nav rules on your footer only ── */
  #n2.navbar {
    display: block !important;         /* no more flex on the footer nav */
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: transparent !important;
    overflow: visible !important;
    z-index: auto !important;
    padding: 0 !important;
  }
  #n2.navbar::before,
  #n2.navbar::after {
    display: none !important;
  }

  /* ── 1) Re-lay out your two links side-by-side and bound to the right ── */
  #n2.navbar ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap:  nowrap !important;      /* never wrap to a new line */
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 18px 140px 0 0 !important;  /* top 18px, right 255px inset */
    margin: 0 !important;
    width: auto !important;              /* shrink-to-fit its contents */
    list-style: none !important;
  }
  #n2.navbar li {
    float: none !important;
    width: auto !important;              /* don’t stretch full width */
    margin: 0 !important;
  }

  /* ── 2) Your mobile font-size control ── */
  #n2.navbar a {
    display: inline-block !important;
    padding: 15px !important;
    text-align: right !important;
    font-size: 16px !important;          /* ← tweak this as desired */
  }
}








@media screen and (max-width: 768px) {
  /* 1) Collapse the wrapper so it doesn’t affect layout */
  .image-container.content#d11f {
    display: contents !important;
  }

  /* 2) Your two lines of size control: tweak these as you like */
  .image-container.content#d11f .image-link {
    width: 90vw              !important;  /* ← change this for mobile width */
    height: 500px            !important;  /* ← change this for mobile height */
    
    /* the rest just makes it center & crop from the middle */
    display: block           !important;
    margin: 0 auto 24px      !important;
    position: relative       !important;
    overflow: hidden         !important;
  }

  /* 3) Fill that box and crop from center */
  .image-container.content#d11f .image-link img {
    width: 100%              !important;
    height: 100%             !important;
    object-fit: cover        !important;
    object-position: center  !important;
    display: block           !important;
  }

  /* 4) Put your overlay-text back on top, same as desktop */
  .image-container.content#d11f .overlay-text {
    position: absolute       !important;
    top: 30px                !important;
    left: 50%                !important;
    transform: translateX(-50%) !important;
    white-space: nowrap      !important;
  }
}
@media screen and (max-width: 768px) {
  /* Hide any placeholder link entirely on mobile */
  .image-container.content#d11f a:has(img[src*="placeholder.png"]) {
    display: none !important;
  }
}







@media screen and (max-width: 768px) {
  /* 1) Make every <br> act like a real block‐level line break */
  br {
    display: block !important;
    content: "" !important;
    margin: 0.5em 0 !important; /* give a little vertical space */
    line-height: normal !important;
  }

  /* 2) If you had a rule hiding the first few <br> in #p112, undo it */
  #p112 > br:nth-of-type(-n+3) {
    display: inline !important;
  }
}
@media screen and (max-width: 768px) {
  /* 1) Reset all previous top/bottom margins on images, iframes, embeds */
  img,
  iframe,
  embed {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* 2) Then give them exactly one consistent gap */
  img,
  iframe,
  embed {
    display: block !important;      /* ensure they break to their own line */
    margin: 1em 0 !important;       /* tweak this value as needed */
  }
  .instagram-wrapper {
  aspect-ratio: 2.5 / 5 !important;
  }
}






.instagram-wrapper {
  max-width: 400px;  /* Or whatever you want */
  margin: 0 auto;
  aspect-ratio: 3 / 5; /* Optional: controls height visually */
}

.instagram-wrapper .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
}


#pig1{
  width: 800px;
  margin-left: 40px;
  max-width: px;
  min-width: px;
}
#pig2{
  width: 800px;
  margin-right: 40px;
  max-width: px;
  min-width: px;
}

/* MOBILE STYLING */
@media screen and (max-width: 768px) {
  #pig1 {
    width: 100%;         /* Relative width for small screens */
    margin: 0 auto;     /* Center it horizontally */
    padding: 0 0px;    /* Optional padding to keep some space from edges */
  }
  #pig2 {
    width: 100%;         /* Relative width for small screens */
    margin: 0 auto;     /* Center it horizontally */
    padding: 0 0px;    /* Optional padding to keep some space from edges */
  }
}

#c1{
  text-align: center;
}







#breadcrumb-trail {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #666;
}

#breadcrumb-trail ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

#breadcrumb-trail li {
  display: flex;
  align-items: center;
}

#breadcrumb-trail li::after {
  content: "›";
  margin: 0 0.5rem;
  color: #aaa;
}

#breadcrumb-trail li:last-child::after {
  content: "";
}