/*
Theme Name: iQ Lingua
Theme URI: https://iq.devonlineshops.de
Author: iQ Lingua Team
Description: Custom WordPress theme for iQ Lingua language school eCommerce website. Features course listings, pricing plans, testimonials, and WooCommerce integration.
Version: 2.8.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iq-lingua
Tags: ecommerce, custom-menu, featured-images, woocommerce, responsive-layout
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --red: #e10100;
  --red-dark: #b80016;
  --dark: #111111;
  --gray-bg: #f0f4f8;
  --card-bg: #d1e9f0;
  --white: #ffffff;
  --text: #000;
  --muted: #666666;
  --border: #dde3ea;
  --font-display: "Noto Sans", sans-serif;
  --font-body: "Noto Sans", sans-serif;
  --container: 1860px;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
}

/* =====================================================
   GLOBAL FONT — Noto Sans applied everywhere
   ===================================================== */
*,
*::before,
*::after,
body,
html,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
ul,
ol,
div,
button,
input,
select,
textarea,
label,
.iq-header,
.iq-topbar,
.iq-footer,
.iq-nav__list,
.section-title,
.section-sub,
.section-label {
  font-family: "Noto Sans", sans-serif !important;
}
/* =====================================================
   RESET & BASE
   ===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: var(--font-body);
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-body);
  line-height: 1.25;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(26px, 3vw, 34px);
  text-align: center;
  margin-bottom: 14px;
  color: var(--text);
  margin-bottom: 25px !important;
}
.section-sub {
  text-align: center;
  color: var(--text);
  max-width: 850px;
  margin: 0 auto 44px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
}
/* =====================================================
   BUTTONS
   ===================================================== */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  padding: 12px 26px;
  font-size: clamp(16px, 2vw, 17px) !important;
  font-weight: 700;
  border-radius: 5px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.btn-outline-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 12px 26px;
  font-size: clamp(16px, 2vw, 17px) !important;
  font-weight: 700;
  border-radius: 5px;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-outline-red:hover {
  background: rgba(224, 0, 27, 0.06);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 12px 26px;
  font-size: clamp(16px, 2vw, 17px) !important;
  font-weight: 700;
  border-radius: 5px;
  transition: background 0.2s;
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.85);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 11px 26px;
  font-size: clamp(16px, 2vw, 17px) !important;
  font-weight: 700;
  border-radius: 5px;
  transition: background 0.2s;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--dark);
  color: #ccc;
  font-size: 12.5px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left a {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.topbar-left a:hover {
  color: #fff;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-right a {
  color: #ccc;
  font-size: 12px;
  transition: color 0.2s;
}
.topbar-right a:hover {
  color: #fff;
}
.lang-switcher select {
  background: transparent;
  border: 1px solid #444;
  color: #ccc;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
}

/* =====================================================
   SITE HEADER / NAV
   ===================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
}
.logo-text {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--red);
  font-weight: 700;
}
.logo-tagline {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Primary Navigation */
.primary-nav ul {
  display: flex;
  gap: 6px;
}
.primary-nav ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 5px;
  transition:
    color 0.2s,
    background 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
  color: var(--red);
  background: rgba(224, 0, 27, 0.05);
}

/* Dropdown */
.primary-nav ul li {
  position: relative;
}
.primary-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 200px;
  padding: 8px 0;
  box-shadow: var(--shadow);
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.primary-nav ul li:hover > ul {
  display: flex;
}
.primary-nav ul li ul li a {
  padding: 10px 18px;
  border-radius: 0;
  font-size: 13px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions a {
  color: var(--muted);
  font-size: 20px;
  position: relative;
  transition: color 0.2s;
}
.header-actions a:hover {
  color: var(--red);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  padding: 4px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.76) 45%, rgba(0, 0, 0, 0.25)),
    url("") center/cover no-repeat;
  background-color: #1a1a2e;
}

.hero-bg.has-image {
  background-image: var(--hero-bg-image);
}

section#hero .container {
  flex: 0 0 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px 0;
  animation: fadeUp 0.7s ease both;
}

.hero-content h1 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 20px;
}

.hero-bullets {
  margin-bottom: 32px;
}

.hero-bullets li {
  font-size: clamp(16px, 2vw, 17px);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

.hero-bullets li::before {
  display: none;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media screen and (max-width: 767px) {
  .hero-section {
  flex-direction: column;
  min-height: auto;
  align-items: stretch;
}

.hero-bg {
  position: relative;
  min-height: 280px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4)),
    var(--hero-bg-image, url("")) center/cover no-repeat;
  background-color: #1a1a2e;
}

.hero-bg.has-image {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4)),
    var(--hero-bg-image);
}

section#hero .container {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #333;
  padding: 40px 0;
}

.hero-content h1 {
  color: #333;
}

.hero-bullets li {
  color: #333;
}

.hero-icon {
  color: #e10100;
}
}
@media screen and (max-width: 480px) {
  .hero-bg {
  min-height: 220px;
}

.hero-content {
  padding: 30px 0;
}

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-bullets li {
  margin-bottom: 6px;
}

.hero-btns {
  flex-direction: column;
}

.hero-btns a,
.hero-btns button {
  justify-content: center;
  width: 100%;
  font-size: 14px ! IMPORTANT;
}
}
/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
  padding: 72px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 930px;
  margin: 0 auto;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 25px;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
}
.feature-card h3 {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 18px;
}
.feature-list li {
  font-size: clamp(14px, 1vw, 18px);
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-weight: bold;
  flex-shrink: 0;
}
.feature-list li::before {
  display: none;
}
.feature-card .btn-red,
.feature-card .btn-white {
  margin-top: 22px;
  width: 100%;
}

/* =====================================================
   COURSES SECTION
   ===================================================== */
