:root {
  --primary-color: #2e3a59;
  --secondary-color: #897122;
  --text-light: #ffffff;
  --text-dark: #2c2c2c;
  --bg-color: #fdfdfd;
  --link-hover: #bfa14d;
  --bs-dark: #1f2a40;
  --bs-light: #f8f9fa;
  --bs-gold: #c9a33b;
  --bs-gold-dark: #b3952e;
  --accent-color: #e3c76e;
  --hover-bg: #f0f4f8;
  --gray-dark: #3e3e3e;
  --white: #FFF;
    --gray: #F3F3F3;
    --gray-mid: #9D9D9D;
}

.main.content{
  min-height: 80vh;
}
.navbar-toggler {
    border-color: rgba(255,255,255,0.7); /* makes border white-ish */
}

/* Desktop styles (desktops and large laptops) */
@media (min-width: 1024px) {
  .ads-top img {
    width: 728px;
    height: 90px;
  }
  .ads-right img {
    width: 160px;
    height: 600px;
  }
  .ads-bottom img {
    width: 728px;
    height: 90px;
  }
}

/* Tablet styles (medium screens) */
@media (min-width: 768px) and (max-width: 1023px) {
  .ads-topi img {
    width: 728px;
    height: 90px;
  }
  .ads-right img {
    width: 300px;
    height: 250px;
  }
  .ads-bottom img {
    width: 468px;
    height: 60px;
  }
}

/* Mobile styles (small screens) */
@media (max-width: 767px) {
  .ads-top img{
    width: 320px;
    height: 50px;
  }
  .ads-right {
    display: none; /* Hide sidebar banner on mobile */
  }
  .ads-bottom img {
    width: 320px;
    height: 50px;
  }
}


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.h-85vh {
  height: 85vh;
}

.img-back-pos{
  object-fit: contain;
  object-position: center;
  background-color: rgba(128, 128, 128, 0.7);
}
.img-back-pos:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.post-featured-img-container {
    aspect-ratio: 350 / 197;
    width: 100%;
    max-width: 700px;  
    margin: 0 auto;  
    overflow: hidden;
}

.lead{
  color: #666f76 !important;
}

.post-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.postbody-container{
    min-height: 200px;
}
.postbody-container a{
    color: #897122;
    background-color: #fdfdfd;
    text-decoration: underline;
}

.postbody-container table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  display: block;
  overflow: auto !important;
}

