/* General Styling */

body {
  font-family: "Noto Sans Devanagari", "Mukta Malar", "Noto Sans", sans-serif;
  line-height: 1.6;
  background-color: #d3d3d3;
  margin: 0;
  padding: 0;
}

html {
  padding: 0;
  margin-top: 0 !important;
}
footer {
  margin: 0;
  padding: 0;
}

:root {
  --background-color: #472753;
  --hover-color: #1c1a83;
  --background-color2: #424266;
  --text-hover: #051441;
  --text-color: whitesmoke;
}

/* Bold red badge */
.title-first {
  display: inline-block;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
    background: #22074d;
  border-radius: 6px;
  margin-right: 8px;
}

/* Soft outlined tag */
.title-first.tag {
  background: transparent;
  color: #333;
  border: 1px solid #ddd;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Small uppercase label */
.title-first.small {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f5f5f5;
  color: #222;
}

/* Add line break after .title-first */
.title-first::after {
    content: "";
    display: block; /* forces line break */
    margin-bottom: 4px; /* optional spacing after the break */
}


/* title */
a {
    white-space: normal; /* allows line breaks inside links */
}



/* Carousel wrapper */
.gallery-carousel-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 20px auto;
}

/* Inner flex container */
.gallery-carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Carousel items */
.gallery-carousel-inner .gallery-item {
  flex: 0 0 33.3333%; /* desktop: 3 items per row */
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-carousel-inner .gallery-item:hover {
  transform: scale(1.05);
}

/* Images */
.gallery-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.01);
}

/* Overlay for titles */
.gallery-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: rgb(252, 252, 252);
  font-size: 14px;
  text-shadow: 1px 1px 3px rgba(62, 63, 117, 0.5);
  opacity: 1;
  pointer-events: none;
  background: rgba(14, 57, 97, 0.2);
  padding: 5px 10px;
}

.featured-gallery-container {
  background: #5e60c4;
  padding: 20px;
}

.gallery-item {
  font-size: 14px;
  color: var(--text-color);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Carousel controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #333;
  font-size: 30px;
  padding: 5px 10px;
  cursor: pointer;
  border: none;
  z-index: 10;
  transition: color 0.3s ease;
}

.carousel-control:hover {
  color: #000;
}

.carousel-control.prev {
  left: 0;
}
.carousel-control.next {
  right: 0;
}

/* Responsive: Small & Extra small screens */
@media screen and (max-width: 992px) {
  .gallery-carousel-inner .gallery-item {
    flex: 0 0 50%; /* 2 items per row */
  }
  .gallery-image {
    height: 350px;
  }
}

@media screen and (max-width: 600px) {
  .gallery-carousel-inner .gallery-item {
    flex: 0 0 100%; /* 1 item per row */
  }
  .gallery-image {
    height: 300px;
  }
}

@media screen and (max-width: 500px) {
  .gallery-carousel-inner .gallery-item {
    flex: 0 0 100%; /* 1 item per row */
  }
	.gallery-image wp-post-image
   {
    height: 250px !important;
  }
}

/* Modal styling */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gallery-modal img.modal-img {
  max-width: 90%;
  max-height: 70%;
  margin-bottom: 20px;
  border-radius: 10px;
}

.gallery-modal h3.modal-title {
  color: var(--text-color);
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  border-radius: 5px;
  background: rgba(109, 111, 112, 0.2);
}

.gallery-modal .modal-content-body img {
  display: none !important;
}