.courses-section {
  padding: 72px 0;
  background: var(--gray-bg);
}
.filter-row {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-select {
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  background: #f6f6f6;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s;
}
.filter-select:focus {
  outline: none;
  border-color: var(--red);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.course-level-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.course-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.course-meta {
  margin-bottom: 16px;
  flex: 1;
}
.course-meta li {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-icon {
  font-size: 14px;
  width: 20px;
  flex-shrink: 0;
}
.course-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}
.course-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.availability {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.availability.available {
  color: #2e7d32;
}
.availability.limited {
  color: #e09900;
}
.availability.sold-out {
  color: #999;
}

/* =====================================================
   LEVELS / ACCORDION SECTION
   ===================================================== */
.levels-section {
  padding: 72px 0;
  background: var(--white);
}
.accordion {
  max-width: 1100px;
  margin: 0 auto 36px;
}
.acc-item {
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background-color: var(--card-bg);
}
.acc-header {
  padding: 25px;
  font-size: clamp(16px, 1.5vw, 17px);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent !important;
  transition: background 0.2s;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text);
}
.acc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.acc-chevron {
  transition: transform 0.3s;
  font-size: 18px;
  color: var(--red);
}
.acc-header[aria-expanded="true"] .acc-chevron {
  transform: rotate(180deg);
}
.acc-body {
  display: none;
  padding: 10px 25px 25px;
  font-size: clamp(16px, 1.1vw, 17px);
  background: transparent !important;
  line-height: 1.5;
}
.acc-body.open {
  display: block;
}
.levels-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   PRICING SECTION
   ===================================================== */
.pricing-section {
  padding: 72px 0;
  background: var(--gray-bg);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 26px;
  border: 2px solid transparent;
  position: relative;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(224, 0, 27, 0.1);
  transform: translateY(-4px);
}
.pricing-card.popular {
  border-color: var(--red);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: var(--font-body);
}
.pricing-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.pricing-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.pricing-features {
  margin-bottom: 28px;
  flex: 1;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
  padding: 72px 0;
  background: var(--white);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto 44px;
}
.testi-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 26px;
}
.stars {
  color: #f5a623;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-text {
  color: var(--text);
}
.testi-author {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.testi-location {
  font-size: 12px;
  color: var(--muted);
}
.testi-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.google-rating {
  text-align: center;
}
.google-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.google-stars {
  font-size: 26px;
  letter-spacing: 3px;
  color: #f5a623;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--dark);
  color: #aaa;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-body);
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 13px;
  color: #999;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-logo {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--red);
  margin-bottom: 12px;
}
.footer-contact {
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.7;
}
.payment-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pay-badge {
  background: #fff;
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--dark);
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.social-row a {
  width: 34px;
  height: 34px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}
.social-row a:hover {
  background: var(--red);
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links {
  display: flex;
  gap: 18px;
}
.footer-bottom-links a {
  color: #777;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: #fff;
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
#scroll-top {
  background: transparent;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  border: none;
  box-shadow: none;
  transition:
    transform 0.2s,
    opacity 0.3s;
  display: flex;
  align-items: center;
  gap: 7px;
  /* z-index: 999;
  opacity: 0; */
  margin: 20px 0 20px auto;
  color: #212121 !important;
}
/* #scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#scroll-top:hover {
  transform: translateY(-3px);
} */

/* =====================================================
   WOOCOMMERCE OVERRIDES
   ===================================================== */
.woocommerce .button,
.woocommerce button.button {
  background: var(--red);
  color: #fff;
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: 600;
}
.woocommerce .button:hover {
  background: var(--red-dark);
  color: #fff;
}
.woocommerce-message {
  border-top-color: var(--red);
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* =====================================================
   PAGE TEMPLATES
   ===================================================== */
.page-content {
  padding-block: 60px;
}
.page-title {
  font-size: 36px;
  margin-bottom: 28px;
}
.entry-content p {
  margin-bottom: 16px;
}

/* =====================================================
   SINGLE COURSE PAGE
   ===================================================== */
.single-course .course-hero {
  background: var(--gray-bg);
  padding: 48px 0;
  margin-bottom: 48px;
}
.single-course .course-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}
.course-info h2 {
  font-size: 22px;
  margin-bottom: 16px;
}
.course-sidebar {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.course-sidebar .course-price {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }
  .primary-nav.open {
    display: block;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav.open ul li a {
    padding: 12px 16px;
    border-radius: 6px;
  }
  .menu-toggle {
    display: block;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content {
    padding: 48px 0;
  }
  .topbar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .single-course .course-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns a,
  .hero-btns button {
    justify-content: center;
  }
  .btn-red,
  .btn-white {
    padding: 12px !important;
  }
}

/* =====================================================
   LOGO LINK FIX
   ===================================================== */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.cart-link {
  position: relative;
  font-size: 20px;
  color: var(--muted);
  transition: color 0.2s;
}
.cart-link:hover {
  color: var(--red);
}
.login-link {
  font-size: 20px;
  color: var(--muted);
  transition: color 0.2s;
}
.login-link:hover {
  color: var(--red);
}

/* =====================================================
   TOPBAR FIXES
   ===================================================== */
.topbar-flags {
  font-size: 16px;
}
.topbar-hours {
  font-size: 12.5px;
}
.topbar-lang {
  font-size: 12px;
  color: #ccc;
}

/* =====================================================
   FOOTER NAV OVERRIDE (no bullets from wp_nav_menu)
   ===================================================== */
.site-footer nav ul,
.footer-bottom-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bottom-links ul {
  display: flex;
  gap: 18px;
}
.footer-bottom-links ul li a {
  color: #777;
  font-size: 12px;
  transition: color 0.2s;
}
.footer-bottom-links ul li a:hover {
  color: #fff;
}

/* =====================================================
   HEADER VISIBLE ON ALL PAGES
   ===================================================== */
.site-header,
.topbar,
.site-footer {
  display: block !important;
  visibility: visible !important;
}

/* ==========================================================================
   iQ LINGUA v8 — TOPBAR + HEADER  (matches reference screenshot exactly)
   ========================================================================== */

/* ── RESET any conflicting theme styles on our elements ── */
.iq-topbar,
.iq-topbar *,
.iq-header,
.iq-header * {
  box-sizing: border-box;
}
.iq-topbar a,
.iq-header a {
  text-decoration: none;
}
.iq-topbar ul,
.iq-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.iq-topbar button {
  cursor: pointer;
}

/* ── TOPBAR ── */
.iq-topbar {
  background: #111111 !important;
  color: #c8c8c8 !important;
  font-family: var(--font-body) !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  width: 100% !important;
  display: block !important;
  position: relative;
  z-index: 1100;
}
.iq-topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2px 20px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
}
.iq-topbar__left {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: 0;
}
.iq-topbar__phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  color: #fff !important;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
  font-size: 16px;
}
.iq-topbar__phone:hover {
  color: #fff !important;
}

.iq-topbar__flags {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px;
}
.iq-topbar__flags img {
  display: block;
  border-radius: 2px;
  vertical-align: middle;
}
.iq-topbar__dot {
  color: #fff;
  font-size: 16px;
  line-height: 1;
}
.iq-topbar__hours {
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
  font-weight: bold;
}
.iq-topbar__right {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
}
.iq-topbar__lang {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  color: #fff;
  background: transparent;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
}

/* ── SITE HEADER ── */
.iq-header {
  background: #ffffff !important;
  border-bottom: 1px solid #ebebeb !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
  font-family: var(--font-body) !important;
  display: block !important;
  width: 100% !important;
}
.iq-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

/* ── LOGO ── */
.iq-header__logo {
  flex-shrink: 0;
  margin-right: 36px;
}
.iq-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px;
  text-decoration: none !important;
}
.iq-logo__icon {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}
.iq-logo__icon svg {
  display: block;
}
.iq-logo__brand {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1 !important;
  gap: 3px;
}
.iq-logo__name {
  font-size: 21px !important;
  line-height: 1 !important;
  letter-spacing: -0.2px;
  display: block;
}
.iq-logo__tagline {
  font-family: var(--font-body) !important;
  font-size: 8.5px !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  color: #999 !important;
  font-weight: 500 !important;
  display: block;
}

/* ── PRIMARY NAV ── */
/* ══════════════════════════════════════════════════
   PRIMARY NAV  — 3-level mega menu
   ══════════════════════════════════════════════════ */
.iq-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* ── Level 0: top bar ── */
.iq-nav__list {
  display: flex !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  height: 60px;
  gap: 0;
}
.iq-nav__list > li {
  position: relative;
  display: flex !important;
  align-items: stretch !important;
  margin: 0;
  padding: 0;
}
.iq-nav__list > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 16px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #111 !important;
  text-decoration: none !important;
  white-space: nowrap;
  position: relative;
  transition: background 0.18s, color 0.18s;
  border-radius: 10px 10px 0 0;
}
/* Hover + active: red background, WHITE text */
.iq-nav__list > li:hover > a,
.iq-nav__list > li.current-menu-item > a,
.iq-nav__list > li.current-menu-parent > a,
.iq-nav__list > li.current-menu-ancestor > a {
  background: var(--red) !important;
  color: #fff !important;
}
/* SVG chevron — inherits currentColor, turns white on hover automatically */
.iq-nav__list > li > a .dropdown-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s;
  display: block;
  stroke: currentColor;
}
.iq-nav__list > li:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

/* ── Level 1 dropdown: red panel ── */
.iq-nav__list .sub-menu--l1 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--red, #e10100);
  min-width: 280px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  /* Hide scrollbar — Firefox */
  scrollbar-width: none;
  /* Hide scrollbar — IE/Edge legacy */
  -ms-overflow-style: none;
}
/* Hide scrollbar — Chrome/Safari/Edge */
.iq-nav__list .sub-menu--l1::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.iq-nav__list > li:hover > .sub-menu--l1 {
  display: block;
}

