.detail-top {
  position: relative;
  background-image: url('./images/48.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Overlay (starts transparent) */
.detail-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Initially transparent */
  transition: background-color 0.4s ease; /* Smooth fade effect */
  z-index: 1;
}

/* On hover → dark overlay appears */
.detail-top:hover::before {
  background-color: rgba(0, 0, 0, 0.6);
}
.detail-top-btn{
    font-size: 14px;
    background-color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 8px;
    margin: 0;
    color: #000;

}
.detail-paragraph-section{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 60%;
    margin: 0 auto;
}
.serif-section {
      font-family: "PT Serif", serif;
      line-height: 1.7;
      color: #2e2e2e;
      background-color: #fff;
    }

    .serif-section h2 {
      font-weight: 700;
      font-size: 1.75rem;
      margin-bottom: 1rem;
      color: #111;
    }

    .serif-section ul {
      margin: 0 0 1.5rem 1.5rem;
      padding: 0;
    }

    .serif-section li {
      margin-bottom: 0.6rem;
      margin: 0;
    font-size: 18px;
    }

    .serif-section .highlight-box {
      background-color: #f5f5f5;
      padding: 1.5rem;
      margin-top: 1.5rem;
    }

    .serif-section .highlight-box p {
      font-style: italic;
      font-size: 1.4rem;
      margin: 0;
      color: #333;
    }
    .btn-grid{
        display: flex;
        justify-content: flex-start;
        gap: 15px;
        align-items: center;
    }
    .detail-bottom-btn{
        margin: 0;
        font-family: 12px;
        text-transform: uppercase;
        font-weight: 500;
        color: #fff;
        background-color: #000;
        padding: 5px 10px;
    }
     .share-section {
      
      text-align: center;
      margin: 20px auto;
    }

    .share-section h3 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: #222;
    }

    .share-buttons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .share-buttons a {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #222;
      border: 1px solid #222;
      padding: 8px 14px;
      border-radius: 2px;
      font-size: 0.95rem;
      transition: all 0.2s ease-in-out;
      font-family: "PT Serif", serif;
    }

    .share-buttons a i {
      font-size: 1rem;
    }

    .share-buttons a:hover {
      background-color: #222;
      color: #fff;
    }
    .bottom-icons{
        width: 15px;
        height: 15px;
        filter: invert(100);
    }
    .post-section{
        display: flex;
        gap: 30px;
        width: 100%;
        margin: 0 auto;
    }
    .post-grid{
        display: flex;
        gap: 15px;
        width: 50%;
    }
       .post-grid-l{
        width: 40%;
    }
    .post-grid-r{
        width: 60%;
    }
    .latest news{
        padding: 30px 0px;
    }
    .latest-news-part-section{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 5px 0px;
  padding-top: 20px;
}
 .discussion-section {
      border-bottom: 1px solid #e0e0e0;
      padding: 40px 20px;
      width: 100%;
      margin: 0 auto;
      text-align: center;
    }

    .discussion-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 0 15px 0;
      border-bottom: 1px solid #e0e0e0;
    }

    .discussion-header h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0;
    }

    .discussion-header span {
      font-size: 0.95rem;
      color: #666;
    }

    .discussion-content {
      padding: 60px 0;
    }

    .discussion-content h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .discussion-content p {
      font-size: 1rem;
      color: #444;
      margin-bottom: 25px;
    }

    .discussion-content p strong {
      font-weight: 700;
    }

    .btn-signup {
      display: inline-block;
      background-color: #111;
      color: #fff;
      padding: 10px 25px;
      border-radius: 4px;
      font-weight: 700;
      text-decoration: none;
      transition: background 0.2s ease-in-out;
    }

    .btn-signup:hover {
      background-color: #333;
    }

    .signin-text {
      margin-top: 15px;
      font-size: 0.95rem;
      color: #444;
    }

    .signin-text a {
      color: #111;
      text-decoration: none;
      font-weight: 700;
    }

    .signin-text a:hover {
      text-decoration: underline;
    }


    @media (max-width: 767px){
        .detail-paragraph-section{
    gap: 20px;
    width: 90%;
}
.footer-tags {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
}
.post-section{
        flex-direction: column;
        gap: 20px;
        width: 90%;
    }
    .post-grid{
        width: 100%;
    }
        .latest-news-part-section{
  flex-direction: column;
  gap: 20px;
}
 .discussion-section {
      padding: 40px 0px;
    }
    }
    @media (min-width: 768px) and (max-width: 991.98px){
        .discussion-section {
      padding: 40px 0px;
    }
      .latest-news-part-section{
  flex-direction: column;
}
.three-grid-part{
  display: flex;
  gap: 15px;
  width: 100%;
}
.post-section{
        width: 95%;
    }
    }
    @media (min-width: 992px) and (max-width: 1200px){}
