#search-form {
  display: none;
}

.header .site-title img {
  max-height: 60px;    /* won’t grow beyond 60px tall */
  width: auto;
  height: auto;        /* keeps proportions */
}

.line-break .break {
  font-weight: bold;
  color: ; #A89F5E;
}

 .journal-block {
  width: 300px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #A89F5E;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
}

.journal-block a {
  color: #2f6f73 !important;
}

.block div[style*="border: 2px solid"] h3 {
  color: #6F6735 !important;
}

.item.resource .media-render {
  border: 1px solid #A89F5E;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
}

.item.resource .media-render img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  border: none;
}

.journal-main-block {
  border: 1px solid #A89F5E;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
  background-color: #fff; /* Optional */
  transition: box-shadow 0.3s ease;
}

.block-lineBreak .break {
  height: 4px; /* Makes it bolder */
  background-color: #5f9ea0;  /* Your chosen color */
  opacity: 1; /* Ensure it's fully visible */
  border-radius: 2px; /* Optional: slight rounding */
  margin: 1rem 0;
}

.heading-journal {
 color:#6F6735 ; /*was #A89F5E */
}

// .sub-menu .navigation {
  list-style: none;
  background-color: #fff; /* Or transparent if needed */
  border: 1px solid #A89F5E;
  border-radius: 8px;
  padding: 2rem;
  margin: 0 auto;
  max-width: 900px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sub-menu .navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Spacing between items */
.sub-menu .navigation li {
  margin: 1rem 0;
}

.sub-menu .navigation li a {
 // text-decoration: underline;
  text-underline-offset: 4px;             /* Moves the underline slightly down */
  text-decoration-thickness: 1px;          /* Makes the underline thin/faint */
  color:#2f6f73; /*was #5f9ea0 */
 font-size: 18px;
  font-weight: 600;
  padding: 14px 30px;
  display: inline-block;                                           /*Make this none to remove page nav on top */
  border-radius: 6px;
  background-color: transparent;
  border: 2px solid #A89F5E; /* Add border */
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover: fill with color and invert text */
.sub-menu .navigation li a:hover {
  background-color: #A89F5E;
  color: white;
}

.journal-link {
  display: flex;
  justify-content: left;
  gap: 30px;
  padding: 20px;
  background-color: transparent;
}

.nav-bar {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: flex-start;
  gap: 30px;
  padding: 20px;
  background-color: transparent;
}

.custom-button {
  display: inline-block;
  padding: 14px 30px;
  font-size: 18px;
  color:#2f6f73; /*was #5f9ea0 */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  border: 2px solid #A89F5E;
  background-color: transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.custom-button:hover {
  background-color: #A89F5E;
  color: white;
  text-decoration: underline;
}

/* 📱 Mobile screens */
@media (max-width: 768px) {
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-button {
    width: 100%;
    text-align: left;
  }
}

.site-page-pagination .current {
  background-color: transparent;
  color: white;
  border: 2px solid #A89F5E;
  border-radius: 6px;
  padding: 10px 20px;
  }

.accordion-trigger {
  background-color:#2f6f73 ; /*was #5f9ea0*/
}

.keyword-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  padding: 2em;
}

.keyword-wall > div {
  display: none; /* <<< Comment this line to revert to always visible */
}

.keyword {
  border: 2px solid #A89F5E;
  background-color: transparent;
  border-radius: 6px;
  padding: 1em 1.5em;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
  max-width: 250px;
  animation: float 6s ease-in-out infinite alternate, colorShift 8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.2s); /* fallback to 0 if --i is not set */
 position: relative;
  cursor: pointer;
}

.keyword:hover {
  transform: translateY(-5px);
  background-color: #fcf9eb;
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes colorShift {
  0% { color: #A89F5E; }
  50% { color: #c2b880; }
  100% { color: #A89F5E; }
}

@keyframes flashGlow {
  0% { box-shadow: 0 0 0px rgba(255, 215, 0, 0); }
  50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
  100% { box-shadow: 0 0 0px rgba(255, 215, 0, 0); }
}

.keyword.flash {
  animation: flashGlow 1.5s ease;
}

.pdf-embed {
  width: 100%;
  height: 100vh; /* or set a fixed height like 1200px if preferred */
  border: 2px solid #A89F5E;
  border-radius: 12px;
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(145deg, #fff, #f9f9f9);
  box-shadow: 0 4px 15px rgba(168, 159, 94, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pdf-embed:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(168, 159, 94, 0.35);
}


.pdf-embed::before {
  content: "Loading PDF...";
  position: absolute;
  color: #aaa;
  font-style: italic;
  font-size: 0.9em;
  padding: 1em;
  display: none;
}


.journal-embed .slick-slide img{
  width: 100%;
  max-width: 1200px;          /* make the card bigger */
  margin: 24px auto;
  border: 3px solid #A89F5E;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
  background: transparent;
  pointer-events: none;   /* disables clicks */
  user-select: none;      /* optional: prevents highlighting */
}

.journal-embed .slick-slide a {
  pointer-events: none;
  cursor: default;
}
.journal-embed .slick-prev, .slick-next  {
 display: none !important;
  content: none !important;
}

journal-embed .slick-next, .slick-prev  {
 display: none !important;
  content: none !important;
}

journal-embed .slick-dots,
.slick-dots li,
.slick-dots li button {
  display: none !important;
}

.annona .toolbarButton{
color: black;
}

.annona .seadragonbox {
border: 2px solid #A89F5E;
}

/*Removes Item Title*/
.resource.show #content > h2:first-of-type {
  display: none !important;
}

@media (max-width: 768px) {
  .pdf-embed {
    height: 80vh;
    padding: 6px;
    border-radius: 6px;
  }
}

@media screen and (max-width: 768px) {
  .sub-menu .navigation {
    flex-direction: column;
    gap: 10px; /* smaller gap for mobile */
    align-items: flex-start; /* aligns links to the left */
  }

@media (max-width: 768px) {
  .pdf-embed {
    display: none;
    height: 70vh; /* Reduce height for smaller screens */
    padding: 6px;
    border-radius: 8px;
  }
}

/* For phones */
@media (max-width: 600px) {
  .keyword {
    font-size: 0.8em;
    padding: 0.5em 0.8em;
    max-width: 150px;
  }

  .keyword-wall {
    gap: 1em;
    padding: 1em;
  }
}

@media (max-width: 768px) {
  .sub-menu  {
    display: none;        /*removes sub-menu on mobile */
  }
}

@media (max-width: 768px) {
  .top-search {
    font-size: 0.8em;
    padding: 0.3em;
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  body.site-page-responsibility-gallery h2 {
    font-size: 1.6em; /* adjust as needed */
    line-height: 1.3; /* optional: tighter or looser spacing */
  }
}

/* Hide the fullscreen button on small screens */
@media (max-width: 768px){
  .fullscreen-uv { display: none; }
}

@media (max-width: 768px) {
  .header .site-title img {
    max-height: 80px;
  }
}