/* items inside red panel */
.sub-menu--l1 > li {
  position: relative;
}
.sub-menu--l1 > li > a {
  display: flex !important;
  align-items: center !important;
  padding: 10px 0px !important;
  font-size: 17px !important;
  margin: 0 24px;
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,1) !important;
  transition: background 0.15s;
  white-space: nowrap;
}
.sub-menu--l1 > li:last-child > a {
  border-bottom: none !important;
}

/* Triangle pointer — only on items that have a sub-menu (has-children) */
.sub-menu--l1 > li.has-children:hover > a::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #d1e9f0;
}

/* ── Level 2 flyout: #d1e9f0 panel to the right ── */
.sub-menu--l2 {
  display: none;
  position: fixed;
  left: auto;
  background: #d1e9f0;
  min-width: 300px;
  padding: 10px 0;
  border-radius: 0 10px 10px 0;
  box-shadow: 4px 8px 30px rgba(0,0,0,0.12);
  z-index: 10000;
  list-style: none;
  margin: 0;
  overflow: hidden;
}
/* flyout shown/hidden by JS */
/* All flyout items */
.sub-menu--l2 > li > a {
  display: block !important;
  padding: 10px 0px !important;
  margin: 0 24px;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #111 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0,0,0,1) !important;
  white-space: nowrap;
}
/* First item = section title: 21px */
.sub-menu--l2 > li:first-child > a {
  font-size: 21px !important;
  border-bottom: 1px solid rgba(0,0,0,0,1) !important;
  padding-bottom: 13px !important;
}
.sub-menu--l2 > li:last-child > a {
  border-bottom: none !important;
}
.sub-menu--l2 > li > a:hover {
  color: var(--red) !important;
}


/* ── Override any plugin/theme CSS conflicting with nav hover ── */
.iq-nav__list > li > a:hover,
.iq-nav__list > li > a:focus {
  border-bottom-color: transparent !important;
  border-bottom: none !important;
}

/* ── HEADER ACTIONS ── */
.iq-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-left: auto !important;
  flex-shrink: 0;
}
.iq-action-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 30px !important;
  color: #000 !important;
  text-decoration: none !important;
  position: relative;
  background: transparent !important;
  border: none !important;
}
.iq-action-btn svg {
  display: block;
}
.iq-cart-badge {
  position: absolute;
  top: 0px;
  right: -3px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-body);
}

/* ── HAMBURGER ── */
.iq-hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
}
.iq-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #444;
  border-radius: 2px;
  transition: all 0.3s;
}
.iq-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.iq-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.iq-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── CUSTOM LOGO SIZE FIX (if user uploads one) ── */
.iq-header .custom-logo {
  max-height: 48px !important;
  width: auto !important;
  display: block;
}
.iq-header .custom-logo-link {
  display: flex;
  align-items: center;
}
.iq-offcanvas__body .trp-language-switcher {
    margin: 1rem;
}
/* ── MOBILE ── */
@media (max-width: 960px) {
  .iq-topbar {
    display: none !important;
  }
  .iq-hamburger {
    display: flex !important;
  }
  .iq-nav {
    display: none !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #fff !important;
    border-top: 3px solid var(--red) !important;
    box-shadow: none !important;
    z-index: 999 !important;
    overflow-y: auto;
    padding: 12px 0 40px;
  }
  .iq-nav.open {
    display: block !important;
  }
  .iq-nav__list {
    flex-direction: column !important;
    height: auto !important;
  }
  .iq-nav__list > li {
    flex-direction: column;
    align-items: stretch !important;
  }
  .iq-nav__list > li > a {
    padding: 14px 24px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    height: auto !important;
  }
  .iq-nav__list .sub-menu--l1,
  .iq-nav__list .sub-menu--l2 {
    position: static !important;
    border: none !important;
    box-shadow: none !important;
    background: rgba(0,0,0,0.08) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    display: none;
  }
  .iq-nav__list .sub-menu--l1 > li > a {
    padding: 11px 24px 11px 42px !important;
    font-size: 13px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
  }
  .iq-nav__list .sub-menu--l2 {
    background: rgba(0,0,0,0.15) !important;
  }
  .iq-nav__list .sub-menu--l2 > li > a {
    padding: 10px 24px 10px 60px !important;
    font-size: 12px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  }
  /* Show sub-menus when parent is open (toggled by JS) */
  .iq-nav__list li.open > .sub-menu--l1,
  .iq-nav__list li.open > .sub-menu--l2 {
    display: block !important;
  }
  .iq-topbar__hours,
  .iq-topbar__dot {
    display: none;
  }
  .iq-header__inner {
    padding: 0 20px;
  }
}
@media (max-width: 480px) {
  .iq-topbar__flags,
  .iq-topbar__dot {
    display: none;
  }
  .iq-logo__tagline {
    display: none;
  }
  .iq-logo__name {
    font-size: 18px !important;
  }
  a.iq-phone-btn {
    font-size: 14px !important;
    padding: 4px 8px;
  }
      .iq-header__logo img {
        max-height: 30px !important;
    }
}

/* ==========================================================================
   iQ LINGUA v9 — FOOTER  (matches reference screenshot exactly)
   ========================================================================== */

.iq-footer {
  background: #333;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  display: block;
  width: 100%;
}
.iq-footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.iq-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.iq-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── MAIN GRID ── */
.iq-footer__main {
  padding: 48px 0 36px;
}
.iq-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ── COL 1: CONTACT ── */
.iq-footer__phone-block {
  display: flex;
  align-items: center;
  gap: 20px;
}
.iq-footer__phone-icon {
  flex-shrink: 0;
  color: #aaa;
  margin-top: 2px;
  width: 28px;
  height: 28px;
}
.iq-footer__phone-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-weight: bold;
}
.iq-footer__phone-number {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: block;
}
.iq-footer__phone-number:hover {
  color: var(--red);
}
.iq-footer__avail,
.iq-footer__hours {
  font-size: 16px;
  color: #fff;
  display: block;
}

/* ── COL 2: LINKS ── */
.iq-footer__heading {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.iq-footer__links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.iq-footer__links li {
  margin-bottom: 7px;
}
.iq-footer__links li a {
  font-size: 14px;
  color: #fff;
  transition: color 0.2s;
  font-weight: bold;
}
.iq-footer__links li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── COL 3: SOCIAL ── */
.iq-footer__social {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.iq-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.iq-footer__accessibility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── COL 4: BADGES ── */
.iq-footer__col--badges {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-content: flex-start;
  justify-content: end;
}
.iq-footer__badge {
  flex-shrink: 0;
}

/* Getestet.de badge */
.iq-badge-getestet {
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  width: 90px;
  text-align: center;
  font-family: var(--font-body);
}
.iq-badge-getestet__header {
  background: #e63027;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.iq-badge-getestet__header span {
  font-size: 8px;
}
.iq-badge-getestet__site {
  font-size: 8px;
  color: #555;
  margin-bottom: 2px;
}
.iq-badge-getestet__rating {
  font-size: 14px;
  font-weight: 800;
  color: #222;
}
.iq-badge-getestet__score {
  font-size: 11px;
  color: #444;
}
.iq-badge-getestet__date {
  font-size: 8px;
  color: #777;
  margin-top: 3px;
}

/* TÜV Nord badge */
.iq-badge-tuv {
  background: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  border: 3px solid #004b9e;
  text-align: center;
}
.iq-badge-tuv__top {
  font-size: 9px;
  font-weight: 800;
  color: #004b9e;
  letter-spacing: 0.5px;
}
.iq-badge-tuv__cert {
  font-size: 7px;
  color: #555;
}
.iq-badge-tuv__iso {
  font-size: 7px;
  color: #555;
}
.iq-badge-tuv__num {
  font-size: 13px;
  font-weight: 800;
  color: #004b9e;
}

/* Quality badge */
.iq-badge-quality {
  width: 90px;
  height: 90px;
}
.iq-badge-quality__ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #e0001b;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-family: var(--font-body);
}
.iq-badge-quality__label {
  font-size: 6px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.iq-badge-quality__logo {
  font-size: 14px;
  font-weight: 900;
  color: #e0001b;
  font-style: italic;
}
.iq-badge-quality__stars {
  font-size: 9px;
  color: #f5a623;
  letter-spacing: 1px;
}
.iq-badge-quality__sub {
  font-size: 6px;
  color: #777;
}

/* ── PAYMENT SECTION ── */
.iq-footer__payment-section {
  padding: 24px 0;
}
.iq-footer__payment-title {
  font-size: 14px !important;
  font-weight: 600;
  color: #ccc;
  margin: 0 0 12px;
}
.iq-footer__payment-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #d6e0e6;
  border-radius: 10px;
  padding: 14px 20px;
  width: fit-content;
  flex-wrap: wrap;
}
.iq-pay-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-right: 1px solid #e0e0e0;
  font-size: 13px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}
