/* ==================================
   articles Page — Scoped Styles
   Wrapper: .article-page
================================== */


/* ❌ In page CSS, rmove global styles like:
body { ... }
html { ... }
a { ... }
footer { ... }  unless explicitly scoped */



/* ===== Call to Action ===== */
/* to move later into /shared/css/cta.css */
.article-page .cta {
  margin-top: 40px;
  text-align: center;
}

.article-page .cta a {
  color: #730101;
  margin: 0 15px;
  text-decoration: underline;
}

.article-page .cta a.secondary {
  color: #ae8888;
}


.article-page {
  font-family: 'Times New Roman', Times, serif;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* ===== Hero Section ===== */
.article-page #hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(/pictures/hero/nos_articles_01.png);
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  margin-bottom: 80px;
  margin-top: -29px; /* pulls hero up slightly under navbar */
  text-align: center;
}

.article-page #hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.article-page #hero-image > * {
  position: relative;
  max-width: 900px;
  padding: 40px;
}

.article-page #hero-image h1 {
  max-width: 1000px;
  color: #dfdfdf;
  font-size: 61px;
  font-weight: 500;
  margin-bottom: 20px;
}

.article-page #hero-image .hero-text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-page #hero-image .manifesto {
  font-weight: 300;
  font-size: 20px;
  color: #e0e0e0;
  max-width: 740px;
  margin: 20px auto 30px;
}

.article-page #hero-image .quote {
  color: #eeccf0;
  font-size: 17px;
  font-style: italic;
  max-width: 800px;
  margin-top: 20px;
  background: rgba(50, 0, 50, 0.6);
}

.article-page #hero-image .quote em {
  font-size: 17px;
  color: #e4bfbf;
}

.article-page #hero-image .manifesto,
.article-page #hero-image .quote {
  background: rgba(0, 0, 0, 0.6);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  display: inline-block;
  max-width: 700px;
  margin: 15px auto 25px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-page #hero-image .manifesto em,
.article-page #hero-image .quote em {
  color: #ffe0e0;
}

.article-page #hero-image .manifesto:hover,
.article-page #hero-image .quote:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.6),
              0 0 15px rgba(255, 200, 200, 0.3);
}

/* ===== articles Header ===== */
.article-page .article-header {
  text-align: center;
  margin-bottom: 60px;
}

.article-page .article-header h2 {
  font-size: 48px;
  color: #641e1e;
  margin-bottom: 15px;
}

.article-page .article-header .article-intro {
  font-size: 18px;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

.article-page .article-header em {
  color: #d30b83;
  font-style: italic;
}

.article-page .article-hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 40px auto;
  display: block;
  border-radius: 8px;

  transition: transform 0.35s ease;
  transform-origin: center center;
}

.article-page .article-hero-image:hover {
  transform: scale(1.2);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.article-page .article-image-wrapper {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 5px;
}

.article-page .pdf-close-btn {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 16px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  color: #730101;
  background: transparent;
  border: 1px solid #730101;
  border-radius: 6px;

  cursor: pointer;
  transition: all 0.25s ease;
}

.article-page .pdf-close-btn:hover {
  background: #730101;
  color: #fff;
}

/* ===== Search Box ===== */
.search-box{
  position:relative;
  max-width:500px;
  margin:20px auto;
}

#article-search{
  width:100%;
  padding:12px 40px 12px 16px;
  font-size:16px;
  border:1px solid #ccc;
  border-radius:6px;
  outline:none;
  transition:border 0.2s ease;
}

#article-search:focus{
  border-color:#444;
}

#search-clear{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:none;
  font-size:18px;
  cursor:pointer;
  color:#777;
  display:none;
}

#search-clear:hover{
  color:#000;
}

.search-highlight{
  background:#ffe066;
  padding:0 2px;
  border-radius:2px;
}


/* ===== articles List ===== */
.article-page .article-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.article-page .article-item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.article-page .article-title {
  font-weight: 700;
  text-decoration: solid underline #730101 2px;
  font-size: 24px;
  margin-top: 60px;
  margin-bottom: 5px;
}

.article-page .article-title :hover {
  text-decoration: solid underline #730101 3px;
  color: #baff9a;
  transform: scale(2.2);
  transition: all 0.3s ease;
}

.article-page .article-title a {
  color: #730101;
  text-decoration: none;
}

.article-page .article-title a:hover {
  text-decoration: underline;
}

.article-page .article-subtitle {
  font-size: 18px;
  color: #555;
  font-weight: 600;
  margin-bottom: 10px;
}

.article-page .article-abstract {
  font-size: 16px;
  color: #444;
  margin-top: 45px;
  margin-bottom: 8px;
  text-align: justify;
}

.article-page .article-meta {
  font-size: 14px;
  color: #999;
  font-style: italic;
}

/* ===== Responsive ===== */
@media (hover: hover) {
  .article-page #hero-image .manifesto:hover,
  .article-page #hero-image .quote:hover {
    transform: translateY(-8px);
}
}

@media (max-width: 768px) {
  .article-page #hero-image h1 {
    font-size: 40px;
  }

  .article-page #hero-image .manifesto,
  .article-page #hero-image .quote {
    font-size: 16px;
    padding: 20px;
  }

  .article-page .article-list {
    max-width: 95%;
    margin: 0 auto 40px auto;
  }
}

@media (hover: none) {
  .article-page .article-hero-image {
    transform: none !important;
    cursor: default;
  }
}
