@font-face {
    font-family: 'bodoni';
    src: url('fonts/Bodoni72.ttc');
}

@font-face {
    font-family: 'inter';
    src: url('fonts/Inter_18pt-Regular.ttf');
}

@font-face {
  font-family: 'helvetica';
  src: url('fonts/Helvetica_2.ttf');
}

body {
    font-family: 'inter' !important;
    /* font-size: 1rem; */
}

.head_font {
    font-family: 'bodoni';
    /* font-weight: 600 !important; */
    letter-spacing: 1px !important;
    /* font-size: 3rem !important; */
}

:root {
  --bg: #fff;
  --text: #111;
  /* --muted: #6b7280; */
  --muted: #000;
  --brand: #111;
  /* --accent: #0ea5e9; */
  --accent: #000000;
  --accent-dark: #0284c7;
  --border: #e5e7eb;
  /* --dark: #0b0f19; */
  --dark: #000000;
  --light-bg: #f8fafc;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 0px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

/* html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
} */

img {
  display: block;
  width: 100%;
  height: auto;
  padding: 4px !important;
  /* border-radius: var(--radius); */
}

.container {
  max-width: 90%;
  margin: 0 auto;
  /*padding: 10px 16px;*/
  /*padding: 6px;*/
}

.site-header {
  background: #fff;
  padding: 5px 0 0;
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky; 
  position: sticky;
  top: -2px;
  z-index: 9999;
  /*box-shadow: var(--shadow); */
}


.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding-bottom: 5px; */
}

.site-branding .custom-logo {
  height: 50px;
  width: auto;
  max-width: 100%;
}

.site-branding .site-title a {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 1px;
}

.side-item .side-content h4 a {
    color: var(--text); 
    text-decoration: none; 
    font-weight: 600; 
    transition: var(--transition); 
}

.side-item .side-content h4 a:visited {
    color: var(--text); 
}

.side-item .side-content h4 a:hover {
    color: var(--accent);
}

.header-bottom {
  display: flex;
  /*justify-content: space-between;*/
  justify-content: center;
  align-items: center;
  /* border-top: 1px solid var(--border); */
  position: relative;
}

.header-social .social-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.header-social .social-menu a {
  color: var(--text);
  font-size: 16px;
  /* For real icons, use Font Awesome classes in the menu dashboard */
}

.main-navigation .primary-menu {
  list-style: none;
  padding: 2px;
  margin: 0;
  display: flex;
  /*gap: 11px;*/
  gap: 20px;
  
}

.main-navigation .primary-menu a {
  display: block;
  padding: 10px 0;
  color: var(--accent-);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
}

.main-navigation .primary-menu .current-menu-item>a {
  /*color: var(--dark);*/
  /* background-color: #000;
  color: #fff !important; */
  border-bottom: 3px solid black;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-actions .search-form {
  position: relative;
}

.header-actions .search-field {
  border: 1px solid var(--border);
  border-radius: 99px;
  /* Pill shape */
  padding: 8px 15px;
  width: 150px;
}

.subscribe-button {
  background: #c72929;
  /* Red color from example */
  color: #fff;
  padding: 8px 18px;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.subscribe-button:hover {
  background: #a92323;
}

.mobile-menu-toggle {
  display: none;
}

/*============= Changed here =====================*/
.header-bottom {
    flex-wrap: nowrap !important;
}

.main-navigation .primary-menu {
    white-space: nowrap !important;
}

@media (min-width: 1025px) and (max-width: 1300px) {

    .main-navigation .primary-menu {
        gap: 12px !important;
    }

    .main-navigation .primary-menu a {
        font-size: 0.72rem !important;
        padding: 8px 0 !important;
    }
}
/*============= Changed here =====================*/

/* ----------------------------
   iPAD / TABLET HEADER FIX
   769px–1024px
----------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {

    .site-header {
        position: sticky;
        top: -35px;
        background: #fff;
        padding: 33px 0;
        z-index: 9999 !important;
    }


    .site-branding {
        position: absolute !important;
        left: 20px !important;
        top: 20px !important;
        z-index: 10001 !important;
    }


    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        right: 20px;
        top: -15px;
        z-index: 10002 !important;
    }

  
    .main-navigation {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        /*padding-top: 120px;*/
        padding: 80px 0px 40px 0px;
        display: none;
        z-index: 10000 !important;
    }

    .main-navigation.mobile-open {
        display: block !important;
    }

 
    .main-navigation .primary-menu li a {
        display: block;
        padding: 18px 30px;
        font-size: 20px;
        color: #000;
    }
    
/*    .container {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 12px 16px !important;*/
/*}*/
}

