/* ============================================================
   Frontend – Black & Gold Premium Medical Aesthetic
   ============================================================ */
:root {
  --fm-primary: #0B0B0B;
  --fm-secondary: #C9A24A;
  --fm-accent: #E8D48B;
  --fm-bg: #111111;
  --fm-surface: #1A1A1A;
  --fm-text: #F0ECE3;
  --fm-muted: #9A9489;
  --fm-border: rgba(201, 162, 74, 0.2);
  --fm-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  --fm-shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.22);
  --fm-gold-gradient: linear-gradient(135deg, #C9A24A 0%, #E8D48B 50%, #C9A24A 100%);
}

.frontend-modern {
  background: linear-gradient(180deg, #0f0f0f 0%, var(--fm-bg) 100%);
  color: var(--fm-text);
  font-family: "Manrope", sans-serif;
}

/* Navbar */
.frontend-modern .uk-navbar-container {
  background: linear-gradient(120deg, #0B0B0B 0%, #151515 50%, #1A1A1A 100%) !important;
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.frontend-modern .uk-logo {
  color: var(--fm-secondary) !important;
  font-weight: 800;
  letter-spacing: 1px;
}

.frontend-modern .uk-navbar-nav > li > a {
  color: var(--fm-text) !important;
  font-weight: 600;
}

.frontend-modern .uk-navbar-nav > li.uk-active > a {
  color: var(--fm-secondary) !important;
}

.frontend-modern .navbar-logo {
  border-radius: 10px;
  border: 2px solid rgba(201, 162, 74, 0.3);
}

/* Buttons */
.frontend-modern .uk-button-success-outline,
.frontend-modern .search-btn,
.frontend-modern .btn.btn-secondary {
  border: 0;
  color: #0B0B0B !important;
  border-radius: 999px;
  background: var(--fm-gold-gradient);
  box-shadow: 0 8px 18px rgba(201, 162, 74, 0.25);
  font-weight: 700;
  text-transform: none;
  transition: all 0.25s ease;
}

.frontend-modern .uk-button-success-outline:hover,
.frontend-modern .search-btn:hover {
  box-shadow: 0 12px 24px rgba(201, 162, 74, 0.35);
  transform: translateY(-2px);
}

.frontend-modern .uk-heading-small mark,
.frontend-modern mark {
  color: var(--fm-secondary);
  background: rgba(201, 162, 74, 0.12);
  border-radius: 8px;
  padding: 0 6px;
}

/* Forms */
.frontend-modern .uk-input,
.frontend-modern .uk-select,
.frontend-modern .form-control {
  border-radius: 12px;
  border: 1px solid var(--fm-border);
  background: var(--fm-surface);
  color: var(--fm-text);
}

.frontend-modern .uk-input:focus,
.frontend-modern .uk-select:focus,
.frontend-modern .form-control:focus {
  border-color: var(--fm-secondary);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.12);
  outline: 0;
}

/* Cards */
.frontend-modern .uk-card.uk-card-border,
.frontend-modern .statbox.widget.box {
  border: 1px solid var(--fm-border);
  border-radius: 20px;
  background: var(--fm-surface);
  box-shadow: var(--fm-shadow-soft);
  overflow: hidden;
}

.frontend-modern .widget-content.widget-content-area {
  padding: 16px 18px 20px;
}

.frontend-modern .query p,
.frontend-modern .text-muted {
  color: var(--fm-muted) !important;
}

/* Pagination */
.frontend-modern .pagination .page-link {
  border-radius: 999px !important;
  border: 1px solid var(--fm-border);
  color: var(--fm-text);
  background: var(--fm-surface);
  margin: 0 3px;
}

.frontend-modern .pagination .active .page-link {
  background: var(--fm-gold-gradient);
  border-color: transparent;
  color: #0B0B0B;
  font-weight: 700;
}

/* Footer */
.frontend-modern footer .uk-section.uk-section-secondary {
  background: linear-gradient(130deg, #0B0B0B 0%, #151515 52%, #1A1A1A 100%);
  color: var(--fm-text);
}

.frontend-modern footer .uk-logo {
  color: var(--fm-secondary) !important;
}

.frontend-modern footer .uk-link-border,
.frontend-modern footer p,
.frontend-modern footer a {
  color: var(--fm-text) !important;
}

.frontend-modern footer .icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  background: rgba(201, 162, 74, 0.12);
  color: var(--fm-secondary) !important;
  border: 1px solid rgba(201, 162, 74, 0.2);
  transition: all 0.25s ease;
}

.frontend-modern footer .icons a:hover {
  background: rgba(201, 162, 74, 0.25);
  transform: translateY(-2px);
}

/* Contact */
.front-page-modern .uk-section {
  padding-top: 62px;
  padding-bottom: 70px;
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.95), rgba(201, 162, 74, 0.06));
}

.front-page-modern .contact-us {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 20px;
  box-shadow: var(--fm-shadow);
  padding: 24px !important;
}

.front-page-modern .input-fields svg {
  color: var(--fm-secondary) !important;
}

/* Gallery */
.gallery-modern #about.uk-section,
.faq-modern #about.uk-section,
.legal-modern .uk-section.uk-section-muted,
.course-modern .uk-section,
.news-modern .uk-section.uk-section-muted {
  padding-top: 62px;
  padding-bottom: 70px;
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.95), rgba(201, 162, 74, 0.04));
}

.gallery-modern #accordionIcons.widget-header {
  background: transparent;
  padding: 20px;
}

.gallery-modern .image-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.gallery-modern .image-grid img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--fm-shadow-soft);
  border: 1px solid var(--fm-border);
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-modern .image-grid a:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--fm-shadow);
}

.gallery-modern .lightbox-modal .modal-content {
  background: #0B0B0B;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 74, 0.2);
}

.gallery-modern .lightbox-modal .btn-close {
  position: absolute;
  top: 20px;
  right: 18px;
  color: var(--fm-text);
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.12);
  border: 1px solid rgba(201, 162, 74, 0.25);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* FAQ */
.faq-modern #accordionIcons.widget-header {
  background: linear-gradient(145deg, rgba(201, 162, 74, 0.04), rgba(201, 162, 74, 0.08));
  border-bottom: 1px solid var(--fm-border);
}

.faq-modern .accordion-icons .card {
  border: 1px solid var(--fm-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--fm-shadow-soft);
  background: var(--fm-surface);
}

.faq-modern .accordion-icons .card-header {
  background: rgba(201, 162, 74, 0.06);
  border-bottom: 1px solid var(--fm-border);
}

.faq-modern .accordion-icons .card-header [role="menu"] {
  color: var(--fm-secondary);
  font-weight: 700;
}

.faq-modern .accordion-icons .card-body p,
.legal-modern .widget-header p,
.legal-modern .widget-header li,
.news-modern .news-content p,
.news-modern .news-content li {
  color: var(--fm-muted);
  line-height: 1.75;
}

/* Legal */
.legal-modern #accordionIcons.widget-header {
  background: transparent;
  padding: 24px;
}

.legal-modern .widget-header h1,
.legal-modern .widget-header h2,
.legal-modern .widget-header h3,
.news-modern .news-title,
.course-modern .uk-card-title,
.course-single-modern .uk-article h2,
.course-single-modern .uk-article h3,
.course-single-modern .uk-article h4 {
  color: var(--fm-secondary);
}

.legal-modern .widget-header a {
  color: var(--fm-accent);
  text-decoration: underline;
}

.legal-modern .widget-content.widget-content-area {
  display: none;
}

/* Courses listing */
.course-modern .uk-grid-collapse {
  border-radius: 14px;
  overflow: hidden;
}

