/* ===========================================
   EzWriter Universal Article Style
   Version: 2.0.0
   Works with ANY niche - floor cleaning, automotive, baby products, tech, cooking, etc.
   Scoped to .ezw-wrap only
=========================================== */

/* ── BASE WRAPPER ── */
.ezw-wrap {
  --ezw-primary: #0f766e;
  --ezw-primary-dark: #115e59;
  --ezw-accent: #14b8a6;
  --ezw-secondary: #0891b2;
  --ezw-soft-bg: #f0fdfa;
  --ezw-soft-blue: #ecfeff;
  --ezw-border: #d5e7e5;
  --ezw-text: #17211f;
  --ezw-heading: #111827;
  --ezw-heading-soft: #e5e7eb;
  --ezw-muted: #52615f;
  margin: 0 auto;
  max-width: 820px;
  padding: 0 16px;
  line-height: 1.78;
  color: var(--ezw-text);
  box-sizing: border-box;
  font-size: 17px;
}

.ezw-wrap *,
.ezw-wrap *::before,
.ezw-wrap *::after {
  box-sizing: border-box;
}

/* ── TYPOGRAPHY ── */
.ezw-wrap p { margin: 0 0 1.2em; }

.ezw-wrap h2 {
  font-size: 1.55em;
  font-weight: 800;
  margin: 2em 0 0.7em;
  color: var(--ezw-heading);
  line-height: 1.28;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ezw-heading-soft);
  position: relative;
}
.ezw-wrap h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--ezw-heading), #d1d5db);
  border-radius: 999px;
}

