/* =========================
   BLOG BANNER
========================= */
.inner-banner{
  position: relative;
  min-height: 260px;            /* banner height choti */
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  overflow: hidden;
  z-index: -1;
  padding-top: 200px;
}

.inner-banner.inside-banner h1{
    color: #FFFFFF;
    margin: 0px 0px 8px 0px;
    font-family: "Roboto Condensed", Sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 43px;
    letter-spacing: -0.2px;
}

.inner-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);  /* dark overlay */
  z-index: 0;
}

.inner-banner .container{
  position: relative;
  z-index: 1;
}

.inner-banner h1{
  color:#fff;
  font-weight: 800;
  font-size: 50px;              /* H1 bigger */
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

@media (max-width: 992px){
  .inner-banner{ min-height: 210px;}
  .inner-banner h1{ font-size: 44px; }
}

@media (max-width: 576px){
  .inner-banner{ min-height: 180px; padding-top: 150px; }
  .inner-banner h1{ font-size: 25px; line-height: 35px; }
}


/* =========================
   BLOG LISTING
========================= */
.blog-sec{
  padding: 70px 0;
  background: #f6f6f6;
}

/* bootstrap row is already flex; just add spacing */
.blog-sec .col-md-4{
  margin-bottom: 28px;
}

/* Equal height WITHOUT JS (recommended) */
.blog-box{
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-box:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0,0,0,.14);
}

.blog-img{
  display:block;
  position:relative;
  overflow:hidden;
}
.blog-img img{
  width:100%;
  height: 230px;
  object-fit: cover;
  display:block;
  transition: transform .35s ease;
}
.blog-box:hover .blog-img img{
  transform: scale(1.04);
}

/* content fill + Read More bottom */
.blog-content{
  padding: 20px 20px 18px;
  flex: 1;
  display:flex;
  flex-direction:column;
}

.blog-content h4{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.blog-content h4 a{
  color:#111;
  text-decoration:none;
}
.blog-content h4 a:hover{
  text-decoration: underline;
}

.blog-date{
  display:block;
  color:#777;
  font-size: 13px;
  margin-bottom: 12px;
}

.blog-content p{
  margin: 0 0 16px;
  color:#333;
  font-size: 15px;
  line-height: 1.7;
}

/* push to bottom */
.read-more{
  margin-top: auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 700;
  color:#111;
  text-decoration:none;
}
.read-more:hover{
  text-decoration: underline;
}

/* pagination */
.pagination-wrap{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}
.pagination-wrap .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  margin: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background:#fff;
  color:#111;
  text-decoration:none;
  font-weight: 700;
}
.pagination-wrap .page-numbers.current{
  background:#111;
  color:#fff;
  border-color:#111;
}
.pagination-wrap .page-numbers:hover{
  border-color:#111;
}


/* =========================
   SINGLE POST TYPOGRAPHY
========================= */
.single .blog-sec{ background:#fff; } /* if same class used */
.single .entry-content,
.single .tac-entry-content{
  font-size: 16px;
  line-height: 1.85;
  color:#222;
}

.tac-entry-content.inside-content p{
    padding: 5px 0;
    line-height: 21px;
    color: black;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1rem;
}

.single .entry-content h2,
.single .entry-content h3{
  font-weight: 900;
  line-height: 1.2;
  margin: 28px 0 12px;
}

.single .entry-content img{
  max-width:100%;
  height:auto;
  border-radius: 10px;
}

.single .entry-content table{
  width:100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  background: #fff;
}
.single .entry-content table th,
.single .entry-content table td{
  border: 1px solid rgba(0,0,0,.15);
  padding: 12px 14px;
  vertical-align: top;
}
.single .entry-content table th{
  font-weight: 800;
}

















/* ===== Single Layout ===== */
.tac-single-wrap{ padding:50px 0; }
.tac-single-row{ row-gap:30px; }

.tac-author-card{
  background:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:0 12px 35px rgba(0,0,0,.08);
}
.tac-author-logo img{
  width:100%;
  border-radius:14px;
  display:block;
  margin-bottom:14px;
}
.tac-author-title{ font-weight:900; font-size:30px; margin:0 0 6px; }
.tac-author-role{ font-weight:600; opacity:.75; margin-bottom:10px; }
.tac-author-bio{ line-height:1.75; margin:0; }

.tac-single-feature img{
  width:100%;
  border-radius:16px;
  display:block;
  margin-bottom:18px;
}

/* Better content typography */
.tac-entry-content{ font-size:16px; line-height:1.85; }
.tac-entry-content h2{ font-size:34px; font-weight:900; margin:26px 0 10px; }
.tac-entry-content h3{ font-size:26px; font-weight:900; margin:22px 0 8px; }
.tac-entry-content img{ max-width:100%; height:auto; }
.tac-entry-content table{
  width:100%;
  border-collapse:collapse;
  margin:18px 0;
}

.tac-entry-content.inside-content h2{
    font-size: 25px;
    line-height: 30px;
    font-weight: 700;
    color: black;
    text-transform: capitalize;
    margin: 10px 0;
}

.tac-entry-content.inside-content h3 {
    font-size: 25px;
    line-height: 30px;
    font-weight: 700;
    color: black;
    text-transform: capitalize;
    margin: 10px 0;
}

.tac-entry-content.inside-content ul{
    background: transparent;
    border: 0;
    font-size: 100%;
    margin-block-end: 0;
    margin-block-start: 0;
    outline: 0;
    vertical-align: baseline;
    margin-top: 0;
    margin-bottom: 1rem;
    list-style: disc;
    padding: 0px 20px;
}

.tac-entry-content.inside-content ul li{
    list-style: disc !important;
    margin-left: 15px;
    line-height: 21px;
    padding-bottom: 10px;
    color: black;
    font-weight: 300;
}

.tac-entry-content th,
.tac-entry-content td{
  border:1px solid rgba(0,0,0,.15);
  padding:14px;
  vertical-align:top;
}

/* ===== FAQ Section ===== */
.tac-faq{ 
    padding:70px 0; 
    background:#fff; 
    padding-top: 0;
}
.tac-section-title{
  text-align:center;
  font-size:56px;
  font-weight:900;
  margin:0 0 35px;
}
.tac-faq-image{ width:100%; height:auto; display:block; }

.tac-accordion .tac-acc-item{ border-radius:10px; overflow:hidden; margin-bottom:12px; background:#f5f7fa; }
.tac-acc-btn{
  width:100%;
  border:0;
  background:transparent;
  padding:18px 18px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
}
.tac-acc-ico{
  width:18px; height:18px; position:relative; flex:0 0 18px;
}
.tac-acc-ico:before,
.tac-acc-ico:after{
  content:"";
  position:absolute;
  left:0; right:0; top:50%;
  height:2px; background:#111;
  transform:translateY(-50%);
}
.tac-acc-ico:after{
  transform:translateY(-50%) rotate(90deg);
  transition:transform .2s ease;
}
.tac-acc-item.is-open .tac-acc-ico:after{ transform:translateY(-50%) rotate(0deg); }

.tac-acc-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}
.tac-acc-inner{ padding:0 18px 18px; }

/* ===== CTA Section ===== */
.tac-cta{
  position:relative;
  padding:90px 0;
  background-size:cover;
  background-position:center;
}
.tac-cta:before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
}
.tac-cta .container{ position:relative; z-index:2; }
.tac-cta-box{
  text-align:center;
  max-width:760px;
  margin:0 auto;
  color:#fff;
}
.tac-cta-box h2{
  font-size:48px;
  font-weight:900;
  margin:0 0 12px;
}
.tac-cta-box p{
  margin:0 0 22px;
  opacity:.95;
}
.tac-cta-btn{
  display:inline-block;
  padding:14px 28px;
  border:2px solid #fff;
  color:#fff;
  text-decoration:none;
  font-weight:900;
}


