.detail-content-section{
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 0px;
}
.detail-content-text-section{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 65%;
    margin: 0 auto;
}
.detail-head{
    font-size: 34px;
    margin: 0;
    font-weight: 600;
}
.author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.author-info-top{
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-info {
  display: flex;
  flex-direction: column;
  
  gap: 3px;
}

.author-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9rem;
  color: #4f4e4e;
  margin: 0;
}

.author-name span {
    color: #303030;
  font-weight: 700;
  margin-left: 3px;
}

.author-meta {
  font-size: 0.85rem;
  color: #000000ad;
  margin: 2px 0 0;
}

.article-tools {
  background-color: #f7f7f7;
  padding: 5px 10px;
  border-radius: 2px;
}

.article-tools p {
  font-size: 0.85rem;
  color: #444;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-tools a {
  text-decoration: none;
  color: #444;
  font-size: 0.85rem;
}

.article-tools a:hover {
  text-decoration: underline;
}
.detail-para{
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}
.font-grid{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.single-text{
    margin: 0;
    font-weight: 600;
    font-size: 70px;
}
.img-detail-grid{
    display: flex;
    justify-content: space-between;
    gap: 25px;
}
.detail-img{
    width: 33.33%;
    border-radius: 5px;
}
.detail-img-l{
    width: 10%;
}
.font-grid-r{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.detal-para-head{
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #000;
}
.styled-quote {
  border-left: 3px solid #000;
  padding-left: 15px;
  margin: 20px 0;
}

.styled-quote p {
  font-size: 18px;
  color: #222;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.styled-quote a {
  color: #2a8da8;
  text-decoration: none;
}

.styled-quote a:hover {
  text-decoration: underline;
}

.styled-quote sup {
  font-size: 0.7em;
}

.membership-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 25px;
  gap: 20px;
}

.member-info {
  flex: 1;
}

.member-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.member-info p {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 300px;
}

.subscribe-form input {

  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  font-size: 15px;
  outline: none;
}

.subscribe-form input:focus {
  border-color: #00b7e6;
}

.subscribe-form button {
  background-color: #00c8f0;
  border: none;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #00b7e6;
}
.article-meta {
  margin-bottom: 20px;
}

.article-meta-head {
  font-style: italic;
  margin-bottom: 10px;
  color: #333;
}

.meta-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 15px;
  color: #555;
}

.meta-icons {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.meta-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f2f2f2;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background 0.3s ease;
}

.meta-icons a:hover {
  background-color: #ddd;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0px 0;
}

.author-section {
  display: flex;
  align-items: center;
  align-items: flex-start;
  gap: 20px;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}



.author-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.author-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.author-bio {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0 0 15px;
}

.author-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-links a {
  font-weight: 600;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #aaa;
  padding-bottom: 2px;
}

.author-links a:hover {
  border-color: #000;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.social-links a:hover {
  color: #000;
}
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 30px;
  }

  .related-posts h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .post {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 20px;
  }

  .post-img {
    width: 180px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
  }



  .post-content .hashtag-category {
    font-size: 0.9rem;
    color: #000000ad;
    margin-bottom: 5px;
  }

  .post-content h3 {
    font-size: 1.4rem;
    margin: 0 0 10px;
    font-weight: 500;
  }

  .post-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
.comments-section {
    margin: auto;
  }

  .comments-section h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .comment {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .comment img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
  }

  .comment-body {
    flex: 1;
 
    padding-bottom: 20px;
  }

  .comment-text {
    margin-bottom: 10px;
    color: #444;
  }

  .comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .comment-author {
    font-weight: bold;
    color: #222;
    font-size: 0.95rem;
  }

  .comment-date {
    color: #000000ad;
    font-size: 0.9rem;
    margin-left: 10px;
  }

  .reply {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-style: italic;
    transition: color 0.3s;
    text-decoration: underline;
  }

  .reply:hover {
    color: #000;
  }


   .comment-form {
    width: 100%;
  }

  .comment-form h2 {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 20px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  textarea,
  input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    resize: vertical;
  }

  textarea:focus,
  input:focus {
    border-color: #0d7680;
  }

  textarea {
    min-height: 180px;
  }

  .input-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
  }

  .input-row input {
    flex: 1;
    min-width: 250px;
  }

  .submit-btn {
    background-color: #0d7680;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
  }

  .submit-btn:hover {
    background-color: #095e66;
  }
/* Responsive */
@media (max-width: 700px) {
  .membership-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .subscribe-form {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .author-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .article-tools {
    align-self: flex-start;
  }
}
/* =======================
   MOBILE RESPONSIVE DESIGN
   ======================= */
@media (max-width: 767px) {

  /* General layout */
  .detail-content-section {
    width: 95%;
    padding: 15px 0;
  }

  .detail-content-text-section {
    width: 100%;
    gap: 20px;
  }

  .detail-head {
    font-size: 24px;
    line-height: 1.3;
  }

  /* Author bar */
  .author-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .author-info-top {
    flex-wrap: wrap;
  }

  .article-tools {
    align-self: flex-start;
    width: 100%;
  }

  /* Paragraphs */
  .detail-para {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Font grid for drop cap */
  .font-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .single-text {
    font-size: 50px;
  }

  /* Image grids */
  .img-detail-grid {
    flex-direction: column;
    gap: 15px;
  }

  .detail-img {
    width: 100%;
  }

  .detail-img-l {
    width: 100%;
  }

  .font-grid-r {
    width: 100%;
  }

  /* Membership box */
  .membership-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .subscribe-form {
    width: 100%;
  }

  .subscribe-form input {
    width: 100%;
  }

  /* Article meta (stats + icons) */
  .meta-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .meta-icons {
    margin-left: 0;
  }

  /* Author section */
  .author-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-image {
    width: 70px;
    height: 70px;
  }

  /* Related posts */
  .related-posts {
    gap: 25px;
  }

  .post {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .post-img {
    width: 100%;
    height: auto;
  }

  .post-content h3 {
    font-size: 1.2rem;
  }

  .post-content p {
    font-size: 0.95rem;
  }

  /* Comments */
  .comments-section {
    width: 100%;
  }

  .comment {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .comment img {
    width: 50px;
    height: 50px;
  }

  .comment-body {
    width: 100%;
  }

  .comment-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  /* Comment form */
  .comment-form h2 {
    font-size: 1.5rem;
  }

  .input-row {
    flex-direction: column;
    gap: 10px;
  }

  .input-row input {
    width: 100%;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }
}