.gallery-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.ad-container {
  height: 500px; /* default height for large screens */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.ad-container:hover {
  transform: scale(1.02);
}

.ad-container .ad-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ad-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  border: 2px solid #424266;
  display: block;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ad-container img:hover {
  transform: scale(1.05);
  border-color: #424266;
}

/* Responsive adjustments for small screens */
@media screen and (max-width: 768px) {
  .ad-container {
    height: 550px; /* smaller height on tablets */
  }
}

@media screen and (max-width: 576px) {
  .ad-container {
    height: 500px; /* smaller height on mobile phones */
  }
}

.reporter-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reporter-image {
  width: 40px; /* Adjust size */
  height: 40px;
  border-radius: 50%; /* Makes it circular */
  object-fit: cover;
}

/* Category Section */
.featured-samachar {
  padding: 40px 0;
  background: #f8f9fa;
}

.news-title-bottom-samachar {
  font-size: 22px !important;
  padding: 10px;
  font-weight: 600 !important;
  color: #472753 !important;
}

/* News Post Title */
.news-title-samachar {
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color2);
  font-size: 32px !important;
  padding: 10px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-title-samachar a {
  color: white;
  text-decoration: none;
}

.news-title-samachar a:hover {
  color: rgb(28, 25, 31);
}
/* Default: large screens */
.featured-image-recent-post-samachar {
  width: 650px; /* fixed width for large screens */
  height: 350px; /* fixed height for large screens */
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.featured-image-samachar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.featured-image-samachar:hover {
  transform: scale(1.05);
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .featured-image-recent-post-samachar {
    width: 100%; /* fill available width */
    height: 300px; /* proportional height */
  }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
  .featured-image-recent-post-samachar {
    width: 100%;
    height: 250px; /* slightly smaller height for mobile */
  }
}

  /* News Post Title */
  .news-title-samachar {
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color2);
    font-size: 28px !important;
    padding: 10px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .news-title-bottom-samachar {
    font-size: 20px !important;
    padding: 10px;
    font-weight: 600 !important;
    color: #472753 !important;
  }
}

/* excerpt-container */
.excerpt-container-samachar p.inline-paragraph {
  color: #474545 !important;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  font-size: 18px;
  margin-bottom: 10px;
}

.inline-paragraph {
  font-weight: 600 !important;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

.news-item-hr {
  border: solid 1px #771fc9;
  margin: 0 0;
  padding: 0 0;
}

/* Container for all news items */
.samachar-grid {
  display: flex;
  flex-direction: column;

  gap: 15px; /* Space between each news item */
}

/* Each individual news item */
.news-item {
  display: flex;
  align-items: center;
  gap: 6px; /* Space between thumbnail and title */
  padding: 4px;
  background-color: #f9f9f9; /* optional background */

  transition: background-color 0.3s ease;
}

.news-item {
  transition: background-color 0.3s ease, color 0.3s ease; /* smooth transition */
}

.news-item:hover {
  background-color: #554f91; /* subtle hover effect */
  color: #ffffff !important; /* text color white */
}

/* Ensure links inside also turn white on hover */
.news-item:hover a {
  color: #ffffff !important;
}

/* Thumbnail container */
.news-thumb {
  flex-shrink: 0; /* prevents shrinking */
  width: 160px !important; /* fixed width for small image */
  height: 120px !important; /* fixed height for square */
  overflow: hidden;
  border-radius: 4px;
}

.news-thumb img.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image covers the box */
  transition: transform 0.3s ease;
}

.news-thumb img.thumb-img:hover {
  transform: scale(1.05); /* subtle zoom on hover */
}

/* Title container */
.news-title-bottom-samachar {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #222;
}

.news-title-bottom-samachar a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.news-title-bottom-samachar a:hover {
  color: var(--hover-color); /* change to your theme color */
}

/* Optional responsive adjustment */
@media (max-width: 768px) {
  .news-item {
    flex-direction: row;
    gap: 6px;
  }
  .news-thumb {
    width: 60px;
    height: 60px;
  }
}

/* header */

footer {
  overflow-x: hidden;
  overflow-y: hidden;
}

header {
  background-color: var(--background-color);

  width: 100%;
  position: sticky;
  top: -245.19px; /* Stick exactly at the top */
  z-index: 9999; /* Always above other content */
}

.logo {
  width: 200px;
  height: auto;
}

.date-weather {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ececec !important;
  text-align: center;
}

.nepali-date {
  font-size: 12px !important;

  color: #ececec !important;
}
.weather-info {
  font-size: 14px !important;
  font-weight: 600;
  color: #ececec !important;
}
.site-branding-header {
  height: 140px;
  width: auto;
}

.site-branding-header a {
  text-align: center;
  text-decoration: none;
}

/* Navbar Section */
.main-navigation {
  background-color: var(--background-color2);
  height: 50px;
}

.menu-top-menu-container ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation .menu-top-menu-container ul li {
  margin: 0 12px; /* Adjust spacing */
  font-weight: 550;
}

.menu-top-menu-container ul li a {
  text-decoration: none;
  color: white;
  padding: 6px 16px;
  font-size: 18px;
  transition: all 0.1s ease; /* Smooth transition */
}

/* Hover effect */
.menu-top-menu-container ul li:hover a {
  color: var(--text-hover);
  border-radius: 5px;
  transform: scale(1.5); /* Zoom in slightly */
}

/* ==============================
   Responsive Header Adjustments
   ============================== */

/* Small screens (mobile, <768px) */
@media screen and (max-width: 768px) {
  header {
    top: -337.3px;
  }

  .menu-top-menu-container ul li {
    margin: 0 8px;
  }

  .menu-top-menu-container ul li a {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* Extra small screens (<500px) */
@media screen and (max-width: 500px) {
  .logo {
    width: 200px;
    height: auto;
  }

  header {
    top: -326.5px;
  }

  .menu-top-menu-container ul li {
    margin-top: 8px;
  }

  .menu-top-menu-container ul li a {
    font-size: 11px;
    padding: 2px 2px;
  }

  .site-branding-header {
    text-align: center;
    padding: 0;
  }

  .site-branding-header img.logo {
    max-width: 100%;
    height: auto;
  }
}

/* Applies only on very small screens like iPhone SE, Mini, etc. */
@media screen and (max-width: 414px) {
  header {
    top: -315.69px; /* Moves the header upwards by 283px (off-screen most likely) */
  }

  .main-navigation {
    height: 36px;
  }

  .menu-top-menu-container ul li {
    margin: 0 6px;
  }

  .menu-top-menu-container ul li a {
    font-size: 11px;
    padding: 6px 2px;
  }

  .site-branding-header img.logo {
    max-width: 80%;
  }

  #nepali-date {
    font-size: 9px;
  }
}

/* Applies only on very small screens like iPhone SE, Mini, etc. */
@media screen and (max-width: 430px) {
  header {
    top: -318.44px; /* Moves the header upwards by 283px (off-screen most likely) */
  }

  .main-navigation {
    height: 36px;
  }

  .menu-top-menu-container ul li {
    margin: 0 6px;
  }

  .menu-top-menu-container ul li a {
    font-size: 11px;
    padding: 6px 2px;
  }

  .site-branding-header img.logo {
    max-width: 80%;
  }

  #nepali-date {
    font-size: 9px;
  }
}

/* Applies only on very small screens like iPhone SE, Mini, etc. */
@media screen and (max-width: 390px) {
  header {
    top: -311.58px; /* Moves the header upwards by 283px (off-screen most likely) */
  }
  .main-navigation {
    height: 36px;
  }

  .menu-top-menu-container ul li {
    margin: 0 6px;
  }

  .menu-top-menu-container ul li a {
    font-size: 9px;
    padding: 6px 2px;
  }

  .site-branding-header img.logo {
    max-width: 80%;
  }

  #nepali-date {
    font-size: 9px;
  }
}

