/* =========================
   Title Section (full width gray bg + boxed content)
   ========================= */
.story-single-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.story-single-container .story-fullwidth-title {
    margin-top : 120px;
    margin-bottom: 15px;
    background-color: #f0f0f0;
    color: #333;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 85px 0;
    box-sizing: border-box;
}

.story-single-container .story-title-inner {
    max-width: 1240px;
    font-size: 54px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

/* Subtitle box under title */
.story-single-container .story-subtitle-box {
    display: inline-block;
    background-color: #28a745;  /* green background */
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: Helvetica, Arial, sans-serif;
    
}

.related-program-box {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #e0f7e9; /* light green background */
    border: 1px solid #2ecc71; /* green border */
    border-radius: 4px;
    font-weight: 600;
    color: #27ae60;
    display: inline-block;
}


.story-single-container .story-date {
    position: relative;
    left: 0;
    top: 2px;
    font-size: 15px;      
    font-weight: normal;   
    background: transparent;
    color: #333;
    font-family: Helvetica;
}

.story-single-container .story-title {
    font-size: 60px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: Helvetica;
}

.story-single-container .term-boxes {
    position: relative;
    left: 0;
    bottom: -10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.story-single-container .term-box {
    font-size: 15px;
    padding: 1px 10px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid #2e8b57;
    color: #2e8b57;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: Helvetica;
}

.story-single-container .term-box:hover {
    background: #2e8b57;
    color: #fff;
    border-color: #2e8b57;
}

.story-single-container .story-banner {
  max-width: 1200px;
  margin: 40px auto 20px;
}

.story-single-container .story-content {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  font-family: Helvetica;
}

.story-single-container .story-photo-credit {
  font-size: 17px;
  color: #777;
  margin-top: 6px;
  margin-left: 2px;
  font-family: Helvetica;
}

/* =========================
   Subtitle & Description
   ========================= */
.story-single-container .story-subtitle {
  font-size: 20px;
  color: #555;
  margin: 10px auto 20px;
  max-width: 900px;
}

/* =========================
  Quote Section
   ========================= */
.story-single-container .story-quote-wrap {
  margin: 20px 0;
  max-width: 61%; 
}

.story-single-container .story-quote {
  position: relative;
  padding: 40px 20px 20px 0;
  margin: 0;
  border-left: none;
  background: none;
}

.story-single-container .story-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 52px;
  height: 40px;
  background: url('https://prottyashi.org/wp-content/uploads/2025/09/quotes-icon.svg') no-repeat center center;
  background-size: contain;
}

.story-single-container .quote-text {
  font-size: 32px;
  line-height: 1.4;
  color: #222;
  margin: 0 0 10px 0;
  font-style: normal;
  text-align: justify;
}

.story-single-container .quote-author {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.story-single-container .quote-author strong {
  font-weight: 600;
  display: inline;
}

.story-single-container .quote-author .author-designation {
  display: inline;
  font-size: 14px;
  color: #888;
  margin-left: 8px;
  font-style: normal; 
}

/* =========================
   Extra Image + Description
   ========================= */
.story-single-container .story-extra {
  max-width: 1200px;
  margin: 15px auto;
  text-align: center;
}

.story-single-container .story-extra img {
  width: 100%;
  border-radius: 6px;
}

.story-single-container .story-extra-description {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  font-family: Helvetica;
  font-style: italic;
}

/* =========================
   Gallery
   ========================= */
.story-single-container .story-gallery {
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.story-single-container .story-gallery img {
  max-width: 30%;
  border-radius: 5px;
}

/* =========================
   Related posts
   ========================= */
.story-single-container .related-stories {
  max-width: 1200px;
  margin: 30px auto;
  border-top: 1px solid #e6e6e6;
  padding-top: 20px;
}

/* Related Posts Title */
.related-stories-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  max-width: 1200px;
}

.related-stories-title .line {
  flex: 1;
  height: 1px;
  background: #000;
  margin: -2px 8px -4px 6px;
}

.related-stories-title h2 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  color: #000;
  font-family: Helvetica;
}

/* Related Cards */
.related-list-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.related-card {
  width: calc(33.333% - 13.33px);
  background: #fff;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.related-card-img img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
}

.related-card-content {
  margin-top: 14px;
}

.related-card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.related-card-title a {
  color: #222;
  text-decoration: none;
}

.related-card-title a:hover {
  color: #12A652;
}

.related-card-date {
  font-size: 13px;
  color: #888;
}

/* =========================
   Green Line + Social Share
   ========================= */
.story-single-container .story-green-line {
    width: 100%;
    height: 2px;
    background-color: #28a745;
    margin: 20px 0 12px;
}

.story-single-container .story-share-section {
    max-width: 1200px;
    position: relative;
    text-align: right;       /* make all content inside right-aligned */
}

.story-share-buttons {
    display: inline-flex;    /* inline-flex keeps buttons aligned */
    gap: 8px;
    justify-content: flex-end; /* push buttons to right */
}


.story-share-buttons .share-text {
    font-size: 14px;
    color: #28a745;
}

.story-share-buttons .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #000;
    border-radius: 4px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.story-share-buttons .share-btn:hover {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .story-single-container .story-date {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 8px;
  }

  .story-single-container .term-boxes {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 10px;
  }

  .story-single-container .story-quote-wrap {
    max-width: 100%;
  }

  .story-share-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .story-single-container .story-gallery img {
    max-width: 100%;
  }

  .related-card {
    width: 100%;
  }
}
