#search-form,
.search-toggle {
  display: none !important;
}

.media-embed .resource {
  display: inline-flex;           /* allows easy centering */
  flex-direction: column;         /* stack image + caption vertically */
  align-items: center;            /* centers horizontally */
  justify-content: center;        /* centers vertically if needed */
  text-align: center;             /* centers caption text */
  border-radius: 5px;            /* rounded corners */
  border: 2px solid #ddd;         /* optional border */
  overflow: hidden;               /* ensures image/caption respect radius */
  background-color: #fff;         /* optional background */
  padding: 8px;                   /* space inside border */
  box-sizing: border-box;
}

.media-embed .resource h3{
  font-size: 13px;
  font-family: "Lora", serif;
  white-space: nowrap;       /* Force text to stay on one line */
  overflow: hidden;          /* Hide any overflow */
  text-overflow: ellipsis;   /* Add "…" if it’s too long */
  display: block;            /* Ensure consistent block-level layout */
  max-width: 100%;           /* Prevent overflow outside the container */
  role: none; /* (for accessibility if added inline, not CSS) */
} 

.media-embed .resource .caption * {
  color: black;
  font-family: "Lora", serif;
}

.item-subjects {
  display: inline-flex;           /* allows easy centering */
  flex-direction: column;         /* stack image + caption vertically */
  align-items: center;            /* centers horizontally */
  justify-content: center;        /* centers vertically if needed */
  text-align: center;             /* centers caption text */
  border-radius: 5px;            /* rounded corners */
  border: 2px solid #ddd;         /* optional border */
  overflow: hidden;               /* ensures image/caption respect radius */
  background-color: #fff;         /* optional background */
  padding: 8px;                   /* space inside border */
  box-sizing: border-box;
  width: 320px;                   /* or try 350px / 400px to taste */
  margin: 8px;                    /* optional spacing between boxes */
}

 .media-render img {
     border-radius: 5px;            /* rounded corners */
  }

body {
 font-size: 20px;
}

a {
  text-decoration: none;
 color: black;
}

 .youth-slide  a {
 pointer-events: none;
}

.youth-slide{
 border-radius: 50px;
 transform: scale(0.9);
 border: 2px solid #ddd;  
}

  a:hover {
   color: #D00000;
   text-decoration: none;
  }

.media-embeds iframe {
    width: 100% !important;
    height: 800px !important;
}

.nav-menu {
    display: flex; /* Ensures items stay in one line */
    flex-wrap: nowrap; /* Prevents wrapping */
    list-style: none; /* Removes default list styles */
    padding: 0;
    margin: 0;
}

.nav-menu .nav-item {
   margin-right: 15px; /* Adjust spacing between items */
}

.nav-menu .nav-item a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: var(--gap);
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    padding: 8px 12px;
    background: var(--nav-bg);
    position: relative;
    z-index: 15;
    border-radius: var(--radius);
}

.browse-all .button {
            display: inline-block;
            padding: 5px 10px;
            border: 1px solid grey;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }

@media (max-width: 768px) {
  header nav .navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  header nav .navigation li {
    width: 100%;
  }

  header nav .navigation a {
    display: block;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #dedede;
  }
}