/* Very small screens (<375px) */
@media screen and (max-width: 375px) {
  header {
    top: -309.02px;
  }

  .main-navigation {
    height: 36px;
  }

  .menu-top-menu-container ul li {
    margin: 0 6px;
  }

  .menu-top-menu-container ul li a {
    font-size: 8px;
    padding: 2px 2px;
  }

  .site-branding-header img.logo {
    max-width: 80%;
  }

  #nepali-date {
    font-size: 9px;
  }
}

/* comments */

.facebook-comment-wrapper {
  background-color: lightgrey;
  padding: 20px;
  border-radius: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Heading Styling */
.facebook-comment-wrapper #comment-heading {
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  font-size: 24px;
  font-weight: 700;
  color: #472753;
  text-align: center;
  margin-bottom: 15px;
  font-family: "Noto Sans Devanagari", sans-serif;

  /* Underline effect */
  border-bottom: 5px solid #472753;
  display: inline-block;
  padding-bottom: 5px;
}

/* Center comment box */
.facebook-comment-wrapper .fb-comments {
  display: block;
  margin: 0 auto;
}

.comment-title {
  background-color: var(--background-color2); /* Background color */
  border: none; /* No border */
  padding: 10px; /* Adjusts the padding to fit content */
  margin: 0; /* Removes default margin */
  display: inline-block; /* Adjusts to content width */
  font-size: 1.5em; /* Adjusts font size */
  color: white; /* Sets text color */
  width: auto; /* Adjusts width to content */
  text-align: center; /* Centers the text */
}

