/**
 * Site Branding Styles
 * Makes the site title bold and responsive
 */

/* Site title/college name styling */
p.college-name {
  color: #18453b !important;
  font-weight: 700 !important; /* Bold */
  margin-bottom: 0.25rem !important;
  line-height: 1.2 !important;
}

p.college-name a {
  color: #18453b !important;
  font-weight: 700 !important; /* Bold */
  text-decoration: none !important;
}

p.college-name a:hover {
  color: #0f2b23 !important; /* Darker green on hover */
  text-decoration: none !important;
}

/* Desktop - Large screens */
@media (min-width: 1200px) {
  p.college-name {
    font-size: 2rem !important; /* 32px */
    letter-spacing: 0.065rem !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
}

/* Desktop - Medium screens */
@media (min-width: 992px) and (max-width: 1199px) {
  p.college-name {
    font-size: 1.875rem !important; /* 30px */
    letter-spacing: 0.06rem !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  p.college-name {
    font-size: 1.75rem !important; /* 28px */
    letter-spacing: 0.055rem !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}

/* Mobile - Large */
@media (min-width: 576px) and (max-width: 767px) {
  p.college-name {
    font-size: 1.75rem !important; /* 28px */
    letter-spacing: 0.05rem !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}

/* Mobile - Small */
@media (max-width: 575px) {
  p.college-name {
    font-size: 1.5rem !important; /* 24px */
    letter-spacing: 0.04rem !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    text-align: center !important; /* Center on mobile */
  }
  
  /* Center the entire branding on mobile */
  .site-logo {
    display: block;
    margin: 0 auto;
  }
}

/* Ensure proper alignment with logo */
.egr-site-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Additional responsive adjustments for the logo */
@media (max-width: 767px) {
  .site-logo img {
    max-height: 60px !important;
  }
}

@media (max-width: 575px) {
  .site-logo img {
    max-height: 50px !important;
  }
  
  /* Stack logo and title on very small screens */
  .block-system-branding-block .row {
    text-align: center;
  }
  
  .block-system-branding-block .col-auto,
  .block-system-branding-block .col {
    width: 100%;
    text-align: center;
  }
}

/* Site slogan responsive styling */
.site-slogan {
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .site-slogan {
    font-size: 0.75rem;
    text-align: center;
  }
}

/* Hide search box on mobile devices */
@media (max-width: 767px) {
  .region-searchbox {
    display: none !important;
  }
}

/* Ensure search box is visible on larger screens */
@media (min-width: 768px) {
  .region-searchbox {
    display: flex !important;
    justify-content: flex-end;
  }
}

/* Remove padding from breadcrumb block */
.block-system-breadcrumb-block {
  padding: 0 !important;
}

/* Also remove padding from the breadcrumb navigation itself */
.block-system-breadcrumb-block nav {
  padding: 0 !important;
}

/* Remove any margin that might be added */
.block-system-breadcrumb-block,
.block-system-breadcrumb-block nav,
.block-system-breadcrumb-block .breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
}