@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --dc-bg: #ffffff;
  --dc-surface: #f5f5f7;
  --dc-surface-2: #fcfcfd;
  --dc-text: #1d1d1f;
  --dc-muted: #86868b;
  --dc-accent: #1757c2;
  --dc-accent-strong: #0f4aaa;
  --dc-accent-soft: rgba(23, 87, 194, 0.08);
  --dc-border: rgba(17, 24, 39, 0.08);
  --dc-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --dc-shadow-md: 0 24px 64px rgba(15, 23, 42, 0.08);
  --dc-shadow-lg: 0 40px 120px rgba(15, 23, 42, 0.10);
  --dc-radius-sm: 18px;
  --dc-radius-md: 28px;
  --dc-radius-lg: 40px;
  --dc-max: 1380px;
  --dc-copy: 74ch;
  --dc-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body.page-id-27 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  color: var(--dc-text);
  background: var(--dc-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-id-27::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 10%, rgba(23, 87, 194, 0.04), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(23, 87, 194, 0.03), transparent 20%),
    radial-gradient(circle at 52% 82%, rgba(17, 24, 39, 0.02), transparent 28%);
  opacity: 1;
}

body.page-id-27 .site,
body.page-id-27 .site-content,
body.page-id-27 .entry-content,
body.page-id-27 .site-primary-footer-wrap {
  background: transparent;
}

body.page-id-27 .ast-container,
body.page-id-27 .site-content > .ast-container,
body.page-id-27 .main-header-container,
body.page-id-27 .ast-builder-grid-row-container {
  max-width: min(var(--dc-max), calc(100vw - 48px));
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

body.page-id-27 h1,
body.page-id-27 h2,
body.page-id-27 h3,
body.page-id-27 h4,
body.page-id-27 h5,
body.page-id-27 h6 {
  color: var(--dc-text);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

body.page-id-27 h1 {
  line-height: 1.05;
}

body.page-id-27 h2,
body.page-id-27 h3 {
  line-height: 1.12;
}

body.page-id-27 p,
body.page-id-27 li,
body.page-id-27 .elementor-widget-text-editor,
body.page-id-27 .elementor-widget-testimonial .elementor-testimonial__text {
  color: var(--dc-text);
  line-height: 1.62;
}

body.page-id-27 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s var(--dc-spring), box-shadow 0.3s ease;
}

body.page-id-27 a:hover {
  color: var(--dc-accent);
}

body.page-id-27 .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

body.page-id-27 .main-header-bar {
  background: transparent;
  padding-top: 16px;
  padding-bottom: 16px;
}

body.page-id-27 .site-branding {
  gap: 12px;
}

body.page-id-27 .site-title a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.page-id-27 .main-navigation .menu-link,
body.page-id-27 .ast-header-button-1 .ast-custom-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

body.page-id-27 .main-navigation .menu-link {
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--dc-text);
}

body.page-id-27 .main-navigation .current-menu-item > .menu-link,
body.page-id-27 .main-navigation .menu-link:hover {
  background: var(--dc-accent-soft);
  color: var(--dc-accent);
}

body.page-id-27 .sub-menu {
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px;
}

body.page-id-27 .sub-menu .menu-link {
  width: 100%;
  justify-content: flex-start;
  border-radius: 14px;
}

body.page-id-27 article#post-27 {
  margin-top: 20px;
}

body.page-id-27 article#post-27 > .entry-content > .elementor > .e-con,
body.page-id-27 article#post-27 > .entry-content > .elementor > .elementor-element {
  width: min(var(--dc-max), calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
}

body.page-id-27 .elementor-widget-heading .elementor-heading-title,
body.page-id-27 .elementor-widget-text-editor {
  max-width: var(--dc-copy);
}

body.page-id-27 .elementor-element-undefined-d20454c {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 40px;
  align-items: center;
  padding: 56px 0 28px;
}