.course-modern .uk-card-media-top,
.course-single-modern .uk-card-media-top {
  overflow: hidden;
  border-bottom: 1px solid var(--fm-border);
}

.course-modern .uk-card-media-top .img-cover,
.course-single-modern .uk-card-media-top .img-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.course-modern .uk-card:hover .img-cover,
.course-single-modern .uk-card:hover .img-cover {
  transform: scale(1.06);
}

.course-modern .uk-text-price,
.course-single-modern .uk-text-price {
  margin: 10px;
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.85);
  color: #0B0B0B !important;
  padding: 4px 10px;
  font-weight: 700;
}

.course-modern .uk-icon-button.uk-like,
.course-single-modern .uk-like {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  color: var(--fm-secondary);
}

.course-modern .uk-icon-button.uk-like.fav,
.course-modern .uk-icon-button.uk-like.fav svg {
  color: #e5484d !important;
  background: rgba(229, 72, 77, 0.12);
  border-color: rgba(229, 72, 77, 0.32);
}

/* Course single */
.course-single-modern #header {
  background: linear-gradient(145deg, #0B0B0B, rgba(201, 162, 74, 0.15));
}

.course-single-modern .uk-section {
  padding-top: 56px;
  padding-bottom: 62px;
}

.course-single-modern .uk-article {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 20px;
  box-shadow: var(--fm-shadow-soft);
  padding: 24px;
}

.course-single-modern .uk-article p,
.course-single-modern .uk-article li,
.course-single-modern .uk-article td,
.news-modern .news-content {
  color: var(--fm-muted);
}

.course-single-modern .uk-accordion-title {
  color: var(--fm-secondary);
  font-weight: 700;
}

.course-single-modern .uk-table-divider > :first-child > tr:not(:first-child),
.course-single-modern .uk-table-divider > :not(:first-child) > tr,
.course-single-modern .uk-table-divider > tr:not(:first-child) {
  border-top: 1px solid var(--fm-border);
}

.course-single-modern .uk-border-secondary-xlarge {
  border: 1px solid var(--fm-border);
  border-radius: 14px;
  background: var(--fm-surface);
}

.course-single-modern .uk-rating [data-uk-icon],
.course-modern .uk-rating [data-uk-icon] {
  color: #C9A24A;
}

.course-single-modern .uk-comment {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--fm-shadow-soft);
}

.course-single-modern .uk-comment-title,
.course-single-modern .uk-comment-title a {
  color: var(--fm-secondary) !important;
}

.course-single-modern .uk-label.uk-label-light {
  background: rgba(201, 162, 74, 0.12);
  color: var(--fm-secondary);
  border-radius: 999px;
  border: 1px solid var(--fm-border);
}

.course-single-modern .uk-width-1-3\@m > div {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 18px;
  box-shadow: var(--fm-shadow-soft);
  padding: 18px;
}

.course-single-modern .uk-icon-button.facebook,
.course-single-modern .uk-icon-button.linkedin,
.course-single-modern .uk-icon-button.twitter {
  background: var(--fm-surface);
  color: var(--fm-secondary);
  border: 1px solid var(--fm-border);
}

/* News */
.news-modern .news-hero {
  background: linear-gradient(140deg, rgba(201, 162, 74, 0.06), rgba(201, 162, 74, 0.12));
  border: 1px solid var(--fm-border);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--fm-shadow-soft);
}

.news-modern .news-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--fm-secondary);
  border: 1px solid rgba(201, 162, 74, 0.25);
  background: rgba(201, 162, 74, 0.08);
  margin-bottom: 10px;
}

.news-modern .news-article {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 20px;
  box-shadow: var(--fm-shadow);
  overflow: hidden;
}

.news-modern .news-media-wrap {
  border-bottom: 1px solid var(--fm-border);
  overflow: hidden;
}

.news-modern .news-media-wrap img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-modern .news-content {
  padding: 22px;
  line-height: 1.8;
  font-size: 15px;
}

.wrap {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session {
  display: none;
}

@media (max-width: 959px) {
  .gallery-modern #about.uk-section,
  .faq-modern #about.uk-section,
  .legal-modern .uk-section.uk-section-muted,
  .course-modern .uk-section,
  .news-modern .uk-section.uk-section-muted,
  .front-page-modern .uk-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .front-page-modern .contact-us,
  .legal-modern #accordionIcons.widget-header,
  .news-modern .news-hero,
  .news-modern .news-content,
  .course-single-modern .uk-article {
    padding: 16px !important;
  }

  .gallery-modern .image-grid img,
  .course-modern .uk-card-media-top .img-cover,
  .course-single-modern .uk-card-media-top .img-cover {
    height: 210px !important;
  }

  .course-single-modern .uk-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }
}


/* ============================================================
   Homepage
   ============================================================ */
:root {
  --front-primary: #0B0B0B;
  --front-secondary: #C9A24A;
  --front-accent: #E8D48B;
  --front-bg: #111111;
  --front-surface: #1A1A1A;
  --front-text: #F0ECE3;
  --front-muted: #9A9489;
  --front-radius: 18px;
  --front-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --front-shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.22);
  --front-gold-gradient: linear-gradient(135deg, #C9A24A 0%, #E8D48B 50%, #C9A24A 100%);
}

body.front-modern {
  background: linear-gradient(180deg, #0f0f0f 0%, var(--front-bg) 45%, #0e0e0e 100%);
  color: var(--front-text);
  font-family: 'Manrope', sans-serif;
}

.front-modern .uk-navbar-container {
  background: rgba(11, 11, 11, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.front-modern .uk-logo {
  color: var(--front-secondary) !important;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.front-modern .uk-navbar-nav > li > a {
  color: var(--front-text) !important;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.front-modern .uk-navbar-nav > li.uk-active > a {
  color: var(--front-secondary) !important;
  position: relative;
}

.front-modern .uk-navbar-nav > li.uk-active > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--front-secondary);
}

.front-modern .uk-button {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.front-modern .uk-button:hover {
  transform: translateY(-2px);
}

.front-modern .uk-button-primary,
.front-modern .uk-button-success-outline {
  background: var(--front-gold-gradient);
  color: #0B0B0B !important;
  border: 0;
  box-shadow: var(--front-shadow-soft);
  font-weight: 700;
}

.front-modern .uk-button-success-outline:hover,
.front-modern .uk-button-primary:hover {
  box-shadow: var(--front-shadow);
}

/* Hero Carousel */
.front-modern #carousel.hero-carousel {
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: var(--front-shadow);
}

.front-modern #carousel .carousel-inner {
  padding-top: 0 !important;
  height: 72vh !important;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.front-modern #carousel .carousel-item {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.front-modern #carousel .hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.01);
}

.front-modern #carousel .hero-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 11, 11, 0.7) 0%, rgba(201, 162, 74, 0.1) 45%, rgba(11, 11, 11, 0.5) 100%);
  z-index: 1;
}

.front-modern #carousel .caption {
  position: absolute;
  inset: 0;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  padding: 120px 16px 56px;
  z-index: 2;
}

.front-modern .banner-text {
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.front-modern .hero-copy {
  max-width: 860px;
  margin: 0 auto;
  color: var(--front-text);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  animation: riseIn .65s ease both;
}

.front-modern .hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.2;
  color: #ffffff;
}

.front-modern .hero-copy h1 span,
.front-modern .hero-copy h1 mark {
  color: var(--front-secondary);
  background: transparent;
}

.front-modern .hero-copy p {
  margin: 0;
  font-size: clamp(0.98rem, 1.45vw, 1.2rem);
  color: rgba(240, 236, 227, 0.85);
}

