/**
 * Theme Name:  Oqtacore New
 */

.page-home {
  background-color: #030303;
  color: white;
}

.post-list-ul-content-categories a {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.post-list-ol-content-categories a {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.posts-list-ul li {
  max-width: calc(25% - 20px);
  background-color: #030303;
  color: white;
}

.posts-list-ol li {
  max-width: calc(25% - 20px);
}

#ez-toc-height-test {
  display: none;
}

.yasr-star-rating .yasr-star-value {
  background-image: url("assets/images/icon/star.svg") !important;
  background-size: 43px !important;
  height: 47px !important;
  background-repeat: repeat-x !important;
}

.yasr-star-rating {
  background-image: url("assets/images/icon/star-2.svg") !important;
  width: 215px !important;
  background-size: 43px !important;
  height: 47px !important;
}

.dashicons.dashicons-chart-bar.yasr-dashicons-visitor-stats,
.yasr-small-block-bold {
  display: none !important;
}

.yasr-total-average-container,
.yasr-total-average-text {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  opacity: 0.5;
  margin-top: 10px;
  display: block !important;
}

.responsive-table table tr td {
  width: auto !important;
}

.responsive-table table tr:first-child td {
  text-align: left;
  background-color: #2b24ff;
  color: #fff;
  padding: 20px;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #fff;
}

.responsive-table table tr .b strong {
  color: #fff;
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
}

.done {
  white-space: normal;
}

.posts-list-ul li .post-list-ul-content p {
  padding-bottom: 80px;
}

.posts-list-ol li .post-list-ol-content p {
  padding-bottom: 80px;
}

.posts-list-ul li {
  position: relative;
}

.posts-list-ol li {
  position: relative;
}

.posts-list-ul li .post-list-ul-content-read-date {
  bottom: 24px;
  position: absolute;
  width: calc(100% - 35px);
}

.posts-list-ol li .post-list-ol-content-read-date {
  bottom: 24px;
  position: absolute;
  width: calc(100% - 35px);
}

.col-content-page {
  width: 100%;
  max-width: 100% !important;
  padding-left: 0 !important;
}

.col-content-page .single-content {
  padding-left: 10px;
  padding-top: 0;
}

.alignleft {
  margin-right: 20px;
}

.wp-caption {
  max-width: 100%;
  height: auto;
}

.index-header-block-img img {
  width: auto;
}

.ez-toc-widget-container ul li.active a {
  color: #ffffff;
}

.ez-toc-widget-container ol li.active a {
  color: #070546;
}

.gdrts-with-fonticon .gdrts-stars-empty {
  background-image: url("assets/images/icon/star-2.svg") !important;
  width: 260px;
  background-size: contain;
  background-size: 52px 44px;
  background-size: 52px 44px;
  height: 44px;
}

.gdrts-with-fonticon .gdrts-stars-current {
  background-image: url("assets/images/icon/star.svg") !important;
  height: 44px;
  background-size: 52px 44px;
}

.gdrts-with-fonticon .gdrts-stars-active {
  background-image: url("assets/images/icon/star.svg") !important;
  height: 44px;
  background-size: 52px 44px;
}

.gdrts-with-fonticon.gdrts-fonticon-font.gdrts-font-star.gdrts-stars-length-5
  .gdrts-stars-empty::before,
.gdrts-with-fonticon.gdrts-fonticon-font.gdrts-font-star.gdrts-stars-length-5
  .gdrts-stars-active::before,
.gdrts-with-fonticon.gdrts-fonticon-font.gdrts-font-star.gdrts-stars-length-5
  .gdrts-stars-current::before {
  content: none !important;
}

.gdrts-rating-text {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  opacity: 0.5;
  padding-top: 15px;
  display: block !important;
}

.gdrts-rating-user,
.gdrts-rating-please-wait,
.gdrts-rating-thanks {
  display: none !important;
}

.rating .h2 {
  padding-bottom: 0;
}

.gdrts-stars-rating:not(.gdrts-loop-saving)
  .gdrts-stars-empty:hover
  .gdrts-stars-current {
  width: 20% !important;
}

.gdrts-with-fonticon {
  height: 50px !important;
}

.posts-list-ul li .post-list-ul-content-categories {
  flex-wrap: nowrap;
}

.posts-list-ol li .post-list-ol-content-categories {
  flex-wrap: nowrap;
}

.post-list-ul-content-categories a {
  text-overflow: initial;
  overflow: initial;
}

.post-list-ol-content-categories a {
  text-overflow: initial;
  overflow: initial;
}

.posts-list-ul li .post-list-ul-content-categories {
  overflow: hidden;
}

.posts-list-ol li .post-list-ol-content-categories {
  overflow: hidden;
}

.post-list-ul-content-categories {
  min-height: 35.2px;
}

.post-list-ol-content-categories {
  min-height: 35.2px;
}

@media screen and (max-width: 1400px) {
  .posts-list-ul li {
    max-width: calc(33.33333% - 16px);
  }
  .posts-list-ol li {
    max-width: calc(33.33333% - 16px);
  }
  .index-header-block-img img {
    width: 335px;
  }
  .index-header-block-img {
    margin-top: 32px;
  }
  .index-header-block {
    margin-top: 66px;
  }
}

@media screen and (max-width: 1023px) {
  .posts-list-ul li {
    max-width: 100%;
  }

  .posts-list-ol li {
    max-width: 100%;
  }
  .yasr-star-rating .yasr-star-value {
    background-size: 28px !important;
    height: 30px !important;
  }
  .yasr-star-rating {
    width: 140px !important;
    background-size: 28px !important;
    height: 30px !important;
  }
  .alignleft {
    margin-right: 0px;
  }
  .faq-item-title span {
    padding-right: 65px;
  }
  .index-header-block {
    margin-top: 0 !important;
    min-height: 140px;
    display: flex;
    align-items: center;
  }
  .index-header-block-img {
    min-height: 140px;
    display: flex;
    align-items: center;
    margin-top: 20px;
  }
  .gdrts-with-fonticon .gdrts-stars-empty {
    width: 145px;
    background-size: 29px 25px;
    height: 25px;
  }
  .gdrts-with-fonticon .gdrts-stars-current {
    background-size: 29px 25px;
    height: 25px;
  }
  .gdrts-with-fonticon .gdrts-stars-active {
    background-size: 29px 25px;
    height: 25px;
  }
  .gdrts-rating-text {
    padding-top: 15px;
  }
  .rating {
    padding: 26px 20px 20px;
  }
  .gdrts-with-fonticon {
    height: 28px !important;
  }
}

@media screen and (max-width: 475px) {
  .index-header-block {
    margin-top: 48px;
  }
  .index-header-block {
    margin-top: 0 !important;
    min-height: 100px;
    display: flex;
    align-items: center;
  }
  .index-header-block-img {
    min-height: 100px;
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
}

h5 {
  margin-top: 10px;
  margin-bottom: 18px;
}

/* ── Sidebar Subscribe ── */

.sidebar-subscribe {
  margin-top: 40px;
  width: 221px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-subscribe-text {
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  text-transform: uppercase;
  color: #fff;
  height: 38px;
  text-align: center;
}

.sidebar-subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  background-color: #2b24ff;
  border-radius: 48px;
  border: 2px solid #2b24ff;
  color: #fff;
  font-family: "Elina04", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding-left: 20px;
  padding-right: 10px;
  box-sizing: border-box;
}

.sidebar-subscribe-btn:hover {
  opacity: 1;
}

.sidebar-subscribe-btn-text {
  width: 169px;
  flex-shrink: 0;
  text-align: left;
}

.sidebar-subscribe-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #010101;
}

.sidebar-subscribe-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  display: block;
}

