.contact-form-133479 {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06) !important;;
    border-radius: 8px; /* Optional: Adds rounded corners */
    padding: 20px; /* Optional: Adds spacing inside the form */
    background-color: #ffffff; /* Optional: Sets a background color */
    transition: box-shadow 0.3s ease-in-out; /* Adds a smooth hover effect */
}

/* Optional: Add hover effect for elevation */
.contact-form-133479:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1) !important;;
}

.container .footer-newsletter-section .blossomthemes-email-newsletter-wrapper {
    background: rgba(0, 0, 0, 1); /* Semi-transparent black */
}

/* Basic styling for the dropdown container */
.nav-menu {
  position: relative;
  display: inline-block;
}

/* Style for the dropdown button */
.nav-menu li {
  position: relative;
}

/* Dropdown content (hidden by default) */
.nav-menu ul.sub-menu {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.nav-menu ul.sub-menu li a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.nav-menu ul.sub-menu li a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.nav-menu li:hover > ul.sub-menu {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.nav-menu li:hover > a {
  background-color: #000000;
  color: white;
}

/*Monthly Recap Styling */

.monthly-recap-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.monthly-recap-box .monthly-recap-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.monthly-recap-box .monthly-recap-heading a {
  color: #000 !important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.monthly-recap-box .monthly-recap-heading a:hover {
  color: #b30000 !important;
  border-color: #b30000;
}


.monthly-recap-box .wp-block-latest-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.monthly-recap-box .wp-block-latest-posts__list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.monthly-recap-box .wp-block-latest-posts__list li:last-child {
  border-bottom: none;
}

.monthly-recap-box .wp-block-latest-posts__list img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.monthly-recap-box .wp-block-latest-posts__list a {
  color: #000 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}


.monthly-recap-box .wp-block-latest-posts__list a:hover {
  color: #b30000 !important;
  text-decoration: none;
}

/*Monthly Recap Styling  title for posts*/

.monthly-recap-box .wp-block-latest-posts__list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.monthly-recap-box .wp-block-latest-posts__list a {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 4.2em; /* 1.4em x 3 lines */
  color: #b30000;
  font-weight: 600;
  text-decoration: none;
}


/* showing the opinion and monthly recap only on the home */

body:not(.home) .monthly-recap-box {
  display: none !important;
}


/* Related News Styling */

.related-news-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.related-news-box .related-news-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
	text-decoration: underline;
}

.related-news-box .related-news-heading a {
  color: #000 !important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}



/* List wrapper */
.related-news-box .wp-block-latest-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each list item (flex layout) */
.related-news-box .wp-block-latest-posts__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.related-news-box .wp-block-latest-posts__list li:last-child {
  border-bottom: none;
}

/* Thumbnail */
.related-news-box .wp-block-latest-posts__list img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-news-box .related-thumb-wrapper {
  width: 75px;
  height: 75px;
  overflow: hidden;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-news-box .related-thumb-wrapper img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}


/* Title link */
.related-news-box .wp-block-latest-posts__list a {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* limit to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: 4.2em;
  color: #000 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-news-box .wp-block-latest-posts__list a:hover {
  color: #b30000 !important;
}

.related-news-box .related-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}



/* Trending News Styling - like Related News but numbered and no image */
.trending-news-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.trending-news-box .trending-news-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000 !important;
	text-decoration: underline;
}

/* Force heading to black even if set inline or in block editor */
.trending-news-box .trending-news-heading,
.trending-news-box .trending-news-heading * {
  color: #000 !important;
}


.trending-news-box .trending-news-heading a {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.trending-news-box .trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trending-news-box .trending-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.trending-news-box .trending-item:last-child {
  border-bottom: none;
}

.trending-news-box .trend-rank {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  min-width: 20px;
  line-height: 1.4;
  flex-shrink: 0;
}

.trending-news-box .wp-block-latest-posts__post-title {
  font-size: 15px;
  font-weight: 600;
  color: #000 !important; /* Black title */
  text-decoration: none;
  line-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.2em;
  transition: color 0.3s ease;
  margin: 0;
}

.trending-news-box .wp-block-latest-posts__post-title:hover {
  color: #b30000 !important; /* Red on hover */
}







/* Making Related news and Trending News Visible only on posts */

body:not(.single-post) .related-news-box,
body:not(.single-post) .trending-news-box {
  display: none !important;
}



/* Handling the Sign at top right */

.signin-top-link {
  color: #fff;
  margin-right: 15px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.signin-top-link i {
  margin-right: 6px;
  font-size: 14px;
}

.signin-top-link:hover {
  color: #ff3c3c;
}


/* Handling the Signined User right */

.user-dropdown {
  position: relative;
  display: inline-block;
  z-index: 999;
}

.user-name {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 10px 0;
  z-index: 9999;
}

.user-dropdown.open .user-dropdown-menu {
  display: block;
}

.user-dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid #eee;
}

.user-dropdown-menu li:last-child {
  border-bottom: none;
}

.user-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #222 !important;   /* ✅ Visible dark text */
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.user-dropdown-menu li a:hover {
  background-color: #f5f5f5;
  color: #000 !important;
}

.user-dropdown-menu i {
  color: #666;
  min-width: 18px;
  font-size: 15px;
}

/* ✅ What This below Fixes:
👤 Removes .author text (like “Monalisha Sethi”)

🕒 Removes .posts-date (like “Apr 12, 2025”)

📦 Entire .item-metadata block hidden

✅ Only on blog/home/archive views
✅ Still shows on single post if needed */

body.blog .item-metadata,
body.blog .author,
body.blog .posts-date,
body.home .item-metadata,
body.home .author,
body.home .posts-date,
body.archive .item-metadata,
body.archive .author,
body.archive .posts-date {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ✅ Hide red category labels on post thumbnails in Grand News Theme */
body.home .post-widget-categories,
body.archive .post-widget-categories,
body.blog .post-widget-categories {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Top Stories Grid */
.top-stories-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
}

/* Main Post */
.top-news-main {
  margin-bottom: 20px;
}
.main-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}
.main-thumb-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  transition: transform 0.5s ease;
}
.main-thumb-img:hover {
  transform: scale(1.10);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.main-title {
  font-size: 23px;
  margin-top: 15px;
  font-weight: bold;
  line-height: 1.3;
}

/* Side Columns */
.top-news-side-wrap {
  display: flex;
  gap: 35px;
}
.side-col {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.top-news-side-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.top-thumb-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.top-thumb-img {
  flex-shrink: 0;
  width: 150px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.top-thumb-img:hover {
  transform: scale(1.10);
	 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.side-title-text {
  font-size: .95rem;
  margin: 0;
  line-height: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .top-stories-grid {
    display: block;
  }
  .top-news-side-wrap {
    flex-direction: column;
    gap: 20px;
  }
  .side-col {
    flex-direction: column;
    gap: 15px;
  }
  .top-thumb-img {
    width: 120px;
    height: 70px;
  }
  .main-title {
    font-size: 1.2rem;
  }
	.side-title-text {
		font-size: 0.95rem;
		line-height: 1.3rem;
		display: -webkit-box;
  -webkit-line-clamp: 4;
	}
}

/* hover effect on other images */

@media (hover: hover) and (min-width: 769px) {
  body.home .wp-post-image,
  body.home .entry-thumbnail img,
  body.home .post-thumbnail img {
    transition: transform 0.5s ease;
    border-radius: 10px;
  }

  body.home a:hover .wp-post-image,
  body.home a:hover .entry-thumbnail img,
  body.home a:hover .post-thumbnail img {
    transform: scale(1.10);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}