textarea {
  width: 350px;
  height: 100px;
  background-color: #d3d3d3;
  resize: none;
}

button {
  width: 100px;
  height: 30px;
  background-color: var(--main-background);
  border: none;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
}

/* user-info */

.user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 8px;
  border: 2px solid #ccc;
  margin: 20px auto;
  border-radius: 8px;
  box-sizing: border-box;
  color: grey;
  width: fit-content;
  max-width: 100%;
  transition: background-color 0.3s ease; /* Smooth transition for hover */
}

.user-info:hover {
  background-color: #f1f1f1; /* Light background on hover */
  cursor: pointer; /* Change cursor to indicate interactivity */
}

@media (min-width: 768px) {
  .user-info {
    padding: 10px;
  }
}

@media (min-width: 1024px) {
  .user-info {
    padding: 8px;
  }
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  border: 2px solid #ddd; /* Light border around the image */
}

.user-info strong {
  color: #333; /* Darker color for the name */
}

.scroll-btn {
  position: fixed;
  right: 20px; /* Fixed to the bottom-right corner */
  bottom: 20px;
  background-color: rgba(50, 19, 73, 0.5); /* Semi-transparent background */
  color: white;
  border: 2px solid white; /* Visible border for clarity */
  height: 30px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  z-index: 9999;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease,
    background-color 0.3s ease;
  opacity: 0; /* Invisible by default */
  visibility: hidden; /* Hidden by default */
}

/* Hover effect */
.scroll-btn:hover {
  background-color: rgba(
    50,
    19,
    73,
    0.8
  ); /* Slightly less transparent on hover */
  transform: scale(1.1); /* Slight zoom effect */
}

/* Button-specific positioning */
.scroll-btn-up {
  bottom: 80px; /* Positioned slightly above the down button */
}

.scroll-btn-down {
  bottom: 20px;
}

/* Button visible state */
.scroll-btn.visible {
  opacity: 1; /* Fully visible */
  visibility: visible; /* Makes the button interactive */
}

.archive-featured-image {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden; /* Ensure the image respects the border-radius */
  border-radius: 2%; /* Apply rounded corners */
}

.archive-featured-image img {
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.archive-featured-image img:hover {
  transform: scale(1.04); /* Slight zoom effect on hover */
}

@media (max-width: 768px) {
  .archive-featured-image {
    height: auto;
  }
}

/* News Title */
.archive-news-title {
  margin-top: 8px;
  text-align: center;
}

.archive-news-title a:hover {
  color: var(--hover-color); /* Change color on hover */
  transition: color 0.1s ease; /* Smooth transition for color change */
}
.archive-news-title a {
  text-decoration: none;
  color: var(--background-color) !important;
  font-size: 40px;
  font-weight: 700;
}

.archive-publish-time {
  font-size: var(--font-small);
  color: var(--secondary-color);
}
.date-name {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 10px;
}

.name {
  margin-right: 10px;
}

.title-date {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
  text-align: center;
  margin-top: 6px;
}

.archive-news-item {
  margin-bottom: 20px;
}

.archive-featured-image-all-post {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden; /* Ensure the image respects the border-radius */
  border-radius: 2%; /* Apply rounded corners */
}

.archive-featured-image-all-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.archive-featured-image-all-post img:hover {
  transform: scale(1.04); /* Slight zoom effect on hover */
}

@media (max-width: 768px) {
  .archive-featured-image-all-post {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden; /* Ensure the image respects the border-radius */
    border-radius: 2%; /* Apply rounded corners */
  }

  .archive-featured-image-all-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-in-out;
  }
}