.sidebar-subscribe-icon .icon-first {
  transition: transform 0.4s ease;
}

.sidebar-subscribe-icon .icon-second {
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.sidebar-subscribe-btn:hover .sidebar-subscribe-icon .icon-first {
  transform: translateX(100%);
}

.sidebar-subscribe-btn:hover .sidebar-subscribe-icon .icon-second {
  transform: translateX(0);
}

/* ── Inline Contact Form ── */

.inline-contact {
  padding: 80px 0;
}

.inline-contact-inner {
  background-color: #010101;
  border: 2px solid #1F1F1F;
  border-radius: 24px;
  width: 100%;
  max-width: 921px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 40px;
}

@media screen and (max-width: 768px) {
  .inline-contact-inner {
    padding: 20px;
  }
}

.inline-contact-heading {
  padding: 0;
  margin-bottom: 24px;
}

.inline-contact-title {
  font-family: "Elina04", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 117%;
  color: #fff;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .inline-contact-title {
    font-size: 24px;
  }
}

.inline-contact-form {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.inline-contact-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.inline-contact-inputs > .inline-contact-field {
  width: calc(50% - 6.5px);
}

@media screen and (max-width: 768px) {
  .inline-contact-inputs > .inline-contact-field {
    width: 100%;
  }
}

.inline-contact-field {
  position: relative;
  border-radius: 18px;
  background-color: rgb(33, 33, 33);
  padding: 20px 24px;
  cursor: pointer;
  height: 68px;
  border: 1px solid transparent;
  transition: border-color 0.3s;
  display: block;
  box-sizing: border-box;
}

.inline-contact-field.active {
  border-color: #fff;
}

.inline-contact-field.active .inline-contact-label {
  font-size: 10px;
  top: 14px;
  transform: none;
}

.inline-contact-label {
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1.1;
  pointer-events: none;
  transition: all 0.3s;
}

.inline-contact-star {
  color: #ff4040;
}

.inline-contact-field input[type="text"],
.inline-contact-field input[type="email"],
.inline-contact-field input[type="tel"] {
  width: 100%;
  background-color: transparent;
  color: #fff;
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  height: auto;
  position: relative;
  top: 12px;
  border-radius: 0;
  -webkit-appearance: none;
  line-height: 1.1;
}

/* ── Select fields ── */

.inline-contact-select-field {
  position: relative;
  user-select: none;
}

.inline-contact-select-value {
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  position: relative;
  top: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 24px;
}

.inline-contact-select-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.3s;
  line-height: 0;
}

