/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.6.1770229987
Updated: 2026-02-04 18:33:07

*/
/* ============================================================
   CATEGORY CHILD CARDS (Parent → Child Topics)
   ============================================================ */

.category-children {
  margin: 3rem 0;
}

.category-children-heading {
  margin-bottom: 1.5rem;
}

.category-children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  display: block;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.category-card * {
  text-decoration: none !important;
}

.category-card h3 {
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.category-card-description {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #555;
}

.category-card-count {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: #999;
}

/* ============================================================
   Academy Category Context (Option C)
   Breadcrumb + Topic Switcher
============================================================ */

.academy-category-context {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ---------- Breadcrumb ---------- */

.academy-breadcrumb {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.academy-breadcrumb a {
  color: #5b7c7a;
  font-weight: 600;
  text-decoration: none;
}

.academy-breadcrumb a:hover {
  text-decoration: underline;
}

.academy-breadcrumb span {
  margin: 0 0.35rem;
  color: #aaa;
}

/* ---------- Current Topic ---------- */

.academy-current-topic {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #333;
}

.academy-current-topic strong {
  color: #7a1f3d; /* burgundy accent */
  font-weight: 700;
}

/* ---------- Topic Switcher ---------- */

.academy-topic-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.academy-topic-switcher label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}

.academy-topic-switcher select {
  appearance: none;
  min-width: 260px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.academy-topic-switcher select:hover {
  border-color: #7a1f3d;
}

.academy-topic-switcher select:focus {
  outline: none;
  border-color: #7a1f3d;
  box-shadow: 0 0 0 3px rgba(122,31,61,0.12);
}

/* ---------- Mobile Adjustments ---------- */

@media (max-width: 640px) {
  .academy-category-context {
    padding: 1.5rem 1.25rem;
  }

  .academy-topic-switcher {
    flex-direction: column;
    align-items: flex-start;
  }

  .academy-topic-switcher select {
    width: 100%;
  }
}
/* ============================================================
   Academy Breadcrumb – Index Icon Styling
============================================================ */

.academy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.academy-breadcrumb a {
  color: #5b7c7a;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.academy-breadcrumb a:hover {
  text-decoration: underline;
}

.academy-breadcrumb-home {
  opacity: 0.85;
}

.academy-breadcrumb-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.academy-breadcrumb-sep {
  color: #aaa;
}

.academy-breadcrumb-current {
  font-weight: 600;
  color: #333;
}
.academy-post-breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.academy-post-breadcrumbs a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

.academy-post-breadcrumbs a:hover {
  text-decoration: underline;
}

.academy-breadcrumb-icon {
  font-size: 0.9em;
  opacity: 0.8;
}

.academy-breadcrumb-sep {
  opacity: 0.4;
}

/* ============================================================
   ACADEMY MODULE INDEX GRID
   ============================================================ */

.academy-modules-grid {
  margin: 4rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}

/* Section anchor accent */
.academy-modules-grid::before {
  content: "";
  position: absolute;
  top: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #7a1f3d;
  border-radius: 2px;
  opacity: 0.5;
}

.academy-module-card {
  position: relative;
  display: block;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Accent bar */
.academy-module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #7a1f3d, #c24d6b);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.academy-module-card:hover::before {
  opacity: 1;
}

.academy-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.academy-module-card * {
  text-decoration: none !important;
}

.academy-module-card h3 {
  margin: 0 0 0.75rem;
  line-height: 1.25;
  font-weight: 700;
}

.academy-module-description {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #555;
}

.academy-module-count {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: #999;
}


/* ============================================================
   ACADEMY EXPLORER (Homepage Hero Control Panel)
   ============================================================ */

.academy-module-explorer {
  position: relative;
  margin: 0 auto;
  margin-top:60px;
  padding: 3.5rem 4rem;
  max-width: 860px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transform: translateY(-40px);
}

.academy-module-explorer::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: #7a1f3d;
  opacity: 0.6;
}

.academy-module-dropdown {
  margin-bottom: 1rem;
}

.academy-module-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}


/* ============================================================
   PRIMARY ACTION — MODULE SELECT
   ============================================================ */

#academy-module-select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  border-radius: 10px;
  border: 2px solid #e3e3e3;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#academy-module-select:focus {
  border-color: #7a1f3d;
  box-shadow: 0 0 0 3px rgba(122,31,61,0.15);
  outline: none;
}


/* ============================================================
   DIVIDER — BROWSE VS SEARCH
   ============================================================ */

.academy-search-divider {
  position: relative;
  margin: 1.75rem 0;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
}

.academy-search-divider::before,
.academy-search-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e0e0e0;
}

.academy-search-divider::before {
  left: 0;
}

.academy-search-divider::after {
  right: 0;
}


/* ============================================================
   SECONDARY ACTION — SEARCH
   ============================================================ */

.academy-module-search {
  text-align: center;
  opacity: 0.95;
}

.academy-module-search input[type="search"] {
  border-radius: 6px;
  background-color: #fafafa;
}

.academy-module-search input[type="submit"],
.academy-module-search button {
  border-radius: 6px;
  background-color: #7a1f3d;
  color: #ffffff;
}


/* ============================================================
   MOBILE POLISH
   ============================================================ */

@media (max-width: 767px) {
  .academy-module-explorer {
    margin-top: 60px;
    padding: 2.5rem 2rem;
  }

  .academy-module-card,
  .category-card {
    padding: 1.5rem 1.75rem;
  }

  .academy-module-card:hover,
  .category-card:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  }
}




/* ============================================================
   HFE POSTS → MATCH ELEMENTOR CLASSIC CARDS EXACTLY
   ============================================================ */

