/*
 Theme Name: Nadlan360 Child CSSRestore
 Theme URI: https://nadlan360.com/
 Description: Child theme for Ecademy - Nadlan360 with original HTML CSS restored (no color overrides)
 Author: Lior Malka
 Template: ecademy
 Version: 2.3.0
 Text Domain: nadlan360-child
*/

/* === N360 FAQ: restore yellow divider between question and answer === */
/* Based on the Elementor widget structure and the custom class `.n360-acc`. */
#faq .n360-acc .elementor-accordion .elementor-tab-content{
  border-top: 2px solid var(--accent, #ffd700) !important;
  margin-top: 10px;
  padding-top: 12px;
}
/* Optional: ensure no unexpected margins on titles collapse the line */
#faq .n360-acc .elementor-accordion .elementor-tab-title{ margin-bottom: 0; }
/* ==================================================================== */


/* === Nadlan360: About – Egg Layout (No Pro) === */
/* Scope to the section template only via .about-egg / .egg-zone */
.about-egg {
  --bg: #061a2b;
  --gold: #ffd700;
  --text: #e9eef4;
  --muted: #c7d0da;
  background: var(--bg);
  padding: clamp(32px, 5vw, 72px) clamp(16px, 5vw, 64px);
  direction: rtl;
}
.about-egg .elementor-container { align-items: center; }
.about-egg .about-stars {
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: .35em;
  color: var(--gold);
  margin-bottom: clamp(8px, 1.2vw, 12px);
}
.about-egg h1.elementor-heading-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  margin: 0 0 .4em 0;
}
.about-egg .elementor-text-editor { 
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.9;
  max-width: 46ch;
}

/* Any image inside the left column becomes an egg with shadow */
.about-egg .egg-zone img {
  width: min(620px, 90vw);
  height: clamp(360px, 55vw, 560px);
  object-fit: cover;
  display: block;
  margin-inline: auto;
  -webkit-clip-path: ellipse(47% 56% at 50% 45%);
          clip-path: ellipse(47% 56% at 50% 45%);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
  outline: 2px solid rgba(255,255,255,.06);
  outline-offset: -8px;
}

/* Mobile stack */
@media (max-width: 1024px) {
  .about-egg .elementor-container { flex-direction: column; gap: 28px; }
  .about-egg .elementor-text-editor { max-width: 60ch; }
}

/* ===== נכסים דומים (Related Properties) ===== */
.n360-related-section{
  margin-top: 30px;
  direction: rtl;
}

/* כותרת נכסים דומים - מיושרת לימין עם קו */
.n360-related-section .n360-section-title{
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #1e3c72 !important;
  text-align: right !important;
  margin-bottom: 15px !important;
  border-bottom: 2px solid #ffd700 !important;
  padding-bottom: 5px !important;
  direction: rtl !important;
}

/* גריד של 3 עמודות */
.n360-related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* כרטיס בודד */
.n360-related-card{
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  direction: rtl;
  text-align: center;
}

.n360-related-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.n360-related-card img{
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.n360-related-card-content{
  padding: 16px;
}

.n360-related-card-title{
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 10px;
  font-size: 16px;
}

.n360-related-card-price{
  color: #ffd700;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
}

.n360-related-card-details{
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

/* התאמות למסכים קטנים */
@media (max-width: 980px){
  .n360-related-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .n360-related-grid{
    grid-template-columns: 1fr;
  }
}










