/* ==================== */
/* NAVIGATION STYLES */
/* ==================== */

#top-tier-nav, #bottom-tier-nav {
    width: 100%;
    background-color: #165491;
    border-bottom: 0px solid #ddd;
    padding: 10px 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-menu {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-item, .navbar-link, .navbar-item a, .navbar-link a {
    color: white !important;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

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

.badge {
    background-color: #E44C4D;
}

.navbar-item:hover, .navbar-link:hover, .navbar-item a:hover, .navbar-link a:hover {
    color: #E54C4D !important;
}

.footer-link:hover, .footer-link a:hover {
    color: #E54C4D !important;
    text-decoration: none;
}

.navbar-item.has-dropdown:hover .navbar-dropdown {
    display: block;
    position: absolute;
    background: #165491;
    padding: 10px 0;
    min-width: 180px;
}

.navbar-dropdown .navbar-item {
    color: white;
    padding: 8px 15px;
}

.navbar-item svg, 
.navbar-link svg, 
.search-button svg {
    fill: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        align-items: center;
    }

    .navbar-item, .navbar-link {
        width: 100%;
        text-align: center;
    }
}

/* ==================== */
/* SEARCH BAR STYLES */
/* ==================== */

#search-bar {
    display: none;
    width: 100%;
    background-color: #f5f5f5;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    z-index: 20;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.search-button {
    background-color: #165491;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.search-button:hover, 
.search-button:focus, 
.search-button:active {
    background-color: #165491;
    color: white;
    outline: none;
    box-shadow: none;
}

/* ==================== */
/* CUSTOM COLORS */
/* ==================== */

.has-background-custom1,
.has-background-custom-1 {
    background-color: #CEDBE8;
}
.has-background-custom2,
.has-background-custom-2 {
    background-color: #192752;
}

/* ==================== */
/* CUSTOM BLOCKS */
/* ==================== */

.block.style-custom1,
.block.style-custom-1 {
  border: 1px solid #E54C4D;
  border-radius: 5px;
  padding: 50px 50px;
  background-color: white;
  height: 375px;
}
.block.style-custom2,
.block.style-custom-2 {
  border: 2px solid #E54C4D;
  border-radius: 15px;
  padding: 50px 50px;
}

/* ==================== */
/* ACCORDIAN OVERRIDES */
/* ==================== */

.accordion-title {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #4A4A4A !important;
}

.accordion-title i.fas {
  color: #E44C4D !important; /* red icons */
}

/* ==================== */
/* IMAGE STYLES */
/* ==================== */

.page-home-index .image.is-covered img, 
.page-catalog-category .image.is-covered img, 
.page-catalog-search .image.is-covered img,
.sub-category-grid .listWrapper .item-box .sub-category-item .picture img {
    object-fit: contain;
    background-color: #d8d8d8;
}

.slides .image.is-covered img {
    object-fit: cover;
}

.content-page-banner {
    height: 450px;
    object-fit: cover;
}

/* ==================== */
/* FOOTER STYLES */
/* ==================== */

footer {
    background-color: #192752;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover, 
footer a:focus, 
footer a:active {
    color: #E54C4D;
    background-color: transparent;
    outline: none;
    box-shadow: none;
}

/* ==================== */
/* MEDIA QUERIES */
/* ==================== */

@media (min-width: 768px) {
    #sliderrow .flexslider .flex-control-nav.flex-control-thumbs {
        display: none;
    }
}

@media (min-width: 1000px) {
    .wedu-page-content header .background.desktop {
        display: block;
    }
    #whiteinkprinting header .background.mobile {
        display: none;
    }
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */

.stopKitLinks .cf-table .cf-table-wrapper .kitItem a {
    pointer-events: none;
}

.collapse { 
    display: none;
}

.collapse.in { 
    display: block;
}

/* Completely remove Bulma's original caret */
/* Remove Bulma caret */
nav.navbar .navbar-item.has-dropdown > .navbar-link::after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    visibility: hidden !important;
}

/* Add caret with tight spacing */
nav.navbar .navbar-item.has-dropdown > .navbar-link::before {
    content: "▼";
    color: white;
    font-size: 14px;
    margin-right: 0.35em;
    display: inline-block;
    vertical-align: middle;
}

/* Balance spacing between all items */
nav.navbar .navbar-item:not(.has-dropdown) {
    padding-left: 1.5em; /* Simulate caret space for consistency */
}

/* Remove extra padding on the right of dropdown links */
nav.navbar .navbar-item.has-dropdown > .navbar-link {
    padding-right: 1.5em !important; /* Or 0 if you want it tight */
}



  
