/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

/* Master Layout Containers */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Base Badge Elements */
.badge {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.featured-badge {
  background-color: #fef3c7;
  color: #b45309;
}


/* ==========================================================================
   2. MAIN DIRECTORY STYLES (in-news.html)
   ========================================================================== */

/* Directory Header */
.press-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 3rem 0;
  margin-bottom: 2rem;
  text-align: center;
}

.press-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.press-header p {
  color: #64748b;
  font-size: 1.1rem;
}

/* Directory Grid Matrix */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

/* Directory Index Card Layout */
.press-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.press-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.press-meta .date {
  font-size: 0.85rem;
  color: #64748b;
}

.press-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.press-card p.excerpt {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.read-more {
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: underline;
}


/* ==========================================================================
   3. INDIVIDUAL DOCUMENT STYLES (press-detail.html)
   ========================================================================== */

/* Detail Navigation Bar */
.detail-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}

.back-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Detail Base Container Layout */
.press-detail-container {
  max-width: 100%;
  padding: 3rem 0;
}

.press-article {
  max-width: 840px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 3.5rem 4rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* Single Article Header Area */
.article-header {
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
}

.article-header .article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.article-header .date {
  font-size: 0.9rem;
  color: #64748b;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.6;
}

/* Full Width Component Media Layout blocks */
.full-width-image-container {
  width: 100%;
  margin: 3rem 0;
}

.full-width-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.image-caption {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

/* Typography Body Container controls */
.article-body {
  max-width: 740px;
  margin: 0 auto;
}

.article-body p {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* Callout Box Component: PDF Action Panel */
.download-box {
  max-width: 740px;
  margin: 3.5rem auto;
  background-color: #f0f6fd;
  border: 1px solid #081263;
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.download-info h3 {
  font-size: 1.15rem;
  color: #3e6797;
  margin-bottom: 0.25rem;
}

.download-info p {
  font-size: 0.95rem;
  color: #141a53;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #080538;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.download-button:hover {
  background-color: #f1f5f2;
}

.download-icon {
  width: 20px;
  height: 20px;
}

/* Footer Media Connection Matrix */
.article-footer {
  max-width: 740px;
  margin: 3.5rem auto 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-segment {
  flex: 1;
}

.footer-segment h4 {
  font-size: 1rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.info-links ul {
  list-style: none;
}

.info-links li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.info-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.info-links a:hover {
  text-decoration: underline;
}

.contact-box .contact-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.contact-box .contact-detail {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 0.25rem;
}

.contact-box a {
  color: inherit;
  text-decoration: none;
}

.contact-box a:hover {
  color: #2563eb;
  text-decoration: underline;
}


/* ==========================================================================
   4. ADAPTIVE MEDIA VIEWPORTS (Shared Responsive Controls)
   ========================================================================== */
@media (max-width: 768px) {
  /* Listing Grid adjustments */
  .press-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  /* Article View adjustments */
  .press-article {
    padding: 2rem 1.5rem;
    border: none;
    border-radius: 0;
  }
  
  .article-header h1 {
    font-size: 2rem;
  }
  
  .download-box {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .download-button {
    width: 100%;
    justify-content: center;
  }
  
  .article-footer {
    flex-direction: column;
    gap: 2rem;
  }
}