.iq-pay-icon:last-child {
  border-right: none;
}
.iq-pay-paypal {
  color: #003087;
}
.iq-pay-paypal span {
  font-size: 13px;
  font-weight: 700;
  color: #003087;
}
.iq-pay-sepa {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-size: 11px;
  color: #003087;
  font-weight: 700;
}
.iq-pay-sepa__s {
  font-size: 18px;
  font-weight: 900;
}
.iq-pay-sepa__sub {
  font-size: 7px;
  color: #555;
  font-weight: 400;
}
.iq-pay-sofort {
  background: #ef7d00;
  color: #fff;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.iq-pay-visa {
  padding: 4px 12px;
}
.iq-pay-mc {
  padding: 4px 8px;
}
.iq-pay-amex {
  padding: 4px 10px;
}

/* ── BOTTOM BAR ── */
.iq-footer__bottom {
  padding: 16px 0;
}
.iq-footer__bottom .iq-footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.iq-footer__copy,
.iq-footer__legal a {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
}
.iq-footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.iq-footer__legal a:hover {
  text-decoration: underline;
}
.iq-footer__accessibility img {
    max-width: 40px;
}
.iq-footer__col.iq-footer__col--payment {
      grid-column: span 2;
}
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .iq-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .iq-footer__col {
    grid-column: span 2;
}
.iq-footer__col.iq-footer__col--badges {
    order: 1;
    justify-content: flex-start;
}

}
@media (max-width: 640px) {
  .iq-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .iq-footer__container {
    padding: 0 20px;
  }
  .iq-footer__bottom .iq-footer__container {
    flex-direction: column;
    align-items: flex-start;
  }
  .iq-footer__payment-box {
    flex-wrap: wrap;
  }
  .iq-footer__col--badges {
    justify-content: center !important;
  }
}

/* ==========================================================================
   v11 — USER DROPDOWN + LANGUAGE SWITCHER
   ========================================================================== */

/* ── LANGUAGE DROPDOWN ── */

.iq-lang-switcher {
  position: relative;
}
.iq-lang-dropdown {
  position: relative;
}
.iq-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1e1e1e;
  border: 1px solid #444;
  border-radius: 6px;
  min-width: 160px;
  padding: 6px 0;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  list-style: none;
  margin: 0;
}
.iq-lang-dropdown.open .iq-lang-menu {
  display: block;
}
.iq-lang-menu li {
  margin: 0;
  padding: 0;
}
.iq-lang-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #c8c8c8;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: "Noto Sans", sans-serif !important;
}
.iq-lang-menu li a:hover,
.iq-lang-menu li a.active {
  background: #2d2d2d;
  color: #fff;
}
.iq-lang-menu li a.active {
  font-weight: 600;
  color: #e0001b;
}

/* Polylang list style override */
.iq-lang-menu li.wpml-ls-item a,
.iq-lang-menu .lang-item a {
  display: block;
  padding: 9px 16px;
  color: #c8c8c8;
  text-decoration: none;
}

/* ── USER DROPDOWN ── */
.iq-user-menu {
  position: relative;
}
.iq-user-btn {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: auto !important;
  padding: 0 12px !important;
  border-radius: 20px !important;
  background: #fdf2f4 !important;
  color: #e0001b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  height: 36px !important;
  border: 1px solid #f5c6cc !important;
  white-space: nowrap;
}
.iq-user-btn:hover {
  background: #fbe0e3 !important;
}
.iq-user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.iq-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid #e0001b;
  border-radius: 0 0 10px 10px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  overflow: hidden;
}
.iq-user-menu.open .iq-user-dropdown {
  display: block;
}
.iq-user-dropdown__header {
  padding: 14px 18px;
  background: #fdf2f4;
  border-bottom: 1px solid #f5c6cc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iq-user-dropdown__header strong {
  font-size: 14px;
  color: #222;
  font-weight: 700;
}
.iq-user-dropdown__header small {
  font-size: 11px;
  color: #888;
}
.iq-user-dropdown__link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 13.5px;
  color: #333;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  border-bottom: none !important;
  font-family: "Noto Sans", sans-serif !important;
}
.iq-user-dropdown__link:hover {
  background: #fdf2f4;
  color: #e0001b;
}
.iq-user-dropdown__link svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.iq-user-dropdown__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}
.iq-user-dropdown__logout {
  color: #e0001b !important;
}
.iq-user-dropdown__logout:hover {
  background: #fdf2f4 !important;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .iq-user-name {
    display: none;
  }
  .iq-user-btn {
    padding: 0 10px !important;
    border-radius: 8px !important;
  }
}

/* ==========================================================================
   v12 — USER DROPDOWN + LOGIN BUTTON + LANG SWITCHER
   ========================================================================== */

/* ── LOGIN BUTTON (not logged in) ── */
.iq-login-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #e0001b !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  width: auto !important;
  transition:
    background 0.2s,
    transform 0.15s !important;
  white-space: nowrap;
  cursor: pointer;
}
.iq-login-btn:hover {
  background: #b80016 !important;
  transform: translateY(-1px);
  color: #fff !important;
}
.iq-login-text {
  font-family: "Noto Sans", sans-serif;
}

/* ── USER TOGGLE BUTTON (logged in) ── */
.iq-user-menu {
  position: relative;
}
.iq-user-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #fff !important;
  border: 0;
  cursor: pointer;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #000 !important;
  font-family: "Noto Sans", sans-serif !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.iq-user-toggle svg {
  opacity: 1;
  transition: transform 0.25s;
}
.iq-user-menu.open .iq-user-toggle svg {
  transform: rotate(180deg);
}
.iq-user-toggle .iq-user-name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.iq-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #f0f0f0;
}

/* ── USER DROPDOWN MENU ── */
.iq-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #ebebeb;
  border-top: 3px solid #e0001b;
  border-radius: 0 0 12px 12px;
  min-width: 240px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
  z-index: 9999;
  overflow: hidden;
}
.iq-user-menu.open .iq-user-dropdown {
  display: block;
}

