/* General Styles */

/* @import 'buttons.css';
@import './lets-talk-section.css';
@import './navbar.css';
@import './_common-sections.css'; */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --body-color: #212529;
  --body-bg: #fff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--body-color);
  background-color: var(--body-bg);
}

/* universal buttons  */

.color-btn-desgin1 {
  border: none;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: var(--fl-btn-fs);
  font-weight: 600;
  line-height: 1;
  padding: var(--fl-btn-padding-x) var(--fl-btn-padding-y);
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
  white-space: nowrap;
  background-image: linear-gradient(120deg, var(--mustard) 0%, #fa8273 100%);
}
.color-btn-desgin1:hover {
  color: var(--pure-white);
  background-image: linear-gradient(120deg, #fa8273 0%, var(--mustard) 100%);
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 5px;
}
.category-box {
  /* border-radius: 8px; */
  /* font-weight: bold; */
  text-align: center;
  /* border: 1px solid #303954; */
  /* border-radius: 5px; */
  font-size: small;
}

.category-box a {
  /* color: black;
    padding: 5px;
    letter-spacing: 1px;
    font-weight: 300; */
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid var(--mustard);
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}
#category .category-box a:hover {
  color: white;
  background-color: var(--mustard);
}
/* .search{
    border: 2px solid #ccc; 
} */
/* .container{
    padding: 10px 15px;
    /* width: 400px; */
/* justify-content: center; */
/* } */
*/ form {
  max-width: 400px;
  margin: auto;
  padding: 10px 15px;
  /* border-radius: 5px; */
  border: none;
}
.search {
  display: flex;
  justify-content: center;
}

.input-group {
  border: 1px solid var(--mustard);
  border-radius: 5px;
  border-radius: 20px;
  overflow: hidden;
}
/* #searchInput .input-group{
    border: none;
} */
.form-control {
  border: none;
}
.input-group #searchbutton {
  border-left: none;
  color: #fd7e14;
  cursor: pointer;
  padding: 8px 15px;
  border: none;
}

/* .btn-orange {
   
    border-left: none;
    color: #FD7E14;
    cursor: pointer;
    padding: 8px 15px;
    
    border: none;
   
} */
/* .btn-orange i{
    color: var(--mustard) !important;
} */
.btn-orange i:hover,
.btn-orange i:focus,
.btn-orange i:active {
  color: #fd7d14b8 !important;
  transform: scale(0.9);
}
.form-control:focus {
  border-color: #eee !important;
  box-shadow: 0 0 5px #eee;
}
/* Cards section */
#post-container .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-card {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: #ffffff00;
}

.post-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-card .card-title {
  min-height: 60px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  padding-top: 10px;
}
.single-card {
  width: 100%;
  height: 150px;
  overflow: hidden;
}
.single-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* object-fit: cover; */
  /* display: contents; */
}
.post-category a {
  font-size: 12px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background-color: #fd7e14;
  border-radius: 5px;
  letter-spacing: 0.03rem;
  padding-left: 25px !important;
  padding-right: 25px !important;
  padding: 5px;
  padding-right: 5px;
  padding-left: 5px;
}
/* Post Content Styles */
/* .post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-color);
} */

.post-date {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 3px 3px 3px 3px;
  font-weight: 500;
}
.post-date i {
  font-size: 20px;
  margin-right: 5px;
  color: #fd7e14;
}
.post-arrow {
  font-size: small;
  display: flex;
  align-items: center;
  padding: 3px 3px 3px 3px;
}
.post-arrow i {
  font-size: small;
  margin-right: 5px;
  color: #fd7e14;
}

.post-author i {
  color: #fd7e14;
}

.post-author a h6 {
  color: #303954;
  font-weight: 500;
}

.card-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03rem;
}

.read-more {
  color: #303954;
  text-align: center;
  font-weight: bold;
  font-size: 0.7rem !important;
  letter-spacing: 0.1rem;
  /* padding-top: 2px; */
  padding-bottom: 2px;
  margin-top: auto;
}
.read-more i {
  margin-left: 5px;
  transition: transform 0.5s ease-in-out;
}
.read-more:hover {
  color: #fd7e14 !important;
}
.read-more :hover i {
  transform: translateX(5px) !important;
}
/* .post-meta {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
} */

/* .post-meta a {
    color: var(--primary-color);
    text-decoration: none;
} */

/* .post-meta a:hover {
    text-decoration: underline;
} */

/* Single Post Styles */

.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.post-featured-image {
  margin: -1rem -1rem 2rem;
}

.post-featured-image img {
  width: 100%;
  border-radius: 0.5rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.post-content h2,
.post-content h3 {
  margin: 2rem 0 1rem;
  font-weight: 600;
}

/* Category Styles */
.category-link {
  color: var(--body-color);
  text-decoration: none;
  transition: color 0.2s;
}

.category-link:hover {
  color: var(--primary-color);
}

.category-description {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.data-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* height: 100%; */
  position: sticky !important;
  top: 300px;
  font-size: 1.25rem;
  align-items: center;
}
.data-icons a {
  display: inline-block;
  text-decoration: none;
  color: #212529;
}
.data-icons a:hover {
  color: rgba(0, 0, 0, 0.567);
}
.data-icons a svg {
  width: 30px;
  height: 30px;
  fill: #212529;
}
.data-icons svg {
  max-width: 20px;
  max-height: 20px;
  /* justify-content: center; */
  /* align-items: center; */
}
.data-icons :hover svg {
  opacity: 0.8;
}
.content-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* height: 100%; */
  position: sticky !important;
  top: 80px;
  /* font-size: 1.25rem; */
  font-size: 16px;
  padding: 10px;
  /* margin-bottom: 20px; */
  /* height: 100%; */
}