.cat-title {
  font-size: 2rem; /* Set a large font size for prominence */
  font-weight: bold; /* Make the text bold */
  color: #333; /* Dark gray text color */
  text-align: center; /* Center align the text */
  margin: 20px 0; /* Add space above and below */
  padding: 0px; /* Add some padding around the text */
  border-bottom: 2px solid #ccc; /* Optional: Add a bottom border for styling */
  background-color: transparent; /* Optional: Light background for contrast */
  border-top: 2px solid #ccc;
}

/* News Title  bottom*/
.news-title-bottom {
  text-align: center;
  color: var(--background-color) !important;
  font-size: 20px;
  margin-top: -8px;
}

.news-title-bottom a:hover {
  color: var(--hover-color); /* Change color on hover */
  transition: color 0.1s ease; /* Smooth transition for color change */
}
.news-title-bottom a {
  text-decoration: none;
  color: var(--background-color) !important;
  font-weight: bold;
}

.single-reporter {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.single-reporter-image-container {
  display: flex; /* Enables flexbox */
  align-items: center; /* Vertically centers the image */
  justify-content: center; /* Horizontally centers the image */
  height: 100%; /* Optional: Set a height to ensure the container is sizable */
}

.single-reporter-image-container img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover; /* Ensures the image fits nicely */
  border: 0.5px dashed var(--border-color);
}

.single-reporter-name {
  align-items: center;
  font-size: 12px;
  color: #252525;
  font-weight: bold;
  height: 100%;
  width: 100%;
  text-align: center;
}

.single-publish-date {
  font-size: 12px;
  color: var(--secondary-color);
  text-align: center;
}

/* News Title */
.single-news-title {
  text-align: center;

  margin-bottom: 5px;
}

.single-news-title a {
  text-decoration: none;
  color: var(--background-color) !important;
  font-size: 40px;
  font-weight: 700;
}
.single-news-title a:hover {
  color: var(--hover-color); /* Change color on hover */
  transition: color 0.1s ease; /* Smooth transition for color change */
}

.single-featured-image-recent-post {
  width: 100%;
  height: 500px; /* Keep the height consistent if this is intentional */
  position: relative;
  overflow: hidden; /* Ensure the image respects the border-radius */
  border-radius: 2%; /* Apply rounded corners */
}

.single-featured-image-recent-post img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.single-featured-image-recent-post img:hover {
  transform: scale(1.04); /* Slight zoom effect on hover */
}

@media (max-width: 768px) {
  .single-featured-image-recent-post {
    height: auto !important;
    width: auto !important;
  }

  .single-featured-image-recent-post img {
    height: auto !important;
    width: 100% !important; /* Ensure it fills the container's width */
    object-fit: contain; /* Or use 'scale-down' based on preference */
    display: block;
    transition: transform 0.4s ease-in-out;
  }
}

/* Style for the post content */
.single-post-content {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Add margin to paragraphs for spacing */
.single-post-content p {
  font-size: 18px !important;
  margin-bottom: 0.8rem; /* Adjust the spacing between paragraphs */
}

/* Optional: Style for other elements like images, lists, etc. */
.single-post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 1rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .single-featured-image-recent-post {
    height: 350px;
    width: 100%;
  }
  .single-featured-image-recent-post img {
    height: 100%;
    width: 100%;
  }
}

..related-post-item {
  transition: background-color 0.3s ease, color 0.3s ease; /* smooth transition */
}
.related-post-item:hover {
  background-color: #554f91; /* subtle hover effect */
  color: #ffffff !important; /* text color white */
}