.iq-user-dropdown__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fdf2f3;
  border-bottom: 1px solid #f5c6cc;
}
.iq-user-dropdown__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.iq-user-dropdown__head div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.iq-user-dropdown__head strong {
  font-size: 14px;
  color: #222;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iq-user-dropdown__head span {
  font-size: 11.5px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iq-user-dropdown__item {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #333 !important;
  text-decoration: none !important;
  transition:
    background 0.15s,
    color 0.15s,
    padding-left 0.15s;
  border-bottom: none !important;
  font-family: "Noto Sans", sans-serif !important;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.iq-user-dropdown__item svg {
  opacity: 0.5;
  flex-shrink: 0;
}
.iq-user-dropdown__item:hover {
  background: #fdf2f3 !important;
  color: #e0001b !important;
  padding-left: 22px !important;
}
.iq-user-dropdown__item:hover svg {
  opacity: 1;
}
.iq-user-dropdown__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}
.iq-user-dropdown__item--logout {
  color: #cc0000 !important;
}
.iq-user-dropdown__item--logout:hover {
  background: #fff5f5 !important;
  color: #e0001b !important;
}

/* ── LANGUAGE DROPDOWN ── */
.trp-language-switcher, .trp-current-language-item__wrapper:not(.trp-hide-arrow) {
    padding: 0 !important;
}

.iq-lang-dropdown {
  position: relative;
}
.iq-lang-dropdown.open .iq-topbar__lang svg:last-child {
  transform: rotate(180deg);
}
.iq-lang-dropdown .iq-topbar__lang svg {
  transition: transform 0.25s;
}

.iq-lang-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  background: #1e1e1e !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 8px !important;
  min-width: 170px !important;
  padding: 6px 0 !important;
  z-index: 10000 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  list-style: none !important;
  margin: 0 !important;
}
.iq-lang-dropdown.open .iq-lang-menu {
  display: block !important;
}
.iq-lang-menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.iq-lang-menu li a {
  display: block !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #cccccc !important;
  text-decoration: none !important;
  font-family: "Noto Sans", sans-serif !important;
  transition:
    background 0.15s,
    color 0.15s;
  border: none !important;
}
.iq-lang-menu li a:hover {
  background: #2d2d2d !important;
  color: #fff !important;
}
.iq-lang-menu li a.active {
  color: #e0001b !important;
  font-weight: 700 !important;
}

a.iq-phone-btn {
    border: 1px solid #de2727;
    border-radius: .25rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #de2727;
    padding: 4px 16px;
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  .iq-user-name,
  .iq-login-text {
    display: none;
  }
  .iq-login-btn {
    padding: 0 10px !important;
  }
  .iq-header__logo {
    margin-right: 10px;
  }
  .iq-header__logo img {
    max-height: 40px;
  }
}

/* ==========================================================================
   v13 — OFFCANVAS MOBILE MENU
   ========================================================================== */

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 960px) {
  .iq-nav {
    display: none !important;
  }
  .iq-hamburger {
    display: flex !important;
  }
}
@media (min-width: 961px) {
  .iq-hamburger, a.iq-phone-btn {
    display: none !important;
  }
  .iq-offcanvas,
  .iq-offcanvas-overlay {
    display: none !important;
  }
}

/* ── OVERLAY — removed, kept hidden for safety ── */
.iq-offcanvas-overlay {
  display: none !important;
}

/* ── MOBILE MENU: full-width dropdown below header ── */
.iq-offcanvas {
  position: fixed;
  top: 110px; /* fallback — JS sets exact header bottom */
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  z-index: 9999;
  display: none;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.iq-offcanvas.open {
  display: flex;
}

/* legacy header/close rules — element removed from markup */
.iq-offcanvas__header,
.iq-offcanvas__close {
  display: none !important;
}

/* ── MENU BODY (scrollable nav) ── */
.iq-offcanvas__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.iq-offcanvas__menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 8px 16px !important;
}

/* ── Row layout: link + toggle side by side ── */
.iq-offcanvas__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Level 0 items (closed state): white bg, black bold, divider ── */
.iq-offcanvas__item {
  position: relative;
}
.iq-offcanvas__item--d0 > .iq-offcanvas__row {
  border-bottom: 1px solid #ddd;
}
.iq-offcanvas__item--d0:last-child > .iq-offcanvas__row {
  border-bottom: none;
}
.iq-offcanvas__item > .iq-offcanvas__row > a {
  display: block !important;
  flex: 1;
  padding: 15px 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #111 !important;
  text-decoration: none !important;
  font-family: "Noto Sans", sans-serif !important;
  transition: color 0.2s;
}

/* ── Toggle button: plain +/− icon, no box ── */
.iq-offcanvas__submenu-toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  padding: 0;
}
.iq-offcanvas__submenu-toggle .ico-minus { display: none; }
.iq-offcanvas__submenu-toggle .ico-plus  { display: block; }
.iq-offcanvas__item.submenu-open > .iq-offcanvas__row .ico-plus  { display: none; }
.iq-offcanvas__item.submenu-open > .iq-offcanvas__row .ico-minus { display: block; }

/* ── Level-1 OPEN: parent row turns red + children red block ── */
.iq-offcanvas__item--d0.submenu-open {
  background: var(--red, #e10100);
  border-radius: 8px;
  margin: 4px -12px;
}
.iq-offcanvas__item--d0.submenu-open > .iq-offcanvas__row {
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding: 0 12px;
}
.iq-offcanvas__item--d0.submenu-open > .iq-offcanvas__row > a {
  color: #fff !important;
}
.iq-offcanvas__item--d0.submenu-open > .iq-offcanvas__row .iq-offcanvas__submenu-toggle {
  color: #fff;
}

/* ── Submenu base ── */
.iq-offcanvas__submenu {
  display: none;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.iq-offcanvas__item.submenu-open > .iq-offcanvas__submenu {
  display: block;
}

/* ── Level-1 children (inside red block): white text, white dividers ── */
.iq-offcanvas__submenu--l1 {
  padding: 0 12px 6px !important;
}
.iq-offcanvas__submenu--l1 > li > .iq-offcanvas__row {
  border-bottom: 1px solid rgba(255,255,255,0.6);
}
.iq-offcanvas__submenu--l1 > li:last-child > .iq-offcanvas__row {
  border-bottom: none;
}
.iq-offcanvas__submenu--l1 > li > .iq-offcanvas__row > a {
  color: #fff !important;
  font-size: 16px !important;
  padding: 13px 0 !important;
}
.iq-offcanvas__submenu--l1 > li > .iq-offcanvas__row .iq-offcanvas__submenu-toggle {
  color: #fff;
}

/* ── Level-2 item OPEN: light blue block with black text ── */
.iq-offcanvas__item--d1.submenu-open {
  background: #d1e9f0;
  margin: 0 -12px;
  padding: 0 12px;
}
.iq-offcanvas__item--d1.submenu-open > .iq-offcanvas__row {
  border-bottom: 1px solid rgba(0,0,0,0.5);
}
.iq-offcanvas__item--d1.submenu-open > .iq-offcanvas__row > a {
  color: #111 !important;
}
.iq-offcanvas__item--d1.submenu-open > .iq-offcanvas__row .iq-offcanvas__submenu-toggle {
  color: #111;
}

/* ── Level-2 children (light blue block): black text, black dividers ── */
.iq-offcanvas__submenu--l2 > li > .iq-offcanvas__row {
  border-bottom: 1px solid rgba(0,0,0,0.5);
}
.iq-offcanvas__submenu--l2 > li:last-child > .iq-offcanvas__row {
  border-bottom: none;
}
.iq-offcanvas__submenu--l2 > li > .iq-offcanvas__row > a {
  color: #111 !important;
  font-size: 16px !important;
  padding: 13px 0 !important;
}

/* ── OFFCANVAS FOOTER ── */
.iq-offcanvas__footer {
  border-top: 1px solid #e8e8e8;
  padding: 16px 20px;
  flex-shrink: 0;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.iq-offcanvas__login-btn,
.iq-offcanvas__account-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 18px !important;
  background: #e0001b !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  justify-content: center !important;
  transition: background 0.2s !important;
}
.iq-offcanvas__login-btn:hover,
.iq-offcanvas__account-btn:hover {
  background: #b80016 !important;
  color: #fff !important;
}
.iq-offcanvas__logout-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 18px !important;
  background: #f5f5f5 !important;
  color: #cc0000 !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  justify-content: center !important;
  transition: background 0.2s !important;
}
.iq-offcanvas__logout-btn:hover {
  background: #fdf2f3 !important;
}
.iq-offcanvas__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  justify-content: center;
}