/*@media (max-width: 992px) {*/
@media (max-width: 1126px) {
  .header-bottom {
    justify-content: center;
  }
  
  .main-navigation .primary-menu a {
  display: block;
  padding: 10px 0;
  color: var(--accent-);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  position: relative;
}

  .header-social,
  .header-actions {
    display: none;
    /* Hide side elements on tablets */
  }
}

@media (max-width: 768px) {
  .header-bottom {
    justify-content: flex-end;
    /* Push hamburger to the right */
    padding: 10px 0;
  }

  .main-navigation {
    /* This is the slide-out menu panel */
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .main-navigation.active {
    display: block;
    /* Show the panel when active */
  }

  .main-navigation .primary-menu {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 0;
  }
}

.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin: 32px auto 64px;
}

.hero-card {
  /* position: relative; <= This is no longer needed */
  border-radius: var(--radius);
  overflow: hidden;
    /* box-shadow: var(--shadow); */
  border: 1px solid var(--border);
  /* Added a border for better definition */
  background: #fff;
  /* Added a background for the content area */
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-card .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  z-index: 2;
}

.hero-content {
  position: static;
  padding: 24px;
  color: var(--text);
}

.hero-card h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 700;
}

.hero-card h1 a {
  color: var(--text);
  text-decoration: none;
}

.hero-card .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.hero-card .excerpt {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 16px;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

/*.readmore {*/
/*  display: inline-flex;*/
/*  align-items: center;*/
/*  gap: 6px;*/
/*  color: var(--accent);*/
/*  text-decoration: none;*/
/*  font-weight: 600;*/
/*  transition: var(--transition);*/
/*}*/

/*.readmore:hover {*/
/*  gap: 10px;*/
/*}*/

.readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;        
  color: #000 !important;    
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;        
  transition: all 0.3s ease;
  border: 1px solid #000;
}
.readmore svg,
.readmore i {
  font-size: 16px;
  transition: 0.3s ease;
}
.readmore:hover {
  color: #fff !important;

  background: var(--dark);  
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.readmore:hover svg,
.readmore:hover i {
  transform: translateX(4px);
  color: #fff !important;
}

.readmore:visited,
.readmore:active {
  text-decoration: none !important;
}

.readmore:hover {
  gap: 10px;
}


.social-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-share span {
  font-size: 14px;
  color: var(--muted);
}

.social-share a {
  color: var(--muted);
  transition: var(--transition);
}

.social-share a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.headlines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 16px;
}

.headlines a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  background: white;
}

.headlines a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
    /* box-shadow: var(--shadow); */
}

.headline-badge {
  background: var(--light-bg);
/*   color: var(--muted); */
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #000;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  /*transition: var(--transition);*/
  display: flex;
  flex-direction: column;
    /* box-shadow: var(--shadow); */
}

/*.card:hover {*/
/*  transform: translateY(-4px);*/
/*     box-shadow: var(--shadow); */
/*	border-color: #000;*/
/*}*/

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

/*.card-image img{*/
/*   width: 366px;*/
/*  height: 200px;*/
/*}*/

/* Shine Overlay */
.card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.6s;
}

.card-image:hover::before {
  left: 150%;
}

.card .tag {
  position: absolute;
  top: 14px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
/*   border-radius: 999px; */
  font-size: 10px;
  text-decoration: none;
  font-weight: 600;
  z-index: 2;
}

.card-content {
  padding: 9px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border: none;
}

/*.card-content h3 {*/
/*    line-height: 0.7 !important;*/
/*}*/

.card h3 a{
  font-size: 14px;
  font-weight: 600;
  /*margin: 8px 20px 6px;*/
  /*line-height: 1.3;*/
  color: #000 !important;
  text-decoration: none;
}

.card h4 {
  font-size: 16px;
  margin: 8px 0 4px;
  line-height: 1.3;
}

.card .meta {
/*   color: var(--muted); */
  font-size: 13px;
  margin-bottom: 8px;
}

.card p {
  color: #4b5563;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 10px;
}

.card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.card.wide .card-image {
  height: 100%;
}

.card.wide .card-image img {
  height: 100%;
  object-fit: cover;
}

.card.wide .card-content {
  padding: 24px;
  justify-content: center;
}

.card.dark {
  background: var(--dark);
  color: white;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.8);
}