.toc-sidebar {
  color: #303954;
  border: 1px solid #00000026;
  padding: 15px;
  border-radius: 10px;
  /* background-color: #f9f9f9;  */
  width: fit-content;
  /* margin-bottom: 20px; */
  box-shadow: 0px 0px 15px 0px #00000012;
}
/* .toc-sidebar ul {
    list-style-type: disc;
    padding-left: 20px;
} */
.toc-sidebar li :hover {
  color: black;
}
/* .toc-sidebar ul li li {
    list-style-type: none; 
    margin-left: 20px;
    font-weight: normal;
} */
.toc-sidebar a {
  color: #303954;
  text-decoration: none;
}
/* Sidebar Styles */
.sidebar .card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.sidebar .card-header {
  background-color: transparent;
  border-bottom: 2px solid var(--light-color);
  padding: 1rem;
}

.sidebar .card-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--dark-color);
}
.card-header {
  padding: 10px;
}
/* Author Box Styles */
.post-author {
  margin: 3rem 0;
  padding: 2rem;
  /* background-color: var(--light-color); */
  /* border-radius: 0.5rem; */
}

.post-author img {
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  justify-content: center;
}

/* Author page styles */

.author-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  /* text-align: center; */
}
.author-icon {
  width: 200px;
  height: 200px;
  padding: 5px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /* object-fit: cover; */

  /* margin: 0px 0px 32px; */
}
.author-icon img {
  width: 100%;
  height: 100%;
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  /* font-size: 50px; */
  color: #555;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* margin-bottom: 10px; */
  object-fit: cover;
}
.author-name {
  justify-items: center;
  padding: 10px;
  /* margin-top: 5px; */
}
.author-name h1 {
  font-weight: 700;
}
.author-designation {
  justify-items: center;
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.author-designation h6 {
  font-weight: 400;
}
.author-description {
  max-width: 600px;
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  justify-content: center;
  align-items: center;
}
.author-content p {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Pagination Styles */
.pagination {
  margin-top: 3rem;
}

.page-link {
  padding: 0.75rem 1rem;
  margin: 0 0.25rem;
  border-radius: 0.25rem;
  border: none;
  color: var(--primary-color);
  background-color: transparent;
  transition: all 0.2s;
}

.page-link:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-card img {
    height: 180px;
  }
}

/* Loading States */
#loading {
  padding: 2rem;
  text-align: center;
}

.spinner-border {
  color: var(--primary-color);
}

/* Related Posts */
.list-group-item-action {
  transition: background-color 0.2s;
}

.list-group-item-action:hover {
  background-color: var(--light-color);
}

/* Modal Styles */
.modal img {
  max-width: 100%;
  height: auto;
}
.toc-sidebar ul li {
  padding: 5px;
  transition: background-color 0.5s ease;
}

.toc-sidebar ul li a {
  text-decoration: none;
}


.toc-sidebar li.active {
  font-weight: 600;
  background-color: #007bff1f;
  border-radius: 8px;
}

/* blog design*/

/* Main container */
#post-container {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem; /* Compensate for column padding */
}

/* Column styling - matches your structure */
.col-xl-4,
.col-lg-4,
.col-md-6,
.col-sm-12 {
  padding: 1rem;
  box-sizing: border-box;
}

.alert.alert-info {
  background: #e67e22;
  color: #fff;
  font-size: 22px;
  line-height: 25px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  padding: 20px;
}

.wp-block-image {
  text-align: center;
}

.demo-tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-tag-list li {
  padding: 6px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.demo-tag-list li:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-tag-list li a {
  color: #333;
  font-size: 14px;
}

.category-btn {
    padding: 6px 14px;
    border: 1px solid var(--mustard); /* Orange border */
    border-radius: 50px;
    color: var(--mustard);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-btn:hover {
    background-color: var(--mustard);
    color: #fff;
    text-decoration: none;
}

#dynacmis-side-con .toc-sidebar ul li:hover{
  background-color: #007bff1f;
  border-radius: 5px;
}



@media screen and (max-width: 1280px) {
  .tag-menu li a {
    
      font-size: 1.2rem !important;

  }

  #full-outer-con {
    max-width: 100% !important;
  }
}
@media screen and (max-width: 767px) {
  .tag-menu li a {
    
      font-size: 1.175rem !important;

  }
  .toc-sidebar {
    width: 100% !important;
  }
  .content-table {
    padding: 0 !important;
    position: relative !important;
    top: unset !important;
  }
  #blog-static-side .toc-sidebar {
    background: white;
  }

  .post-featured-image {
    margin: 0 !important;
  }
  .post-content img {
    margin: 0.5rem 0 !important;
    width: 100% !important;

    object-fit: contain;
    height: auto;
  }
  .wp-block-image {
    text-align: center;
  }
}

@media screen and (max-width: 575px) {
  #post-container{
    justify-content: center !important;
    padding: 0rem 0.75rem;
  }
  #post-container .blog-post-card-new{
  max-width: 330px;
}
}
@media screen and (max-width: 450px) {
  .post-title {
    font-size: 1.5rem !important;
  }
}

:root {
  /* Mobile-first defaults (small screens) */
  --h2-font-size: 1.375rem;
  --h3-font-size: 1.2rem;
}

/* Medium devices (tablets, 600px and up) */
@media (min-width: 600px) {
  :root {
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.4rem;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {
  :root {
    --h2-font-size: 2rem;
    --h3-font-size: 1.6rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  :root {
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.8rem;
  }
}

/* Apply the variables */
#full-outer-con h2 {
  font-size: var(--h2-font-size);
  line-height: 1.3;
  margin-bottom: 0.75em;
}

#full-outer-con h3 {
  font-size: var(--h3-font-size);
  line-height: 1.4;
  margin-bottom: 0.6em;
}

