/*
Theme Name: Herring
Author: The Herring Website Team 2026 (Komari Machida, Penelope Valenti)
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

html {
  background-color: white;
}
* {
  box-sizing: border-box;
  font-family: "EB Garamond", serif;
}
body {
  font-family: "EB Garamond", serif;
}

main {
  width: 85%;
  margin: 0 auto;
  
}

.paper-sheet {
  max-width: 85%;
  margin: 0 auto;
  padding: 0px;
  
  
  background-color: #fbf9f3; 
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-radius: 2px; 
}

.a4-landscape-img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3508 / 2480 !important;
  object-fit: cover !important;
  display: block !important;
}

.grid-container {
  display: grid;
  grid-template-areas:
  'title'
  'menu'
  'footer';
  background-color: white;
  gap: 10px;
}

.banner {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height:45px;
  background-color:#B19CD9;
  color: black;
  text-decoration: bold;
  text-align: center;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.actions {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .actions {
    flex-wrap: wrap;
    width: 100%;
  }
}



.top-page-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "instagram date actions";
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
  gap: 20px;
}


.instagram {
  grid-area: instagram;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 16%;
}



.date {
  grid-area: date;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  white-space: nowrap;
}


.newsletterButton {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 55%;

  width: 90px;
  min-height: 36px;
  box-sizing: border-box;

  padding: 6px 10px;

  background-color: #662d91;
  color: white;
  text-decoration: none;

  font-size: 16px;
  font-weight: 500;

  border-radius: 6px;
  border: none;

  cursor: pointer;
  transition: background-color 0.2s ease,
              transform 0.1s ease;
}

@media (max-width: 768px) {
  .newsletterButton {
    display: none !important;
  }
}

.my-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right:15%;

  width: 90px;
  min-height: 36px;
  box-sizing: border-box;

  padding: 6px 10px;

  background-color: #662d91;
  color: white;
  text-decoration: none;

  font-size: 16px;
  font-weight: 500;

  border-radius: 6px;
  border: none;

  cursor: pointer;
  transition: background-color 0.2s ease,
              transform 0.1s ease;
}

@media (max-width: 768px) {
  .my-button {
    grid-area: actions;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: auto !important;
    max-width: none !important;

    padding: 4px 6px;
    margin-left: auto;
    margin-right: 5px;
  }
}

@media (max-width: 768px) {
  .instagram {
    grid-area: instagram;
    display: flex;
    justify-content: flex-start;
    align-items: start;
    margin-left:7%;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: instagram !important;
  }

  .my-button {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: actions !important;
  }
}

.newsletterButton:hover,
.my-button:hover {
  background-color: black;
  color: white;
}


.newsletterButton:active,
.my-button:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .top-page-container {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "instagram actions";

    padding: 10px 15px;
    gap: 10px;
  }

  .date {
    display: none;
  }
}
@media (max-width: 768px) {

  .top-page-container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "instagram actions";

    align-items: center;

    width: 100%;
    padding: 10px 15px;
    gap: 10px;
  }

  /* Instagram - LEFT */
  .instagram {
    grid-area: instagram !important;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    margin-left: 7%;
  }

  /* Hide date */
  .date {
    display: none !important;
  }

  /* Hide newsletter */
  .newsletterButton {
    display: none !important;
  }

  /* Actions - RIGHT */
  .actions {
    grid-area: actions !important;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;
    width: auto;
  }

  /* Donate button */
  .my-button {
    grid-area: auto !important;

    display: inline-flex;

    justify-content: center;
    align-items: center;

    width: auto !important;
    max-width: none !important;

    min-height: 36px;
    padding: 4px 8px;

    margin: 0;
  }
}

.title {
  grid-area:header;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  font-size:65px;
  color: black;
  text-decoration: none;

}
.page-title {
  display: flex;
  justify-content: flex-start;   
  align-items: center;
  margin-top: 30px;
  margin-left: 7.5%;              
  font-size: 36px;                
  color: black;
  text-decoration: none;
}

.general-header {
  display: flex;
  justify-content: flex-start;   
  align-items: center;
  margin-top: 30px;
  margin-left: 7.5%;              
  font-size: 28px;                
  color: black;
  text-decoration: none;
}

.subheading {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size:15px;
  margin-top: 5px;
  margin-bottom: 25px;
  color:gray;
}
@media (max-width: 768px) {
  .subheading {
    display: none !important; 
  }
}