.related-post-item:hover:hover a {
  color: #ffffff !important;
}

.related-news:hover {
  color: var(--text-hover);
}

.related-news {
  border: 4px solid #fff;
  margin-bottom: 10px;
  text-align: center; /* Centers the text */
  font-weight: bold; /* Sets a bold font weight for better emphasis */
  font-size: 24px;
  color: white;
  background-color: var(--background-color2);
}
.related-posts-fixed {
  position: sticky;
  top: 40px; /* Adjust this value based on the header height */
  right: 20px; /* Distance from the right edge of the screen */
  width: 100%; /* Adjust the width of the related posts container */
  max-height: auto; /* Extended by 10px */
  overflow-y: hidden;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a slight shadow for better visibility */
  /* z-index: 1000; */
  margin-bottom: 5px;
  background-color: none;
  margin-top: 10px; /* You can adjust this as well if you want more space from the top */
}

.related-posts-fixed a {
  text-decoration: none;
  color: var(--background-color) !important;
  font-weight: bold;
}
/* related-post */
/* Ensuring consistent size for the related post item */
.related-post-item {
  display: flex;
  gap: 15px; /* Space between the image and the title */

  align-items: flex-start; /* Align the image to the top of the title */

  gap: 6px; /* Space between thumbnail and title */
  padding: 4px;
  background-color: #f9f9f9; /* optional background */

  transition: background-color 0.3s ease;
}

.related-post-image {
  width: 120px; /* Fixed width for the image */
  height: auto; /* Fixed height for the image */
  overflow: hidden; /* Hide any overflowed parts of the image */
  flex-shrink: 0; /* Prevent shrinking of the image */
}

.related-post-image img {
  width: 100%; /* Ensure image takes up the full width of the container */
  height: 100%; /* Ensure image fills the container's height */
  object-fit: cover; /* Ensures the image covers the container without distortion */
}

.related-post-image img:hover {
  transform: scale(1.05); /* subtle zoom on hover */
}

.related-post-title {
  font-size: 16px; /* Set a consistent font size for the title */
  line-height: 1.5; /* Controls the spacing between lines in the title */
  text-overflow: ellipsis; /* Truncates the text if it's too long */
  overflow: hidden; /* Hides the overflowing title text */
  max-width: calc(100% - 120px); /* Ensures title fits next to the image */
  word-wrap: break-word; /* Allows the title to wrap to the next line if needed */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; /* Adjust the number of lines as needed */
  line-clamp: 5; /* Fallback for modern browsers */
  height: auto; /* Allow height to adjust based on the number of lines */
}

.related-post-item a {
  display: block;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600; /* Optional: makes the title bold */
}
.related-post-item a:hover {
  color: var(--hover-color); /* Change color on hover */
  transition: color 0.1s ease; /* Smooth transition for color change */
}

/*  .related-post-title {
  font-weight: 400; /* normal weight */

/*   font-size: mediun; */

/* max-height: calc(var(--line-height) * 2); Optional for better spacing */

.hr-dark {
  height: 0.5px;
  background-color: #504d4d;
  margin: 9px 0;
}

/* category interview */
.interview-title {
  text-align: center;
}

.interview-title a:hover {
  color: var(--hover-color); /* Change color on hover */
  transition: color 0.1s ease; /* Smooth transition for color change */
}
.interview-title a {
  text-decoration: none;
  color: var(--background-color) !important;
  font-size: 40px !important;
  font-weight: 700;
}

.interview-featured-top {
  color: #4e3f3f;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-top: 20px;
  border-radius: 10px;
}

.interview-featured-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 10px;
}

.interview-featured-image img {
  background-color: transparent;
  width: auto;
  height: 300px;
}

.interview-excerpt {
  background-color: var(--background-color2);
  color: whitesmoke;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
  font-size: 18px;
}

.interview-reporter-name {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background-color2);
  margin-top: 20px;
  margin-bottom: 10px;
  font-style: oblique;
  text-decoration: none; /* Remove the previous underline */
  border-bottom: 2px solid var(--background-color2); /* Add the custom underline */
}