body.page-id-27 .elementor-element-undefined-d20454c::after {
  content: '';
  position: absolute;
  inset: 28px 0 0;
  border-radius: var(--dc-radius-lg);
  background: linear-gradient(135deg, rgba(245, 247, 250, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: var(--dc-shadow-lg);
  z-index: 0;
}

body.page-id-27 .elementor-element-undefined-d20454c > * {
  position: relative;
  z-index: 1;
}

body.page-id-27 .elementor-element-undefined-6fc99e0 {
  padding: 56px 56px 48px;
}

body.page-id-27 .elementor-element-undefined-36aadae .elementor-heading-title {
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  max-width: 9.5ch;
}

body.page-id-27 .elementor-element-undefined-b8a0181 .elementor-heading-title {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.62;
  color: var(--dc-muted);
  font-weight: 500;
  max-width: 40ch;
  max-height: 5.2em;
  overflow: hidden;
}

body.page-id-27 .elementor-element-9d49b22,
body.page-id-27 .elementor-element-e7d6dcb {
  margin-top: 28px;
}

body.page-id-27 .elementor-element-9d49b22 .elementor-heading-title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.16;
  max-width: 18ch;
}

body.page-id-27 .elementor-element-e7d6dcb .elementor-heading-title {
  font-size: 1rem;
  line-height: 1.66;
  font-weight: 500;
  color: var(--dc-muted);
  max-width: 42ch;
}

body.page-id-27 .elementor-element-7998fd7,
body.page-id-27 .elementor-element-undefined-99d4bed {
  padding: 40px 40px 40px 0;
}

body.page-id-27 .elementor-element-7998fd7::before {
  content: '';
  position: absolute;
  inset: 48px 18px 20px 0;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(244, 247, 252, 0.95), rgba(255, 255, 255, 0.9));
  box-shadow: var(--dc-shadow-md);
}

body.page-id-27 .elementor-element-7998fd7 > *,
body.page-id-27 .elementor-element-undefined-99d4bed > * {
  position: relative;
  z-index: 1;
}

body.page-id-27 .elementor-element-73c2872 img,
body.page-id-27 .elementor-element-undefined-dedd64d img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

body.page-id-27 .elementor-element-73c2872 {
  transform: translateY(-10px);
}

body.page-id-27 .elementor-element-undefined-dedd64d {
  margin-top: -24px;
  margin-left: 72px;
}

body.page-id-27 .elementor-element-7cca068 {
  margin-top: 72px;
  padding: 72px 64px;
  border-radius: var(--dc-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.98));
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: var(--dc-shadow-md);
  gap: 40px;
}

body.page-id-27 .elementor-element-76d294d > .elementor-widget-container {
  max-width: 100%;
}

body.page-id-27 .elementor-element-76d294d h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 24px;
}

body.page-id-27 .elementor-element-76d294d p,
body.page-id-27 .elementor-element-76d294d li,
body.page-id-27 .elementor-element-76d294d strong {
  font-size: 1.02rem;
}

body.page-id-27 .elementor-element-76d294d a,
body.page-id-27 .wpforms-submit,
body.page-id-27 .elementor-button,
body.page-id-27 .ast-custom-button,
body.page-id-27 .button,
body.page-id-27 .wc-block-components-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(23, 87, 194, 0.16);
  background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-strong));
  color: #ffffff !important;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 32px rgba(23, 87, 194, 0.2);
}

body.page-id-27 .elementor-element-76d294d a:hover,
body.page-id-27 .wpforms-submit:hover,
body.page-id-27 .elementor-button:hover,
body.page-id-27 .ast-custom-button:hover,
body.page-id-27 .button:hover,
body.page-id-27 .wc-block-components-button:hover {
  transform: translateY(-1px) scale(0.985);
  opacity: 0.92;
  color: #ffffff !important;
}

body.page-id-27 .elementor-element-b73c80d {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-self: start;
}

body.page-id-27 .elementor-element-b73c80d .elementor-widget-image {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 249, 251, 0.98), rgba(242, 244, 247, 1));
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

body.page-id-27 .elementor-element-b73c80d .elementor-widget-container {
  height: 100%;
}

body.page-id-27 .elementor-element-b73c80d .elementor-image-box-wrapper,
body.page-id-27 .elementor-element-b73c80d figure,
body.page-id-27 .elementor-element-b73c80d .elementor-image {
  height: 100%;
}

body.page-id-27 .elementor-element-b73c80d img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  display: block;
}

body.page-id-27 .elementor-element-b73c80d .widget-image-caption,
body.page-id-27 .elementor-element-b73c80d figcaption {
  display: block;
  padding: 18px 18px 20px;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dc-text);
  background: transparent;
}

body.page-id-27 .elementor-element-6c220a4 {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}

body.page-id-27 .elementor-element-2f35870 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.page-id-27 .elementor-widget-testimonial .elementor-testimonial-wrapper {
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

body.page-id-27 .elementor-testimonial__text {
  font-size: 0.97rem;
  line-height: 1.62;
  color: var(--dc-text);
}

body.page-id-27 .elementor-testimonial__name {
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dc-text);
}