.card.small {
  grid-column: span 1;
}

/* Latest News */
.latest {
  margin-top: 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.view-all:hover {
  gap: 10px;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mini {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
    /* box-shadow: var(--shadow); */
}

.mini:hover {
  transform: translateY(-4px);
    /* box-shadow: var(--shadow); */
}

.mini-image {
  overflow: hidden;
  width: 100%;
  height: 210px;
  /*border-radius: var(--radius);*/
}

.mini-image img{
  width: 100%;
  height: 210px;
    /*border-radius: var(--radius);*/

}

.mini-content {
  padding: 14px 16px;
}

.mini a {
    text-decoration: none !important;
}

.mini a:hover {
    text-decoration: none !important;
}

.mini h4{
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--dark);
  text-decoration: none;
}

.mini .meta {
  color: var(--dark);
  font-size: 13px;
}

.loadmore {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.loadmore button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.loadmore button:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* position: relative;
  z-index: 1; */
}

.sidebar-inner {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
}

.tabs {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.tab-headers {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab-headers button {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: var(--light-bg);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

.tab-headers button:hover {
  background: #e2e8f0;
}

.tab-headers button.active {
  background: #fff;
  border-bottom: 2px solid var(--accent);
}

.tab-content {
  padding: 6px;
}

.sidebar .tab-content {
  display: none;
}

.sidebar .tab-content.active {
  display: block;
}

.side-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.side-item:last-child {
  border-bottom: none;
}

.side-image {
  flex-shrink: 0;
}

.side-image img {
  width: 87px;
  height: 65px;
  object-fit: cover;
}

.side-content h4 {
  font-size: 12px;
  margin: 0 0 6px;
  line-height: 1.3;
}

.side-content .meta {
  color: var(--dark);
  font-size: 12px;
  margin-left: 5px;
}

.newsletter {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  text-align: center;
    /* box-shadow: var(--shadow); */
}

.newsletter-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 12px;
}

.newsletter h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.newsletter p {
  color: var(--dark);
  margin: 0 0 16px;
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter input {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.newsletter button {
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter button:hover {
  background: var(--accent-dark);
}

.markets {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
    /* box-shadow: var(--shadow); */
  margin-top: 20px;
}

.markets h3 {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.market-status {
  background: var(--success);
  color: white;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.markets ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.markets li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.markets li:hover {
  border-color: var(--accent);
}

.market-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.market-name {
  font-weight: 600;
  font-size: 14px;
}

.market-change {
  font-size: 12px;
  font-weight: 600;
}

.market-change.positive {
  color: var(--success);
}

.market-change.negative {
  color: var(--danger);
}

.markets strong {
  font-size: 16px;
}

.market-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.market-link:hover {
  gap: 10px;
}

.featured-author {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
    /* box-shadow: var(--shadow); */
  margin-top: 20px;
}

.author-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.author-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.author-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.author-bio {
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 16px;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.author-link:hover {
  gap: 10px;
}

/* =================== Footer Section Started ================================== */

.footer {
  background: #000;
  color: #cbd5e1;
  margin-top: 64px;

}

.footer .container {
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 15px;
    padding: 41px 66px;
}

.footer-categories-full {
  grid-column: 1;
}

.footer-categories-full .footer-list-cols {
  column-count: 2;
  column-gap: 24px;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin: 0 0 20px 0;
  font-size: 16px;
  font-weight: 600;
}

.footer-col h3 {
  font-size: 18px;
}

.footer-about .brand-name {
  margin-bottom: 12px;
}

.foot-head a
{
  text-decoration: none;
  color: #fff;
}

.footer-desc {
  margin: 0 0 20px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social a:hover {

  color: white;
  transform: translateY(-2px);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s ease;
  display: inline-block;
}

.footer-list a:hover {
  color: #fff;
}

.footer-list-cols {
  column-count: 1;
  column-gap: 20px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  margin-top: 2px;

  font-size: 14px;
}

.footer-contact a {
  word-break: break-word;
}
.footer-bottom {
  /* border-top: 1px solid #1f2937; */
  padding: 24px 0;
}

.copy {
  text-align: center;
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0;
  }
  
  .footer-categories-full {
    grid-column: 1 / -1;
  }
  
  .footer-categories-full .footer-list-cols {
    column-count: 3;
  }
  
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer {
    margin-top: 48px;
  }
  
  .footer .container {
    padding: 0 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  
  .footer-categories-full .footer-list-cols,
  .footer-list-cols {
    column-count: 1;
  }
  
  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 16px;
  }
  
  .footer-bottom {
    padding: 20px 0;
  }
  
  .copy {
    font-size: 13px;
  }
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-links ul,
.footer-tags ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links .cols {
  columns: 2;
  column-gap: 0x;
}

.footer-links li,
.footer-tags li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-tags a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
  font-size: 12px;
}

.footer-links a:hover,
.footer-tags a:hover {
  color: white;
}

.footer-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags .tags li {
  margin-bottom: 8px;
}

.footer-tags .tags a {
  border: 1px solid #334155;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
}

.footer-tags .tags a:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 14px;
}

.footer-contact i {
  width: 16px;
  color: #cbd5e1;
}

.copy {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #1f2937;
  font-size: 14px;
  color: #cbd5e1;
}
@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .card.wide {
    grid-template-columns: 1fr;
  }
}
/* ========================= Footer Section Ended ========================= */

@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .card.wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    height: 60px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    height: auto;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 99;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .search {
    width: 150px;
  }

  .hero-card h1 {
    font-size: 24px;
  }

  .hero-content {
    padding: 4px;
  }

  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links .cols {
    columns: 1;
  }
}

  .footer-links {
    text-align: left;   
    width: 100%;
  }

  .footer-links h4 {
    text-align: left;    
    margin-bottom: 12px;
  }

  .footer-links .cols {
    columns: unset !important;
    display: grid;
    grid-template-columns: repeat(2, 0.4fr);
    gap: 10px 0;
    padding: 0;
    justify-items: left;
}

  .footer-links li {
    margin: 0;
  }

  .footer-links a {
    font-size: 14px;
    text-align: left;  
    display: block;
    color: #cbd5e1;
  }

  .footer-links a:hover {
    color: white;
  }

@media (max-width: 480px) {
  .container {
    /*padding: 0px 20px;*/
    padding: 1px 5px;
    width: 100% !important;
    
  }
  
  .site-header {
    background: #fff;
    padding: 5px 0 0;
    border-bottom: 1px solid var(--border);
    position: -webkit-sticky;
    position: sticky;
    top: -16px;
    z-index: 9999;
      /* box-shadow: var(--shadow); */
    }
    
  .topbar-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .search {
    width: 120px;
    padding: 8px 8px 8px 32px;
  }

  .subscribe {
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero-card h1 {
    font-size: 20px;
    letter-spacing: 0 !important;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ad {
    height: 70px;
    margin: 12px auto 20px;
  }
}

/* ======================== Blogs Inner Page Started ========================== */
.single-post-container {
  /* max-width: 800px;  */
  max-width: 95%;
  margin: 40px auto;
  padding: 0 20px;
  overflow-wrap: break-word;
}

.post-header {
  margin-bottom: 30px;
  text-align: left;
}

.post-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--text);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 15px;
  font-size: 14px;
/*   color: var(--muted); */
}

.post-meta a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.post-meta a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.post-banner {
  margin-bottom: 30px;
}

.post-banner img,
.post-banner video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    font-size: 0.9rem;
	color: #333333;
}
.post-content {
  font-size: 18px;
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content h2,
.post-content h3 {
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.2em;
}

.post-content blockquote {
  margin: 0 0 1.5em 0;
  padding-left: 1em;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--dark);
}

.post-content a {
  color: var(--accent);
  text-decoration: underline;
}

.post-image-container {
    position: relative;
    width: 100%;
    margin: 2em 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9; 
}

.post-image-container .show-on-desktop,
.post-image-container .show-on-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-image-container .show-on-desktop {
    display: none;
}

.post-image-container .show-on-mobile {
    display: block;
}

.post-image-container.image-fit-contain img {
    /*object-fit: contain; */
    height: 100%;
    width: auto;
}

.post-image-container.image-fit-contain {
    background-color: var(--bg); 
}

@media (min-width: 768px) {

    .post-image-container .show-on-desktop {
        display: block;
    }
    .post-image-container .show-on-mobile {
        display: none;
    }
}

/* ======================= Changing here Ended =========================== */

/* Make sure images inside the content are responsive */
/*.post-content img {*/
/*  max-width: 100%;*/
/*  height: auto;*/
/*  border-radius: var(--radius);*/
/*  margin: 2em 0;*/
/*}*/

.comments-area {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 15px;
}

.comment-form .form-submit .submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.comment-form .form-submit .submit:hover {
  background: var(--accent);
}

@media (max-width: 768px) {
  .post-title {
    font-size: 36px;
  }

  .post-content {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .single-post-container {
    margin: 20px auto;
  }

  .post-title {
    font-size: 28px;
  }

  .post-meta {
    font-size: 13px;
  }
}
/* ====================== Blogs Inner Page Ended ========================= */

/* ===================== Comments Section Started ======================== */
.comment-form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 15px;
  font-size: 16px;
  transition: var(--transition);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  outline: none;
}

.comment-form .comment-notes {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: -5px;
}

.comment-form-cookies-consent input {
  width: 10px;
  height: 10px;
  margin-bottom: 13px;
}

.comment-form-cookies-consent label {
  font-weight: normal;
  margin-bottom: 0;
  font-size: 10px;
}

.comment-form .form-submit .submit {
  background: #000000;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.comment-form .form-submit .submit:hover {
  background: #000000;
}

@media (max-width: 600px) {
  .comment-form-fields-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* ===================== Comments Section Endded  ======================== */

/* ============================ Search Pop-UP Started ================================ */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: 16px;
    padding: 10px;
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 10px); 
    right: 0;
    width: 300px; 
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
      /* box-shadow: var(--shadow); */
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header-search-dropdown.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-dropdown .search-form {
    position: relative;
    display: flex;
}

.header-search-dropdown .search-field {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 40px 10px 15px; 
    font-size: 16px;
}

.header-search-dropdown .search-submit {
    display: none;
}

.header-search-dropdown .search-form::after {
    content: '\f002'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}
/* ============================ Search Pop-UP Ended ================================ */

/* ==================== Category Inner Pages Started ====================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 400px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb-section {
  background: #f8f9fa;
  padding: 15px 0;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item a {
  text-decoration: none;
}

.content-card-link {
  display: block;
  text-decoration: none;
}

.content-card {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-card:hover .content-img {
  transform: scale(1.05);
}

.content-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 50%, transparent 100%);
}

.content-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  color: white;
}

.badge-investing {
  background: #007bff;
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
}

.content-text h2 {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.meta-info-badget {
  font-size: 15px;
  margin-top: 8px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.content-card:hover .meta-info-badget {
  opacity: 1;
}

.news-row {
  margin-bottom: 30px;
}

.news-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.image-container {
  position: relative;
  width: 100%;
}

.news-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
}

.category-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #007bff;
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
  border-radius: 3px;
}

.news-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  line-height: 1.4;
}

.news-card h2 a {
  color: #212529;
  text-decoration: none;
}

.news-card p {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.meta-info {
  font-size: 12px;
  color: #6c757d;
}

.meta-info span {
  margin-right: 15px;
}

.author-name a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.sticky-sidebar {
  position: sticky;
  top: 120px;
}

.related-news-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 12px;
  width: 100%;
  background-image: linear-gradient(to right, #007bff 50%, #b2aeae 50%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: bottom left;
}

.sidebar-item {
  display: flex;
  margin-bottom: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.sidebar-item:hover {
  transform: translateX(5px);
}

.sidebar-item img {
  width: 125px;
  min-width: 125px;
  height: 102px;
  object-fit: cover;
  padding: 14px;
}

.sidebar-content {
  padding: 12px;
  flex: 1;
}

.sidebar-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.sidebar-item h3 a {
  color: #212529;
  text-decoration: none;
}

.sidebar-item h3 a:hover {
  color: #007bff;
}

.sidebar-date {
  font-size: 11px;
  color: #6c757d;
}

.sidebar-date i {
  margin-right: 5px;
}

.category-list {
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,0.1);
}

.category-list ul {
  padding:0;
  margin:0;
  list-style:none;
}

.category-list li {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
  border-bottom:1px solid #e9ecef;
}

.category-list li:last-child {
  border-bottom:none;
}

.category-list li a {
  color:#212529;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
}

.category-list li {
  font-size:15px;
  font-weight:600;
  color:#6c757d;
}


.category-list li:hover {
  background:#f8f9fa;
}

.category-list li:hover a {
  color:#007bff;
}

.newsletter {
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
    /* box-shadow: var(--shadow); */
}

.newsletter-icon {
  font-size: 30px;
  color: #007bff;
  margin-bottom: 12px;
}

.newsletter h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.newsletter p {
  color: var(--muted, #6c757d);
  margin: 0 0 16px;
  font-size: 12px;
}

.newsletter-form input {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
}

.newsletter button {
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: #007bff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
}

.custom-pagination {
  margin: 35px 0;
}

.custom-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.custom-pagination .page-numbers {
  width: 35px;
  height: 35px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #212529;
}

.custom-pagination .page-numbers:hover {
  background: #f2f6ff;
  border-color: #b6cffd;
}

.custom-pagination .page-numbers.current {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

#scrollUpBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .content-card {
    height: auto;
  }

  .content-text h2 {
    font-size: 1.2rem;
  }
  
  .content-text {
      position: absolute;
      bottom: -6px;
      left: 15px;
      z-index: 2;
      color: white;
  }

  .post-date{
    font-size: 0.6rem;
  }
  
  .post-excerpt{
    font-size: 0.7rem;
  }
}
/* ====================== Category Inner Pages Ended ========================== */

/* ============= AD Banner Started ======================== */
.sidebar-ad-widget {
    margin-bottom: 40px; 
/*     background-color: #000;  */
    border-radius: var(--radius);
    overflow: hidden; 
}

.sidebar-ad-widget a {
    display: block; 
}

.sidebar-ad-widget img {
    display: block;
    max-width: 100%;
    height: auto;
}
/* ============= AD Banner Ended ======================== */

/* =========================== Tabs Started ====================== */
.side-meta-wrapper {
    display: flex;
	justify-content: space-around;
    margin-right: 55px;
    align-items: center;
    margin-top: 5px;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--dark);
}
/* =========================== Tabs Ended ====================== */

/*
========================================
  CALCULATOR PAGE STARTED
========================================
*/
.page-header.text-center {
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-header .page-description {
  font-size: 16px;
  /* color: var(--muted); */
  color: #6c757d;
}

.calculators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.calculator-button {
  display: block;
  padding: 10px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  /* border-radius: var(--radius); */
  border-radius: 8px;
  /* background: linear-gradient(135deg, #6e48aa, #905dd1); */
  background: var(--dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.calculators-grid a:nth-child(4n+2),
.calculators-grid a:nth-child(4n+3) {
  /* background: linear-gradient(135deg, #d86c4a, #e57f61); */
  background: var(--dark);
}

.calculator-button:hover {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.converter-content {
  max-width: 900px;
  margin: 0 auto;
}

.converter-header h1 {
  font-size: 36px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.calculator-section {
  margin-bottom: 40px;
}

.calculator-section h2,
.calculator-section h3,
.calculator-section h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.conversion-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.conversion-table th,
.conversion-table td {
  border: 1px solid #e9ecef;
  padding: 10px 15px;
  text-align: left;
}

.conversion-table thead th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.conversion-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* =======================================
   MOBILE RESPONSIVE STYLES
   ======================================= */
@media (max-width: 768px) {

    .live-calculator {
        padding: 18px;
        margin-bottom: 25px;
        border-radius: 10px;
    }

    /* Stack inputs vertically */
    .calculator-form {
        flex-direction: column;
        gap: 12px;
    }

    .calculator-form .form-control {
        height: 44px;
        font-size: 16px;
        padding: 0 10px;
    }

    .calculator-form .btn {
        width: 100%;
        height: 46px;
        padding: 0;
        font-size: 16px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    }

    #womenBox label {
        padding: 8px 12px;
        font-size: 15px;
    }

    .calculator-result {
        font-size: 16px;
        padding: 12px;
    }
}

/*.live-calculator {*/
/*    background: var(--light-bg);*/
/*    border: 1px solid var(--border);*/
/*    border-radius: var(--radius);*/
/*    padding: 30px;*/
/*    margin-bottom: 40px;*/
/*}*/

/*.calculator-form {*/
/*    display: flex;*/
/*    gap: 15px;*/
/*}*/
/*.calculator-form .form-control {*/
/*    flex-grow: 1; */
/*    height: 48px;*/
/*    font-size: 18px;*/
/*}*/

.live-calculator {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.live-calculator:hover {
    box-shadow: 0px 6px 26px rgba(0,0,0,0.12);
}

.calculator-form {
    display: flex;
    gap: 15px;
}

.calculator-form .form-control {
    flex-grow: 1;
    height: 48px;
    font-size: 18px;

    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 0 12px;
    background: #fafafa;
    transition: 0.3s;
}

.calculator-form .form-control:focus {
    background: #fff;
    border-color: #000;
       box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

#convertBtn {
    height: 48px;
    padding: 0 22px;
    font-size: 16px;
    border-radius: 8px;
}

#womenBox label {
    display: block;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.10);
    transition: all 0.3s ease;
    font-weight: 600;
}

#womenBox label:hover {
    border-color: #000;       
    box-shadow: 0px 4px 18px rgba(0,0,0,0.20);
    background: #f9f9f9;
}
#womenBox input[type="checkbox"] {
    margin-right: 8px;
}

/*#womenBox {*/
/*    background: #fafafa;*/
/*    padding: 12px 15px;*/
/*    border: 1px solid #e8e8e8;*/
/*    border-radius: 8px;*/
/*}*/

/*.calculator-form .btn {*/
/*    height: 48px;*/
/*    font-weight: 600;*/
/*    padding: 0 30px;*/
/*}*/
.calculator-form .btn {
    height: 48px;
    font-weight: 600;
    padding: 0 32px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;

    transition: 
        box-shadow 0.45s ease,
        background 0.45s ease,
        color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.calculator-form .btn:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}

.calculator-form .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -180%;
    width: 70%;
    height: 100%;

    background: linear-gradient(
        115deg,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.9s cubic-bezier(.22,.61,.36,1);
}

.calculator-form .btn:hover::after {
    left: 180%;
}

.calculator-form .btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.15) 0%,
        transparent 70%
    );

    opacity: 0;
    transition: opacity .5s ease;
}

.calculator-form .btn:hover::before {
    opacity: 1;
}
.calculator-form .btn:active {
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}


.calculator-result {
    margin-top: 20px;
    padding: 15px;
    background: #ededed;
    border: 1px solid #000;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}
/*
========================================
  CALCULATOR PAGE ENDED
========================================
*/

.entry-content table {
  margin-bottom: 1.5em !important; 
}


/* ========================== NavBar Started for Mobile Started ============================== */
@media (max-width: 768px) {
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 35px 0;
    }
    
    .site-branding {
        order: 1;
        flex: 0 0 auto;
    }
    
    .site-branding img {
        /* max-height: 45px; */
        width: auto;
    }
    
    .header-bottom {
        position: relative;
    }
    
    .header-social {
        display: none !important;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 80px 0 40px 0;
        text-align: left;
        box-shadow: none;
        z-index: 9998;
        overflow-y: auto;
    }
    
    .main-navigation.mobile-open {
        display: block !important;
    }

    .main-navigation .primary-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .main-navigation .primary-menu li {
        display: block;
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation .primary-menu a {
        display: block;
        padding: 20px 30px;
        color: #000;
        text-decoration: none;
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
    .main-navigation .primary-menu a:hover {
        background: #f5f5f5;
        color: #333;
    }
}

.mobile-menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        top:25px !important;
    }
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

.mobile-menu-toggle span {
    background: #000 !important;
}
.mobile-menu-toggle span {
    width: 32px;
    height: 3px;
    background: #000;
    display: block;
    margin: 6px 0;
    transition: 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .site-branding {
        position: fixed !important;
        top: 20px !important;
        left: 16px !important;  
        transform: none !important;
        z-index: 99999 !important;
    }

    /* .site-header {
        padding-top: 70px; 
    } */
}

@media (min-width: 769px) {
    .site-branding {
        position: relative !important;
        top: auto;
        left: auto;
        transform: none;
    }
}
/* ============================= NavBar for Mobile Ended ==========================*/

/* ======================== sorting tabs Started ========================== */
/* =================== Sorting Tabs Desktop Started ======================== */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tab-link.active {
  /* color: #000; */
  background: #fff;
  border-bottom: 2px solid #000;
}

@media (max-width: 1024px) {

  .main-grid {
    grid-template-columns: 1fr !important;
  }

  .d-md-none {
    display: block !important;
  }

  .d-none,
  .d-md-block {
    display: none !important;
  }

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

@media (min-width: 1025px) {

  .main-grid {
    grid-template-columns: 2fr 1fr;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-none {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================= Sorting Tabs Desktop Ended ==================*/

/* ========================== Sorting Tabs Moile Started ======================== */

@media (max-width: 768px) {

  .cards-grid {
    display: block !important;
  }

  .cards-grid .card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid #e5e5e5;
    box-shadow: none !important;
    position: relative;
    padding-left: 18px; 
  }


  .cards-grid .card::before {
    content: "▸";
    font-size: 20px;
    position: absolute;
    left: 2px !important;
    top: 6px;
    color: #000;
    font-weight: 600;
  }


  .cards-grid .card-image {
    display: none !important;
  }


  .cards-grid .card-content {
    padding: 0 !important;
    /*padding-left: 5px !important;*/
  }

  .cards-grid .post-date p {
  display: none !important;
}
 
  /* Hide excerpt + tag + date + read more */
  .cards-grid .tag,
  .cards-grid .card-content p,
  .cards-grid .card-link {
    display: none !important;
    
  }

  /* One-line title style */
  .cards-grid .card-content h3 {
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
    font-weight: 600;
        left: 10;
        
  }

  .cards-grid .card-content h3 a {
    color: #000;
    text-decoration: none;
  }

  .cards-grid .card-content h3 a:hover {
    text-decoration: underline;
  }
}

/* ========================= Sorting Tabs Mobile Ended*/
/* ======================== sorting tabs Ended ========================== */

/* ================ Home Screen Body Changes Started ===================== */
@media (max-width: 768px) {
    .hero-card {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    .card{
      border: none;
    }
    .card-content {
  padding: 5px;
 
}
.img {
  padding: 5px;
}
.img {
  padding: 14px 5px;
}
.mini-content{
   padding: 10px 5px;

}

}
/* ================ Home Screen Body Changes Ended ===================== */

/* ================= Contact Page Started ================= */
.contact-section {
    padding: 60px 0;
}
.narrow-container {
    max-width: 650px;
    margin: 0 auto;
   
    margin-left: 70px;
}

.small-text {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.main-heading {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}


.custom-input {
    border: 1px solid #ddd;
    padding: 10px 14px !important;
    font-size: 15px;
    border-radius: 0px !important;
    width: 100% !important;
    height: 45px !important; 
    transition: 0.25s ease;
    background: #fff;
}

.custom-input:hover {
    border-color: #aaa;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.custom-input:focus {
    border-color: #000;
    box-shadow: 0 0 12px rgba(0,0,0,0.10);
    outline: none;
}


textarea.custom-input {
    height: 180px !important;
    resize: vertical;
    border-radius: 0px !important;
}

.submit-btn {
    background: #000;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 12px 35px;
    /*border-radius: 6px;*/
    transition: 0.3s ease;
    cursor: pointer;
}

.submit-btn:hover {
    background: #333;
}

.wpcf7 p {
    margin-bottom: 15px;
}

/* =========================================================
   FEATURE BOXES (STACKED & CENTERED)
   ========================================================= */


.row.g-4 {
    display: flex;
    flex-direction: column;
    align-items: center;   

}

.row.g-4 > .col-md-5,
.row.g-4 > .col-md-4 {
    width: 100%;
    max-width: 420px;   
}

.feature-box {
    width: 75%;
    height: 158px;
    margin-left: 40px;
    padding: 28px 20px;
    /*border-radius: 12px;*/
    border: 1px solid #e7e7e7;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
      
}

.feature-box:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-box img {
    width: 55px;
    margin-bottom: 12px;
}
.feature-box h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}


.feature-box p {
    font-size: 14px;
    color: #666;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    .main-heading {
        font-size: 30px;
    }
    .feature-box {
        height: 220px;
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 26px;
    }
    .feature-box img {
        width: 45px;
    }
    .feature-box {
        height: 200px;
        min-height: 200px;
    }
}


/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .narrow-container {
        margin-left: 0 !important;
        padding: 0 20px;
    }

    .feature-box {
        width: 90%;
        margin-left: 0 !important;
    }
}

/* Mobile Large (max-width: 768px) */
@media (max-width: 768px) {
    .main-heading {
        font-size: 30px;
    }

    .feature-box {
        height: auto !important;
        padding: 25px 20px;
        margin-left: 0 !important;
        width: 100%;
    }
}

/* Mobile Small (max-width: 576px) */
@media (max-width: 576px) {
    .main-heading {
        font-size: 26px;
    }

    .narrow-container {
        margin-left: 0 !important;
        padding: 0 15px;
    }

    .feature-box img {
        width: 45px;
    }

    .feature-box {
        height: auto !important;
        min-height: 180px;
        width: 100%;
    }
}
/* Mobile & Tablet: Form upar, Boxes niche */
@media (max-width: 768px) {

    .main-section {
        display: flex;
        flex-direction: column;      /* Form upar, boxes niche */
        gap: 20px;
    }

    .row.g-4 {
        order: 1;  /* Boxes niche */
    }

    .contact-section {
        order: 2; /* Form upar */
    }
}
@media (max-width: 768px) {
    .col-12.d-flex {
        justify-content: left !important; /* Mobile par center */
    }
}

/* ================= Contact Page Ended ================= */