.front-modern .banner-text .uk-button {
  min-width: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.front-modern .carousel-indicators li {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background-color: rgba(201, 162, 74, 0.3);
}

.front-modern .carousel-indicators .active {
  background-color: var(--front-secondary);
}

.front-modern .carousel-control-prev,
.front-modern .carousel-control-next {
  width: 6%;
  opacity: .9;
}

.front-modern .carousel-control-prev-icon,
.front-modern .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: rgba(201, 162, 74, 0.3);
  background-size: 50% 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.front-modern .uk-section {
  position: relative;
}

.front-modern .uk-section-muted {
  background: linear-gradient(140deg, rgba(201, 162, 74, 0.04), rgba(26, 26, 26, 0.95));
}

.front-modern .uk-heading-small mark {
  color: var(--front-secondary);
  background: rgba(201, 162, 74, 0.12);
  border-radius: 10px;
  padding: 0 8px;
}

.front-modern .uk-card.uk-card-border,
.front-modern .uk-card.uk-border-light-hover {
  border: 1px solid rgba(201, 162, 74, 0.18);
  border-radius: var(--front-radius);
  box-shadow: var(--front-shadow-soft);
  overflow: hidden;
  background: var(--front-surface);
  transition: transform .24s ease, box-shadow .24s ease;
}

.front-modern .uk-card-media-top {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 74, 0.15);
}

.front-modern .uk-card-media-top .img-cover {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(1.06) contrast(1.03);
}

.front-modern .uk-card:hover .uk-card-media-top .img-cover {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.06);
}

.front-modern .uk-overlay-xlight {
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.1) 0%, rgba(11, 11, 11, 0.35) 100%);
}

.front-modern .uk-text-price {
  background: rgba(201, 162, 74, 0.85);
  color: #0B0B0B !important;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 10px;
  display: inline-block;
  font-weight: 700;
}

.front-modern .uk-card.uk-card-border:hover,
.front-modern .uk-card.uk-border-light-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--front-shadow);
}

.front-modern .uk-card .uk-card-body {
  padding: 20px;
}

.front-modern .uk-text-muted {
  color: var(--front-muted) !important;
}

.front-modern .uk-card-title {
  color: var(--front-secondary);
  line-height: 1.35;
}

.front-modern .uk-card p {
  line-height: 1.6;
  color: var(--front-muted);
}

.front-modern .uk-icon-button.uk-like {
  background: var(--front-surface);
  border: 1px solid rgba(201, 162, 74, 0.3);
  color: var(--front-secondary);
}

.front-modern .uk-icon-button.uk-like.fav,
.front-modern .uk-icon-button.uk-like.fav svg {
  background: rgba(236, 83, 83, 0.14);
  color: #e5484d !important;
  border-color: rgba(229, 72, 77, 0.35);
}

/* Footer */
.front-modern .uk-section-secondary {
  background: linear-gradient(130deg, #0B0B0B 0%, #151515 50%, #1A1A1A 100%);
  color: var(--front-text);
}

.front-modern .uk-section-secondary .uk-link-border,
.front-modern .uk-section-secondary .uk-logo,
.front-modern .uk-section-secondary p,
.front-modern .uk-section-secondary h3 {
  color: var(--front-text) !important;
}

.front-modern .uk-section-secondary .uk-logo {
  color: var(--front-secondary) !important;
}

.front-modern footer .icons a {
  color: var(--front-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.12);
  border: 1px solid rgba(201, 162, 74, 0.2);
  margin-right: 8px;
  transition: all 0.25s ease;
}

.front-modern footer .icons a:hover {
  background: rgba(201, 162, 74, 0.25);
  transform: translateY(-2px);
}

.front-modern .uk-input {
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 74, 0.25);
  background: var(--front-surface);
  color: var(--front-text);
}

.front-modern .uk-input:focus {
  border-color: var(--front-secondary);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.12);
}

.front-modern #about .uk-child-width-1-2[data-uk-grid] img,
.front-modern #about .uk-child-width-1-2\@m[data-uk-grid] img {
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 74, 0.2);
  box-shadow: var(--front-shadow-soft);
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

/* Section Styles */
.front-modern .front-section-courses,
.front-modern .front-section-news,
.front-modern .front-section-instructors,
.front-modern .front-section-join,
.front-modern .front-section-categories,
.front-modern .front-section-newsletter {
  padding-top: 84px;
  padding-bottom: 84px;
}

.front-modern .front-section-courses {
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.03) 0%, rgba(26, 26, 26, 0.95) 100%);
}

.front-modern .front-section-news {
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.02) 0%, rgba(26, 26, 26, 0.95) 100%);
}

.front-modern .front-section-categories {
  position: relative;
  overflow: hidden;
}

.front-modern .front-section-categories::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: -100px;
  top: -120px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.front-modern .front-section-join {
  text-align: center;
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.95) 0%, rgba(201, 162, 74, 0.06) 100%);
}

.front-modern .front-section-newsletter {
  border-top: 1px solid rgba(201, 162, 74, 0.2);
  border-bottom: 1px solid rgba(201, 162, 74, 0.15);
  background: linear-gradient(125deg, #0B0B0B 0%, #151515 52%, #1A1A1A 100%);
}

.front-modern .front-section-newsletter .uk-input {
  background: var(--front-surface);
}

.front-modern .front-section-newsletter .uk-heading-small,
.front-modern .front-section-newsletter h2,
.front-modern .front-section-newsletter p {
  color: var(--front-text) !important;
}

.front-modern .front-section-courses .uk-card,
.front-modern .front-section-news .uk-card,
.front-modern .front-section-categories .uk-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.front-modern .front-section-courses .uk-card-body,
.front-modern .front-section-news .uk-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.front-modern .front-section-categories .uk-card {
  min-height: 190px;
  justify-content: center;
  border-color: rgba(201, 162, 74, 0.2);
  background: rgba(201, 162, 74, 0.06);
  backdrop-filter: blur(4px);
}

.front-modern .front-section-categories .uk-card-title {
  color: var(--front-secondary) !important;
}

.front-modern .front-section-categories p {
  color: var(--front-muted) !important;
}

.front-modern .front-section-news .uk-slidenav-large,
.front-modern .front-section-categories .uk-slidenav-large {
  color: var(--front-secondary) !important;
  background: var(--front-surface);
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--front-shadow-soft);
}

.front-modern .front-footer .uk-section-secondary {
  background: #0B0B0B;
}

.front-modern .front-footer .uk-logo {
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--front-secondary) !important;
}

/* About/Cover header */
.front-modern header.uk-cover-container {
  position: relative;
}

.front-modern header.uk-cover-container::before,
.front-modern header.uk-cover-container::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.front-modern header.uk-cover-container::before {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 16%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.2) 0%, transparent 70%);
  animation: floatBlob 9s ease-in-out infinite;
}

.front-modern header.uk-cover-container::after {
  width: 180px;
  height: 180px;
  left: 6%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.15) 0%, transparent 70%);
  animation: floatBlob 11s ease-in-out infinite reverse;
}

.front-modern .uk-section .uk-container {
  position: relative;
  z-index: 2;
}

/* Section headings */
.front-modern .uk-heading-small,
.front-modern .uk-section h2 {
  color: var(--front-text) !important;
}

.front-modern .uk-section p {
  color: var(--front-muted);
}

/* Animations */
.front-modern .uk-slider-items > li,
.front-modern #about .uk-child-width-1-2\@s > div,
.front-modern #about .uk-child-width-1-3\@m > div {
  animation: riseIn .65s ease both;
}

.front-modern .uk-slider-items > li:nth-child(2),
.front-modern #about .uk-child-width-1-2\@s > div:nth-child(2),
.front-modern #about .uk-child-width-1-3\@m > div:nth-child(2) {
  animation-delay: .08s;
}