/* ── HAMBURGER ── */
.iq-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.iq-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #444;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.iq-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.iq-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.iq-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Prevent body scroll when offcanvas is open */
body.iq-offcanvas-open {
  overflow: hidden;
}

/* ==========================================================================
   v14 — Payment Images, Badge Images, Social Icons, Legal Menu
   ========================================================================== */

/* ── Uploaded payment icons ── */
.iq-pay-uploaded {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-right: 1px solid #e0e0e0;
}
.iq-pay-uploaded:last-child {
  border-right: none;
}
.iq-pay-uploaded img {
  max-height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Badge images from admin ── */
.iq-footer__badge-img {
  display: block;
  max-width: 130px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.iq-footer__col--badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
  align-items: flex-start;
}

/* ── Social icons with custom images ── */
.iq-footer__social-link img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(0.7);
  transition: filter 0.2s;
}
.iq-footer__social-link:hover img {
  filter: brightness(0) invert(1);
}

/* ── Legal menu from wp_nav_menu ── */
.iq-footer__legal-list {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap;
}
.iq-footer__legal-list li {
  margin: 0 !important;
  padding: 0 !important;
}
.iq-footer__legal-list li a {
  font-size: 12.5px !important;
  color: #777 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  font-family: "Noto Sans", sans-serif !important;
}
.iq-footer__legal-list li a:hover {
  color: #fff !important;
}

/* fallback plain links */
.iq-footer__legal > a {
  font-size: 12.5px;
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}
.iq-footer__legal > a:hover {
  color: #fff;
}

/* ==========================================================================
   v16 — Social Icons Fix
   ========================================================================== */

.iq-footer__social {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap;
}
.iq-footer__social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  color: #ccc !important;
  transition:
    background 0.2s,
    transform 0.15s !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.iq-footer__social-link:hover {
  transform: translateY(-2px);
}
/* Image icons inside social links — no dark filter */
.iq-footer__social-link img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  border-radius: 0 !important;
}
/* SVG icons inside social links */
.iq-footer__social-link svg {
  display: block;
  flex-shrink: 0;
}

/* ==========================================================================
   v17 — Section Label, Pricing Cards, Testimonials & Google Rating
   ========================================================================== */

/* ── 1. SECTION LABEL — black/dark like other headings, no red ── */
.section-label {
  font-size: clamp(20px, 2.5vw, 21px) !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* ── 2. PRICING SECTION — background image blurred, cards redesigned ── */
.pricing-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/uploads/2026/04/Image-8.png") center/cover
    no-repeat;
  filter: blur(3px) brightness(0.92);
  transform: scale(1.05);
  z-index: 0;
}
.pricing-section .container {
  position: relative;
  z-index: 1;
}
.pricing-section .section-title {
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 40px !important;
  text-align: center !important;
}
.pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}
.pricing-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 36px 28px 28px !important;
  border: 2px solid transparent !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
}
.pricing-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}
.pricing-card.popular {
  border-color: var(--red) !important;
  box-shadow: 0 8px 32px rgba(224, 0, 27, 0.18) !important;
}
.popular-badge {
  position: absolute !important;
  top: -16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  padding: 6px 20px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}
.pricing-card h3 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 10px !important;
}
.pricing-desc {
  font-size: 17px !important;
  margin-bottom: 24px !important;
  line-height: 1.65 !important;
  min-height: 70px;
}
.pricing-price {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: #333 !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  flex-wrap: wrap;
}
.pricing-price strong {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
}
.pricing-price span {
  font-size: 17px !important;
  color: #666 !important;
  font-weight: 400 !important;
}
.pricing-note {
  font-size: 11px !important;
  color: #888 !important;
  margin-bottom: 0 !important;
}
.pricing-features {
  list-style: none !important;
  margin: 20px 0 28px !important;
  padding: 0 !important;
  flex: 1 !important;
}
.pricing-features li {
  font-size: 17px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  line-height: 1.5 !important;
}
.pricing-features li::before {
  content: "" !important;
  display: inline-block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e10100' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
  background-size: 24px 24px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin-top: 3px !important;
  font-weight: 400 !important;
  font-size: 0 !important;
}
.pricing-card .btn-red,
.pricing-card .btn-outline-red {
  width: 100% !important;
  justify-content: center !important;
  padding: 13px 24px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  gap: 8px !important;
}
.pricing-card .btn-outline-red {
  border: 2px solid var(--red) !important;
  color: var(--red) !important;
  background: transparent !important;
}
.pricing-card .btn-outline-red:hover {
  background: var(--red) !important;
  color: #fff !important;
}
.pricing-card .btn-outline-red:hover svg path {
    stroke: #fff;
}

/* ── 3. TESTIMONIALS — white cards, centered text, Google rating redesign ── */
.testimonials-section {
  padding: 80px 0 !important;
  background: #ffffff !important;
}
.testimonials-section .section-label {
  color: var(--text) !important;
}
.testimonials-section .section-title {
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 16px !important;
  text-align: center !important;
}
.testimonials-section .section-sub {
  max-width: 1000px !important;
  margin: 0 auto 48px !important;
  text-align: center !important;
}
.testi-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  max-width: 1100px !important;
  margin: 0 auto 56px !important;
}
.testi-card {
  background: #f7f7f7 !important;
  border-radius: 16px !important;
  padding: 32px 28px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #ebebeb !important;
}
.testi-card .stars {
  font-size: 22px !important;
  letter-spacing: 3px !important;
  color: #f5a623 !important;
  margin-bottom: 20px !important;
}
.testi-card .testi-text {
  font-size: clamp(16px, 1.2vw, 17px) !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
  text-align: center !important;
}
.testi-card .testi-author {
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-bottom: 2px !important;
}
.testi-card .testi-location {
  font-size: 14px !important;
}
.testi-card .testi-date {
  font-size: 14px !important;
  margin-top: 4px !important;
}

