/* ===================================================== */
/* MEYBELL & CO. CUSTOM STYLING - American Royal Web CSS */
/* ===================================================== */

/* =============================== */
/* Load Veneer Font */
/* =============================== */
@font-face {
  font-family: 'Veneer';
  src: url('https://meybell-and-co.github.io/american-royal-assets/fonts/Veneer.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =============================== */
/* Keyframe Animations */
/* =============================== */
@keyframes slideDownFade {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================== */
/* Dropdown Staggered Animation */
/* =============================== */
.header-nav-folder-content > .header-nav-folder-item {
  animation: slideFadeIn 0.4s ease forwards;
  opacity: 0;
}

.header-nav-folder-content > .header-nav-folder-item:nth-child(1) { animation-delay: 0.1s; }
.header-nav-folder-content > .header-nav-folder-item:nth-child(2) { animation-delay: 0.2s; }
.header-nav-folder-content > .header-nav-folder-item:nth-child(3) { animation-delay: 0.3s; }
.header-nav-folder-content > .header-nav-folder-item:nth-child(4) { animation-delay: 0.4s; }
.header-nav-folder-content > .header-nav-folder-item:nth-child(5) { animation-delay: 0.5s; }
.header-nav-folder-content > .header-nav-folder-item:nth-child(6) { animation-delay: 0.7s; }

/* =============================== */
/* Header Background Styling */
/* =============================== */
.header-inner {
  background-image: url('https://images.squarespace-cdn.com/content/5e90cd61e836254521a1df08/6ad70708-c58e-4277-8932-867e4fac60ee/american-royal-new-campus-rendering-night-kansas-city-ks.jpg?content-type=image%2Fjpeg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  min-height: 180px;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
  padding: 0 !important;
}

.header-inner > * {
  position: relative;
  z-index: 3;
}

@media (max-width: 768px) {
  .header-inner {
    background-position: center 90%;
  }
}

.site-header,
.header,
.Header,
.header-announcement-bar {
  background-color: transparent !important;
  background-image: none !important;
}

/* =============================== */
/* Layout Adjustments */
/* =============================== */
.header-inner,
.site-header,
.Site-inner,
.sqs-layout,
.page-section {
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50% !important;
  margin-left: -50vw !important;
  position: relative !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =============================== */
/* Logo Alignment */
/* =============================== */
.header-title-logo img {
  margin-top: 40px;
  display: block;
  height: auto;
  max-height: 180px;
}

.header-title-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 1.5rem;
}

/* =============================== */
/* CONTRIBUTE Button Styling */
/* =============================== */
.header-nav-item a[href*="contribute"] {
  background-color: #BE3526;
  color: #F7F6FB !important;
  font-family: 'Veneer', sans-serif !important;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.4em 1.2em;
  line-height: 1;
  border-radius: 0 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  box-shadow: none !important;
  transition: all 0.2s ease;
  min-height: 44px;
}

.header-nav-item a[href*="contribute"]:hover {
  transform: translateY(-2px);
  background-color: #A62D23;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.header-nav-item a[href*="contribute"]:active,
.header-nav-item a[href*="contribute"]:focus {
  transform: scale(0.96);
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

.header-nav-item--active a[href*="contribute"] {
  background-image: none !important;
  background-position: initial !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
}

/* =============================== */
/* Divider Styling */
/* =============================== */
.hr-divider {
  border: none;
  border-top: 1pt solid #c6c6c7;
  margin: 2rem auto;
  width: 100%;
  max-width: 1200px;
}

/* =============================== */
/* Footer Styling Cleanup */
/* =============================== */
footer a,
footer a:link,
footer a:visited,
footer strong a,
footer em a,
footer span a {
  text-decoration: none !important;
  border-bottom: none !important;
  line-height: 1.4 !important;
  display: inline-block;
  margin: 0.2em 0 !important;
}

footer a:hover,
footer a:hover span {
  text-decoration: underline !important;
}

footer span[style*="text-decoration"],
footer p,
footer li {
  text-decoration: none !important;
  line-height: 1.4 !important;
  margin: 0.2em 0 !important;
}

footer h4,
footer p {
  margin-bottom: 0.3em !important;
}
