/* CSS Variables */
:root {
  --font-size: 16px;
  --background: #caf3fe;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --border-color: #5BB0A2;
  --primary-blue: #58CDF7;
  --section-title: #122E4F;
  --teal-accent: #5BB0A2;
  --shadow-hover: 0 8px 25px -3px rgba(18, 46, 79, 0.3), 0 4px 6px -2px rgba(18, 46, 79, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  font-size: var(--font-size);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
}

.app-container {
  min-height: 100vh;
  background-color: var(--background);
}

/* Hero Section */
.hero-section {
  padding: 64px 0;
  position: relative;
  background-image: url('https://datacor.clickhelp.co/resources/Storage/Branding/Portal%20Homepage%202025/Hero%20Banner/Hero%20Banner%20Image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-family: 'Gill Sans Nova', 'Gill Sans', sans-serif;
  font-size: 3.75rem;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--primary-blue);
  line-height: 1.1;
}

.hero-subtitle {
  color: #bfdbfe;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  font-family: 'Noto Sans', sans-serif;
}

.search-container {
  max-width: 448px;
  margin: 0 auto;
  position: relative;
}

.search-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 16px;
  height: 16px;
}

.search-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background-color: white;
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  outline: none;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(88, 205, 247, 0.1);
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Stories Section */
.stories-section {
  padding: 64px 0;
  background-color: var(--background);
}

.stories-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-block {
  margin-bottom: 64px;
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-title {
  font-family: 'Gill Sans Nova', 'Gill Sans', sans-serif;
  font-size: 1.875rem;
  color: var(--section-title);
  margin-bottom: 32px;
  font-weight: 400;
}

/* Grid Layout */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styles */
.story-card {
  background-color: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  display: block;
}

.story-card:hover {
  box-shadow: var(--shadow-hover);
}

.story-card:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.card-content {
  padding: 0;
}

.card-image-container {
  position: relative;
  height: 192px;
  background: linear-gradient(to bottom right, #ccfbf1, #5eead4);
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text-section {
  padding: 16px;
  position: relative;
}

.card-title {
  font-family: 'Gill Sans Nova', 'Gill Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #111827;
  padding-right: 32px;
  line-height: 1.4;
  margin-bottom: 0;
}

.card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  color: #0d9488;
  transition: all 0.2s ease;
}

.story-card:hover .card-arrow {
  color: #0f766e;
  transform: translateX(4px);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 48px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-container,
  .stories-container {
    padding: 0 24px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}.CHBlock_richTextContent, .CHBlock_container * {font-family: 'Segoe UI',Frutiger,'Frutiger Linotype','Dejavu Sans','Helvetica Neue',Arial,sans-serif;}