.postbody-container table thead {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.postbody-container table th, .postbody-container table td {
  padding: 16px 24px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.postbody-container table tbody tr {
  background: #fafafa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  transition: background-color 0.25s ease;
}

.postbody-container table tbody tr:hover {
  background-color: #e6f0ff;
}

.postbody-container table a {
  color: #2a5db0;
  font-weight: 600;
  text-decoration: none;
}

.postbody-container table a:hover {
  text-decoration: underline;
}

/* Responsive: on small screens, keep table but allow horizontal scroll and smaller padding */
@media (max-width: 768px) {
  .postbody-container table {
    font-size: 14px;
    border-spacing: 0 6px;
    padding-bottom: 10px;
  }
  .postbody-container table th, .postbody-container table td {
    padding: 10px 12px;
  }
  /* Enable horizontal scrolling */
  .postbody-container table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  scroll-behavior: smooth;
}

a {
  color: var(--secondary-color);
  transition: 0.2s ease-in-out;
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

.navbar {
  background-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.navbar-brand,
.nav-link {
  color: var(--text-light) !important;
}
.secondary-nav {
      display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: end;
}
.secondary-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
}
/* Hide overflow */
    #secondary-nav {
        white-space: nowrap;
    }

    /* Ticker animation wrapper */
    .ticker-wrapper {
        display: inline-block;
        animation: ticker 20s linear infinite;
    }

    /* Keyframes for continuous left scroll */
    @keyframes ticker {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }
    
.nav-link.active {
  font-weight: bold;
  border-bottom: 2px solid var(--secondary-color);
}

.btn-primary {
  background-color: var(--secondary-color);
  border: none;
  color: var(--text-light);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}
.btn-primary:hover {
  background-color: var(--bs-gold-dark);
}

footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
}
footer a{
    color: #c6a22c;
    background-color: #2e3a59;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  border-left: 5px solid var(--accent-color);
  padding-left: 15px;
  font-weight: 600;
  animation: slideInLeft 0.6s ease-out;
  color: var(--primary-color);
}

.text-gold { color: var(--bs-gold); }

.btn-outline-gold {
  background: transparent;
  border: 2px solid #8d6a00;
  color: #8d6a00 ;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}
.btn-outline-gold:hover {
  background: #ffc107;
  color: #000;
  box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3);
}

.card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.card:hover {
  transform: translateY(-5px);
  background-color: var(--hover-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.btn-gold {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(227, 199, 110, 0.3);
}
.btn-gold:hover {
  background-color: #d2b55b;
}

.btn-outline-gold-blue-bg{
  background: transparent;
    border: 2px solid #ba8b00 ;
    color: #ba8b00 ;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(to right, #101d33, #1c2f4a);
}

section.trending {
  background-color: var(--bs-dark);
}
section.trending h6{
  color: #826b20 !important;
}
.trending img {
  transition: transform 0.3s ease;
}
.trending a:hover img {
  transform: scale(1.03);
}

.card-body .title {
  color: var(--bs-gold);
  font-weight: 600;
}

.hero-section {
  background: linear-gradient(135deg, #0a1a2f, #101d33, #142447);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.btn-gradient {
  background: linear-gradient(to right, #ffc107, #ff8c00);
  color: #000;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
  transition: all 0.3s ease-in-out;
}
.btn-gradient:hover {
  background: linear-gradient(to right, #ff8c00, #ffc107);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 193, 7, 0.4);
}

.btn-secondary-gradient {
  background: linear-gradient(to right, #101d33, #1c2f4a);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0 6px 12px rgba(10, 26, 47, 0.3);
  transition: all 0.3s ease-in-out;
}
.btn-secondary-gradient:hover {
  background: linear-gradient(to right, #1c2f4a, #101d33);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 26, 47, 0.4);
}

.category-card {
  height: 180px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.category-card:hover { transform: scale(1.05); }

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 26, 47, 0.8), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.category-title {
  z-index: 2;
  background: linear-gradient(to right, #ffc107, #ff8c00);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.blog-container {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.2);
  font-family: "adelle-sans", sans-serif;
  font-weight: 100;
  border: 1px solid #b9b9b9;
}
.blog-container a {
  color: #4d4d4d;
  text-decoration: none;
  transition: .25s ease;
}
.blog-container a:hover {
  border-color: #4d4d4d;
  color: #4d4d4d;
}

.blog-cover {
  background-size: cover;
  border-radius: 5px 5px 0 0;
  height: 15rem;
  box-shadow: inset 0 64px 64px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.blog-body { padding: 1rem 1rem 0; }
.blog-title h2 { font-size: 1.5rem; }
.blog-title h2 a { color: #4d4d4d; font-weight: 100; }

.zoom-text {
  display: inline-block;
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}
.zoom-text:hover {
  transform: scale(1.1);
  letter-spacing: 1px;
}


.blog-container .btn-outline-gold {
  background: transparent;
  border: 2px solid #957000;
  color: #957000;
  padding: 5px 10px !important;
}
.blog-container .btn-outline-gold:hover {
  background: #ffc107;
  color: #fff;
  border: none;
}

.blog-summary p { color: #4d4d4d; }

.blog-tags ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}
.blog-tags li + li { margin-left: .5rem; }
.blog-tags li {
  border: 1px solid #4d4d4d;
  border-radius: 3px;
  color: #4d4d4d;
  font-size: .75rem;
  height: 1.5rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
  padding: 0 .5rem;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-footer {
  border-top: 1px solid #e6e6e6;
  margin: 0 auto;
  padding-bottom: .125rem;
}
.blog-footer ul {
  list-style: none;
  display: flex;
  padding-left: 0;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0;
}

.header-righ-cards-content{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.postbody-container img{
    width: 600px;
    display: block;
    margin: 0 auto;
    height: auto;
}

/* Tabs*/
  section#tabs {
    padding: 60px 0;
  }

  #tabs {
    background: #007b5e;
    color: #eee;
  }

  #tabs h6.section-title {
    color: #eee;
  }

  #tabs .nav-tabs .nav-item.show .nav-link,
  .nav-tabs .nav-link.active {
    color: #f3f3f3;
    background-color: transparent;
    border-color: transparent transparent #f3f3f3;
    border-bottom: 4px solid !important;
    font-size: 20px;
    font-weight: bold;
  }

  #tabs .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #eee;
    font-size: 20px;
  }

  .nav-tabs {
    white-space: nowrap;
  }

  .nav-tabs .nav-link {
    padding: 0.5rem 1rem;
  }

@media (max-width: 768px) {
  .header-righ-cards {
    flex-flow: column;
    width: 100%;
    height: unset !important;
  }
  .header-righ-cards .featured-img-container {
    width: 100% !important;
  }

  .postbody-container img{
      width: 100%;
  }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