/* Style for centering and resizing the featured image */
.custom-featured-image {
  width: 600px; /* Adjust this width to the desired size */
  margin: 0 auto; /* Center the image horizontally */
  display: block; /* Ensure the image behaves as a block-level element */
}

/* Style to set the width and center the content */
.interview-post-content {
  width: 800px; /* Set the width to 800px */
  margin: 0 auto; /* Center the content horizontally */
  padding: 20px; /* Optional: Add padding to give some space around the content */
}

/* <hr style="border: none; border-top: 1px solid #ddd; margin: 10px 0;"> */
/* Media query for small screens */
@media (max-width: 768px) {
  .interview-featured-top {
    flex-direction: column; /* Stack elements vertically on small screens */
    align-items: center; /* Center the content horizontally */
    width: 100%; /* Ensure the parent takes full width */
  }

  .interview-featured-image {
    flex: 1 1 100%; /* Ensure it takes full width on small screens */
    display: flex; /* Ensure it's a flex container for alignment */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    width: 100%; /* Make sure the container takes full width */
  }

  .interview-featured-image img {
    width: 100%; /* Make the image take full width of the container */
    height: auto; /* Maintain the aspect ratio */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
  }

  .interview-excerpt {
    width: 100%; /* Ensure it takes full width on small screens */
    display: flex; /* Use flex for centering content */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    text-align: center; /* Align text to center */
  }
}

/* Our Team Button */
.ourteam-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1b072c; /* Button background */
  color: #f4f4f4 !important; /* Text color */
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px; /* Rounded corners */
  text-decoration: none; /* Remove underline */
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Hover */
.ourteam-btn:hover {
  background-color: #3f3ff5;

  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(102, 43, 168, 0.3);
  font-weight: 600;
}

/* Active click effect */
.ourteam-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(66, 25, 133, 0.2);
}

@media screen and (max-width: 576px) {
  .related-post-title a {
    font-size: 18px; /* Set a consistent font size for the title */
  }
  .interview-title a {
    text-align: center;

    font-size: 32px !important;
  }
}

/* Responsive size */
@media (max-width: 768px) {
  .ourteam-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

.our-team-container {
  text-align: center;
  margin: 20px auto;
}

.our-team-container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 10px;
}

.team-member-photo img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member h3 {
  font-size: 1.2em;
  margin: 10px 0;
}

.team-member p {
  color: #666;
  font-size: 1em;
}

/* General Footer Styles */
footer {
  width: 100%;
  color: #f4f4f4;
  margin: 0;
  padding: 0;
}

/* Footer Top */
.footer-top {
  background-color: var(--background-color); /* your color */
  padding: 30px 0;
}

/* Footer Bottom */
.footer-bottom {
  background-color: var(--background-color2); /* footer bottom color */
  text-align: center;
  padding: 20px 0;
}

/* Links in footer */
#footer a {
  color: white;
  text-decoration: none !important;
  transition: color 0.3s;
}

#footer a:hover {
  color: black !important;
}

/* Footer content alignment */
.footer-bottom .ad-our-team,
.footer-bottom .ad,
.footer-bottom .copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row; /* horizontal layout */
  gap: 10px; /* spacing between items */
  margin-bottom: 10px;
}

/* Social Icons */
.social-icons {
  list-style: none; /* remove bullets */
  padding: 0;
  margin: 0;
  display: flex; /* horizontal layout */
  gap: 10px; /* space between icons */
  align-items: center;
}

.social-icons li {
  margin: 0;
}

.social-icons a {
  color: white;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #222;
  background-color: #f4f4f4;
}

/* HR line */
.footer-bottom hr.footer-hr {
  border: 1px solid #ffffff;
  height: 0;
  margin: 15px 0;
  width: 100%; /* takes full container width */
}

/* Flex inside columns (Bootstrap rows) */
.footer-bottom .row > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap; /* stack items on small screens */
}
