/* === Custom Varta.Space Styling for Similar Articles, Share, Comment Sections === */

/* === Global Article Styles === */
.article-page {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-size: 1.1em;
  line-height: 1.8;
  color: #222;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-page h1,
.article-page h2,
.article-page h3 {
  font-weight: 600;
  margin-bottom: 0.6em;
  border-bottom: 2px solid red;
  display: inline-block;
  padding-bottom: 0.2em;
}

.article-page p {
  margin-bottom: 1.2em;
}

/*EDITORIAL ORANGE HIGHLIGHT BLOCK FIX */

.article-body blockquote{
background:none;
padding:0;
border-left:none;
margin:0;
}

/* only the FIRST paragraph becomes the orange intro */

.article-body blockquote p:first-of-type{
background:#ff6600;
padding:12px 14px;
margin:16px 0;
line-height:1.4;
color:#111;
}

/* remove background from spans inserted by editor */

.article-body blockquote span{
background:none !important;
}

/* DROP CAP STYLE */

.article-body p:first-of-type::first-letter{
float:left;
font-size:3.2em;
line-height:0.9;
padding-right:6px;
font-weight:bold;
color:#cf0000;
}
.article-body p:first-of-type{
font-weight:500;
}

.article-page img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

/* === Share Buttons Section === */
.share-buttons,
.article-share {
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.share-buttons a,
.article-share a {
  margin-right: 10px;
  text-decoration: none;
  font-size: 14px;
}

/* === Comments Section === */
.comments-section,
.article-comments {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed #aaa;
}

.article-comments h4 {
  font-weight: bold;
  margin-bottom: 10px;
}
/* ============================= */
/* ALSO READ SECTION */
/* ============================= */

.also-read-section{
border-top:2px solid #cf0000;
margin-top:40px;
padding-top:20px;
}

/* GRID */

.also-read-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
margin-top:18px;
}

/* CARD */

.also-read-card{
background:#fff;
border-radius:8px;
overflow:hidden;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

/* IMAGE */

.also-read-card img{
width:100%;
height:100px;
object-fit:cover;
display:block;
}

/* TITLE */

.also-read-card h3{
margin:0;
font-size:13px;
line-height:1.35;
background:#2e7d32;
color:#fff;
padding:8px;
}

.also-read-card h3 a{
color:#fff;
text-decoration:none;
}

@media (max-width:768px){

.also-read-grid{
display:grid !important;
grid-template-columns:repeat(2,1fr) !important;
gap:10px;
}

.also-read-card{
display:block !important;
}

.also-read-card:nth-child(3){
display:none !important;
}

}
/* ========================= */
/* MOBILE ARTICLE TYPOGRAPHY */
/* ========================= */

@media (max-width: 768px) {

  /* Article title - more compact and bold */
  .post-title {
    font-size: 24px;          /* Reduced from 28px for better fit */
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.01em;  /* Tighter tracking for headlines */
  }

  /* Article body text - addressing the "river of white" */
  .article-body {
    font-size: 16px;
    line-height: 1.55;        /* Slightly tighter for better density */
    text-align: left;         /* Hard left-align to kill justified rivers */
    word-spacing: normal;
    letter-spacing: -0.01em;  /* Slight tightening helps readability on small screens */
    padding-left:6px;          
    word-break: break-word;   
  }

  .article-body p{
    text-align:left !important;
    line-height:1.6;
    word-spacing:normal;
    letter-spacing:normal;
  }
  /* Ensure images don't create extra vertical white space */
  .article-body img {
    margin: 1em 0;
  }

}

/* ========================= */
/* MOBILE ARTICLE WIDTH FIX */
/* ========================= */

@media (max-width:768px){

.article-wrapper{
padding-left:12px;
padding-right:12px;
}

.article-body{
max-width:100%;
width:100%;
text-align:left;
line-height:1.6;
font-size:16px;
padding-right:6px;
}

.article-body p{
margin-bottom:16px;
}

.article-body .blockquote{
font-size:15px;
line-height:1.35;
padding:8px 10px;
}

}