.inline-contact-select-field.open .inline-contact-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.inline-contact-dropdown {
  display: none;
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 8px);
  background-color: rgb(33, 33, 33);
  border: 1px solid #373737;
  border-radius: 12px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
}

.inline-contact-select-field.open .inline-contact-dropdown {
  display: block;
}

.inline-contact-dropdown li {
  padding: 10px 24px;
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
  max-width: 100%;
  background-color: transparent;
}

.inline-contact-dropdown li:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* ── Textarea ── */

.inline-contact-textarea-field {
  width: 100%;
  height: 161px;
  margin-top: 13px;
  padding: 24px;
}

.inline-contact-textarea-field .inline-contact-label {
  top: 24px;
  transform: none;
}

.inline-contact-textarea-field.active .inline-contact-label {
  top: 24px;
  transform: none;
}

.inline-contact-textarea-field textarea {
  width: 100%;
  background-color: transparent;
  color: #fff;
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  outline: none;
  resize: none;
  position: relative;
  top: 24px;
  height: calc(161px - 48px - 14px);
  line-height: 1.4;
  padding: 0;
  margin: 0;
}

/* ── Submit Button ── */

.inline-contact-submit {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.inline-contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 212px;
  height: 60px;
  background-color: #2b24ff;
  border: 2px solid #2b24ff;
  border-radius: 48px;
  color: #fff;
  font-family: "Elina04", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 12px 0 12px;
  box-sizing: border-box;
}

.inline-contact-submit-btn:hover {
  opacity: 1;
}

.inline-contact-submit-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #010101;
}

.inline-contact-submit-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  display: block;
}

.inline-contact-submit-icon .icon-first {
  transition: transform 0.4s ease;
}

.inline-contact-submit-icon .icon-second {
  transform: translate(-100%, 100%);
  transition: transform 0.4s ease;
}

.inline-contact-submit-btn:hover .inline-contact-submit-icon .icon-first {
  transform: translate(100%, -100%);
}

.inline-contact-submit-btn:hover .inline-contact-submit-icon .icon-second {
  transform: translate(0, 0);
}

/* ── Contact Popup Modal ── */

.popup-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: auto;
  overflow-x: hidden;
  justify-content: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 9999999;
  transition: opacity 0.5s, visibility 0.5s;
  backdrop-filter: blur(35.3px);
  -webkit-backdrop-filter: blur(35.3px);
  background-color: rgba(255, 255, 255, 0.01);
}