.navbar{
    
    position: sticky !important;
    top: 0;
    z-index: 1030;
    background-color: white !important;
    margin-top: 10px;
    padding: 0;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    width: 85%;               
    margin-left: 7.5%;  
}


@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}


.navbar-nav .nav-link:hover {
  color:#662d91;
}

.navbar-nav .dropdown-menu .dropdown-item:hover, 
.navbar-nav .dropdown-menu .dropdown-item:focus {
    background-color: white; /* Bootstrap's native #662d91 hex code */
    color: #662d91;            /* White text for contrast */
}



.menu{
  grid-area:menu;
  display: flex;
  justify-content: center; 
  align-items: center;     
  list-style: none;      
  margin: 0;    
  padding: 0;           
  gap: 2rem;
  flex-wrap: wrap;
}

.menu li{
    position:relative;
}
.menu li a{
    font-size:16px;
    display:block;
    padding:1px 20px;
    color:black;
    text-decoration:none;
}

.menu li a:hover{
    color:#662d91;
  
}
.submenu {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:150px;
    background:white;
    list-style:none;
    padding: 5px 0;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

.submenu li{
    width:100%;
}

.submenu li a{
    display:block;
    padding: 8px 12px; 
    text-align:left;
    white-space: nowrap;
}


.dropdown:hover > .submenu{
    display:block;
}

/* article page */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #662d91;
  opacity: 0.8;
}
.article-page {
  width: 70%;
  padding: 40px;
}


.author:hover {
  text-decoration: underline;
}

.meta-text, 
.meta-text p,
.meta-text a,
.meta-text span {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
}

.body-text, 
.body-text p,
.body-text a,
.body-text span {
  font-family: "EB Garamond", serif;
  font-size: 18px;
}

/* promo banner */
.promo-banner {
  width: 100%;
  background-color: #B19CD9;
  padding: 14px 20px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px; 
  box-sizing: border-box;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-heading {
  color: black;
  font-size: 18px;
  font-weight: 550;
  margin: 0;
}

.banner-button {
  background-color: #ffffff;
  color: #000000;
  font-size: 12px; 
  font-weight: 700;
  padding: 6px 16px; 
  border-radius: 6px;
  text-decoration: none;
}

/* staff page */

.member-name {
  margin: 8px 0 0 0;
  font-weight: bold;
  font-size: 20px;
}

/* Main Footer Container */
.site-footer {
  background-color: #f7f7f5;
  border-top: 1px solid #e5e5e5;
  padding: 40px 60px;
  position: relative;
  color: #111111;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col {
  padding: 10px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Vertical Dividers */
.footer-col:not(:last-child) {
  border-right: 1px solid #dbdbdb;
}

/* --- Column 1: Brand & Socials --- */

.col-left-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
}


.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #111111;
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 0.7;
}

/* --- Column 2: Archive & Mission --- */
.col-center {
  align-items: center;
  text-align: center;
}

.archive-btn {
  background-color: #662d91;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 45px;
  display: inline-block;
  margin-bottom: 25px;
  transition: background-color 0.2s;
}

.archive-btn:hover {
  background-color: plum;
}

/* --- Column 3: Links --- */
.footer-nav li {
  margin-bottom: 18px;
}

.footer-nav a {
  color: #111111;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 1px solid #662d91;
  transition: opacity 0.2s;
}


.footer-nav a:hover {
  opacity: 0.7;
}

/* --- Back to Top Floating Button --- */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 38px;
  height: 38px;
  background-color: #662d91;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.2s;
}

.back-to-top:hover {
  background-color: plum;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col {
    padding: 0;
    border-right: none !important;
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 25px;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .col-left-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-page {
    width: 90%;
    padding: 10px;
  }

}
    
      .brand-title {
        font-family: 'Times New Roman', Times, serif;
        font-weight: bold;
        letter-spacing: 2px;
      }
      
      .border-top-thick {
        border-top: 3px solid #000 !important;
      }
      .border-bottom-thick {
        border-bottom: 3px solid #000 !important;
      }
  
      /* Vertical divider between main feature and sidebar on Desktop */
      @media (min-width: 768px) {
        .border-end-md {
          border-right: 1px solid #ccc !important;
        }

        .border-start-md {
          border-left: 1px solid #ccc !important;
        }

      }