body.page-id-27 .elementor-testimonial__title {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dc-muted);
}

body.page-id-27 .site-footer {
  padding-top: 18px;
  padding-bottom: 42px;
  color: var(--dc-muted);
}

body.page-id-27 .site-footer .ast-builder-grid-row {
  min-height: auto;
}

body.page-id-27 .site-footer .site-primary-footer-inner-wrap {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding-top: 24px;
}

body.page-id-27 .pum-overlay {
  background: rgba(8, 15, 28, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.page-id-27 .pum-container {
  width: min(460px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  border-radius: 26px !important;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 40px 120px rgba(15, 23, 42, 0.2) !important;
}

body.page-id-27 .pum-content {
  padding: 26px 24px 24px !important;
  background: rgba(255, 255, 255, 0.97);
}

body.page-id-27 .pum-title,
body.page-id-27 .popmake-title {
  margin: 0 0 18px;
  font-size: 1.7rem;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

body.page-id-27 .pum-close,
body.page-id-27 .popmake-close {
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: rgba(17, 24, 39, 0.06) !important;
  color: var(--dc-text) !important;
  font-size: 18px !important;
  line-height: 36px !important;
}

body.page-id-27 .wpforms-field input,
body.page-id-27 .wpforms-field textarea,
body.page-id-27 .wpforms-field select,
body.page-id-27 .woocommerce form .input-text,
body.page-id-27 .wc-block-components-text-input input {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
  box-shadow: none;
  color: var(--dc-text);
}

body.page-id-27 .wpforms-field input:focus,
body.page-id-27 .wpforms-field textarea:focus,
body.page-id-27 .wpforms-field select:focus,
body.page-id-27 .woocommerce form .input-text:focus,
body.page-id-27 .wc-block-components-text-input input:focus {
  border-color: rgba(23, 87, 194, 0.35);
  box-shadow: 0 0 0 4px rgba(23, 87, 194, 0.08);
}

body.page-id-27 .woocommerce-page .wc-block-components-main,
body.page-id-27 .woocommerce-page .woocommerce,
body.page-id-27 .woocommerce-checkout,
body.page-id-27 .woocommerce-cart {
  max-width: min(1240px, calc(100vw - 48px));
  margin-inline: auto;
}

body.page-id-27 .wc-block-components-sidebar,
body.page-id-27 .woocommerce-checkout-review-order,
body.page-id-27 .cart_totals,
body.page-id-27 .woocommerce form.checkout,
body.page-id-27 .woocommerce-cart-form {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--dc-shadow-sm);
}

body.page-id-27 .woocommerce-info,
body.page-id-27 .woocommerce-message,
body.page-id-27 .woocommerce-error {
  border: none;
  border-radius: 18px;
  box-shadow: none;
}

@media (max-width: 1140px) {
  body.page-id-27 .elementor-element-undefined-d20454c {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-id-27 .elementor-element-undefined-6fc99e0,
  body.page-id-27 .elementor-element-7998fd7,
  body.page-id-27 .elementor-element-undefined-99d4bed {
    padding: 36px 28px;
  }

  body.page-id-27 .elementor-element-undefined-dedd64d {
    margin-left: 28px;
  }

  body.page-id-27 .elementor-element-7cca068 {
    padding: 44px 28px;
  }
}

@media (max-width: 920px) {
  body.page-id-27 .ast-container,
  body.page-id-27 .site-content > .ast-container,
  body.page-id-27 .main-header-container,
  body.page-id-27 .ast-builder-grid-row-container {
    max-width: calc(100vw - 24px);
    padding-left: 12px;
    padding-right: 12px;
  }

  body.page-id-27 article#post-27 > .entry-content > .elementor > .e-con,
  body.page-id-27 article#post-27 > .entry-content > .elementor > .elementor-element {
    width: calc(100vw - 24px);
  }

  body.page-id-27 .elementor-element-b73c80d,
  body.page-id-27 .elementor-element-2f35870 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body.page-id-27 .main-header-bar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body.page-id-27 .elementor-element-undefined-36aadae .elementor-heading-title {
    font-size: clamp(2.7rem, 15vw, 4rem);
    max-width: 8.8ch;
  }

  body.page-id-27 .elementor-element-b73c80d,
  body.page-id-27 .elementor-element-2f35870 {
    grid-template-columns: 1fr;
  }

  body.page-id-27 .elementor-element-undefined-dedd64d {
    margin-top: 12px;
    margin-left: 0;
  }

  body.page-id-27 .pum-container {
    width: calc(100vw - 20px) !important;
  }
}

/* Refinement pass: navigation, popup restraint, Tutor archive polish */
body.page-id-27 .main-header-bar {
  padding-top: 12px;
  padding-bottom: 12px;
}

body.page-id-27 .main-navigation ul {
  gap: 6px;
}

body.page-id-27 .main-navigation .menu-link,
body.page-id-27 .ast-header-button-1 .ast-custom-button {
  min-height: 40px;
}

body.page-id-27 .main-navigation .menu-link {
  padding: 8px 14px;
  font-size: 0.93rem;
}

body.page-id-27 .main-navigation .current-menu-item > .menu-link,
body.page-id-27 .main-navigation .current-menu-ancestor > .menu-link,
body.page-id-27 .main-navigation .menu-link:hover {
  background: rgba(30, 64, 175, 0.09);
  color: var(--dc-accent);
}

body.page-id-27 .main-navigation .sub-menu {
  min-width: 280px;
  padding: 12px;
}

body.page-id-27 .main-navigation .sub-menu .menu-link {
  min-height: 42px;
  justify-content: flex-start;
  border-radius: 14px;
  padding: 10px 14px;
}

body.page-id-27 .pum-container {
  width: min(420px, calc(100vw - 28px)) !important;
  border-radius: 24px !important;
  box-shadow: 0 32px 88px rgba(15, 23, 42, 0.16) !important;
}

body.page-id-27 .pum-content {
  padding: 22px 22px 22px !important;
}

body.page-id-27 .pum-title,
body.page-id-27 .popmake-title {
  font-size: 1.48rem;
  line-height: 1.12;
}

body.page-id-27 .pum-close,
body.page-id-27 .popmake-close {
  top: 14px !important;
  right: 14px !important;
}

body.post-type-archive-courses .site-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

body.post-type-archive-courses .tutor-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 32px;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.08);
  padding: 32px;
}

body.post-type-archive-courses .tutor-course-filter-container,
body.post-type-archive-courses .tutor-course-filter-wrap,
body.post-type-archive-courses .tutor-course-search-wrap {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

body.post-type-archive-courses .tutor-form-wrap input,
body.post-type-archive-courses .tutor-form-control,
body.post-type-archive-courses .tutor-course-search-field {
  border-radius: 16px !important;
  border: 1px solid rgba(17, 24, 39, 0.08) !important;
  min-height: 48px;
}

body.post-type-archive-courses .tutor-course-empty-state,
body.post-type-archive-courses .tutor-no-data-found {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(248,250,252,0.98), rgba(255,255,255,0.92));
  border: 1px solid rgba(17, 24, 39, 0.06);
  padding: 48px 24px;
}

body.post-type-archive-courses .tutor-course-empty-state svg,
body.post-type-archive-courses .tutor-no-data-found img {
  opacity: 0.9;
}

body.post-type-archive-courses .tutor-course-empty-state h3,
body.post-type-archive-courses .tutor-no-data-found h3,
body.post-type-archive-courses .tutor-no-data-found {
  color: var(--dc-text);
}

@media (max-width: 921px) {
  body.page-id-27 .main-navigation .menu-link {
    padding: 10px 14px;
  }

  body.page-id-27 .pum-container {
    width: min(94vw, 390px) !important;
  }

  body.post-type-archive-courses .site-main {
    padding: 40px 16px 72px;
  }

  body.post-type-archive-courses .tutor-wrap {
    padding: 20px;
    border-radius: 24px;
  }
}


/* Hero widget cleanup */
body.page-id-27 .elementor-element-undefined-b8a0181 .elementor-heading-title {
  font-size: 0 !important;
  line-height: 0 !important;
}

body.page-id-27 .elementor-element-undefined-b8a0181 .elementor-heading-title::after {
  content: "Master real-world cybersecurity skills with live Training, Projects, and Expert guidance.";
  display: block;
  font-size: clamp(1.18rem, 1.46vw, 1.52rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #37507a;
}


/* Hero widget crop fix */
body.page-id-27 .elementor-element-undefined-b8a0181 .elementor-heading-title {
  font-size: clamp(1.18rem, 1.46vw, 1.52rem) !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em !important;
  color: #37507a !important;
  max-height: 2.45em;
  overflow: hidden;
}

body.page-id-27 .elementor-element-undefined-b8a0181 .elementor-heading-title::after {
  content: none !important;
}


/* Mobile popup correction */
@media (max-width: 767px) {
  body.page-id-27 .pum-container,
  body.home .pum-container {
    width: min(92vw, 390px) !important;
    max-height: calc(100svh - 40px) !important;
    overflow-y: auto !important;
    border-radius: 22px !important;
  }

  body.page-id-27 .pum-title,
  body.page-id-27 .popmake-title,
  body.home .pum-title,
  body.home .popmake-title {
    padding: 18px 56px 16px 20px !important;
    margin: 0 !important;
    font-size: 1.18rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.035em !important;
  }

  body.page-id-27 .pum-content,
  body.home .pum-content {
    padding: 22px 20px 24px !important;
  }

  body.page-id-27 .pum-content input,
  body.page-id-27 .pum-content textarea,
  body.home .pum-content input,
  body.home .pum-content textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    border-radius: 12px !important;
  }

  body.page-id-27 .pum-content .wpforms-field-row,
  body.home .pum-content .wpforms-field-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.page-id-27 .pum-close,
  body.page-id-27 .popmake-close,
  body.home .pum-close,
  body.home .popmake-close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
  }
}


