/* Commonwealth of Ashford - Official Portal
   Styles kept intentionally simple / early-2010s in spirit */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #e9e9e7; /* slightly off-white, toward gray */
  color: #2b2b2b;
}

a {
  color: #1a4a80;
}

/* ---------- HEADER ---------- */

.site-header {
  width: 100%;
  background: linear-gradient(to bottom, #bfe0f7 0%, #ffffff 100%);
  border-bottom: 3px solid #1a3f6b;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 50px;
}

.logo-slot {
  width: 250px;
  max-width: 62%;
  height: 50px;
  flex-shrink: 0;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 20px;
  flex-shrink: 0;
}

.header-flags img {
  display: block;
  /*border: 1px solid #9a9a96;*/
}

.header-flags img.flag-primary {
  height: 34px;
  width: 68px;
}

.header-flags img.flag-secondary {
  height: 24px;
  width: 48px;
}

.site-nav {
  display: flex;
  flex-direction: row;
  align-self: stretch;
  gap: 0;
  margin-left: 20px;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  color: #163a63;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 16px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: none;
  white-space: nowrap;
  line-height: 1.2;
}

.site-nav a:hover {
  background: #d3d3d0;
}

.site-nav a.current {
  background: #c2c2be;
  color: #163a63;
  border: none;
}

/* ---------- CAROUSEL ---------- */

.carousel-section {
  max-width: 1300px;
  margin: 24px auto;
  padding: 0 20px;
}

.carousel-heading {
  font-size: 20px;
  color: #1a3f6b;
  border-bottom: 2px solid #1a3f6b;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.carousel-wrap {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.carousel-arrow {
  background: #1a3f6b;
  color: #ffffff;
  border: 1px solid #0f2846;
  width: 40px;
  min-width: 40px;
  font-size: 22px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.carousel-arrow:hover {
  background: #26548c;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border: 1px solid #c6c6c2;
  background: #ffffff;
  padding: 14px;
  border-radius: 4px;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.08);
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-item {
  flex: 0 0 calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #d0d0cc;
  background: #fbfbfa;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  height: 100%;
}

.carousel-card:hover {
  border-color: #1a3f6b;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.carousel-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #d0d0cc;
}

.carousel-card-body {
  padding: 10px 12px;
}

.carousel-card-body h3 {
  margin: 0 0 6px 0;
  font-size: 15px;
  color: #1a3f6b;
}

.carousel-card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
}

@media (max-width: 800px) {
  .carousel-item {
    flex: 0 0 100%;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .logo-slot {
    max-width: 60%;
  }
}

/* ---------- MAIN CONTENT / PAGES ---------- */

.page-content {
  max-width: 1000px;
  margin: 24px auto;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #cfcfca;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.page-content h1 {
  color: #1a3f6b;
  border-bottom: 2px solid #1a3f6b;
  padding-bottom: 8px;
  margin-top: 0px;
}

.page-content .meta {
  color: #777;
  font-size: 13px;
  margin-top: -6px;
  margin-bottom: 18px;
}

.page-content img.article-image {
  max-width: 100%;
  border: 1px solid #cfcfca;
  margin-bottom: 16px;
}

.breadcrumb {
  max-width: 1000px;
  margin: 16px auto 0 auto;
  padding: 0 25px;
  font-size: 13px;
  color: #555;
}

/* ---------- FOOTER ---------- */

.site-footer {
  margin-top: 40px;
  background: #1a3f6b;
  color: #d9e6f2;
  padding: 20px;
  text-align: center;
  font-size: 12px;
}

.site-footer a {
  color: #bcd8f2;
}