/* ============================================================
   PRESS CSS — layered on top of shared.css
   ============================================================ */

/* ---- PRESS HERO (orange — press identity) ---- */
.press-hero {
  background: #ff9933;
  padding: clamp(2rem, 5vw, 3rem) 1rem;
  text-align: center;
  color: #fff;
}

.press-hero h1 {
  font-size: clamp(1.2rem, 3.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 0.6rem;
  overflow-wrap: break-word;
}

.press-meta {
  font-size: 0.9rem;
  opacity: 0.92;
  line-height: 1.5;
}

/* ---- PRESS ARTICLE ---- */
.press-container {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.press-article {
  max-width: 780px;
  margin-inline: auto;
}

.press-article p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  overflow-wrap: break-word;
}

.press-article h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: #0a3d62;
  margin-top: 2.25rem;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.press-article h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: #0a3d62;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.press-article h4 {
  font-size: 1.05rem;
  color: #0a3d62;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.press-article ul,
.press-article ol {
  margin-left: 1.4rem;
  margin-bottom: 1rem;
}

.press-article li {
  margin: 0.4rem 0;
  line-height: 1.75;
  color: #333;
  overflow-wrap: break-word;
}

.press-inline-link {
  color: #0077cc;
  text-decoration: none;
}

.press-inline-link:hover {
  text-decoration: underline;
}

.press-article hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

/* ---- TABLE ---- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 0.65rem 0.85rem;
  text-align: left;
  line-height: 1.5;
  overflow-wrap: break-word;
}

table thead { background: #0a3d62; color: #fff; }
table tbody tr:nth-child(even) { background: #f8fbff; }

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 8px;
}

.table-responsive::-webkit-scrollbar { display: none; }

/* ---- BLOCKQUOTE ---- */
blockquote {
  border-left: 4px solid #0a3d62;
  padding: 0.9rem 1.4rem;
  background: #eef3f7;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #333;
  line-height: 1.7;
}

/* ---- CODE ---- */
pre {
  background: #1e1e1e;
  color: #eaeaea;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1rem 0;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

code { font-family: 'Courier New', Courier, monospace; }

/* ---- SECTION + RELATED ---- */
.section {
  max-width: 1280px;
  margin: clamp(2rem, 5vw, 3rem) auto;
  padding-inline: 1rem;
}

.section > h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #0a3d62;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.related-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.18s;
  overflow-wrap: break-word;
}

.related-card:hover { border-color: #0077cc; }

.related-card .rc-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0077cc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.related-card h4 { color: #0a3d62; font-size: 0.95rem; line-height: 1.4; margin-bottom: 0.4rem; }
.related-card p { font-size: 0.85rem; color: #555; line-height: 1.6; }

/* ---- BUTTON ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: #0077cc;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transition: background 0.18s;
}

.btn:hover { background: #005ea3; }

/* ---- FOOTER ---- */
.site-footer {
  background: #000;
  padding: clamp(2rem, 5vw, 3rem) 1rem clamp(1.5rem, 4vw, 2rem);
  border-top: 2px solid red;
  margin-top: clamp(2rem, 5vw, 3rem);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 1280px;
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
}

.footer-col h3 { color: #ff9933; font-size: 1.05rem; margin-bottom: 0.7rem; }
.footer-col h4 { color: #e8f1ff; font-size: 0.95rem; margin-bottom: 0.7rem; }

.footer-col p {
  color: #bbb;
  font-size: 0.875rem;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom: 0.5rem;
}

.footer-col p:last-child { margin-bottom: 0; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.3rem; }
.footer-col ul li a { color: #bbb; font-size: 0.875rem; text-decoration: none; transition: color 0.18s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.25rem;
  color: #777;
  font-size: 0.82rem;
  max-width: 1280px;
  margin: 0 auto;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1.25rem;
}

.footer-bottom a { color: #aaa; text-decoration: none; transition: color 0.18s; }
.footer-bottom a:hover { color: #fff; }
.footer-credit { margin-top: 0; font-size: 0.78rem; color: #555; }
.footer-credit a { color: #777; }
.footer-credit a:hover { color: #bbb; }

/* ---- RESPONSIVE ---- */
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
}

@media (max-width: 599px) {
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .site-footer { padding: 1.75rem 1rem 1.25rem; }
  .footer-bottom {
    font-size: 0.78rem;
    justify-content: center;
    text-align: center;
  }
  table { font-size: 0.82rem; }
  table th, table td { padding: 0.5rem 0.6rem; }
}

@media (max-width: 380px) {
  .site-header .brand-tagline { font-size: 0.72rem; }
  .site-nav a { padding: 0.4rem 0.8rem; font-size: 0.82rem; }
}