.front-modern .uk-slider-items > li:nth-child(3),
.front-modern #about .uk-child-width-1-2\@s > div:nth-child(3),
.front-modern #about .uk-child-width-1-3\@m > div:nth-child(3) {
  animation-delay: .16s;
}

.front-modern .uk-slider-items > li:nth-child(4),
.front-modern #about .uk-child-width-1-3\@m > div:nth-child(4) {
  animation-delay: .24s;
}

.front-modern .uk-navbar-sticky {
  animation: navDrop .25s ease;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navDrop {
  from {
    transform: translateY(-10px);
    opacity: .85;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-14px) translateX(10px);
  }
}

.wrap {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wrap-3 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session {
  display: none;
}

/* Offcanvas mobile menu */
.frontend-modern .uk-offcanvas-bar,
.front-modern .uk-offcanvas-bar {
  background: #0B0B0B;
  color: var(--front-text);
}

.frontend-modern .uk-offcanvas-bar .uk-logo,
.front-modern .uk-offcanvas-bar .uk-logo {
  color: var(--front-secondary) !important;
}

.frontend-modern .uk-offcanvas-bar .uk-nav li a,
.front-modern .uk-offcanvas-bar .uk-nav li a {
  color: var(--front-text) !important;
}

.frontend-modern .uk-offcanvas-bar .uk-button-default,
.front-modern .uk-offcanvas-bar .uk-button-default {
  background: var(--front-gold-gradient);
  color: #0B0B0B !important;
  border: 0;
  font-weight: 700;
}

.frontend-modern .uk-navbar-dropdown,
.front-modern .uk-navbar-dropdown {
  background: #1A1A1A !important;
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.frontend-modern .uk-navbar-dropdown .uk-nav a,
.front-modern .uk-navbar-dropdown .uk-nav a {
  color: var(--front-text) !important;
}

.frontend-modern .uk-navbar-dropdown .uk-nav a:hover,
.front-modern .uk-navbar-dropdown .uk-nav a:hover {
  color: var(--front-secondary) !important;
}

/* Responsive */
@media (max-width: 959px) {
  .front-modern #carousel .carousel-inner {
    height: 62vh !important;
    min-height: 420px;
  }

  .front-modern #carousel .caption {
    padding: 96px 16px 34px;
  }

  .front-modern .banner-text .uk-button {
    width: 100%;
    justify-content: center;
  }

  .front-modern .front-section-courses,
  .front-modern .front-section-news,
  .front-modern .front-section-instructors,
  .front-modern .front-section-join,
  .front-modern .front-section-categories,
  .front-modern .front-section-newsletter {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .front-modern header.uk-cover-container::before,
  .front-modern header.uk-cover-container::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .front-modern #carousel.hero-carousel {
    border-radius: 0 0 22px 22px;
  }

  .front-modern #carousel .carousel-inner {
    height: 54vh !important;
    min-height: 340px;
  }

  .front-modern .hero-copy h1 {
    font-size: 1.45rem;
  }

  .front-modern .hero-copy p {
    font-size: .92rem;
  }

  .front-modern .uk-card .uk-card-body {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-modern *,
  .front-modern *::before,
  .front-modern *::after,
  .frontend-modern *,
  .frontend-modern *::before,
  .frontend-modern *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026 Public Experience Refresh */
:root {
  --fm-display: "Manrope", sans-serif;
  --fm-body: "Manrope", sans-serif;
}

.frontend-modern {
  font-family: var(--fm-body);
}

.frontend-modern h1,
.frontend-modern h2,
.frontend-modern h3,
.frontend-modern .section-title {
  font-family: var(--fm-display);
}

.frontend-modern .frontend-shell {
  overflow: clip;
}

.frontend-modern .nav-shell {
  min-height: 88px;
}

.frontend-modern .brand-lockup {
  gap: 12px;
}

.frontend-modern .brand-lockup span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.frontend-modern .brand-lockup strong {
  font-size: 1.05rem;
}

.frontend-modern .brand-lockup small {
  color: rgba(240, 236, 227, 0.52);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.frontend-modern .nav-pills {
  gap: 6px;
}

.frontend-modern .nav-pills > li > a {
  padding: 10px 16px !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.frontend-modern .nav-pills > li > a:hover,
.frontend-modern .nav-pills > li.uk-active > a {
  background: rgba(201, 162, 74, 0.12);
}

.frontend-modern .nav-actions {
  gap: 10px;
}

.frontend-modern .nav-cta-group {
  display: flex;
  gap: 10px;
}

.frontend-modern .uk-button-secondary-outline {
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 74, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fm-text) !important;
  font-weight: 700;
  box-shadow: none;
}

.frontend-modern .nav-user-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.frontend-modern .front-hero,
.frontend-modern .page-hero,
.frontend-modern .footer-cta-panel,
.frontend-modern .front-course-card,
.frontend-modern .front-category-card,
.frontend-modern .front-instructor-card,
.frontend-modern .front-news-card,
.frontend-modern .front-join-panel,
.frontend-modern .contact-page-card,
.frontend-modern .course-toolbar,
.frontend-modern .contact-us,
.frontend-modern .accordion-icons .card {
  border: 1px solid rgba(201, 162, 74, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.frontend-modern .section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--fm-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.frontend-modern .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.frontend-modern .section-heading h2,
.frontend-modern .page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.frontend-modern .section-heading p,
.frontend-modern .page-hero p {
  color: rgba(240, 236, 227, 0.7);
}

.frontend-modern .front-hero {
  position: relative;
  padding: 72px 0 36px;
}

.frontend-modern .front-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.frontend-modern .front-hero__copy,
.frontend-modern .front-hero__media,
.frontend-modern .front-hero__benefits,
.frontend-modern .front-join-panel,
.frontend-modern .page-hero,
.frontend-modern .course-toolbar,
.frontend-modern .contact-page-card,
.frontend-modern .contact-us {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(17, 17, 17, 0.98));
}

.frontend-modern .front-hero__copy {
  padding: 34px;
}

.frontend-modern .front-hero__copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.frontend-modern .front-hero__copy p {
  margin: 0;
  color: rgba(240, 236, 227, 0.74);
  font-size: 1rem;
  line-height: 1.75;
}

.frontend-modern .front-hero__actions,
.frontend-modern .front-join-panel__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.frontend-modern .front-hero__actions {
  margin-top: 22px;
}

.frontend-modern .front-hero__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 20px;
}

.frontend-modern .front-hero__stats,
.frontend-modern .front-card-grid,
.frontend-modern .front-category-grid,
.frontend-modern .front-instructor-grid,
.frontend-modern .front-news-grid,
.frontend-modern .contact-page-info {
  display: grid;
}

.frontend-modern .front-hero__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.frontend-modern .front-hero__stat {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 74, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.frontend-modern .front-hero__stat span {
  display: block;
  color: rgba(240, 236, 227, 0.6);
  font-size: 0.86rem;
}

.frontend-modern .front-hero__stat strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  font-family: var(--fm-display);
}

.frontend-modern .front-hero__visual {
  display: grid;
  gap: 16px;
}

.frontend-modern .front-hero__media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.frontend-modern .front-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frontend-modern .front-hero__media-slider,
.frontend-modern .front-hero__media-slider .uk-slideshow-items,
.frontend-modern .front-hero__media-slider .uk-slideshow-items > li {
  height: 100%;
  border-radius: inherit;
}

.frontend-modern .front-hero__media-slider .uk-slideshow-items {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.frontend-modern .front-hero__media-slider .uk-slideshow-items > li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frontend-modern .front-hero__media-nav {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
}

.frontend-modern .front-hero__media-nav > * > * {
  width: 8px;
  height: 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
}

.frontend-modern .front-hero__media-nav > .uk-active > * {
  background: #c9a24a;
}

.frontend-modern .front-hero__overlay-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  backdrop-filter: blur(18px);
  background: rgba(11, 11, 11, 0.72);
  border: 1px solid rgba(201, 162, 74, 0.16);
}

.frontend-modern .front-hero__overlay-card span,
.frontend-modern .front-course-card__meta,
.frontend-modern .front-category-card__count {
  color: rgba(240, 236, 227, 0.64);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.frontend-modern .front-hero__overlay-card strong {
  display: block;
  margin-top: 8px;
  color: #fff6dd;
  font-size: 1.2rem;
  font-family: var(--fm-display);
}

.frontend-modern .front-hero__benefits {
  gap: 10px;
  padding: 18px;
}

.frontend-modern .front-hero__benefits div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 74, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 236, 227, 0.76);
}

.frontend-modern .front-section {
  padding: 36px 0;
}

.frontend-modern .front-section--light .front-course-card,
.frontend-modern .front-section--light .front-instructor-card,
.frontend-modern .front-section--light .front-news-card,
.frontend-modern .front-section--light .front-category-card,
.frontend-modern .front-section--light .front-join-panel,
.frontend-modern .page-hero {
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(17, 17, 17, 0.98));
}

