@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

:root {
  --dark: #161a1d;
  --light-dark: #2e3c54;
  --green: #5cb338;
  --brand: #ffecc8;
}

body {
  font-family: "Nunito Sans", sans-serif !important;
  background-color: #fffbef;
  color: var(--dark);
  line-height: 1.1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.image_container {
  margin: 20px 0px 15px 0px;
  text-align: center;
}

.image {
  width: 500px;
  border-radius: 10px;
  align-items: center;
}

/* Container spacing */
.section_wrapper {
  padding: 10px 0px 10px 0px;
  color: #1f1f1f;
}

/* Heading 1 - Main Title */
h1 {
  font-size: 39px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-top: 30px;
}

/* Heading 2 - Section Titles */
.section_wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  border-left: 4px solid var(--light-dark);
  padding-left: 12px;
}

.section_wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.section_wrapper h3 strong span {
  font-weight: 700 !important;
}

.section_wrapper h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

/* Paragraphs */
.section_wrapper p {
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  color: var(--light-dark) !important;
  line-height: 1.5 !important;
}

.section_wrapper p span {
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  color: var(--light-dark) !important;
  line-height: 1.5 !important;
}

/* Unordered List Styling */
.section_wrapper ul {
  margin: 0 0 20px 20px;
  padding: 0;
  list-style: disc;
}

/* List Items */
.section_wrapper li {
  margin-bottom: 10px;
  font-size: 18px !important;
}

.section_wrapper ul li span {
  font-size: 18px;
  font-family: "Nunito Sans", sans-serif !important;
}

/* Strong elements */
.section_wrapper strong {
  font-weight: 800;
}

/* Links */
.section_wrapper a {
  color: #0077cc;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.section_wrapper a:hover {
  color: #005799;
  text-decoration: none;
}

/* Tables */
.section_wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
  color: #e0e0e0;
  background-color: var(--dark);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid white;
}

/* Table Header */
.section_wrapper thead th {
  background-color: #014b27;
  color: #ffffff;
  padding: 14px 16px;
  text-align: left;
}

.section_wrapper thead tr td p {
  background-color: #014b27;
  color: #ffffff !important;
  padding: 14px 16px;
  text-align: left;
  margin: 0px !important;
}

.section_wrapper thead tr td p strong {
  color: white;
}

/* Table Body */
.section_wrapper tbody td {
  padding: 14px 16px;
  border: 1px solid white;
}

.section_wrapper tbody tr td p {
  font-size: 16px;
  color: white !important;
  margin: 0px !important;
  font-weight: 400;
}

.section_wrapper tbody tr td p strong {
  color: white;
}

/* Row Striping */
.section_wrapper tbody tr:nth-child(even) {
  background-color: black;
}
.section_wrapper tbody tr:hover {
  background-color: #014b27;
}

/* Date and Fact Checking CSS */
.date_fact_checking_container {
  color: var(--light-dark);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 15px 0px;
  padding: 0px 0px 15px 0px;
  border-bottom: 1px solid var(--dark);
}

.fact_checking {
  position: relative;
}

.fact_checking p {
  font-size: 16px !important;
  margin-bottom: 0px !important;
  line-height: 1.2 !important;
  cursor: pointer;
}

.fact_checking i {
  color: var(--green);
  margin-right: 5px;
}

.fact {
  background-color: white;
  width: 250px;
  top: 25px;
  right: -65px;
  position: absolute;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  display: none;
  z-index: 998;
}

.affiliate_disclosure {
  background: #f6f7f9;
  border: 1px solid #e3e6ea;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0 16px;
  text-align: center;
}

.affiliate_disclosure p {
  margin-bottom: 0px !important;
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--light-dark) !important;
  line-height: 1.5 !important;
}

.affiliate_disclosure p strong {
  color: #cd2c58 !important;
  font-weight: 800;
}

.toc_wrapper {
  background: #f9fafc;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toc_toggle {
  color: var(--dark);
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.toc_list.collapsed {
  display: none;
}

.toc_list {
  list-style: none;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 10px;
  transition: max-height 0.3s ease;
  margin-top: 20px !important;
}

.toc_list li {
  background: #f1f1f1;
  padding: 10px;
  border-radius: 10px;
  list-style: none;
}

.toc_list a {
  color: #1554b0;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.blog-section-header {
  text-align: center;
  margin-bottom: 35px;
}

.blog-section-header p {
  font-size: 1.1rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Card */
.blog-card {
  background: linear-gradient(145deg, #1a1f2e 0%, #151922 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-date {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 500;
}

.blog-card-content {
  padding: 25px;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: #f59e0b;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #a0aec0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.blog-card-link:hover {
  gap: 12px;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-pagination a {
  background: #1a1f2e;
  color: #a0aec0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-pagination a:hover {
  background: #f59e0b;
  color: #000000;
  border-color: #f59e0b;
}

.blog-pagination span.current {
  background: #f59e0b;
  color: #000000;
}

.blog-pagination span.dots {
  background: transparent;
  color: #a0aec0;
}

/* No Posts */
.no-posts {
  text-align: center;
  padding: 60px 20px;
  color: #a0aec0;
}

.no-posts h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

/* Blog Header */
.blog-header {
  margin-bottom: 40px;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #a0aec0;
  margin-bottom: 25px;
}

.blog-breadcrumb a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
  color: #f59e0b;
}

.blog-breadcrumb span {
  color: #4a5568;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #a0aec0;
  font-size: 0.9rem;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Share Section */
.blog-share {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-share-label {
  color: #a0aec0;
  font-size: 0.95rem;
  font-weight: 500;
}

.blog-share-links {
  display: flex;
  gap: 10px;
}

.blog-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1a1f2e;
  color: #a0aec0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-share-link:hover {
  background: #f59e0b;
  color: #000000;
}

.blog-share-link svg {
  width: 18px;
  height: 18px;
}

/* Related Posts */
.related-posts {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 992px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Related Post Card (Compact) */
.related-card {
  background: linear-gradient(145deg, #1a1f2e 0%, #151922 100%);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.related-card-image {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover .related-card-image img {
  transform: scale(1.08);
}

.related-card-content {
  padding: 18px;
}

.related-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.related-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-card-title a:hover {
  color: #f59e0b;
}

.related-card-date {
  font-size: 0.8rem;
  color: #a0aec0;
}

@media screen and (max-width: 1290px) {
  .container_mobile {
    padding: 0px 15px;
  }

  .section_wrapper {
    padding: 0px;
  }

  .section_wrapper table {
    display: block;
    overflow-x: auto;
  }
}

@media screen and (max-width: 768px) {
  .image {
    width: 100%;
  }

  .date_fact_checking_container {
    flex-direction: column;
    gap: 10px;
  }

  h1 {
    font-size: 29px;
    margin-top: 15px;
  }

  .section_wrapper h2 {
    font-size: 22px;
  }

  .toc_wrapper {
    margin: 15px 0;
    padding: 15px;
  }

  .toc_list {
    grid-template-columns: 1fr;
  }

  .section_wrapper h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
}