/* ── Google Rating redesign — like screenshot ── */
.google-rating {
  text-align: center !important;
  margin-top: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
}
.google-logo {
  font-size: 0 !important;
  line-height: 0 !important;
  margin-bottom: 4px !important;
}
/* Recreate Google logo with colored letters */
.google-logo::before {
  content: "Google" !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  font-family: "Noto Sans", sans-serif !important;
  background: linear-gradient(
    90deg,
    #4285f4 0%,
    #4285f4 10%,
    #ea4335 11%,
    #ea4335 28%,
    #fbbc05 29%,
    #fbbc05 50%,
    #4285f4 51%,
    #4285f4 60%,
    #34a853 61%,
    #34a853 78%,
    #ea4335 79%,
    #ea4335 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: block !important;
}

.google-stars {
  font-size: 28px !important;
  letter-spacing: 4px !important;
  color: #f5a623 !important;
  line-height: 1 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 460px !important;
  }
  .testi-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Google Rating — exact screenshot match ── */
.google-rating {
  text-align: center !important;
  margin-top: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
}
.google-logo {
  font-size: 0 !important;
  margin-bottom: 6px !important;
}
.google-logo::before {
  content: "Google" !important;
  font-size: 44px !important;
  font-weight: 700 !important;
  font-family: "Noto Sans", sans-serif !important;
  background: linear-gradient(
    90deg,
    #4285f4 0%,
    #4285f4 14%,
    #ea4335 15%,
    #ea4335 28%,
    #fbbc05 29%,
    #fbbc05 43%,
    #4285f4 44%,
    #4285f4 57%,
    #34a853 58%,
    #34a853 71%,
    #ea4335 72%,
    #ea4335 85%,
    #4285f4 86%,
    #4285f4 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: block !important;
  line-height: 1 !important;
}

/* Override old google-stars - now inline in label */
.google-stars {
  display: none !important;
}

/* ==========================================================================
   v18 — Section Label Black + Pricing Tick Fix
   ========================================================================== */

/* Fix 1: section-label always dark/black regardless of primary color */
.section-label {
  color: #1a1a1a !important;
}

/* ==========================================================================
   v19 — Google Rating Logo Fix
   ========================================================================== */
.google-rating {
  text-align: center !important;
  margin-top: 32px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}
.google-logo {
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
}
.google-logo::before {
  display: none !important;
  content: none !important;
}
.google-logo svg {
  display: block !important;
  width: 136px !important;
  height: auto !important;
}
.google-label {
  font-size: 20px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  justify-content: center !important;
  margin: 0 !important;
}
.google-stars {
  display: none !important;
}
.rating-stars {
  color: #ffce00;
  letter-spacing: 5px;
}

/* ==========================================================================
   v21 — Courses API Plugin Integration Styles
   Override plugin's default styles to match iQ Lingua theme
   ========================================================================== */

/* Plugin wrapper */
#courses-list-container {
  width: 100%;
}

/* Plugin's .courses-grid — match theme grid */
#courses-list-container .courses-grid,
.iq-plugin-courses-wrap .courses-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 !important;
}
@media (max-width: 900px) {
  #courses-list-container .courses-grid,
  .iq-plugin-courses-wrap .courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  #courses-list-container .courses-grid,
  .iq-plugin-courses-wrap .courses-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Plugin's .course-card — match theme card style */

section#courses > .container {
  max-width: 1340px;
}
#courses-list-container .course-card,
.iq-plugin-courses-wrap .course-card {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 24px !important;
  border: 1px solid var(--border) !important;
  display: flex !important;
  flex-direction: column !important;
  transition:
    box-shadow 0.2s,
    transform 0.2s !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}
#courses-list-container .course-card:hover,
.iq-plugin-courses-wrap .course-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-3px) !important;
}

/* Course title */
#courses-list-container .course-card h3,
.iq-plugin-courses-wrap .course-card h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
  font-family: "Noto Sans", sans-serif !important;
}

/* Course details text */
#courses-list-container .course-details,
.iq-plugin-courses-wrap .course-details {
  flex: 1 !important;
  font-size: 13px !important;
  color: #555 !important;
  line-height: 1.7 !important;
}
#courses-list-container .course-details p,
.iq-plugin-courses-wrap .course-details p {
  margin-bottom: 6px !important;
  font-size: 13px !important;
}
#courses-list-container .course-price,
.iq-plugin-courses-wrap .course-price {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 12px 0 4px !important;
}
#courses-list-container .course-stock,
.iq-plugin-courses-wrap .course-stock {
  font-size: 12px !important;
  color: #2e7d32 !important;
  margin-bottom: 16px !important;
  font-weight: 600 !important;
}

/* Course action button — match theme red button */
#courses-list-container .course-action .add_to_cart_button,
#courses-list-container .course-action .button,
.iq-plugin-courses-wrap .course-action .add_to_cart_button,
.iq-plugin-courses-wrap .course-action .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 12px 20px !important;
  background: var(--red, #e0001b) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: "Noto Sans", sans-serif !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
  margin-top: auto !important;
}
#courses-list-container .course-action .add_to_cart_button:hover,
.iq-plugin-courses-wrap .course-action .add_to_cart_button:hover {
  background: #b80016 !important;
  color: #fff !important;
}

/* Late join badge */
#courses-list-container .late-join,
.iq-plugin-courses-wrap .late-join {
  background: #fff3cd !important;
  color: #856404 !important;
  font-size: 11px !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}

/* Plugin filter styling */
.iq-plugin-filters {
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 28px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
#course-level-filter {
  padding: 10px 18px !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  font-family: "Noto Sans", sans-serif !important;
  font-size: 13.5px !important;
  background: #fff !important;
  cursor: pointer !important;
  color: var(--text) !important;
  min-width: 200px !important;
}
#course-level-filter:focus {
  outline: none !important;
  border-color: var(--red) !important;
}

/* No courses message */
.iq-no-courses {
  text-align: center !important;
  padding: 40px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  grid-column: 1 / -1 !important;
}

/* Loading state */
#courses-list-container.loading {
  opacity: 0.4 !important;
  pointer-events: none !important;
  transition: opacity 0.3s !important;
}

/* ==========================================================================
   v22 — Course Cards + Filters (matching screenshot design)
   ========================================================================== */

/* ── HOMEPAGE FILTER BAR ── */

.iq-hp-filters {
  display: flex !important;
  gap: 15px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-bottom: 36px !important;
}
.iq-hp-filter-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.iq-filter-select--homepage {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 16px center !important;
  border: 1.5px solid #d0d0d0 !important;
  border-radius: 24px !important;
  padding: 10px 38px 10px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  cursor: pointer !important;
  font-family: "Noto Sans", sans-serif !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s !important;
  white-space: nowrap !important;
  min-width: 180px !important;
}
/* Remove native dropdown arrow on iOS Safari (prevents double arrow) */
.iq-filter-select--homepage::-ms-expand { display: none !important; }
.iq-filter-select--homepage:focus {
  outline: none !important;
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(224, 0, 27, 0.08) !important;
}
.iq-filter-chevron {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: #555;
}

/* ── COURSE CARDS GRID ── */
.iq-courses-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
}
@media (max-width: 960px) {
  .iq-courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .iq-courses-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── COURSE CARD ── */
.iq-course-card {
  background: #dce8f5 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
  display: flex !important;
  flex-direction: column !important;
}
.iq-course-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12) !important;
}
.iq-course-card__inner {
  padding: 25px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.iq-course-card__title {
  font-size: clamp(20px, 2vw, 21px) !important;
  font-weight: 800 !important;
  margin: 0 0 16px !important;
  font-family: "Noto Sans", sans-serif !important;
  line-height: 1.3 !important;
}

/* Meta list */
.iq-course-card__meta {
  list-style: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex: 1 !important;
}
.iq-course-card__meta li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 18px !important;
  color: #222 !important;
  line-height: 1.45 !important;
}
.iq-course-card__meta li strong {
  font-weight: 700 !important;
}
.iq-cc-icon {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
  width: 18px !important;
}
.iq-cc-icon svg {
  display: block !important;
  height: 18px;
  width: 18px;
}

/* Card footer */
.iq-course-card__footer {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: auto !important;
}
.iq-cc-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}
.iq-cc-badge.sold-out {
  background: #eee;
  color: #888;
}
.iq-cc-badge.limited {
  background: #fff3cd;
  color: #856404;
}

/* CTA Button */
/* .iq-cc-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 13px 20px !important;
  background: var(--red, #e0001b) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: "Noto Sans", sans-serif !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  gap: 6px !important;
}
.iq-cc-btn:hover {
  background: #b80016 !important;
  color: #fff !important;
} */

/* ── LISTING PAGE ── */
.iq-courses-page {
  padding-top: 60px;
  min-height: 60vh;
}
.iq-courses-page__header {
  text-align: center;
  margin-bottom: 36px;
}
.iq-courses-page__title {
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  margin-bottom: 0 !important;
}

