
html{
  background-color: #fff;
}




.main-container{
  margin-top: -150px;;
}

/* Main Blog Header Style */
.blog-header {
  background-color: #f5f9f6;
  color: #1e1e1e;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;

}

.blog-header-image {
  width: 100%;
  height: 530px;
  overflow: hidden;
  background-size: cover; 
}

.blog-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.blog-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-header-content {
  max-width: 900px;
  padding: 24px;
  text-align: left;
  width: 100%;
}

.blog-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #145a2f;
}

.blog-divider {
  width: 50px;
  height: 3px;
  background-color: #145a2f;
  margin: 12px 0;
}

.blog-author {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 1rem;
  color: #145a2f;
}

.author-role,
.publish-date {
  font-size: 0.85rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
    font-size: 1.4rem;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
  }

  .blog-header-content {
    padding: 16px;
  }
}

/* CSS */

/* Blog Header Styles (unchanged, just included for completeness) */
.blog-header {
  background-color: #f5f9f6;
  color: #1e1e1e;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.blog-header-image {
  width: 100%;
  height: 530px;
  overflow: hidden;
  background-size: cover; 
}

.blog-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-header-content {
  max-width: 900px;
  padding: 24px;
  text-align: left;
  width: 100%;
}

.blog-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #145a2f;
}

.blog-divider {
  width: 50px;
  height: 3px;
  background-color: #145a2f;
  margin: 12px 0;
}

.blog-author {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 1rem;
  color: #145a2f;
}

.author-role,
.publish-date {
  font-size: 0.85rem;
  color: #555;
}

/* Layout: Main area with sidebars */
.main {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 100vw;
  margin: 40px auto 80px auto;
}

.sidebar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  top:0;
}

.toc-sidebar {
  width: 18%;
}

.related-sidebar {
  width: 18%;
}

.sidebar h3 {
  margin-top: 0;
  font-weight: 600;
  color: #145a2f;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: #145a2f;
  transition: color 0.3s ease;
}

.sidebar ul li a:hover {
  text-decoration: underline;
  color: #0b3b14;
}

/* Content area */
.content {
  flex: 1;
  padding: 0 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
  color: #333333;
  font-family: 'Georgia', serif;
  line-height: 1.65;
  max-width: 100%;
  min-width: 60%;
  margin-top:-20px !important;
}

.blog-post h2 {
  color: #145a2f;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.7rem;
}

.blog-post p {
  margin-bottom: 1.4rem;
  font-size: 1rem;
  color: #555;
}

/* Author Footer Redesigned */
.author-footer {
  background-color: #003414 !important;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border:none;
  border-radius: 8px;
  max-width:50%;
  width:50%;
  margin:40px auto
}

.author-section {
  display: flex;
  gap: 24px;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  margin:0 auto;
  justify-content: center;
}

.flex-item1 {
  flex-shrink: 0;
}

.author-footer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #78b08a;
  box-shadow: 0 0 8px rgba(255 255 255 / 0.15);
}

.flex-item2 {
  flex: 1;
  min-width: 220px;
}

.img-fluid {
  max-width: 400px;
  height: auto;
  width: 400px;
  display: block;
  margin: 20px 0;
  overflow: hidden;
  object-fit: cover;   /* Prevents stretching, preserves ratio */
  object-position: center; /* Centers the image */
}

.author-footer-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-style: italic;
  color: #e6f0ea;
}

.author-footer-detail {
  margin: 3px 0;
  font-size: 1rem;
  color: #d4dede;
}

.published-date {
  font-style: normal;
  font-weight: 600;
  margin-top: 10px;
  color: #a2c1a2;
}

/* Social Icons */
.social-icons {
  margin-top: 14px;
}

.social-icons a {
  color: #d4dede;
  margin-right: 20px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.social-icons a:hover {
  color: #78b08a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .main {
    flex-direction: column;
    padding: 20px 16px;
  }
  .toc-sidebar,
  .related-sidebar {
    width: 100%;
    position: relative;
    top: auto;
    margin-bottom: 24px;
  }
  .content {
    max-width: 100%;
  }
  .author-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: max-content !important;
  }
  .flex-item2 {
    min-width: auto;
  }
  .social-icons a {
    margin: 0 10px 0 0;
  }

  .img-fluid {
    max-width: 300px;
    height: auto;
    width: 300px;
  }
}

a{
  color: #145a2f;
  text-decoration: none;
}



.hv-poem-left-title {
  width: 18%;
  background: #ffffff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  font-family: 'Merriweather', serif;
}

.hv-poem-left-title h3 {
  margin: 0 0 8px 0;
  color: #145a2f;
  font-size: 1.1rem;
}

.hv-poem-left-title p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .hv-poem-left-title { display: none; }
}