.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  margin: auto 0;
  background-color: #010101;
  width: 921px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #fff;
  transform: translateY(-800px);
  transition: transform 0.5s;
}

.popup-overlay.open .popup-box {
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .popup-box {
    width: 100%;
    min-height: 100vh;
    border: none;
  }
}

.popup-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 40px 0;
}

@media screen and (max-width: 768px) {
  .popup-heading {
    padding: 20px 20px 0;
  }
}

.popup-heading-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-title {
  font-family: "Elina04", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 117%;
  color: #fff;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .popup-title {
    font-size: 24px;
  }
}

.popup-subtitle {
  font-family: "Elina04", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  color: #fff;
  margin: 0;
}

.popup-close {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #373737;
  cursor: pointer;
  transition: background-color 0.3s;
  border: none;
  padding: 0;
}

.popup-close:hover {
  background-color: #272727;
}

.popup-close svg {
  pointer-events: none;
}

.popup-form {
  display: flex;
  flex-direction: column;
  padding: 24px 40px 40px;
}

@media screen and (max-width: 768px) {
  .popup-form {
    padding: 24px 20px 20px;
  }
}

/* ── Form validation & feedback states ── */

.field-error {
  border-color: #ff4d4d !important;
}

.form-error-msg {
  color: #ff4d4d;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

.btn-loading {
  opacity: 0.6;
  pointer-events: none;
}

.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 40px;
}

.form-success-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

/* Dark FAQ accordion for blog post ACF FAQs. */
.single-content .oqtacore-post-faq {
  margin: 56px 0 36px;
  padding: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.single-content .oqtacore-post-faq .h2 {
  color: #ffffff;
  font-size: 28px !important;
  line-height: 117% !important;
  font-weight: 700;
  padding: 0 0 18px;
}

.single-content .oqtacore-post-faq .faq-item {
  display: block;
  width: 100%;
  margin: 0 0 12px;
}

.single-content .oqtacore-post-faq .faq-item-title {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: none;
  color: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.single-content .oqtacore-post-faq .faq-item-title:hover,
.single-content .oqtacore-post-faq .faq-item-active .faq-item-title {
  background: rgba(43, 36, 255, 0.16);
  border-color: rgba(43, 36, 255, 0.65);
}

.single-content .oqtacore-post-faq .faq-item-title span {
  color: #ffffff;
  font-family: "Elina04", sans-serif;
  font-size: 18px;
  line-height: 117%;
  font-weight: 600;
  padding: 20px 64px 20px 20px;
}

.single-content .oqtacore-post-faq .faq-item-title b {
  width: 54px;
  background: transparent;
  border-radius: 0;
}

.single-content .oqtacore-post-faq .faq-item-title b:after {
  background-image: none;
  width: 10px;
  height: 10px;
  left: 50%;
  top: 50%;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.single-content .oqtacore-post-faq .faq-item-active .faq-item-title b:after {
  transform: translate(-50%, -25%) rotate(225deg);
}

.single-content .oqtacore-post-faq .faq-item-content {
  padding: 18px 20px 8px;
  color: #cccccc;
}

.single-content .oqtacore-post-faq .faq-item-content,
.single-content .oqtacore-post-faq .faq-item-content p {
  color: #cccccc;
  font-family: "Elina04", sans-serif;
  font-size: 18px !important;
  line-height: 117% !important;
}

.single-content .oqtacore-post-faq .faq-item-content p {
  padding-bottom: 12px;
}

.single-content .oqtacore-post-faq .faq-item-content a {
  color: #ffffff;
  text-decoration: underline;
}

@media screen and (max-width: 1023px) {
  .single-content .oqtacore-post-faq {
    margin-top: 44px;
    padding-top: 28px;
  }

  .single-content .oqtacore-post-faq .h2 {
    font-size: 24px !important;
  }

  .single-content .oqtacore-post-faq .faq-item-title span,
  .single-content .oqtacore-post-faq .faq-item-content,
  .single-content .oqtacore-post-faq .faq-item-content p {
    font-size: 16px !important;
  }
}