.ezw-wrap h3 {
  font-size: 1.34em;
  font-weight: 800;
  margin: 1.7em 0 0.65em;
  color: var(--ezw-heading);
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.ezw-wrap h4 {
  font-size: 1.12em;
  font-weight: 800;
  margin: 1.35em 0 0.55em;
  color: var(--ezw-heading);
  line-height: 1.35;
}

.ezw-wrap ul,
.ezw-wrap ol {
  margin: 0 0 1.2em 0;
  padding-left: 1.5em;
}

.ezw-wrap li { margin-bottom: 0.5em; }
.ezw-wrap strong { font-weight: 700; color: #111; }

.ezw-wrap a {
  color: var(--ezw-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ezw-wrap a:hover { opacity: .8; }

.ezw-wrap section { margin-bottom: 0.4em; }


/* ================================================
   COMPONENT BOXES
================================================ */

/* ── Quick Answer Box ── */
.ezw-quick-answer {
  background: var(--ezw-soft-blue);
  border-left: 4px solid var(--ezw-primary);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
  line-height: 1.65;
}

.ezw-qa-label {
  color: var(--ezw-primary);
  font-weight: 800;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.ezw-quick-answer p { margin: 0; }

/* ── Tip Box ── */
.ezw-tip-box {
  background: #f0fdf4;
  border-left: 4px solid var(--ezw-accent);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 1.5em 0;
  line-height: 1.65;
}

.ezw-tip-label {
  color: var(--ezw-accent);
  font-weight: 800;
  font-size: 0.92em;
  display: inline-block;
  margin-bottom: 6px;
}

.ezw-tip-box p { margin: 0; }

/* ── Note Box ── */
.ezw-note-box {
  background: #fef3c7;
  border-left: 4px solid #d97706;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 1.5em 0;
  line-height: 1.65;
}

.ezw-note-label {
  color: #d97706;
  font-weight: 800;
  font-size: 0.92em;
  display: inline-block;
  margin-bottom: 6px;
}

.ezw-note-box p { margin: 0; }

/* ── Warning Box ── */
.ezw-warning-box {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 1.5em 0;
  line-height: 1.65;
}

.ezw-warn-label {
  color: #dc2626;
  font-weight: 800;
  font-size: 0.92em;
  display: inline-block;
  margin-bottom: 6px;
}

.ezw-warning-box p { margin: 0; }

/* Common label spacing fix */
.ezw-qa-label,
.ezw-tip-label,
.ezw-note-label,
.ezw-warn-label {
  display: block;
  margin-bottom: 8px;
}

/* ── Takeaway Box ── */
.ezw-takeaway-box {
  background: var(--ezw-soft-blue);
  border-left: 4px solid var(--ezw-secondary);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.8em 0;
  line-height: 1.65;
}

.ezw-takeaway-label {
  color: var(--ezw-secondary);
  font-weight: 800;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 10px;
}

.ezw-takeaway-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.ezw-takeaway-box li {
  margin-bottom: 0.6em;
}

/* ── Summary Box (similar to takeaway) ── */
.ezw-summary-box {
  background: #f0f9ff;
  border-left: 4px solid var(--ezw-secondary);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.8em 0;
}

.ezw-summary-label {
  color: var(--ezw-secondary);
  font-weight: 800;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 10px;
}

.ezw-summary-box ul {
  margin: 0;
  padding-left: 1.2em;
}


/* ================================================
   STEP-BY-STEP & CHECKLISTS
================================================ */

/* ── Steps ── */
.ezw-steps {
  margin: 1.8em 0;
}

.ezw-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ezw-step:last-child {
  border-bottom: none;
}

.ezw-step-num {
  background: var(--ezw-primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.ezw-step-body strong {
  font-size: 1.05em;
  color: var(--ezw-heading);
  display: block;
  margin-bottom: 6px;
}

.ezw-step-body p {
  margin: 0;
  color: var(--ezw-text);
  line-height: 1.65;
}

/* ── Checklist ── */
.ezw-checklist {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-checklist-title {
  font-weight: 800;
  font-size: 1.05em;
  color: var(--ezw-heading);
  display: block;
  margin-bottom: 12px;
}

.ezw-checklist ul {
  margin: 0;
  padding-left: 1.3em;
  list-style: none;
}

.ezw-checklist li {
  margin-bottom: 0.6em;
  position: relative;
  padding-left: 0;
}

.ezw-checklist li::before {
  content: '✓';
  color: var(--ezw-accent);
  font-weight: 700;
  position: absolute;
  left: -1.3em;
}


/* ================================================
   DOS & DON'TS / COMPARISON
================================================ */

.ezw-dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.8em 0;
}

@media (max-width: 640px) {
  .ezw-dos-donts {
    grid-template-columns: 1fr;
  }
}

.ezw-dos,
.ezw-donts {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px 18px;
  border-top: 3px solid;
}

.ezw-dos {
  border-top-color: var(--ezw-accent);
}

.ezw-donts {
  border-top-color: #dc2626;
}

.ezw-dos-title,
.ezw-donts-title {
  font-weight: 800;
  font-size: 0.95em;
  display: block;
  margin-bottom: 10px;
}

.ezw-dos-title {
  color: var(--ezw-accent);
}

.ezw-donts-title {
  color: #dc2626;
}

.ezw-dos ul,
.ezw-donts ul {
  margin: 0;
  padding-left: 1.2em;
}

.ezw-dos li,
.ezw-donts li {
  margin-bottom: 0.5em;
}


/* ================================================
   TABLES
================================================ */

.ezw-table-wrap {
  overflow-x: auto;
  margin: 1.8em 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ezw-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.ezw-table-wrap thead {
  background: var(--ezw-primary);
  color: #fff;
}

.ezw-table-wrap th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}

.ezw-table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.ezw-table-wrap tbody tr:last-child td {
  border-bottom: none;
}

.ezw-table-wrap tbody tr:hover {
  background: #f8fafc;
}


/* ================================================
   FAQ ACCORDION
================================================ */

.ezw-faq {
  margin: 2em 0;
}

.ezw-faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}

.ezw-faq-item:last-child {
  border-bottom: none;
}

.ezw-faq-q {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--ezw-heading);
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  line-height: 1.45;
  transition: color 0.2s;
}

.ezw-faq-q:hover {
  color: var(--ezw-primary);
}

.ezw-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3em;
  font-weight: 400;
  color: var(--ezw-primary);
  transition: transform 0.2s;
}

.ezw-faq-item.open .ezw-faq-q::after {
  transform: rotate(45deg);
}

.ezw-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.ezw-faq-item.open .ezw-faq-a {
  max-height: 500px;
  padding-top: 12px;
}

.ezw-faq-a p {
  margin: 0;
  color: var(--ezw-muted);
  line-height: 1.65;
}


/* ================================================
   STAT STRIP / HIGHLIGHTS
================================================ */

.ezw-stat-strip {
  display: flex;
  gap: 14px;
  margin: 1.8em 0;
  flex-wrap: wrap;
}

.ezw-stat-item {
  flex: 1;
  min-width: 120px;
  background: #f8fafc;
  border-top: 3px solid var(--ezw-primary);
  border-radius: 6px;
  padding: 16px 14px;
  text-align: center;
}

.ezw-stat-number {
  display: block;
  font-size: 1.6em;
  font-weight: 800;
  color: var(--ezw-primary);
  margin-bottom: 4px;
}

.ezw-stat-desc {
  display: block;
  font-size: 0.88em;
  color: var(--ezw-muted);
  line-height: 1.4;
}

.ezw-highlight {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border-left: 4px solid var(--ezw-primary);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 1.8em 0;
  text-align: center;
}

.ezw-highlight-text {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--ezw-primary);
  display: block;
  margin-bottom: 6px;
}

.ezw-highlight-sub {
  font-size: 0.92em;
  color: var(--ezw-muted);
}


/* ================================================
   PRO TIPS LIST
================================================ */

.ezw-pro-tips {
  background: #f0fdf4;
  border-left: 4px solid var(--ezw-accent);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-pro-tips-title {
  color: var(--ezw-accent);
  font-weight: 800;
  font-size: 1em;
  display: block;
  margin-bottom: 10px;
}

.ezw-pro-tips ul {
  margin: 0;
  padding-left: 1.3em;
}

.ezw-pro-tips li {
  margin-bottom: 0.6em;
}


/* ================================================
   COST BOX
================================================ */

.ezw-cost-box {
  background: #f8fafc;
  border-left: 4px solid var(--ezw-primary);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-cost-label {
  color: var(--ezw-primary);
  font-weight: 800;
  font-size: 1em;
  display: block;
  margin-bottom: 12px;
}

.ezw-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.ezw-cost-row:last-child {
  border-bottom: none;
}

.ezw-cost-row span:first-child {
  color: var(--ezw-text);
  font-weight: 600;
}

.ezw-cost-row span:last-child {
  color: var(--ezw-heading);
  font-weight: 700;
  font-size: 1.05em;
}


/* ================================================
   TOOLS NEEDED
================================================ */

.ezw-tools-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-tools-title {
  font-weight: 800;
  font-size: 1.05em;
  color: var(--ezw-heading);
  display: block;
  margin-bottom: 12px;
}

.ezw-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ezw-tool-tag {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.9em;
  color: var(--ezw-text);
  font-weight: 600;
}


/* ================================================
   DID YOU KNOW BOX
================================================ */

.ezw-did-you-know {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ezw-dyk-icon {
  font-size: 2em;
  flex-shrink: 0;
}

.ezw-dyk-label {
  font-weight: 800;
  font-size: 1em;
  color: #d97706;
  display: block;
  margin-bottom: 6px;
}

.ezw-dyk-body p {
  margin: 0;
  color: var(--ezw-text);
  line-height: 1.65;
}


/* ================================================
   ALERT / MECHANIC BOX
================================================ */

.ezw-alert-box {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ezw-alert-icon {
  font-size: 1.8em;
  flex-shrink: 0;
  color: #dc2626;
}

.ezw-alert-label {
  font-weight: 800;
  font-size: 1em;
  color: #dc2626;
  display: block;
  margin-bottom: 6px;
}

.ezw-alert-body p {
  margin: 0;
  color: var(--ezw-text);
  line-height: 1.65;
}


/* ================================================
   COMPARISON COLUMNS (Good vs Bad)
================================================ */

.ezw-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.8em 0;
}

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

.ezw-compare-col {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px 18px;
  border-top: 3px solid;
}

.ezw-compare-col.good {
  border-top-color: var(--ezw-accent);
}

.ezw-compare-col.bad {
  border-top-color: #dc2626;
}

.ezw-compare-title {
  font-weight: 800;
  font-size: 0.95em;
  display: block;
  margin-bottom: 10px;
}

.ezw-compare-col.good .ezw-compare-title {
  color: var(--ezw-accent);
}

.ezw-compare-col.bad .ezw-compare-title {
  color: #dc2626;
}

.ezw-compare-col ul {
  margin: 0;
  padding-left: 1.2em;
}


/* ================================================
   RESPONSIVE ADJUSTMENTS
================================================ */

@media (max-width: 640px) {
  .ezw-wrap {
    font-size: 16px;
    padding: 0 12px;
  }
  
  .ezw-table-wrap {
    font-size: 0.92em;
  }
  
  .ezw-stat-strip {
    flex-direction: column;
  }
  
  .ezw-stat-item {
    min-width: 100%;
  }
}


/* ================================================
   CAREER & EDUCATION SPECIFIC COMPONENTS
================================================ */

/* ── Career Path / Timeline ── */
.ezw-career-timeline {
  margin: 2em 0;
  position: relative;
}

.ezw-timeline-item {
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0 22px 32px;
  border-left: 2px solid var(--ezw-border);
  position: relative;
  margin-left: 10px;
}

.ezw-timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ezw-primary);
  box-shadow: 0 0 0 2px #fff;
}

.ezw-timeline-item:last-child {
  border-left-color: transparent;
}

.ezw-timeline-year {
  font-weight: 800;
  font-size: 0.95em;
  line-height: 1.4;
  color: var(--ezw-primary);
  min-width: 0;
  word-break: normal;
}

.ezw-timeline-content h4 {
  font-size: 1.08em;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ezw-heading);
  margin: 0 0 8px;
}

.ezw-timeline-content p {
  margin: 0;
  color: var(--ezw-muted);
  line-height: 1.65;
}

/* ── Skills Grid ── */
.ezw-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 1.8em 0;
}

.ezw-skill-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 18px;
  text-align: center;
  transition: all 0.2s;
}

.ezw-skill-card:hover {
  border-color: var(--ezw-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ezw-skill-icon {
  font-size: 2em;
  margin-bottom: 8px;
  display: block;
}

.ezw-skill-name {
  font-weight: 700;
  font-size: 1em;
  color: var(--ezw-heading);
  display: block;
  margin-bottom: 4px;
}

.ezw-skill-level {
  font-size: 0.88em;
  color: var(--ezw-muted);
}

/* ── Resume/CV Sections ── */
.ezw-resume-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 1.8em 0;
}

.ezw-resume-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ezw-heading-soft);
}