/* Grid spacing parity */
.hfe-posts-grid {
  gap: 2rem;
}

/* Card base — identical to Elementor posts */
.hfe-post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Hover lift */
.hfe-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ============================================================
   IMAGE / THUMBNAIL — FORCE SAME RATIO
   ============================================================ */

.hfe-post-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hfe-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hfe-post-card:hover .hfe-post-image img {
  transform: scale(1.05);
}

/* ============================================================
   CONTENT STACK — SAME PADDING + FLEX
   ============================================================ */

.hfe-post-content {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Title */
.hfe-post-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
}

.hfe-post-title a {
  color: #1f2d2a;
  text-decoration: none !important;
}

/* ============================================================
   EXCERPT — SAME CLAMP + TYPOGRAPHY
   ============================================================ */

.hfe-post-excerpt {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3f4f4a;
  margin-bottom: 1.25rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   READ MORE — IDENTICAL BUTTON STYLE
   ============================================================ */

.hfe-read-more {
  margin-top: auto;
  align-self: flex-start;

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  background: #7a1f3d;
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  text-decoration: none !important;

  transition: background 0.15s ease, transform 0.15s ease;
}

.hfe-read-more:hover {
  background: #5e182f;
  transform: translateY(-1px);
}

/* ============================================================
   HARD STOP — NO UNDERLINES (HFE)
   ============================================================ */

.hfe-post-card a,
.hfe-post-card a:hover,
.hfe-post-card a:focus,
.hfe-post-card a:active,
.hfe-post-card a:visited,
.hfe-post-card * {
  text-decoration: none !important;
}

/* ============================================================
   MOBILE PARITY
   ============================================================ */

@media (max-width: 768px) {
  .hfe-post-content {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .hfe-post-title {
    font-size: 1.05rem;
  }
}

/* ============================================================
   ELEMENTOR CTA – ACADEMY / MARKETPLACE STYLE
   ============================================================ */

/* Base CTA card */
.elementor-widget-call-to-action .elementor-cta {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
}

/* Lift on hover */
.elementor-widget-call-to-action .elementor-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}



/* Content container */
.elementor-cta__content {
  padding: 3rem 3.5rem;
  max-width: 720px;
}

/* Title */
.elementor-cta__title {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #ffffff;
}

/* Description */
.elementor-cta__description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
}

/* Button */
.elementor-cta__button {
  background: #ffffff;
  color: #7a1f3d;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  letter-spacing: 0.03em;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* Button hover */
.elementor-cta:hover .elementor-cta__button {
  background: #f3f3f3;
  transform: translateY(-1px);
}


/* ============================================================
   HARD STOP: NO UNDERLINES
   ============================================================ */

.elementor-widget-call-to-action a,
.elementor-widget-call-to-action a:hover,
.elementor-widget-call-to-action a:focus,
.elementor-widget-call-to-action * {
  text-decoration: none !important;
}

/* ============================================================
   MOBILE TUNING
   ============================================================ */

@media (max-width: 768px) {
  .elementor-cta__content {
    padding: 2rem;
  }

  .elementor-cta__title {
    font-size: 1.6rem;
  }
}
/* ============================================================
   LOGO-BASED CTA IMAGE CONSTRAINTS
   ============================================================ */

/* Target only logo CTAs */
.logo-cta .elementor-cta__bg {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Give logos breathing room */
.logo-cta .elementor-cta__bg-wrapper {
  padding: 3rem;
}

/* Optional: soft neutral backdrop behind logos */
.logo-cta .elementor-cta__bg {
  background-color: #ffffff;
}

/* Keep logos from overpowering content */
.logo-cta .elementor-cta__bg-wrapper {
  min-height: 240px;
}

/* ============================================================
   ELEMENTOR POSTS – RESOURCE / ARTICLE CARDS
   Matches Academy & Marketplace UI
   ============================================================ */

/* Grid spacing */
.elementor-posts.elementor-grid {
  gap: 2rem;
}

/* Card base */
.elementor-posts--skin-classic .elementor-post {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Hover lift */
.elementor-posts--skin-classic .elementor-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ============================================================
   THUMBNAIL
   ============================================================ */

.elementor-post__thumbnail {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.elementor-post:hover .elementor-post__thumbnail img {
  transform: scale(1.05);
}

/* ============================================================
   CONTENT STACK
   ============================================================ */

.elementor-post__text {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Title */
.elementor-post__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
}

.elementor-post__title a {
  color: #1f2d2a;
  text-decoration: none !important;
}

/* Meta */
.elementor-post__meta-data {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8a8a;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

/* Excerpt – clamp */
.elementor-post__excerpt {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3f4f4a;
  margin-bottom: 1.25rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   READ MORE – BUTTON STYLE
   ============================================================ */

.elementor-post__read-more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  background: #7a1f3d;
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.elementor-post__read-more:hover {
  background: #5e182f;
  transform: translateY(-1px);
}

/* ============================================================
   HARD STOP: NO UNDERLINES IN POSTS
   ============================================================ */

.elementor-posts--skin-classic a,
.elementor-posts--skin-classic a:hover,
.elementor-posts--skin-classic a:focus,
.elementor-posts--skin-classic * {
  text-decoration: none !important;
}

/* ============================================================
   MOBILE POLISH
   ============================================================ */

@media (max-width: 768px) {
  .elementor-post__text {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .elementor-post__title {
    font-size: 1.05rem;
  }
}
.academy-empty-state {
  max-width: 560px;
  margin: 0.5rem auto;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.academy-empty-state h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.academy-empty-state p {
  color: #555;
  margin-bottom: 1.5rem;
}

.academy-empty-state .elementor-button {
  background: #7a1e3a; /* academy accent */
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
}