.frontend-modern .front-card-grid,
.frontend-modern .front-category-grid,
.frontend-modern .front-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.frontend-modern .front-instructor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.frontend-modern .front-course-card,
.frontend-modern .front-category-card,
.frontend-modern .front-instructor-card,
.frontend-modern .front-news-card {
  overflow: hidden;
  border-radius: 24px;
}

.frontend-modern .front-course-card__media,
.frontend-modern .front-news-card img,
.frontend-modern .front-instructor-card img {
  position: relative;
  overflow: hidden;
}

.frontend-modern .front-course-card__media img,
.frontend-modern .front-news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.frontend-modern .front-instructor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.frontend-modern .front-course-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.78);
  color: var(--fm-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.frontend-modern .front-course-card__wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
}

.frontend-modern .front-course-card__body,
.frontend-modern .front-news-card > div,
.frontend-modern .front-instructor-card > div {
  padding: 22px;
}

.frontend-modern .front-course-card__body h3,
.frontend-modern .front-news-card h3,
.frontend-modern .front-instructor-card h3,
.frontend-modern .front-category-card strong {
  margin: 8px 0 10px;
  font-size: 1.8rem;
  line-height: 0.98;
}

.frontend-modern .front-course-card__body p,
.frontend-modern .front-news-card p,
.frontend-modern .front-instructor-card p,
.frontend-modern .front-category-card p {
  margin: 0;
  color: rgba(240, 236, 227, 0.7);
  line-height: 1.68;
}

.frontend-modern .front-category-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(17, 17, 17, 0.98));
}

.frontend-modern .front-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--fm-secondary) !important;
  font-weight: 700;
}

.frontend-modern .front-join-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 34px;
}

.frontend-modern .page-hero {
  margin: 24px auto 0;
  padding: 30px;
}

.frontend-modern .page-hero--compact {
  padding-bottom: 0;
}

.frontend-modern .page-hero p {
  margin-top: 10px;
  max-width: 760px;
}

.frontend-modern .course-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.95fr);
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.frontend-modern .course-toolbar__search {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.frontend-modern .course-toolbar__filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.frontend-modern .course-toolbar__search .uk-input,
.frontend-modern .course-toolbar__filters .uk-select,
.frontend-modern .course-toolbar__search .uk-button {
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin: 0;
}

.frontend-modern .course-toolbar__search .uk-input,
.frontend-modern .course-toolbar__filters .uk-select {
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 74, 0.18);
  background: #fffdf8;
  color: #241d14;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.frontend-modern .course-toolbar__search .uk-input::placeholder {
  color: #9b9589;
}

.frontend-modern .course-toolbar__filters .uk-select {
  padding-right: 44px;
}

.frontend-modern .course-toolbar__search .uk-button {
  width: auto;
  min-width: 138px;
  justify-self: start;
}

.frontend-modern .page-feedback-strip {
  margin-top: 12px;
}

.frontend-modern .query p {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 74, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.frontend-modern .front-courses-grid .uk-card,
.frontend-modern .front-courses-grid .uk-card.uk-card-border {
  border-radius: 24px;
}

.frontend-modern .contact-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
}

.frontend-modern .contact-page-card {
  padding: 28px;
}

.frontend-modern .contact-page-info {
  gap: 14px;
  margin-top: 20px;
}

.frontend-modern .contact-page-info > div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 74, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.frontend-modern .contact-page-info span {
  display: block;
  color: rgba(240, 236, 227, 0.6);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.frontend-modern .contact-page-info strong {
  display: block;
  margin-top: 8px;
  color: var(--fm-text);
}

.frontend-modern .footer-top-panel,
.frontend-modern .footer-bottom-panel {
  padding: 0 !important;
}

.frontend-modern .footer-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 32px 0 24px;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(17, 17, 17, 0.98));
}

.frontend-modern .footer-cta-panel h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.frontend-modern .footer-cta-panel p,
.frontend-modern .footer-copy {
  color: rgba(240, 236, 227, 0.68);
}

.frontend-modern .footer-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.frontend-modern .footer-grid {
  padding-bottom: 28px;
}

.frontend-modern .footer-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--fm-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

