/* ============================================
   📰 Single Post Page Styles (100% Card-Free)
   ============================================ */

.single-post-container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  gap: 25px;
  font-family: "Arial", sans-serif;
  color: #333;
  background: transparent;
  box-shadow: none;
  border: none;
}

/* ------------------------------
   MAIN CONTENT AREA
------------------------------ */
.single-post-main-content {
  flex: 1;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.single-post-main-content img {
  max-width: 100%;
  width: 800px;
  height: 500px;
  margin-bottom: 15px;
  display: block;
  border-radius: 10px;
}

/* ------------------------------
   SHARE BUTTONS
------------------------------ */
.single-post-share-buttons {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.single-post-share-buttons p {
  margin-right: 10px;
  font-weight: bold;
  background: #0a58ca;
  color: white;
  font-size: 2rem;
}

.single-post-share-buttons a {
  color: #0a58ca;
  text-decoration: none;
  transition: color 0.2s ease;
}

.single-post-share-buttons a:hover {
  color: #0a58ca;
}

/* ------------------------------
   POST DETAILS
------------------------------ */
.single-post-post-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: black;
}

.single-post-post-meta {
  color: #777;
  font-size: 1rem;
  margin-bottom: 25px;
  border-bottom: #777 dashed 0.1rem;
  border-top: #777 dashed 0.1rem;
  padding: 0.4rem;
  gap: 10px;
}

.single-post-post-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: black;
}

/* ------------------------------
   OPINION BOX
------------------------------ */
.single-post-opinion-box {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  margin-bottom: 30px;
}

.single-post-opinion-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
}

.single-post-opinion-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.single-post-opinion-options > div {
  cursor: pointer;
  user-select: none;
  font-size: 1.05rem;
  border: none;
  padding: 4px 8px;
  background: transparent;
  transition: color 0.2s;
}

.single-post-opinion-options > div:hover {
  color: #0a58ca;
  font-weight: bold;
}

.single-post-opinion-options > div.active {
  color: #0a58ca;
  font-weight: bold;
}

/* ------------------------------
   RELATED POSTS
------------------------------ */
.single-post-related-news h3 {
  margin-bottom: 15px;
  border-bottom: 2px solid #0a58ca;
  padding-bottom: 5px;
  color: black;
  border-radius: 5px;
}

.single-post-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.single-post-related-grid a {
  text-decoration: none;
  color: inherit;
}

.single-post-related-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.single-post-related-grid p {
  font-size: 0.9rem;
  margin: 6px 0 3px;
}

.post-meta-small {
  font-size: 0.75rem;
  color: #777;
  border-bottom: #777 dashed 0.1rem;
  border-top: #777 dashed 0.1rem;
  
}

/* ------------------------------
   SIDEBAR
------------------------------ */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 300px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.single-post-sidebar {
  width: 100%;
  background: transparent;
  border: none;
}

.single-post-sidebar h3 {
  color: black;
  margin-bottom: 12px;
  border-bottom: 2px solid #0a58ca;
  border-radius: 5px;
  padding-bottom: 4px;
}

.single-post-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  margin-bottom: 12px;
  background: transparent;
  transition: color 0.2s;
}

.single-post-sidebar-item:hover {
  color: #0a58ca;
}

.single-post-sidebar-item img {
  width: 55px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

.single-post-sidebar-item span {
  font-size: 0.95rem;
  line-height: 1.3;
}

/* ------------------------------
   PAGINATION
------------------------------ */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 6px;
}

.pagination a,
.pagination span {
  padding: 6px 10px;
  border: 1px solid ##0a58ca;
  text-decoration: none;
  color: #0a58ca;
  transition: background-color 0.2s;
}

.pagination a:hover {
  background-color: #0a58ca;
  color: #fff;
}

.pagination .current {
  background-color: #0a58ca;
  color: #fff;
}

/* =========================================
   📱 MOBILE + CHROME RESPONSIVE FIX
   ========================================= */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .single-post-container {
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }

  .single-post-main-content,
  .sidebar-wrapper,
  .single-post-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  /* Navbar containment */
  header, nav, .top-navbar, .main-header {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Contain ads and iframes */
  img, iframe, ins, .adsbygoogle {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .sidebar-wrapper {
    order: 2;
    margin-top: 25px !important;
  }

  .single-post-post-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .single-post-post-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .single-post-related-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

/* =====================================
   🖥️ DESKTOP LAYOUT RESTORE
   ===================================== */
@media (min-width: 901px) {
  html, body {
    overflow-x: hidden !important;
  }

  .single-post-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
  }

  .single-post-main-content {
    flex: 1;
    padding-right: 20px;
  }

  .sidebar-wrapper {
    width: 300px;
    flex-shrink: 0;
  }

  iframe, ins, .adsbygoogle {
    max-width: 100%;
    display: block;
  }
}
.ad-wrapper {
    display: flex;            /* make it a flex container */
    justify-content: center;  /* horizontally center content */
    align-items: center;      /* vertically center, optional */
    margin: 20px 0;           /* spacing above/below */
    width: 100%;              /* full width of parent */
}

















