/* ALUMNI (Achievements + Thoughts)
   The list pages use the shared card from news.css (same as Latest News, Blog, Achievements).
   Both sections share one story-page design (body class srs-story, added in srs-custom.php). */

/* list page only: no date on the alumni cards */
body.category-alumni-achievements .post-content > .entry-header,
body.category-alumni-thoughts .post-content > .entry-header{ display:none !important; }
body.category-alumni-achievements .post-content > .entry-title,
body.category-alumni-thoughts .post-content > .entry-title{ margin-bottom:10px !important; }

/* SINGLE ALUMNI STORY: full-width reading page, justified text,
   icon list, and the photo shown at the END of the story. */
body.single.srs-story main#main{ display:flex; flex-direction:column; }
body.single.srs-story article.ast-article-single{ order:1; max-width:100% !important; }
body.single.srs-story .ast-single-post-featured-section{ order:2; }
body.single.srs-story .post-navigation{ order:3; max-width:100% !important; }

/* title: big, regular weight, thin line under it */
body.single.srs-story h1.entry-title{
  font-size:40px; font-weight:400; line-height:1.25; color:#333;
  margin:0 0 30px; padding:0 0 6px; border-bottom:2px solid #d9d9d9;
}
body.single.srs-story .entry-meta{ display:none !important; }

/* the story text */
body.single.srs-story .entry-content{ color:#333; font-size:18px; line-height:1.9; }
body.single.srs-story .entry-content p{
  margin:0 0 22px; text-align:justify; hyphens:auto; -webkit-hyphens:auto;
}
body.single.srs-story .entry-content strong{ color:#111; }

/* list with little icons (start each line with an emoji) */
body.single.srs-story .entry-content ul{ list-style:none; margin:8px 0 26px; padding:0; }
body.single.srs-story .entry-content ul li{ margin:0 0 10px; padding:0; font-size:18px; }
body.single.srs-story .entry-content ul li a{ color:var(--navy); text-decoration:none; }
body.single.srs-story .entry-content ul li a:hover{ color:var(--accent); text-decoration:underline; }

/* the photo: centred, whole photo, at the end of the story */
body.single.srs-story .ast-single-post-featured-section,
body.single.srs-story .ast-single-post-featured-section.ast-article-image-container--wide{
  max-width:100% !important; margin:30px auto 10px !important; text-align:center;
}
body.single.srs-story .ast-single-post-featured-section img,
body.single.srs-story img.wp-post-image{
  display:inline-block; margin:0 auto; max-height:640px !important; border-radius:0;
}

@media (max-width:768px){
  body.single.srs-story h1.entry-title{ font-size:28px; }
  body.single.srs-story .entry-content{ font-size:17px; line-height:1.8; }
  body.single.srs-story .ast-single-post-featured-section img,
  body.single.srs-story img.wp-post-image{ max-height:420px !important; }
}

/* single alumni story: no date, no author name, photo exactly in the middle */
body.single.srs-story .entry-meta,
body.single.srs-story .posted-on,
body.single.srs-story .byline,
body.single.srs-story .posted-by,
body.single.srs-story .author,
body.single.srs-story .ast-author-meta,
body.single.srs-story .ast-author-box,
body.single.srs-story .ast-post-meta,
body.single.srs-story .entry-header .ast-blog-meta-container{ display:none !important; }

body.single.srs-story .ast-single-post-featured-section,
body.single.srs-story .ast-single-post-featured-section.ast-article-image-container--wide{
  display:flex !important; justify-content:center; align-items:center;
  width:100% !important; margin-left:auto !important; margin-right:auto !important;
}
body.single.srs-story .ast-single-post-featured-section img,
body.single.srs-story img.wp-post-image{
  display:block !important; margin:0 auto !important; max-width:100% !important;
}

/* ---- match the Udgam alumni reference: tighter paragraphs, whole photo shown large ---- */
body.single.srs-story .entry-content p{ margin:0 0 12px; }
body.single.srs-story .entry-content ul li{ margin:0 0 6px; }
body.single.srs-story .ast-single-post-featured-section img,
body.single.srs-story img.wp-post-image{ aspect-ratio:auto !important; height:auto !important; width:auto !important; max-height:800px !important; }
@media (max-width:768px){
  body.single.srs-story .ast-single-post-featured-section img,
  body.single.srs-story img.wp-post-image{ max-height:560px !important; }
}
