:root {
  --ycc-primary: #227c9d;
  --ycc-secondary: #17c3b2;
  --ycc-tertiary: #ffcb77;
  --ycc-bg: #fef9ef;
  --ycc-cta: #fe6d73;
  --ycc-dark: #111111;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  background-color: var(--ycc-bg);
  font-size: 1.1rem;
  padding-top: 70px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1200;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
}

.navbar.fixed-top {
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.section-spacious {
  padding: 5rem 0;
}

.hero {
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, var(--ycc-primary) 0%, var(--ycc-secondary) 100%);
  color: #fff;
}

.hero h1 {
  letter-spacing: 0.2px;
  font-size: 3.5rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.hero-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.lead-large {
  font-size: 1.4rem;
}

.muted {
  color: #666;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--ycc-cta);
  border-color: var(--ycc-cta);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e65f65;
  border-color: #e65f65;
}

.btn-outline-secondary {
  color: var(--ycc-primary);
  border-color: var(--ycc-primary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--ycc-primary);
  color: #fff;
  border-color: var(--ycc-primary);
}

.btn-bg-base {
  background-color: var(--ycc-bg);
  border-color: var(--ycc-bg);
  color: var(--ycc-primary);
}

.btn-bg-base:hover,
.btn-bg-base:focus {
  background-color: #f5f0e6;
  border-color: #f5f0e6;
  color: var(--ycc-primary);
}

.bg-tertiary {
  background-color: var(--ycc-tertiary) !important;
}

.content-panel {
  border-radius: 16px;
  padding: 2rem;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.main-copy hgroup,
.main-copy h1,
.main-copy h2,
.main-copy h3,
.main-copy h4 {
  margin-bottom: 1rem;
}

.main-copy img[src*="splashimage"] {
  float: right;
  width: 45%;
  max-width: 500px;
  margin: 0 0 1rem 1.5rem;
  border-radius: 0.6rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.main-copy::after {
  content: "";
  display: block;
  clear: both;
}

.journal-card {
  border-radius: 16px;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.journal-card h3 {
  margin-top: 0.25rem;
  font-size: 1.3rem;
}

.article-meta {
  color: #666;
  font-size: 0.98rem;
}

.post-callout {
  background: #fff;
  border-left: 4px solid var(--ycc-primary);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
}

.pagination-nav {
  margin-top: 2rem;
}

footer {
  padding: 3rem 0;
  border-top: 1px solid #eee;
  color: #666;
  background-color: #fff;
}

@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-copy img[src*="splashimage"] {
    float: none;
    width: 100%;
    max-width: none;
    margin: 1rem 0;
  }
}
