*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
}

body.admin-bar .hc-offcanvas-nav .nav-container {
  top: 32px;
}
body.nav-open *:not(.nav-content):not(.nav-content *) {
  pointer-events: none;
}

/*
WordPress Default HTML elements css
*/
.wp-caption {
  max-width: 100%;
  text-align: center;
  margin: 1em 0;
}

.wp-caption-text {
  font-size: 0.9em;
  color: #555;
}
.gallery-caption {
  text-align: center;
  font-style: italic;
  font-size: 0.9em;
  color: #666;
}
.bypostauthor {
  border-left: 3px solid #e1b12c;
  padding-left: 10px;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 
***********************************
***********Blog Style**************
***********************************
*/
.media {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hovercover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 100%;
  background-color: var(--hovercover_background);
  transition: var(--hovercover_transition);
  opacity: var(--hovercover_background_opacity);
}
.media:hover .hovercover {
  width: 100%;
}
.hovercover a {
  display: inline-block;
  text-decoration: none;
  color: var(--hovercover_title_color)!important;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: var(--hovercover_icon_size);
  opacity: 0;
  font-weight: normal;
}
.media:hover .hovercover a {
  opacity: 1;
}
.hovercover a.first-child {
  margin-top: -20px;
  margin-left: -15px;
}
.hovercover a.last-child {
  margin-top: -20px;
  margin-left: 15px;
}
.hovercover-title {
  font-size: var(--hovercover_title_font_size);
  position: absolute;
  display: block;
  width: 100%;
  color: var(--hovercover_title_color);
  text-align: center;
  top: 50%;
  margin-top: 10px;
  opacity: 0;
  font-weight: var(--hovercover_title_font_weight);
}
.media:hover .hovercover-title {
  opacity: 1;
}
.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* লোডিং স্পিনার (যদি প্রয়োজন হয়) */
#loading {
  display: none;
}
.loader {
  width: 60px;
  aspect-ratio: 4;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 100%;
  animation: l7 1s infinite linear;
}
@keyframes l7 {
  33% {
    background-size: calc(100% / 3) 0%, calc(100% / 3) 100%, calc(100% / 3) 100%;
  }
  50% {
    background-size: calc(100% / 3) 100%, calc(100% / 3) 0%, calc(100% / 3) 100%;
  }
  66% {
    background-size: calc(100% / 3) 100%, calc(100% / 3) 100%, calc(100% / 3) 0%;
  }
}
/******************************
-	Single Page	-
********************************/
/* navigation */
.single-post .nav-next,
.single-post .nav-previous {
  display: inline-block;
}
/* Title*/

/* Abou Author*/
.about-author .authot-name h2 {
  font-size: 35px;
  color: #333;
  font-weight: 600;
}
.about-author .authot-name h2 a {
  font-size: 35px;
  color: #333;
  font-weight: 600;
}
.about-author .d-flex .author-pick {
  margin-right: 10px;
}
.author-pic img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
/* Socail Share*/
.social-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.social-share .social-share-icon a {
  margin: 5px;
}
/* Related Post*/
.author-related-post {
  margin: 30px auto;
}
.author-related-post h3.related-title {
  font-size: 35px;
  color: #333;
  font-weight: 600;
}
.author-related-post .media img {
  height: 220px;
}
/* Comments*/
.comments h3.comment-title {
  font-size: 35px;
  color: #333;
  font-weight: 600;
}
.comment-list li {
  margin: 5px auto;
}
.comments ol.comment-list {
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.comments ol.children {
  list-style: none;
  margin-left: 50px;
}
.comments .comment-author img {
  border-radius: 50%;
  margin-right: 10px;
}
.comments .the-comment {
  margin: 20px auto;
}
.comments .comment-box {
  width: 100%;
}
.comments .comment-box .meta a {
  text-decoration: none;
  color: #333;
}
/* comment_form */
.comment-respond h3.comment-reply-title {
  font-size: 35px;
  color: #333;
  font-weight: 600;
}
.comment-respond textarea {
  width: 100%;
}
.comment-respond .col input {
  width: 100%;
}
.comment-form .comment-input {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.comment-form .comment-input .input-group {
  position: relative;
  width: 32%;
  margin-bottom: 20px;
}

.comment-form .comment-input .input-group input {
  width: 100%;
  padding: 12px 10px;
  font-size: 16px;
  border: 2px solid #560bad;
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
  background: white;
}

/* ✅ লেবেল প্রথমে ইনপুটের ভিতরে থাকবে */
.comment-form .comment-input .input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
  background: white;
  padding: 0 5px;
  transition: all 0.3s ease-in-out;
  pointer-events: none; /* ইউজার যেন ক্লিক করতে না পারে */
}
.comment-form .comment-input .input-group input:focus + label,
.comment-form .comment-input .input-group input:valid + label {
  top: 0;
  font-size: 12px;
  color: #560bad;
}
/* Textarea */

.comment-textarea {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 20px;
}

.comment-textarea textarea {
  width: 100%;
  padding: 12px 10px;
  font-size: 16px;
  border: 2px solid #560bad;
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
  background: white;
  resize: vertical; /* ইউজার textarea বড় করতে পারবে */
}

/* ✅ লেবেল প্রথমে textarea-এর ভিতরে থাকবে */
.comment-textarea label {
  position: absolute;
  left: 10px;
  top: 15px;
  font-size: 16px;
  color: #999;
  background: white;
  padding: 0 5px;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}
/* ====== breadcrumb ======== */
nav.breadcrumb ol.breadcrumb {
  display: flex;
  justify-content: start;
  gap: 10px;
}

/* ====== Bootom TO top ======== */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.3s ease;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}
/* .single-post .nav-links a {
  font-size: 16px;
  color: rgb(24, 27, 27);
  display: block;
} */
/* .single-post .nav-links a:hover {
  color: rgb(255, 255, 255);
  background-color: #f27935;
} */
/*
Pagination Blog
*/
.pagination a,.pagination .nav-links a {
  text-decoration: none;
  padding: 8px 15px;
  margin-right: 0;
  color: var(--pagination_text_color)!important;
  font-size: var(--pagination_font_size);
}
.pagination a.prev {
  padding: 8px 25px;
}
.pagination a.next {
  padding: 8px 25px;
}
.pagination span {
  padding: 8px 15px;
  color: var(--pagination_active_color);
  cursor: not-allowed;
  background-color: var(--pagination_active_hover);
}
.pagination a:hover,.single-post .nav-links a:hover {
  background-color: var(--pagination_active_hover);
  color: var(--pagination_active_color)!important;
}
/* Breadcrumb */
.breadcrumb-item a ,.breadcrumb-item span{
  color: var(--breadcrumb_font_color)!important;
  font-size: var(--breadcrumb_font_size);
}
.breadcrumb-item a:hover{
  color: var(--breadcrumb_font_hover_color)!important;
}
.ascora-post{
  margin: 30px auto;
}
#posts-container .blog-article{
  margin: 20px auto;
}
/* */
.blog-attr span,
.blog-attr span a {
  font-size: var(--blog_meta_font_size);
  text-decoration: none;
}
a:focus,
button:focus,
input:focus {
  outline: 2px solid #e1b12c; /* Ascora accent color */
  /* outline-offset: 2px; */
}


.skip-link.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto!important;
  clip-path: none;
  color: #333;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000
}