/* Full listing filters */
.iq-courses-filters {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-bottom: 36px !important;
}
.iq-filter-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  color: #333 !important;
  background: #f6f6f6
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 14px center !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 12px 38px 12px 18px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  font-family: "Noto Sans", sans-serif !important;
  min-width: 190px !important;
}
.iq-filter-select option { color: #333 !important; }
.iq-filter-select:focus {
  outline: none !important;
  border-color: var(--red) !important;
}
/* Filter Reset Button */
.iq-filter-reset-btn {
    appearance: none;
    -webkit-appearance: none;
    background: #f5f5f5 !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 24px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #d32f2f !important;
    cursor: pointer !important;
    font-family: 'Noto Sans', sans-serif !important;
    transition: all .2s !important;
    white-space: nowrap !important;
}
.iq-filter-reset-btn:hover {
    background: #e0001b !important;
    color: #fff !important;
    border-color: #e0001b !important;
}
.iq-filter-reset-btn:active {
    transform: scale(0.98);
}

/* Results count */
.iq-courses-count {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  font-weight: 500;
}

/* No results */
.iq-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #888;
}
.iq-no-results p {
  font-size: 16px;
  margin-top: 12px;
}

/* ==========================================================================
   v23 — Pagination
   ========================================================================== */
.iq-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-block: 32px;
  border-top: 1px solid #e0e0e0;
}
.iq-pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1.5px solid #d0d0d0;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  font-family: "Noto Sans", sans-serif;
}
.iq-pag-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.iq-pag-btn svg {
  width: 14px;
  height: 14px;
}
.iq-pag-info {
  font-size: 14px;
  color: #888;
  font-weight: 500;
  padding: 0 12px;
}

/* ==========================================================================
   v23 — Pagination Styling
   ========================================================================== */

.iq-pagination ul.page-numbers {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.iq-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.iq-pagination .page-numbers.current {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  pointer-events: none;
}
.iq-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  pointer-events: none;
}

/* v25 — Pagination styling fixes */
.iq-pagination {
  margin-top: 48px !important;
  display: flex !important;
  justify-content: center !important;
}
.iq-pagination .page-numbers {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.iq-pagination .page-numbers li {
  display: inline-block !important;
}
.iq-pagination .page-numbers a,
.iq-pagination .page-numbers span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #333 !important;
  background: #fff !important;
  border: 1.5px solid #ddd !important;
  transition: all 0.2s !important;
  font-family: "Noto Sans", sans-serif !important;
}
.iq-pagination .page-numbers a:hover {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}
.iq-pagination .page-numbers .current {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
  pointer-events: none !important;
}
.iq-pagination .page-numbers .dots {
  border: none !important;
  background: transparent !important;
  pointer-events: none !important;
}
ul.iql-list-check li:before {
  background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    flex-shrink: 0;
    width: 1rem;
    content: "";
    height: 1rem;
    left: 0;
    position: absolute;
    top: .25rem;
    width: 1.5rem;
    z-index: 1;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23de2727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
ul.iql-list-check li {
    margin-bottom: .5rem;
    margin-right: 1rem;
    margin-top: .5rem;
    padding-left: 1.875rem;
    position: relative;
    z-index: 1;
}
.entry-content a:not(.btn) {
    text-decoration: underline;
}

/* ── Pricing: "Meist gebucht" card first on mobile (like live site) ── */
@media (max-width: 768px) {
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .pricing-card.popular {
    order: -1 !important;
  }
}

/* ── Feather SVG icons in hero points / feature lists ── */
.hero-icon svg,
.feature-icon svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.hero-icon svg, .feature-icon svg {
    height: 24px;
    width: 24px;
    margin-top: 3px;
}

.hero-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
}

/* ── Custom content blocks (admin: Custom Content Blocks) ── */
.iq-custom-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}
/* Dividers span the full screen width (like built-in dividers) */
.iq-custom-block--divider {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}


/* ── Course card: teacher info tooltip (Feather "info") ── */
.iq-cc-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  vertical-align: middle;
  cursor: help;
}
.iq-cc-tooltip svg {
  display: block;
}
.iq-course-card__title .iq-cc-tooltip__bubble {

    bottom: 0;
    transform: translateY(50%);
    left: 100%;

}
.iq-course-card__title .iq-cc-tooltip__bubble::after {

    display:none;

}

.iq-cc-tooltip__bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 230px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  z-index: 50;
  pointer-events: none;
}
.iq-cc-tooltip__bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #222;
}
.iq-cc-tooltip:hover .iq-cc-tooltip__bubble,
.iq-cc-tooltip:focus .iq-cc-tooltip__bubble {
  opacity: 1;
  visibility: visible;
}

/* Mobile: anchor the bubble to the meta row so it spans the card width and never clips */
@media screen and (max-width: 767px) {
  .iq-course-card__meta li {
    position: relative;
  }
  .iq-cc-tooltip {
    position: static;
  }
  .iq-cc-tooltip__bubble {
    position: absolute;
    left: 0;
    right: 0;
    bottom: auto;
    top: calc(100% + 6px);
    width: auto;
    max-width: none;
    transform: none;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .iq-cc-tooltip__bubble::after {
    display: none;
  }
}


@media screen and (min-width: 768px) {
  span.hero-icon svg {
    stroke: #fff ! IMPORTANT;
}
span.hero-icon svg circle {
    fill: #fff !important;
}
}
/* ── Rich-text output in accordion bodies & section subtitles ── */
.acc-body p { margin: 0 0 10px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body ul {
  margin: 8px 0;
  padding-left: 20px;
  list-style: disc;
}
.acc-body li { margin: 4px 0; }
.section-sub p { margin: 0 0 10px; }
.section-sub p:last-child { margin-bottom: 0; }
.section-sub ul { margin: 8px auto; padding-left: 20px; list-style: disc; display: inline-block; text-align: left; }
.section-sub li { margin: 4px 0; }

/* ── WYSIWYG content inside feature & pricing lists ── */
/* Pricing: reuse the checkmark before each editor line (li or p) */
.pricing-features--rich ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-features--rich li,
.pricing-features--rich p {
  position: relative;
  padding-left: 28px;
  margin: 0 0 10px;
  display: block;
}
.pricing-features--rich li::before,
.pricing-features--rich p::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e10100' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
}

/* Feature card: reuse the check icon before each editor line (li or p) */
.feature-list--rich {
  font-size: clamp(14px, 1vw, 18px);
  color: var(--text);
}
.feature-list--rich ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list--rich li,
.feature-list--rich p {
  position: relative;
  padding-left: 34px;
  margin: 0 0 10px;
  display: block;
}
.feature-list--rich li::before,
.feature-list--rich p::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e10100' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  background-repeat: no-repeat;
}

/* ── Mobile filters: full width + consistent dark text (match desktop) ── */
@media (max-width: 768px) {
  .iq-courses-filters,
  .iq-hp-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .iq-courses-filters .iq-filter-select,
  .iq-hp-filters .iq-filter-select,
  .iq-filter-select,
  .iq-filter-select--homepage {
    width: 100% !important;
    min-width: 0 !important;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-position: right 16px center !important;
  }
  .iq-filter-select option,
  .iq-filter-select--homepage option {
    color: #333 !important;
  }
  .iq-filter-reset-btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ── Courses page: editor content (intro text below title) ── */
.iq-courses-page__intro {
  max-width: 760px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text, #333);
}
.iq-courses-page__intro p { margin: 0 0 12px; }
.iq-courses-page__intro p:last-child { margin-bottom: 0; }
.iq-courses-page__intro ul,
.iq-courses-page__intro ol { text-align: left; display: inline-block; margin: 8px 0; }