/* Density correction: restrained typography and spacing */
:root {
  --dc-max: 1180px;
  --dc-copy: 68ch;
}

body.page-id-27 .main-header-menu > .menu-item > .menu-link,
body.home .main-header-menu > .menu-item > .menu-link,
.main-header-menu > .menu-item > .menu-link {
  min-height: 52px !important;
  line-height: 52px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
}

body.page-id-27 .ast-primary-header-bar,
body.home .ast-primary-header-bar,
.ast-primary-header-bar {
  min-height: 64px !important;
}

body.page-id-27 .site-branding,
body.home .site-branding {
  padding: 8px 0 !important;
}

body.page-id-27 h1,
body.page-id-27 .elementor-heading-title.elementor-size-default,
body.home h1,
body.home .elementor-heading-title.elementor-size-default {
  max-width: 760px;
  font-size: clamp(2rem, 3.2vw, 3.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

body.page-id-27 h2,
body.home h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.35rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 16px !important;
}

body.page-id-27 h5,
body.home h5,
body.page-id-27 .elementor-widget-heading h5.elementor-heading-title,
body.home .elementor-widget-heading h5.elementor-heading-title {
  font-size: clamp(1rem, 1.25vw, 1.15rem) !important;
  line-height: 1.48 !important;
  letter-spacing: -0.01em !important;
}

body.page-id-27 p,
body.home p,
body.page-id-27 li,
body.home li {
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

body.page-id-27 .elementor-section,
body.home .elementor-section {
  padding-top: clamp(40px, 5vw, 72px) !important;
  padding-bottom: clamp(40px, 5vw, 72px) !important;
}

body.page-id-27 .elementor-widget-wrap,
body.home .elementor-widget-wrap {
  padding: clamp(16px, 2vw, 28px) !important;
}

body.page-id-27 .elementor-widget-container,
body.home .elementor-widget-container {
  margin-bottom: 16px !important;
}

.dc-auth-shell {
  max-width: 1080px !important;
  padding: 56px 24px 72px !important;
}

.dc-auth-panel {
  padding: 36px !important;
  border-radius: 28px !important;
}

.dc-auth-panel h1 {
  max-width: 680px !important;
  font-size: clamp(2.05rem, 4vw, 3.75rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.04em !important;
}

.dc-auth-lede {
  max-width: 620px !important;
  margin-top: 18px !important;
  font-size: 1.03rem !important;
  line-height: 1.55 !important;
}

.dc-auth-actions {
  gap: 12px !important;
  margin-top: 28px !important;
}

.dc-auth-button {
  min-height: 44px !important;
  padding: 0 20px !important;
  font-size: 0.95rem !important;
}

.dc-auth-grid {
  gap: 16px !important;
  margin-top: 16px !important;
}

.dc-auth-card {
  min-height: auto !important;
  padding: 24px !important;
  border-radius: 22px !important;
}

.dc-auth-card span {
  margin-bottom: 14px !important;
  font-size: 0.8rem !important;
}

.dc-auth-card h2 {
  font-size: 1.18rem !important;
  line-height: 1.18 !important;
}

.dc-auth-card p {
  margin: 12px 0 18px !important;
  font-size: 0.96rem !important;
  line-height: 1.54 !important;
}

body.page-id-1096 .tutor-login-wrap,
body.page-id-1097 form,
body.page-id-1098 form,
body.page-id-1124 .woocommerce {
  padding: 24px !important;
  border-radius: 24px !important;
}

body.page-id-1096 .entry-title,
body.page-id-1097 .entry-title,
body.page-id-1098 .entry-title,
body.page-id-1124 .entry-title,
body.page-id-1126 .entry-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem) !important;
  line-height: 1.08 !important;
  margin-bottom: 24px !important;
}

@media (max-width: 767px) {
  body.page-id-27 h1,
  body.home h1,
  body.page-id-27 .elementor-heading-title.elementor-size-default,
  body.home .elementor-heading-title.elementor-size-default {
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
  }

  body.page-id-27 h2,
  body.home h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.9rem) !important;
  }

  .dc-auth-shell {
    padding: 36px 16px 52px !important;
  }

  .dc-auth-panel {
    padding: 24px 20px !important;
  }

  .dc-auth-panel h1 {
    font-size: clamp(1.9rem, 8vw, 2.55rem) !important;
  }

  .dc-auth-card {
    padding: 20px !important;
  }
}