/* -----------------------------
   Poem styles (Classical / Elegant)
   Scoped to .hv-poem + .content.poem to avoid collisions
   ----------------------------- */

/* Load classical fonts (if your site already loads these, you can remove this import) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

.content.poem.hv-poem,
.hv-poem.content.poem {}

/* Root variables for poem styling */
.content.poem.hv-poem {
  --hvp-accent: #145a2f;
  --hvp-muted: #666666;
  --hvp-bg: #ffffff;
  --hvp-paper: #fbfdfb;
  --hvp-maxwidth: 900px;
}

/* Article container */
.content.poem.hv-poem {
  font-family: 'Merriweather', Georgia, serif;
  background: var(--hvp-bg);
  color: #1b1b1b;
  line-height: 1.9;
  letter-spacing: 0.2px;
  padding: 56px 44px;
  max-width: var(--hvp-maxwidth);
  margin: 4px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20,90,47,0.04);
  box-sizing: border-box;
}

/* Poem meta (title + author + small divider) */
.content.poem.hv-poem .poem-meta {
  text-align: center;
  margin-bottom: 28px;
}
.content.poem.hv-poem .poem-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--hvp-accent);
  margin: 0 0 6px 0;
  font-weight: 700;
  line-height: 1.05;
}
.content.poem.hv-poem .poem-author {
  color: var(--hvp-muted);
  font-size: 0.95rem;
  margin: 0;
  font-style: italic;
  margin-bottom: 12px;
}
.content.poem.hv-poem .poem-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--hvp-accent), #78b08a);
  margin: 1px auto;
  border-radius: 2px;
}

/* Poem body - center aligned for classical look */
.content.poem.hv-poem .poem-body {
  text-align: center;
  margin-top: 1px;
  font-size: 1.05rem;
  color: #222;
}

/* Stanza + line */
.content.poem.hv-poem .stanza {
  margin-bottom: 1.9rem; /* space between stanzas */
}
/* CSS: paste into your CSS file (scoped classes so no collisions) */
.hv-poem-container { 
  --hv-accent: #145a2f;
  max-width: 900px;
  margin: 3px auto;
  padding: 40px 36px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(20,90,47,0.04);
  box-sizing: border-box;
}

.hv-poem-paragraph {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1b1b1b;
  white-space: pre-wrap;       /* preserves line breaks exactly as in HTML */
  text-align: center;          /* classical/elegant centered layout */
  margin: 0;
  letter-spacing: 0.2px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -50px !important;
}

/* smaller screens: left-align for better readability */
@media (max-width: 720px) {
  .hv-poem-container { padding: 24px 18px; margin: 20px 12px; }
  .hv-poem-paragraph { text-align: left; font-size: 1rem; line-height: 1.7; }
}

.content.poem.hv-poem .line {
  margin: 0;
  padding: 0;
  display: block;
  white-space: pre-wrap; /* preserve line breaks and spacing */
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Drop cap for first stanza first line */
.content.poem.hv-poem .stanza:first-of-type .line:first-of-type::first-letter{
  float: left;
  font-size: 4.4rem;
  line-height: 0.75;
  padding-right: 10px;
  font-weight: 700;
  color: var(--hvp-accent);
  font-family: 'Playfair Display', serif;
}

/* Optional small italic credit style */
.content.poem.hv-poem .poem-credit {
  margin-top: 8px;
  color: var(--hvp-muted);
  font-size: 0.95rem;
}

/* Illustration inside poem (if any) */
.content.poem.hv-poem .poem-illustration {
  display:block;
  max-width:60%;
  margin: 28px auto;
  border-radius:8px;
  object-fit:cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Author footer minimal */
.content.poem.hv-poem .poem-author-footer {
  text-align:center;
  margin-top:2px;
  color: var(--hvp-muted);
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .content.poem.hv-poem {
    padding: 36px 26px;
    margin: 28px 12px;
  }
  .content.poem.hv-poem .stanza { margin-bottom: 1.6rem; }
  .content.poem.hv-poem .poem-title { font-size: 1.9rem; }
  .content.poem.hv-poem .stanza:first-of-type .line:first-of-type::first-letter { font-size: 3.6rem; }
  .content.poem.hv-poem .poem-illustration { max-width: 80%; }
}

@media (max-width: 720px) {
  .content.poem.hv-poem {
    padding: 24px 16px;
    line-height: 1.8;
  }
  .content.poem.hv-poem .poem-title { font-size: 1.6rem; }
  .content.poem.hv-poem .stanza:first-of-type .line:first-of-type::first-letter { font-size: 3.0rem; float:none; display:block; margin-bottom:6px; }
  .content.poem.hv-poem .poem-body { text-align: left; }
  .content.poem.hv-poem .line { text-align: left; }
}