@media (max-width: 1199.98px) {
  .frontend-modern .front-hero__grid,
  .frontend-modern .contact-page-grid,
  .frontend-modern .course-toolbar {
    grid-template-columns: 1fr;
  }

  .frontend-modern .course-toolbar__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frontend-modern .front-card-grid,
  .frontend-modern .front-category-grid,
  .frontend-modern .front-news-grid,
  .frontend-modern .front-instructor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .frontend-modern .front-hero,
  .frontend-modern .front-section {
    padding: 24px 0;
  }

  .frontend-modern .front-hero__copy,
  .frontend-modern .front-join-panel,
  .frontend-modern .page-hero,
  .frontend-modern .course-toolbar,
  .frontend-modern .contact-page-card,
  .frontend-modern .contact-us,
  .frontend-modern .footer-cta-panel {
    padding: 22px;
  }

  .frontend-modern .section-heading,
  .frontend-modern .front-join-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .frontend-modern .front-hero__stats,
  .frontend-modern .front-card-grid,
  .frontend-modern .front-category-grid,
  .frontend-modern .front-news-grid,
  .frontend-modern .front-instructor-grid {
    grid-template-columns: 1fr;
  }

  .frontend-modern .front-hero__search,
  .frontend-modern .course-toolbar__search,
  .frontend-modern .course-toolbar__filters {
    grid-template-columns: 1fr;
  }

  .frontend-modern .course-toolbar__search .uk-button {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
}

/* Light Theme Preference */
:root {
  --fm-bg: #faf6ef;
  --fm-surface: #ffffff;
  --fm-text: #181511;
  --fm-muted: #726858;
  --fm-border: rgba(201, 162, 74, 0.16);
}

.frontend-modern {
  background: linear-gradient(180deg, #fcf9f3 0%, #f3edde 100%);
  color: var(--fm-text);
}

.frontend-modern .uk-navbar-container,
.frontend-modern .front-hero__copy,
.frontend-modern .front-hero__media,
.frontend-modern .front-hero__benefits,
.frontend-modern .front-course-card,
.frontend-modern .front-category-card,
.frontend-modern .front-instructor-card,
.frontend-modern .front-news-card,
.frontend-modern .front-join-panel,
.frontend-modern .page-hero,
.frontend-modern .course-toolbar,
.frontend-modern .contact-page-card,
.frontend-modern .contact-us,
.frontend-modern .accordion-icons .card,
.frontend-modern .footer-cta-panel,
.frontend-modern footer .uk-section.uk-section-secondary,
.frontend-modern .uk-navbar-dropdown,
.frontend-modern .uk-offcanvas-bar {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%) !important;
  color: var(--fm-text) !important;
  border-color: rgba(201, 162, 74, 0.16) !important;
  box-shadow: 0 18px 40px rgba(57, 42, 13, 0.08) !important;
}

.frontend-modern .uk-logo,
.frontend-modern .uk-navbar-nav > li > a,
.frontend-modern footer p,
.frontend-modern footer a,
.frontend-modern .front-link,
.frontend-modern .front-course-card__body h3,
.frontend-modern .front-news-card h3,
.frontend-modern .front-instructor-card h3,
.frontend-modern .front-category-card strong,
.frontend-modern .uk-navbar-dropdown .uk-nav a {
  color: var(--fm-text) !important;
}

.frontend-modern .brand-lockup small,
.frontend-modern .front-hero__copy p,
.frontend-modern .front-course-card__body p,
.frontend-modern .front-news-card p,
.frontend-modern .front-instructor-card p,
.frontend-modern .front-category-card p,
.frontend-modern .contact-page-info span,
.frontend-modern .footer-copy,
.frontend-modern .query p,
.frontend-modern .page-hero p {
  color: var(--fm-muted) !important;
}

.frontend-modern .nav-pills > li > a:hover,
.frontend-modern .nav-pills > li.uk-active > a,
.frontend-modern .front-hero__stat,
.frontend-modern .front-hero__benefits div,
.frontend-modern .front-hero__overlay-card,
.frontend-modern .contact-page-info > div,
.frontend-modern .query p,
.frontend-modern .accordion-icons .card-header {
  background: rgba(201, 162, 74, 0.1) !important;
}

.frontend-modern .uk-input,
.frontend-modern .uk-select,
.frontend-modern .form-control {
  background: #fffdf8 !important;
  color: var(--fm-text) !important;
  border-color: rgba(201, 162, 74, 0.16) !important;
}

.frontend-modern .uk-button-secondary-outline {
  background: #ffffff !important;
  color: var(--fm-text) !important;
  border-color: rgba(201, 162, 74, 0.22) !important;
}

.frontend-modern .front-course-card__badge {
  background: rgba(201, 162, 74, 0.14) !important;
  color: #7f6128 !important;
}

.frontend-modern .front-hero__overlay-card strong,
.frontend-modern .front-hero__stat strong,
.frontend-modern .front-hero__copy h1,
.frontend-modern .section-heading h2,
.frontend-modern .page-hero h1,
.frontend-modern .footer-cta-panel h3 {
  color: #1b1712 !important;
}

html body.frontend-modern,
body.frontend-modern,
body.front-modern,
body.course-modern,
body.front-page-modern,
body.faq-modern,
body.gallery-modern,
body.legal-modern,
body.news-modern {
  background: linear-gradient(180deg, #fcf9f3 0%, #f2ecde 100%) !important;
}

.frontend-modern .frontend-shell,
.front-modern,
.course-modern,
.front-page-modern,
.faq-modern,
.gallery-modern,
.legal-modern,
.news-modern,
.front-modern .uk-section,
.course-modern .uk-section,
.front-page-modern .uk-section,
.faq-modern #about.uk-section,
.gallery-modern #about.uk-section,
.legal-modern .uk-section.uk-section-muted,
.news-modern .uk-section.uk-section-muted,
.front-modern header.uk-cover-container,
.front-modern .front-section-courses,
.front-modern .front-section-news,
.front-modern .front-section-instructors,
.front-modern .front-section-join,
.front-modern .front-section-categories,
.front-modern .front-section-newsletter {
  background: transparent !important;
}

.front-modern header.uk-cover-container::before,
.front-modern header.uk-cover-container::after,
.front-modern .front-section-categories::before {
  display: none !important;
}

/* Public UI Cleanup */
:root {
  --fm-display: "Manrope", sans-serif;
  --fm-body: "Manrope", sans-serif;
}

.frontend-modern,
.frontend-modern .uk-logo,
.frontend-modern .uk-button,
.frontend-modern input,
.frontend-modern select,
.frontend-modern textarea {
  font-family: var(--fm-body);
}

.frontend-modern h1,
.frontend-modern h2,
.frontend-modern h3,
.frontend-modern h4,
.frontend-modern .section-title,
.frontend-modern .front-hero__copy h1,
.frontend-modern .section-heading h2,
.frontend-modern .page-hero h1 {
  font-family: var(--fm-display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.frontend-modern .uk-navbar-container {
  background: rgba(255, 252, 247, 0.94) !important;
  backdrop-filter: blur(14px);
}

.frontend-modern .nav-shell {
  min-height: 76px;
}

.frontend-modern .brand-lockup {
  gap: 10px;
}

.frontend-modern .navbar-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.frontend-modern .brand-lockup strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.frontend-modern .brand-lockup small {
  margin-top: 2px;
  color: #8a806e !important;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

.frontend-modern .nav-pills {
  gap: 22px;
}

.frontend-modern .nav-pills > li > a {
  padding: 0 0 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #2a241d !important;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
}

.frontend-modern .nav-pills > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.frontend-modern .nav-pills > li > a:hover,
.frontend-modern .nav-pills > li.uk-active > a {
  color: #b0873b !important;
}

.frontend-modern .nav-pills > li > a:hover::after,
.frontend-modern .nav-pills > li.uk-active > a::after {
  background: #c9a24a;
}

.frontend-modern .nav-actions {
  gap: 12px;
}

.frontend-modern .nav-cta-group {
  gap: 10px;
}

.frontend-modern .uk-button-success-outline,
.frontend-modern .uk-button-secondary-outline,
.frontend-modern .search-btn,
.frontend-modern .btn.btn-secondary {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.frontend-modern .uk-button-success-outline,
.frontend-modern .search-btn {
  box-shadow: 0 10px 18px rgba(201, 162, 74, 0.18);
}

.frontend-modern .front-hero {
  padding: 38px 0 24px;
}

.frontend-modern .front-hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.frontend-modern .front-hero__copy,
.frontend-modern .front-hero__media,
.frontend-modern .front-hero__benefits,
.frontend-modern .front-join-panel,
.frontend-modern .page-hero,
.frontend-modern .course-toolbar,
.frontend-modern .contact-page-card,
.frontend-modern .contact-us,
.frontend-modern .front-course-card,
.frontend-modern .front-category-card,
.frontend-modern .front-instructor-card,
.frontend-modern .front-news-card,
.frontend-modern .footer-cta-panel {
  border-radius: 24px;
}

.frontend-modern .front-hero__copy {
  padding: 36px;
}

.frontend-modern .front-hero__copy h1 {
  max-width: 10.5ch;
  margin: 0 0 16px;
  font-size: clamp(2.85rem, 4.2vw, 4.35rem);
  line-height: 0.96;
}

.frontend-modern .front-hero__copy p {
  max-width: 680px;
  color: #6f6455 !important;
  font-size: 1rem;
  line-height: 1.7;
}

.frontend-modern .front-hero__search {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.frontend-modern .front-hero__search .uk-input {
  min-height: 48px;
  border-radius: 16px;
  font-size: 0.98rem;
}

.frontend-modern .front-hero__stats {
  gap: 14px;
}

.frontend-modern .front-hero__stat {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fcf8ef !important;
}

.frontend-modern .front-hero__stat span {
  color: #8b7f6b !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frontend-modern .front-hero__stat strong {
  margin-top: 6px;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.frontend-modern .front-hero__visual {
  gap: 14px;
}

.frontend-modern .front-hero__media {
  min-height: 470px;
  background: #f6efe1 !important;
}

.frontend-modern .front-hero__media img {
  display: block;
}

.frontend-modern .front-hero__overlay-card {
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 20px;
  background: rgba(255, 250, 241, 0.94) !important;
  backdrop-filter: none;
  border-color: rgba(201, 162, 74, 0.18);
}

.frontend-modern .front-hero__overlay-card span {
  color: #8b7f6b !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.frontend-modern .front-hero__overlay-card strong {
  margin-top: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.frontend-modern .front-hero__benefits {
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.frontend-modern .front-hero__benefits div {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fffaf1 !important;
  color: #5f5548 !important;
  font-size: 0.94rem;
  line-height: 1.5;
}

.frontend-modern .section-heading {
  margin-bottom: 20px;
}

.frontend-modern .section-heading h2,
.frontend-modern .page-hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.frontend-modern .page-hero {
  padding: 26px 30px;
}

.frontend-modern .front-course-card__body h3,
.frontend-modern .front-news-card h3,
.frontend-modern .front-instructor-card h3,
.frontend-modern .front-category-card strong {
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.frontend-modern .front-course-card__body p,
.frontend-modern .front-news-card p,
.frontend-modern .front-instructor-card p,
.frontend-modern .front-category-card p {
  color: #6f6455 !important;
}

.frontend-modern .front-category-card,
.frontend-modern .front-course-card,
.frontend-modern .front-instructor-card,
.frontend-modern .front-news-card,
.frontend-modern .front-join-panel,
.frontend-modern .page-hero,
.frontend-modern .course-toolbar,
.frontend-modern .contact-page-card,
.frontend-modern .contact-us,
.frontend-modern .footer-cta-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fcf8ef 100%) !important;
}

.frontend-modern .front-link {
  font-size: 0.94rem;
}

.frontend-modern .front-join-panel {
  padding: 28px 30px;
}

.frontend-modern .front-join-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.04;
}

.frontend-modern .footer-cta-panel h3 {
  font-size: 1.85rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

@media (max-width: 1024px) {
  .frontend-modern .nav-pills {
    gap: 16px;
  }

  .frontend-modern .front-hero__copy h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    max-width: none;
  }
}

/* Footer Refresh */
.frontend-modern .footer-top-panel,
.frontend-modern .footer-bottom-panel {
  background: transparent !important;
}

.frontend-modern .footer-cta-panel {
  margin: 28px 0 22px;
  padding: 28px 30px;
  border: 1px solid rgba(190, 162, 109, 0.16);
  background: linear-gradient(180deg, #fffdf8 0%, #f8f0df 100%) !important;
  box-shadow: 0 16px 34px rgba(57, 42, 13, 0.07) !important;
}

.frontend-modern .footer-cta-panel h3 {
  color: #1f1912 !important;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.06;
}

.frontend-modern .footer-cta-panel p {
  color: #605648 !important;
  font-size: 0.98rem;
}

.frontend-modern .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.8fr));
  gap: 28px;
  padding: 8px 0 0;
}

.frontend-modern .footer-brand,
.frontend-modern .footer-column {
  min-width: 0;
}

.frontend-modern .footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  color: #211b14 !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.frontend-modern .footer-copy {
  max-width: 320px;
  margin: 0 0 18px;
  color: #463d32 !important;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.78;
}

.frontend-modern .footer-socials {
  display: flex;
  gap: 10px;
}

.frontend-modern .footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 162, 109, 0.18);
  background: #fffaf1;
  color: #7f6128 !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.frontend-modern .footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 162, 109, 0.32);
  background: #f7ecd2;
}

.frontend-modern .footer-column h4 {
  margin: 0 0 14px;
  color: #211b14;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frontend-modern .footer-column .uk-list {
  margin: 0;
}

.frontend-modern .footer-column .uk-list li {
  margin: 0 0 11px;
}

.frontend-modern .footer-column .uk-link-border,
.frontend-modern .footer-note {
  color: #4e4438 !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.frontend-modern .footer-column a.uk-link-border:hover {
  color: #af8339 !important;
}

.frontend-modern .footer-bottom-panel .uk-container {
  margin-top: 22px;
}

.frontend-modern .footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 18px 0 10px;
  border-top: 1px solid rgba(190, 162, 109, 0.18);
}

.frontend-modern .footer-bottom-copy p,
.frontend-modern .footer-bottom-copy a {
  margin: 0;
  color: #4c4337 !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.frontend-modern .footer-bottom-copy a:hover {
  color: #af8339 !important;
}

.frontend-modern .footer-brand {
  padding-right: 12px;
}

.frontend-modern .footer-column h4 {
  color: #201a13;
}

.frontend-modern .footer-grid {
  padding: 12px 0 4px;
}

.frontend-modern .footer-socials a {
  box-shadow: 0 8px 16px rgba(57, 42, 13, 0.05);
}

@media (max-width: 1199.98px) {
  .frontend-modern .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .frontend-modern .footer-cta-panel,
  .frontend-modern .footer-grid {
    gap: 18px;
  }

  .frontend-modern .footer-grid {
    grid-template-columns: 1fr;
  }

  .frontend-modern .footer-bottom-row {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* Navbar Redesign */
.frontend-modern .uk-navbar-container,
.front-modern .uk-navbar-container {
  background: rgba(255, 252, 247, 0.97) !important;
  border-bottom: 1px solid rgba(190, 162, 109, 0.18) !important;
  box-shadow: 0 8px 20px rgba(53, 40, 15, 0.06) !important;
}

.frontend-modern .nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.frontend-modern .uk-navbar-left,
.frontend-modern .uk-navbar-center,
.frontend-modern .uk-navbar-right {
  display: flex;
  align-items: center;
}

.frontend-modern .uk-navbar-center {
  justify-content: center;
}

.frontend-modern .uk-navbar-right {
  justify-content: flex-end;
}

.frontend-modern .brand-lockup {
  min-height: auto !important;
  padding-left: 0 !important;
}

.frontend-modern .brand-lockup strong {
  color: #241d14 !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.frontend-modern .brand-lockup small {
  color: #8e836f !important;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.frontend-modern .nav-pills,
.frontend-modern .nav-pills.uk-navbar-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
}

.frontend-modern .nav-pills > li,
.frontend-modern .nav-pills > li.uk-active {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.frontend-modern .nav-pills > li > a,
.frontend-modern .uk-navbar-nav.nav-pills > li > a {
  min-height: auto !important;
  padding: 0 0 12px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #2a241d !important;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-transform: none;
}

.frontend-modern .nav-pills > li > a::before,
.frontend-modern .nav-pills > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.frontend-modern .nav-pills > li > a::before {
  bottom: -1px;
  height: 2px;
  background: transparent;
  border-radius: 999px;
}

.frontend-modern .nav-pills > li > a:hover,
.frontend-modern .nav-pills > li.uk-active > a {
  color: #af8339 !important;
  background: transparent !important;
}

.frontend-modern .nav-pills > li > a:hover::before,
.frontend-modern .nav-pills > li.uk-active > a::before {
  background: linear-gradient(90deg, #c9a24a, #e5ca82);
}

.frontend-modern .nav-pills > li.uk-active > a::after,
.frontend-modern .front-modern .uk-navbar-nav > li.uk-active > a::after,
.frontend-modern .front-modern .uk-navbar-nav > li.uk-active > a,
.front-modern .uk-navbar-nav > li.uk-active > a {
  background: transparent !important;
  box-shadow: none !important;
}

.frontend-modern .nav-actions {
  gap: 12px;
}

.frontend-modern .nav-cta-group {
  align-items: center;
}

.frontend-modern .nav-cta-group .uk-button {
  min-width: 0;
}

.frontend-modern .uk-button-secondary-outline {
  background: transparent !important;
}

.frontend-modern .uk-button,
.frontend-modern .btn.btn-secondary,
.frontend-modern .uk-offcanvas-bar .uk-button-default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  line-height: 1.1;
  white-space: nowrap;
}

.frontend-modern .front-hero__actions .uk-button,
.frontend-modern .front-join-panel__actions .uk-button,
.frontend-modern .section-heading .uk-button,
.frontend-modern .nav-cta-group .uk-button,
.frontend-modern .front-hero__search .uk-button {
  flex: 0 0 auto;
}

.frontend-modern .uk-navbar-toggle {
  color: #2a241d !important;
}

/* Contrast cleanup */
.frontend-modern .section-kicker,
.frontend-modern .footer-kicker,
.frontend-modern .front-hero__overlay-card span,
.frontend-modern .front-course-card__meta,
.frontend-modern .front-category-card__count {
  color: #97753a !important;
}

.frontend-modern .front-hero__copy p,
.frontend-modern .front-course-card__body p,
.frontend-modern .front-news-card p,
.frontend-modern .front-instructor-card p,
.frontend-modern .front-category-card p,
.frontend-modern .footer-copy,
.frontend-modern .contact-page-info span,
.frontend-modern .page-hero p,
.frontend-modern .query p,
.frontend-modern .front-hero__benefits div {
  color: #655a4c !important;
}

.frontend-modern .front-hero__benefits div,
.frontend-modern .query p,
.frontend-modern .contact-page-info > div {
  border-color: rgba(190, 162, 109, 0.18) !important;
}

.frontend-modern .front-hero__overlay-card {
  background: rgba(255, 251, 243, 0.98) !important;
}

/* Footer readability fix */
.frontend-modern .footer-brand .footer-copy,
.frontend-modern footer .footer-copy {
  color: #40372c !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.82 !important;
}

.frontend-modern .front-hero__overlay-card strong,
.frontend-modern .front-hero__copy h1,
.frontend-modern .section-heading h2,
.frontend-modern .page-hero h1,
.frontend-modern .front-course-card__body h3,
.frontend-modern .front-news-card h3,
.frontend-modern .front-instructor-card h3,
.frontend-modern .front-category-card strong,
.frontend-modern .footer-cta-panel h3 {
  color: #1f1912 !important;
}

.frontend-modern .uk-offcanvas-bar,
.front-modern .uk-offcanvas-bar {
  background: #fffaf2 !important;
  color: #241d14 !important;
}

.frontend-modern .uk-offcanvas-bar .uk-logo,
.frontend-modern .uk-offcanvas-bar .uk-nav li a,
.frontend-modern .uk-navbar-dropdown .uk-nav a,
.frontend-modern .dropdown-item {
  color: #241d14 !important;
}

.frontend-modern .uk-navbar-dropdown {
  border-radius: 18px !important;
}

@media (max-width: 1199.98px) {
  .frontend-modern .nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .frontend-modern .nav-pills,
  .frontend-modern .nav-pills.uk-navbar-nav {
    gap: 18px;
  }
}

@media (max-width: 959.98px) {
  .frontend-modern .nav-shell {
    min-height: 72px;
  }

  .frontend-modern .brand-lockup strong {
    font-size: 0.92rem;
  }

  .frontend-modern .brand-lockup small {
    font-size: 0.58rem;
  }
}

/* Shared Public Page Alignment */
.frontend-modern .page-shell {
  display: grid;
  gap: 20px;
}

.frontend-modern .page-shell__intro h2 {
  margin: 0;
  color: #201a13;
}

.frontend-modern .page-toolbar,
.frontend-modern .page-content-card,
.frontend-modern .test-list-card {
  border: 1px solid rgba(190, 162, 109, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf8ef 100%);
  box-shadow: 0 18px 40px rgba(57, 42, 13, 0.08);
}

.frontend-modern .page-toolbar {
  padding: 22px;
}

.frontend-modern .page-toolbar__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.frontend-modern .page-toolbar__search .uk-input,
.frontend-modern .page-toolbar__search .uk-button {
  height: 56px;
  min-height: 56px;
  margin: 0;
}

.frontend-modern .page-toolbar__search .uk-input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 74, 0.18);
  background: #fffdf8;
  color: #241d14;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.frontend-modern .page-toolbar__search .uk-input::placeholder {
  color: #9b9589;
}

.frontend-modern .page-toolbar__search .uk-button {
  min-width: 138px;
  justify-self: start;
}

.frontend-modern .test-list {
  display: grid;
  gap: 16px;
}

.frontend-modern .test-list-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
}

.frontend-modern .test-list-card__body h3 {
  margin: 0 0 6px;
  color: #201a13;
  font-size: 1.3rem;
  line-height: 1.08;
}

.frontend-modern .test-list-card__body .uk-text-muted {
  color: #6f6455 !important;
}

.frontend-modern .page-empty-state {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 28px;
  border: 1px dashed rgba(190, 162, 109, 0.28);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.9);
}

.frontend-modern .page-empty-state h3,
.frontend-modern .faq-shell__header h4 {
  margin: 0;
  color: #201a13;
}

.frontend-modern .page-empty-state p {
  margin: 0;
  color: #6f6455;
}

.frontend-modern .page-content-card {
  padding: 28px 30px;
}

.frontend-modern .faq-shell__header {
  margin-bottom: 18px;
}

.frontend-modern .faq-shell .card {
  margin-bottom: 14px !important;
}

.frontend-modern .faq-shell .card-header {
  border-radius: 18px;
}

.frontend-modern .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.frontend-modern .gallery-grid__item {
  margin: 0;
}

.frontend-modern .gallery-grid__item a {
  display: block;
}

.frontend-modern .gallery-grid__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(57, 42, 13, 0.08);
}