/* Datacepts audit refinement - 2026-04-25
   Reversible density, contrast, LMS, checkout, and popup polish. */
:root {
  --dc-text: #1d1d1f;
  --dc-muted: #86868b;
  --dc-surface: #f5f5f7;
  --dc-accent: #1757c2;
  --dc-border: rgba(29,29,31,.08);
}
body {
  color: var(--dc-text);
  font-size: 15.5px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, .entry-content h1, .elementor-widget-heading h1 {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.14 !important;
  letter-spacing: -.028em;
}
h2, .entry-content h2, .elementor-widget-heading h2 {
  font-size: clamp(23px, 2.05vw, 31px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.024em;
}
h3, .entry-content h3, .elementor-widget-heading h3 {
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.24 !important;
}
p, li {
  max-width: 72ch;
}
.site-header, .ast-primary-header-bar {
  min-height: 52px;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--dc-border);
  box-shadow: 0 4px 24px rgba(15,23,42,.04);
  backdrop-filter: blur(20px);
}
.main-header-menu > .menu-item > .menu-link {
  min-height: 44px;
  line-height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  padding-inline: 14px;
}
.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .menu-item:hover > .menu-link {
  color: var(--dc-accent);
  background: rgba(23,87,194,.07);
}
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con-boxed > .e-con-inner,
.ast-container {
  max-width: min(1120px, calc(100vw - 48px));
}
.elementor-widget-text-editor, .entry-content {
  overflow-wrap: anywhere;
}
.elementor-button, button, input[type='submit'], .button, .wp-element-button {
  min-height: 44px;
  border-radius: 999px !important;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.elementor-button:hover, button:hover, input[type='submit']:hover, .button:hover, .wp-element-button:hover {
  transform: translateY(-1px);
  opacity: .88;
}
.elementor-button:active, button:active, input[type='submit']:active, .button:active, .wp-element-button:active {
  transform: scale(.98);
}
.tutor-wrap, .woocommerce, .dc-course-access {
  max-width: min(1120px, calc(100vw - 48px));
  margin-inline: auto;
}
.tutor-card, .woocommerce-checkout-review-order, .woocommerce form, .dc-access-card, .ast-article-single {
  border-radius: 24px;
}
.woocommerce-checkout-review-order, .woocommerce form.checkout, .woocommerce form.login, .woocommerce form.register {
  background: rgba(245,245,247,.82);
  border: 1px solid var(--dc-border);
  box-shadow: 0 8px 32px rgba(15,23,42,.06);
  backdrop-filter: blur(18px);
  padding: 24px;
}
.wpforms-payment-total, .wpforms-field-payment-total, .wpforms-field-payment-single, .wpforms-payment-price {
  display: none !important;
}
.pum-container, .pum-content {
  border-radius: 24px !important;
}
.pum-content input, .wpforms-field input, .wpforms-field textarea {
  min-height: 44px;
  border-radius: 14px !important;
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1, .entry-content h1, .elementor-widget-heading h1 { font-size: clamp(28px, 8vw, 36px) !important; }
  h2, .entry-content h2, .elementor-widget-heading h2 { font-size: clamp(22px, 6.5vw, 28px) !important; }
  .elementor-section.elementor-section-boxed > .elementor-container, .e-con-boxed > .e-con-inner, .ast-container, .tutor-wrap, .woocommerce, .dc-course-access {
    max-width: calc(100vw - 32px);
  }
}
