:root {
  --uiaa-blue: #004b86;
  --uiaa-dark: #102033;
  --uiaa-light: #f4f7fa;
  --uiaa-border: #e6ebf1;
  --uiaa-muted: #718093;
  --uiaa-white: #ffffff;
  --uiaa-shadow: 0 10px 40px -10px rgba(16, 32, 51, 0.15);
  --uiaa-radius: 0px; /* Sharp corners as requested */
}

/* Base Layout & Spacing */
.uiaa-hrw-section {
  max-width: 1320px; /* Scaled up */
  margin: 0 auto;
  padding: 80px 20px; /* Adjusted padding to fit better on screen */
  box-sizing: border-box;
}

/* Typography */
.uiaa-hrw-section h2 {
  margin: 0 0 32px;
  font-size: 52px; /* Bigger and bolder */
  line-height: 1.05;
  color: var(--uiaa-blue);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.uiaa-hrw-eyebrow {
  display: block;
  font-size: 13px; /* Slightly larger */
  font-weight: 800;
  color: var(--uiaa-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.uiaa-hrw-richtext {
  font-size: 18px; /* More readable body size */
  line-height: 1.65;
  color: var(--uiaa-dark);
}

.uiaa-hrw-richtext p {
  margin: 0 0 15px;
}

/* Scroll Reveal */
.uiaa-hrw-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.uiaa-hrw-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Links & Buttons */
.uiaa-hrw-link {
  color: var(--uiaa-blue);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.uiaa-hrw-link:hover {
  gap: 12px;
}

.uiaa-hrw-section__action {
  margin-top: 40px;
  text-align: right;
}

/* News Cards Grid */
.uiaa-hrw-featured-news__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
}

.uiaa-hrw-featured-news__side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* News Cards Styles */
.uiaa-hrw-news-card {
  position: relative;
  overflow: hidden;
  background: var(--uiaa-white);
  border: 1px solid var(--uiaa-border);
  border-radius: var(--uiaa-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.uiaa-hrw-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--uiaa-shadow);
  border-color: transparent;
}

.uiaa-hrw-news-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.uiaa-hrw-news-card__image {
  display: block;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  transition: transform 0.6s ease;
}

.uiaa-hrw-news-card:hover .uiaa-hrw-news-card__image {
  transform: scale(1.05);
}

.uiaa-hrw-news-card__content {
  display: block;
  padding: 24px;
}

.uiaa-hrw-news-card__title {
  display: block;
  color: var(--uiaa-dark);
  font-size: 24px; /* Scaled up */
  font-weight: 800;
  line-height: 1.25;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.uiaa-hrw-news-card:hover .uiaa-hrw-news-card__title {
  color: var(--uiaa-blue);
}

.uiaa-hrw-news-card__date,
.uiaa-hrw-news-card__cats {
  display: block;
  color: var(--uiaa-blue);
  font-size: 12px; /* Slightly larger */
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.uiaa-hrw-news-card__cats a {
  color: inherit;
  text-decoration: none;
}

/* Main Post Card */
.uiaa-hrw-news-card.is-main .uiaa-hrw-news-card__image {
  min-height: 420px; /* Reduced height to fit better on screen */
}

.uiaa-hrw-news-card.is-main .uiaa-hrw-news-card__title {
  font-size: 44px; /* Impactful */
}

/* Small Sidebar Card */
.uiaa-hrw-news-card.is-small .uiaa-hrw-news-card__link {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: stretch;
}

.uiaa-hrw-news-card.is-small .uiaa-hrw-news-card__image {
  min-height: 100%;
}

.uiaa-hrw-news-card.is-small .uiaa-hrw-news-card__content {
  padding: 20px 25px;
}

.uiaa-hrw-news-card.is-small .uiaa-hrw-news-card__title {
  font-size: 18px;
}

/* Intro & Facts Section - Three Column Redesign */
.uiaa-hrw-intro-facts {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 0; /* Gap managed by padding and borders */
  align-items: center;
  border: 1px solid var(--uiaa-border);
  border-left: none;
  border-right: none;
  padding: 60px 0;
}

.uiaa-hrw-intro-facts__copy {
  padding-right: 60px;
  border-right: 1px solid var(--uiaa-border);
}

.uiaa-hrw-intro-facts__facts {
  padding: 0 60px;
  border-right: 1px solid var(--uiaa-border);
  position: relative;
  height: 120px; /* Fixed height for scroller consistency */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.uiaa-hrw-fact {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.uiaa-hrw-fact.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.uiaa-hrw-fact strong {
  display: block;
  font-size: 56px; /* Bolder scale */
  color: var(--uiaa-blue);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.uiaa-hrw-fact span {
  display: block;
  font-size: 14px; /* Larger */
  color: var(--uiaa-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.uiaa-hrw-intro-facts__logo {
  padding-left: 60px;
  display: flex;
  justify-content: flex-end;
}

.uiaa-hrw-intro-facts__logo img {
  max-width: 220px;
  height: auto;
}

/* Responsive for Three Column */
@media (max-width: 1100px) {
  .uiaa-hrw-intro-facts {
    grid-template-columns: 1.5fr 1fr;
    padding: 40px 0;
  }
  .uiaa-hrw-intro-facts__logo {
    display: none; /* Hide logo on medium screens if tight */
  }
}

@media (max-width: 768px) {
  .uiaa-hrw-intro-facts {
    grid-template-columns: 1fr;
    text-align: center;
    border: none;
  }
  .uiaa-hrw-intro-facts__copy,
  .uiaa-hrw-intro-facts__facts {
    padding: 20px 0;
    border-right: none;
    border-bottom: 1px solid var(--uiaa-border);
  }
  .uiaa-hrw-intro-facts__facts {
      height: 100px;
  }
  .uiaa-hrw-intro-facts__logo {
    display: flex;
    justify-content: center;
    padding: 30px 0 0;
  }
}

/* Link Cards - Spectacular Redesign */
.uiaa-hrw-link-cards__grid {
  display: grid;
  grid-template-columns: repeat(var(--uiaa-hrw-cols, 5), 1fr);
  gap: 15px; /* Tighter gap for immersive look */
}

.uiaa-hrw-link-card {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  background: var(--uiaa-dark);
  text-decoration: none;
  color: var(--uiaa-white);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.uiaa-hrw-link-card:hover {
  transform: translateY(-8px);
  z-index: 2;
}

.uiaa-hrw-link-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.uiaa-hrw-link-card:hover .uiaa-hrw-link-card__image {
  transform: scale(1.15);
}

/* Gradient Overlay */
.uiaa-hrw-link-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(16, 32, 51, 0.9) 0%, rgba(16, 32, 51, 0) 100%);
  transition: height 0.4s ease;
}

.uiaa-hrw-link-card:hover::after {
  height: 85%;
}

.uiaa-hrw-link-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  z-index: 1;
}

.uiaa-hrw-link-card__body strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--uiaa-white);
  margin-bottom: 20px; /* Increased from 10px */
  line-height: 1.1;
  transition: transform 0.4s ease;
}

.uiaa-hrw-link-card__body span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.uiaa-hrw-link-card:hover .uiaa-hrw-link-card__body strong {
  transform: translateY(-5px);
}

.uiaa-hrw-link-card:hover .uiaa-hrw-link-card__body span {
  opacity: 1;
  transform: translateY(-5px);
}

/* Accent Line */
.uiaa-hrw-link-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--uiaa-blue);
  z-index: 3;
  transition: width 0.4s ease;
}

.uiaa-hrw-link-card:hover::before {
  width: 100%;
}

.uiaa-hrw-link-card__icon {
  display: none; /* Hide icon in this espectacular style */
}

/* Podcast */
.uiaa-hrw-podcast__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.uiaa-hrw-podcast-card {
  display: flex;
  background: var(--uiaa-white);
  border: 1px solid var(--uiaa-border);
  border-radius: var(--uiaa-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.uiaa-hrw-podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--uiaa-shadow);
}

.uiaa-hrw-podcast-card__image {
  width: 200px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.uiaa-hrw-podcast-card__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uiaa-hrw-podcast-card strong {
  display: block;
  font-size: 26px; /* Bolder */
  margin-bottom: 20px;
  color: var(--uiaa-dark);
}

.uiaa-hrw-podcast-card__cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--uiaa-blue);
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
  .uiaa-hrw-featured-news__grid {
    grid-template-columns: 1fr;
  }
  .uiaa-hrw-intro-facts {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .uiaa-hrw-intro-facts__facts {
    border-left: none;
    padding-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .uiaa-hrw-section {
    padding: 50px 20px;
  }
  .uiaa-hrw-section h2 {
    font-size: 28px;
  }
  .uiaa-hrw-link-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .uiaa-hrw-podcast__grid {
    grid-template-columns: 1fr;
  }
  .uiaa-hrw-news-card.is-small .uiaa-hrw-news-card__link {
    grid-template-columns: 1fr;
  }
}