.tac-social-icons {
    margin-top: 20px;
}

.tac-social-icons .social-icon {
    display: inline-block;
    margin-right: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 50%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.tac-social-icons .social-icon:hover {
    background-color: #f0f0f0;
}

.tac-social-icons .social-icon-img {
    width: 30px; /* Adjust size based on your preference */
    height: 30px;
}










/* Featured Blog Section */
/* .featured-posts-section {
  padding: 40px 0;
}
.featured-posts-section h2{
  font-size: 35px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.featured-post-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.featured-post-card .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.featured-post-card .post-details {
    margin-top: 15px;
}

.featured-post-card h4 {
  color: #333;
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.featured-post-card .post-date {
  margin-top: 5px;
  display: block;
  color: #777;
  font-size: 13px;
  margin-bottom: 12px;
}

.featured-post-card p {
  line-height: 1.5;
  margin: 0 0 16px;
  color: #333;
  font-size: 15px;
}

.read-more-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.read-more-link:hover {
  text-decoration: underline;
  color: #111;
}

@media (max-width: 1024px) {
    .featured-posts {
        justify-content: center;
    }
    .featured-post-card {
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .featured-post-card {
        max-width: 100%;
    }
} */











/* Featured Blog Section */
.featured-posts-section {
  padding: 40px 0;
}

.featured-posts-section h2{
  font-size: 35px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.featured-post-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column; /* Ensure all elements are in a column */
  height: 100%; /* Make sure each card stretches equally */
}

.featured-post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.featured-post-card .post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.featured-post-card .post-details {
  margin-top: 15px;
  flex-grow: 1; /* Allow content to grow and fill the space */
}

.featured-post-card h4 {
  color: #333;
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.featured-post-card .post-date {
  margin-top: 5px;
  display: block;
  color: #777;
  font-size: 13px;
  margin-bottom: 12px;
}

.featured-post-card p {
  line-height: 1.5;
  margin: 0 0 16px;
  color: #333;
  font-size: 15px;
}

.read-more-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.read-more-link:hover {
  text-decoration: underline;
  color: #111;
}

@media (max-width: 1024px) {
  .featured-posts {
    justify-content: center;
  }
  
}
@media (max-width: 991px) {
  .featured-posts .col-12.col-md-6.col-lg-4 {
    margin-bottom: 30px;
  }
  
}

@media (max-width: 768px) {
  .featured-post-card {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .featured-posts .col-12.col-md-6.col-lg-4 {      
    padding: 0 40px;
  }
}














/* Stay updated form section */
.tac-form-section {
  padding: 20px 0;
  position: sticky;
  top: 20px; 
  z-index: 1000;
  width: 100%;
}

.tac-form-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 20px;
}

/* Form Box Title */
.tac-form-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 30px;
}

.tac-form-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .tac-form-box {
    padding: 15px;
  }

  .tac-form-box h3 {
    font-size: 20px;
  }
}




/* Style for the Contact Form */
.wpcf7 form { 
  margin-top: 20px;
}

.wpcf7 form h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.wpcf7 form label {
  display: none;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
}

.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form textarea:focus {
  border-color: #0073e6;
  outline: none;
}

.wpcf7 form .wpcf7-submit {
  background-color: #e6007e;
  color: #fff;
  padding: 15px 30px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.wpcf7 form .wpcf7-submit:hover {
  background-color: #d5006f;
}

.wpcf7 form p {
  font-size: 14px;
  color: #777;
  margin-bottom: 0;
}