/* /* =====================================
   SAATHISPACE – ARTICLES (ISOLATED)
   Zero header/footer interference
===================================== */

/* Wrapper */
.articles-section {
  padding: 40px 0;
  margin-bottom: 0px;
  background: linear-gradient(135deg, #0054fd, #2b7bff);
}
hr{
  height: 2px;
  color: white;
}
/* Container */
.articles-section .articles-container {
  width: min(92%, 1200px);
  margin: auto;
}

/* Title */
.articles-section h1 {
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  color:#0d6efd;
  position: relative;
  margin: 10px 0px 25px;
  padding: 8px;
  border-radius: 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(to right, transparent, #085aff, transparent) border-box;
}

/* Grid */
.articles-section .article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .articles-section .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-section .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.articles-section .article-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articles-section .article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.articles-section .card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image */
.articles-section .article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Content */
.articles-section .card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.articles-section .card-content h2 {
  font-size: 20px;
  color: #0f172a;
}

.articles-section .card-content p {
  font-size: 15px;
  color: #64748b;
}

/* Mobile spacing */
@media (max-width: 480px) {
  .articles-section {
    padding: 30px 0;
  }

  .articles-section .card-content {
    padding: 18px;
  }
}

/* Share Row */
.articles-section .share-row{
  margin-top:auto;
  display:flex;
  justify-content:flex-end;
}

/* Share Button */
.articles-section .share-btn{
  background:#f1f5f9;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  font-size:14px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
  transition:all .25s ease;
}

/* Hover */
.articles-section .share-btn:hover{
  background:#0d6efd;
  color:white;
}

/* ===============================
   ARTICLE PAGE – PREMIUM READING UX
================================= */

.article-page {
  padding: 70px 20px;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* Container */
.article-page .container {
  max-width: 850px;
  margin: auto;
  padding: 55px 65px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.6s ease-in-out;
}

/* Heading */
.article-page .container h1 {
  font-size: rem;
  margin-bottom: 20px;
  line-height: 1.25;
  color: #0d6efd;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Meta */
.article-page .meta {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 35px;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 18px;
}

/* Paragraph */
.article-page .container p {
  font-size: 1.12rem;
  line-height: 1.95;
  margin-bottom: 22px;
  color: #343a40;
}

/* Headings */
.article-page .container h2 {
  margin-top: 55px;
  margin-bottom: 18px;
  font-size: 1.7rem;
  border-left: 5px solid #0d6efd;
  padding-left: 14px;
  transition: 0.3s ease;
}

.article-page .container h2:hover {
  transform: translateX(5px);
}

.article-page .container h3 {
  margin-top: 35px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Lists */
.article-page .container ul {
  margin-left: 22px;
  margin-bottom: 25px;
}

.article-page .container ul li {
  margin-bottom: 12px;
  line-height: 1.75;
}

/* Quote */
.article-page .quote-box {
  background: linear-gradient(135deg, #0d6efd, #6ea8fe);
  color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  margin: 40px 0;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(13,110,253,0.25);
}

/* Links */
.article-page .container a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.article-page .container a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #0d6efd;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.article-page .container a:hover::after {
  transform: scaleX(1);
}

/* Fade Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {

  .article-page {
    padding: 40px 0px 40px 0px;
  }

  .article-page .container {
    padding: 35px 25px;
  }

  .article-page .container h1 {
    font-size: 2rem;
  }

  .article-page .container h2 {
    font-size: 1.35rem;
  }

  .article-page .container p {
    font-size: 1rem;
  }
}