.frontend-modern .legal-card {
  padding: 32px 34px;
}

.frontend-modern .legal-copy h1,
.frontend-modern .legal-copy h2,
.frontend-modern .legal-copy h3,
.frontend-modern .legal-copy h4 {
  color: #1f1912;
}

.frontend-modern .legal-copy p,
.frontend-modern .legal-copy li {
  color: #564c40;
  line-height: 1.8;
}

.frontend-modern .legal-copy ul {
  margin: 0 0 1rem;
}

@media (max-width: 1199.98px) {
  .frontend-modern .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .frontend-modern .page-toolbar,
  .frontend-modern .page-content-card,
  .frontend-modern .legal-card {
    padding: 22px;
  }

  .frontend-modern .page-toolbar__search {
    grid-template-columns: 1fr;
  }

  .frontend-modern .page-toolbar__search .uk-button {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .frontend-modern .test-list-card__body {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }

  .frontend-modern .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Navbar dropdown stacking fix (/ home page)
   The navbar uses backdrop-filter, which creates a stacking
   context. Without an explicit z-index that context sits at
   the same level as the page, so later sections (e.g. the
   hero banner) paint over the open profile dropdown.
   Elevating the navbar container lifts its whole context —
   dropdown included — above page content. The value stays
   below UIKit overlays (modal/offcanvas ~1000+) on purpose.
   ========================================================= */
.frontend-modern .uk-navbar-container,
.front-modern .uk-navbar-container {
  position: relative;
  z-index: 100;
}

.frontend-modern .uk-navbar-dropdown,
.front-modern .uk-navbar-dropdown {
  z-index: 1020;
}