.ezw-resume-icon {
  font-size: 1.5em;
  color: var(--ezw-primary);
}

.ezw-resume-title {
  font-size: 1.2em;
  font-weight: 800;
  color: var(--ezw-heading);
  margin: 0;
}

.ezw-resume-item {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.ezw-resume-item:last-child {
  border-bottom: none;
}

.ezw-resume-item h4 {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--ezw-heading);
  margin: 0 0 4px;
}

.ezw-resume-meta {
  font-size: 0.9em;
  color: var(--ezw-muted);
  margin-bottom: 8px;
}

.ezw-resume-desc {
  margin: 0;
  color: var(--ezw-text);
  line-height: 1.6;
}

/* ── Course Curriculum / Lesson Plan ── */
.ezw-curriculum {
  margin: 2em 0;
}

.ezw-module {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.ezw-module-header {
  background: linear-gradient(135deg, var(--ezw-primary) 0%, var(--ezw-primary-dark) 100%);
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 1.05em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ezw-module-header::after {
  content: '+';
  font-size: 1.3em;
  font-weight: 400;
  transition: transform 0.2s;
}

.ezw-module.open .ezw-module-header::after {
  transform: rotate(45deg);
}

.ezw-module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.ezw-module.open .ezw-module-content {
  max-height: 1000px;
}

.ezw-lesson-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ezw-lesson-item {
  padding: 12px 18px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ezw-lesson-item:last-child {
  border-bottom: none;
}

.ezw-lesson-num {
  background: var(--ezw-soft-bg);
  color: var(--ezw-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
  flex-shrink: 0;
}

.ezw-lesson-title {
  flex: 1;
  font-weight: 600;
  color: var(--ezw-heading);
}

.ezw-lesson-duration {
  font-size: 0.88em;
  color: var(--ezw-muted);
  flex-shrink: 0;
}

/* ── Qualification / Certification Badge ── */
.ezw-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.6em 0;
}

.ezw-cert-badge {
  background: linear-gradient(135deg, var(--ezw-primary) 0%, var(--ezw-accent) 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.92em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.ezw-cert-icon {
  font-size: 1.2em;
}

/* ── Learning Objectives / Goals ── */
.ezw-objectives-box {
  background: var(--ezw-soft-blue);
  border-left: 4px solid var(--ezw-primary);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-objectives-title {
  color: var(--ezw-primary);
  font-weight: 800;
  font-size: 1.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ezw-objectives-list {
  margin: 0;
  padding-left: 1.3em;
  list-style: none;
}

.ezw-objectives-list li {
  margin-bottom: 0.6em;
  position: relative;
  padding-left: 0;
}

.ezw-objectives-list li::before {
  content: '🎯';
  position: absolute;
  left: -1.3em;
}

/* ── Interview Q&A Format ── */
.ezw-interview-qa {
  margin: 2em 0;
}

.ezw-question-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.ezw-question {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--ezw-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ezw-question::before {
  content: 'Q:';
  flex-shrink: 0;
  font-weight: 800;
}

.ezw-answer {
  color: var(--ezw-text);
  line-height: 1.65;
  padding-left: 22px;
}

.ezw-answer::before {
  content: 'A: ';
  font-weight: 700;
  color: var(--ezw-accent);
  margin-left: -22px;
  margin-right: 6px;
}

/* ── Study Schedule / Timetable ── */
.ezw-schedule-table {
  margin: 1.8em 0;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ezw-schedule-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.ezw-schedule-table th {
  background: var(--ezw-primary);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.92em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ezw-schedule-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.ezw-schedule-table tbody tr:hover {
  background: #f8fafc;
}

.ezw-schedule-time {
  font-weight: 700;
  color: var(--ezw-primary);
  white-space: nowrap;
}

.ezw-schedule-subject {
  font-weight: 600;
  color: var(--ezw-heading);
  margin-bottom: 2px;
}

.ezw-schedule-topic {
  font-size: 0.9em;
  color: var(--ezw-muted);
}

/* ── Progress Tracker ── */
.ezw-progress-item {
  margin: 1.2em 0;
}

.ezw-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ezw-progress-label {
  font-weight: 700;
  font-size: 0.95em;
  color: var(--ezw-heading);
}

.ezw-progress-percent {
  font-weight: 700;
  font-size: 0.9em;
  color: var(--ezw-primary);
}

.ezw-progress-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

.ezw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ezw-primary) 0%, var(--ezw-accent) 100%);
  border-radius: 20px;
  transition: width 0.5s ease;
}

/* ── Salary Range / Compensation ── */
.ezw-salary-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid var(--ezw-primary);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-salary-title {
  color: var(--ezw-primary);
  font-weight: 800;
  font-size: 1em;
  display: block;
  margin-bottom: 12px;
}

.ezw-salary-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.ezw-salary-value {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.ezw-salary-label {
  display: block;
  font-size: 0.85em;
  color: var(--ezw-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ezw-salary-amount {
  display: block;
  font-size: 1.3em;
  font-weight: 800;
  color: var(--ezw-primary);
}

.ezw-salary-note {
  font-size: 0.88em;
  color: var(--ezw-muted);
  margin: 8px 0 0;
}

/* ── Study Tips Highlight ── */
.ezw-study-tip {
  background: #fef3c7;
  border-left: 4px solid #d97706;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 1.5em 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ezw-study-tip-icon {
  font-size: 1.8em;
  flex-shrink: 0;
}

.ezw-study-tip-content h4 {
  color: #d97706;
  font-weight: 800;
  font-size: 1em;
  margin: 0 0 6px;
}

.ezw-study-tip-content p {
  margin: 0;
  color: var(--ezw-text);
  line-height: 1.65;
}

/* ── Prerequisite / Requirements Box ── */
.ezw-prereq-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1.6em 0;
}

.ezw-prereq-title {
  font-weight: 800;
  font-size: 1.05em;
  color: var(--ezw-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ezw-prereq-list {
  margin: 0;
  padding-left: 1.3em;
}

.ezw-prereq-list li {
  margin-bottom: 0.5em;
  color: var(--ezw-text);
}


/* ================================================
   CAREER/EDUCATION RESPONSIVE
================================================ */

@media (max-width: 640px) {
  .ezw-skills-grid {
    grid-template-columns: 1fr;
  }
  
  .ezw-timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }
  
  .ezw-timeline-year {
    min-width: 0;
    font-size: 0.92em;
  }
  
  .ezw-timeline-content h4 {
    font-size: 1em;
  }
  
  .ezw-salary-range {
    flex-direction: column;
  }
  
  .ezw-salary-value {
    width: 100%;
  }
}

/* ================================================
   FOUR WALLS UAE TEMPLATE SYSTEM v1.1.0
   For homepage, category, place guides, service guides,
   product guides, directory pages, and career guides.
   Scoped to .fwar-* wrappers only.
================================================ */

.fwar-home,
.fwar-cat,
.fwar-place-guide,
.fwar-service-guide,
.fwar-directory-page,
.fwar-product-guide,
.fwar-career-guide {
  --fwar-primary: #0f766e;
  --fwar-primary-dark: #115e59;
  --fwar-accent: #d9a441;
  --fwar-accent-dark: #b7791f;
  --fwar-sand: #f8f3ea;
  --fwar-sand-2: #fbf7ef;
  --fwar-soft: #f0fdfa;
  --fwar-soft-blue: #ecfeff;
  --fwar-card: #ffffff;
  --fwar-text: #17211f;
  --fwar-heading: #111827;
  --fwar-muted: #64748b;
  --fwar-border: #e5e7eb;
  --fwar-danger: #dc2626;
  --fwar-shadow: 0 14px 40px rgba(15, 23, 42, .08);
  --fwar-shadow-soft: 0 8px 24px rgba(15, 23, 42, .06);
  color: var(--fwar-text);
  line-height: 1.75;
  font-size: 17px;
  box-sizing: border-box;
}

.fwar-home *, .fwar-home *::before, .fwar-home *::after,
.fwar-cat *, .fwar-cat *::before, .fwar-cat *::after,
.fwar-place-guide *, .fwar-place-guide *::before, .fwar-place-guide *::after,
.fwar-service-guide *, .fwar-service-guide *::before, .fwar-service-guide *::after,
.fwar-directory-page *, .fwar-directory-page *::before, .fwar-directory-page *::after,
.fwar-product-guide *, .fwar-product-guide *::before, .fwar-product-guide *::after,
.fwar-career-guide *, .fwar-career-guide *::before, .fwar-career-guide *::after { box-sizing: border-box; }

.fwar-place-guide,
.fwar-service-guide,
.fwar-product-guide,
.fwar-career-guide {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

.fwar-directory-page,
.fwar-cat,
.fwar-home {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.fwar-home p,
.fwar-cat p,
.fwar-place-guide p,
.fwar-service-guide p,
.fwar-directory-page p,
.fwar-product-guide p,
.fwar-career-guide p { margin: 0 0 1.1em; }

.fwar-home a,
.fwar-cat a,
.fwar-place-guide a,
.fwar-service-guide a,
.fwar-directory-page a,
.fwar-product-guide a,
.fwar-career-guide a { color: var(--fwar-primary); text-underline-offset: 2px; }

.fwar-home h1, .fwar-home h2, .fwar-home h3,
.fwar-cat h1, .fwar-cat h2, .fwar-cat h3,
.fwar-place-guide h1, .fwar-place-guide h2, .fwar-place-guide h3,
.fwar-service-guide h1, .fwar-service-guide h2, .fwar-service-guide h3,
.fwar-directory-page h1, .fwar-directory-page h2, .fwar-directory-page h3,
.fwar-product-guide h1, .fwar-product-guide h2, .fwar-product-guide h3,
.fwar-career-guide h1, .fwar-career-guide h2, .fwar-career-guide h3 {
  color: var(--fwar-heading);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.fwar-place-guide h2,
.fwar-service-guide h2,
.fwar-product-guide h2,
.fwar-career-guide h2 {
  font-size: 1.55em;
  font-weight: 850;
  margin: 2em 0 .75em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fwar-border);
  position: relative;
}

.fwar-place-guide h2::after,
.fwar-service-guide h2::after,
.fwar-product-guide h2::after,
.fwar-career-guide h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fwar-primary), var(--fwar-accent));
}

.fwar-place-guide h3,
.fwar-service-guide h3,
.fwar-product-guide h3,
.fwar-career-guide h3 { font-size: 1.25em; margin: 1.5em 0 .6em; font-weight: 800; }

/* Hero */
.fwar-hero {
  background: linear-gradient(135deg, var(--fwar-sand) 0%, #fff 55%, var(--fwar-soft) 100%);
  border: 1px solid rgba(15,118,110,.12);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--fwar-shadow-soft);
}

.fwar-hero.full { grid-template-columns: 1fr; text-align: center; }
.fwar-label, .fwar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,118,110,.1);
  color: var(--fwar-primary-dark);
  font-size: .82em;
  font-weight: 800;
  text-decoration: none;
  margin: 0 6px 8px 0;
}

.fwar-hero h1 { font-size: clamp(2rem, 4vw, 3.55rem); margin: 10px 0 16px; font-weight: 900; }
.fwar-hero p { font-size: 1.08em; color: #34403e; max-width: 720px; }
.fwar-hero-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; box-shadow: var(--fwar-shadow);
  border: 8px solid #fff;
}

.fwar-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.fwar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--fwar-primary);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid var(--fwar-primary);
  box-shadow: 0 10px 20px rgba(15,118,110,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fwar-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(15,118,110,.22); background: var(--fwar-primary-dark); }
.fwar-btn.secondary { background: #fff; color: var(--fwar-primary-dark) !important; border-color: rgba(15,118,110,.25); box-shadow: none; }
.fwar-btn.gold { background: var(--fwar-accent); border-color: var(--fwar-accent); color: #111827 !important; }

/* Common sections */
.fwar-section { margin: 34px 0; }
.fwar-section-head { max-width: 760px; margin: 0 0 18px; }
.fwar-section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.fwar-section-head h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); margin: 0 0 8px; font-weight: 900; }
.fwar-section-head p { color: var(--fwar-muted); }

.fwar-summary,
.fwar-note,
.fwar-warning,
.fwar-tip,
.fwar-cost-box,
.fwar-affiliate-note {
  border-radius: 18px;
  padding: 18px 20px;
  margin: 1.5em 0;
  line-height: 1.65;
  border: 1px solid var(--fwar-border);
  background: var(--fwar-card);
  box-shadow: var(--fwar-shadow-soft);
}
.fwar-summary { background: var(--fwar-soft-blue); border-left: 5px solid var(--fwar-primary); }
.fwar-tip { background: #f0fdf4; border-left: 5px solid #14b8a6; }
.fwar-note { background: #fffbeb; border-left: 5px solid var(--fwar-accent); }
.fwar-warning { background: #fef2f2; border-left: 5px solid var(--fwar-danger); }
.fwar-affiliate-note { background: #fff7ed; border-left: 5px solid var(--fwar-accent); font-size: .95em; }
.fwar-box-label { display: block; font-size: .82em; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; color: var(--fwar-primary-dark); margin-bottom: 8px; }
.fwar-warning .fwar-box-label { color: var(--fwar-danger); }
.fwar-note .fwar-box-label, .fwar-affiliate-note .fwar-box-label { color: var(--fwar-accent-dark); }

/* Cards and grids */
.fwar-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.fwar-card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fwar-card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fwar-card,
.fwar-service-card,
.fwar-product-card,
.fwar-directory-card,
.fwar-fact {
  background: var(--fwar-card);
  border: 1px solid var(--fwar-border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--fwar-shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fwar-card:hover,
.fwar-service-card:hover,
.fwar-product-card:hover,
.fwar-directory-card:hover { transform: translateY(-3px); box-shadow: var(--fwar-shadow); border-color: rgba(15,118,110,.28); }
.fwar-card img, .fwar-service-card img, .fwar-product-card img, .fwar-directory-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 12px; background: var(--fwar-sand);
}
.fwar-card h3, .fwar-service-card h3, .fwar-product-card h3, .fwar-directory-card h3 { margin: 0 0 8px; font-size: 1.12em; }
.fwar-card p, .fwar-service-card p, .fwar-product-card p, .fwar-directory-card p { color: var(--fwar-muted); font-size: .96em; }

.fwar-link-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.fwar-link-list a,
.fwar-chip {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--fwar-sand-2);
  border: 1px solid var(--fwar-border);
  color: var(--fwar-primary-dark) !important;
  font-weight: 700;
  font-size: .88em;
  text-decoration: none !important;
}
.fwar-link-list a:hover, .fwar-chip:hover { background: var(--fwar-soft); }

/* Quick facts */
.fwar-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.fwar-fact { padding: 14px; }
.fwar-fact span { display: block; color: var(--fwar-muted); font-size: .82em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }
.fwar-fact strong { color: var(--fwar-heading); font-size: 1.05em; }

/* Tables */
.fwar-table-wrap { width: 100%; overflow-x: auto; margin: 1.5em 0; border-radius: 18px; border: 1px solid var(--fwar-border); box-shadow: var(--fwar-shadow-soft); }
.fwar-table-wrap table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.fwar-table-wrap th { background: var(--fwar-primary); color: #fff; font-weight: 850; padding: 13px 14px; text-align: left; }
.fwar-table-wrap td { padding: 13px 14px; border-bottom: 1px solid var(--fwar-border); vertical-align: top; }
.fwar-table-wrap tr:nth-child(even) td { background: #f8fafc; }
.fwar-table-wrap tr:last-child td { border-bottom: 0; }

/* Lists / steps / checks */
.fwar-checklist, .fwar-steps { margin: 1.5em 0; padding: 0; list-style: none; }
.fwar-checklist li, .fwar-steps li {
  background: #fff;
  border: 1px solid var(--fwar-border);
  border-radius: 15px;
  margin-bottom: 10px;
  padding: 13px 14px 13px 44px;
  position: relative;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.fwar-checklist li::before {
  content: '✓';
  position: absolute; left: 14px; top: 13px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--fwar-soft); color: var(--fwar-primary);
  display: grid; place-items: center; font-weight: 900; font-size: .85em;
}
.fwar-steps { counter-reset: fwarstep; }
.fwar-steps li { counter-increment: fwarstep; }
.fwar-steps li::before {
  content: counter(fwarstep);
  position: absolute; left: 13px; top: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--fwar-primary); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: .82em;
}

/* Pros and cons */
.fwar-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.5em 0; }
.fwar-pros, .fwar-cons { background: #fff; border: 1px solid var(--fwar-border); border-radius: 18px; padding: 18px; box-shadow: var(--fwar-shadow-soft); }
.fwar-pros { border-top: 4px solid #14b8a6; }
.fwar-cons { border-top: 4px solid #f97316; }
.fwar-pros h3, .fwar-cons h3 { margin-top: 0; }

/* Service / directory */
.fwar-service-card .fwar-meta,
.fwar-directory-card .fwar-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.fwar-meta span { background: var(--fwar-sand-2); border: 1px solid var(--fwar-border); border-radius: 999px; padding: 5px 9px; font-size: .82em; font-weight: 750; color: #334155; }
.fwar-price { font-size: 1.15em; font-weight: 900; color: var(--fwar-primary-dark); margin: 8px 0; }
.fwar-featured { background: #fff7ed !important; color: #92400e !important; border-color: #fed7aa !important; }

/* Product cards */
.fwar-product-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: start; }
.fwar-product-card img { aspect-ratio: 1 / 1; margin-bottom: 0; }
.fwar-product-card .fwar-product-title { margin-top: 0; }
.fwar-rating { color: #b7791f; font-weight: 900; margin-bottom: 6px; }
.fwar-product-card .fwar-btn { margin-top: 8px; padding: 10px 14px; }

/* Search / finder */
.fwar-finder {
  background: #fff;
  border: 1px solid var(--fwar-border);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  box-shadow: var(--fwar-shadow-soft);
  margin: 22px 0;
}
.fwar-finder input, .fwar-finder select {
  flex: 1 1 220px;
  border: 1px solid var(--fwar-border);
  border-radius: 999px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

/* Map / CTA / FAQ */
.fwar-map-placeholder {
  min-height: 260px;
  border-radius: 24px;
  border: 2px dashed rgba(15,118,110,.35);
  background: linear-gradient(135deg, #f8fafc, var(--fwar-soft));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--fwar-muted);
  font-weight: 800;
  margin: 1.5em 0;
}
.fwar-cta {
  background: linear-gradient(135deg, var(--fwar-primary), var(--fwar-primary-dark));
  color: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  margin: 32px 0;
  box-shadow: 0 18px 40px rgba(15,118,110,.18);
}
.fwar-cta h2, .fwar-cta h3, .fwar-cta p { color: #fff; }
.fwar-cta .fwar-btn { background: #fff; color: var(--fwar-primary-dark) !important; border-color: #fff; }
.fwar-cta .fwar-btn.secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }

.fwar-faq { margin: 1.6em 0; }
.fwar-faq-item { background: #fff; border: 1px solid var(--fwar-border); border-radius: 16px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(15,23,42,.04); }
.fwar-faq-q { width: 100%; background: #fff; color: var(--fwar-heading); border: 0; text-align: left; padding: 16px 46px 16px 16px; cursor: pointer; font-weight: 850; font-size: 1em; position: relative; }
.fwar-faq-q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--fwar-primary); font-size: 1.4em; }
.fwar-faq-item.open .fwar-faq-q::after { content: '–'; }
.fwar-faq-a { display: none; padding: 0 16px 16px; color: var(--fwar-muted); }
.fwar-faq-item.open .fwar-faq-a { display: block; }

/* Category landing */
.fwar-cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fwar-cat-tile { background: #fff; border: 1px solid var(--fwar-border); border-radius: 18px; padding: 18px; text-decoration: none !important; color: var(--fwar-heading) !important; box-shadow: var(--fwar-shadow-soft); }
.fwar-cat-tile span { display: block; color: var(--fwar-muted); font-size: .9em; margin-top: 5px; }

/* Responsive */
@media (max-width: 900px) {
  .fwar-hero { grid-template-columns: 1fr; }
  .fwar-card-grid,
  .fwar-card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fwar-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fwar-cat-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .fwar-home,
  .fwar-cat,
  .fwar-place-guide,
  .fwar-service-guide,
  .fwar-directory-page,
  .fwar-product-guide,
  .fwar-career-guide { padding: 0 14px; font-size: 16px; }
  .fwar-hero { border-radius: 22px; padding: 22px 16px; }
  .fwar-hero h1 { font-size: 2rem; }
  .fwar-actions, .fwar-finder { flex-direction: column; align-items: stretch; }
  .fwar-btn { width: 100%; }
  .fwar-card-grid,
  .fwar-card-grid.two,
  .fwar-card-grid.four,
  .fwar-pros-cons,
  .fwar-facts,
  .fwar-cat-tiles { grid-template-columns: 1fr; }
  .fwar-product-card { grid-template-columns: 1fr; }
  .fwar-product-card img { max-width: 220px; }
  .fwar-table-wrap table { min-width: 560px; }
  .fwar-section { margin: 26px 0; }
}
