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

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal: #4F86AA;
  --teal-dark: #3A6484;
  --teal-light: #E8EFF6;
  --teal-soft: #F2F6FA;
  --red: #C42B2B;
  --red-hover: #A82222;
  --dark: #1A1A2E;
  --dark-mid: #16213E;
  --warm-bg: #FDFAF6;
  --warm-card: #FFFFFF;
  --text: #2D3436;
  --text-light: #636E72;
  --text-white: #F0F0F0;
  --amber: #D4860B;
  --amber-bg: #FFF8EC;
  --amber-border: #F0D6A2;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--warm-bg); overflow-x: hidden; }

/* ===== HEADER ===== */
.header {
  background: #FFFDFB;
  padding: 14px 0 0;
  border-bottom: 1px solid rgba(79,134,170,0.08);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.logo-area {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 40px 14px;
}
.logo-area img { height: 85px; width: auto; }

/* ===== HEADER CONTROLS (right side) ===== */
.header-controls { display: flex; align-items: center; gap: 12px; }
.header-buttons { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.header-book-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 50px;
  background: var(--red); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border: none; cursor: pointer; transition: all 0.3s;
}
.header-book-btn:hover {
  background: var(--red-hover); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,43,43,0.35);
}

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 50px;
  border: 1.5px solid rgba(79,134,170,0.25);
  background: transparent; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: border-color 0.25s, color 0.25s;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
.lang-arrow { font-size: 9px; transition: transform 0.25s; display: inline-block; }
.lang-selector:hover .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 12px; min-width: 148px;
  border: 1px solid rgba(79,134,170,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; z-index: 200;
}
.lang-selector:hover .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text); text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: var(--teal-soft); color: var(--teal); }
.lang-option.active { color: var(--teal); font-weight: 600; }
.lang-option .lang-flag { font-size: 16px; }

/* ===== HEADER CONTACT LINK ===== */
.header-contact-link {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--teal); text-decoration: none; white-space: nowrap;
  padding: 6px 16px; border-radius: 50px;
  border: 1.5px solid rgba(79,134,170,0.2);
  transition: all 0.25s;
}
.header-contact-link:hover {
  color: #fff; background: var(--teal); border-color: var(--teal);
}

/* ===== NAV ===== */
.nav-bar {
  background: var(--teal); padding: 0;
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
}
.nav-bar a {
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 13px 20px; letter-spacing: 0.3px;
  transition: background 0.25s, color 0.25s;
  position: relative; white-space: nowrap;
}
.nav-bar a:hover, .nav-bar a.active { background: var(--teal-dark); }
.nav-bar a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; background: var(--red); border-radius: 3px 3px 0 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196,43,43,0.35); }
.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-outline-dark { background: transparent; color: var(--teal); border: 2px solid var(--teal); border-radius: 50px; }
.btn-outline-dark:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-outline-white {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); border-radius: 50px;
  padding: 14px 32px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #4F86AA 0%, #3A6484 40%, #1A1A2E 100%);
  padding: 70px 40px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(196,43,43,0.1) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(79,134,170,0.2) 0%, transparent 50%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero-label {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 600; margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700;
  color: #fff; line-height: 1.2; margin-bottom: 22px;
}
.page-hero-intro {
  font-size: 17px; color: rgba(255,255,255,0.82); line-height: 1.75;
  max-width: 640px; margin: 0 auto;
}

/* ===== ARTICLE LAYOUT ===== */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 0 32px; }

.article-intro { padding: 60px 0 0; }
.article-intro p { font-size: 17px; line-height: 1.85; color: var(--text); margin-bottom: 20px; }
.article-intro .lead {
  font-size: 18px; color: var(--teal-dark); font-weight: 600;
  border-left: 4px solid var(--teal); padding-left: 20px;
  line-height: 1.6; margin: 32px 0;
}

.section-divider {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,134,170,0.2), transparent);
  margin: 0;
}

/* ===== CONTENT COMPONENTS ===== */
.highlight-box {
  background: var(--teal-soft); border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 24px 0;
}
.highlight-box p { font-size: 15.5px; color: var(--teal-dark); line-height: 1.75; margin: 0; }
.highlight-box p + p { margin-top: 10px; }

.callout-box {
  background: var(--amber-bg); border: 1px solid var(--amber-border);
  border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0;
  padding: 20px 24px; margin: 28px 0;
}
.callout-box p { font-size: 15.5px; color: #7A5A1E; line-height: 1.75; margin: 0; }

.key-callout {
  background: #FEF5F5; border: 1px solid #F5C0C0; border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0;
  display: flex; align-items: flex-start; gap: 14px;
}
.key-callout-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.key-callout p { font-size: 16px; color: #7A1A1A; line-height: 1.7; font-weight: 500; margin: 0; }

.subsection-card {
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(79,134,170,0.1);
  padding: 28px 32px; margin: 28px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.subsection-card h3 {
  font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.subsection-label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.subsection-card p { font-size: 15.5px; line-height: 1.8; color: var(--text); margin-bottom: 14px; }
.subsection-card p:last-child { margin-bottom: 0; }
.subsection-card ul { list-style: none; padding: 0; margin: 4px 0 14px; }
.subsection-card ul li {
  font-size: 15px; color: var(--text); padding: 7px 0 7px 26px;
  position: relative; border-bottom: 1px solid rgba(79,134,170,0.06); line-height: 1.6;
}
.subsection-card ul li:last-child { border-bottom: none; }
.subsection-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

/* ===== BENEFITS SECTION ===== */
.benefits-section { background: #fff; padding: 70px 40px; }
.benefits-inner { max-width: 860px; margin: 0 auto; }
.benefits-label {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 10px;
}
.benefits-title {
  font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600;
  color: var(--dark); margin-bottom: 40px;
}
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--teal-soft); border-radius: 16px; padding: 28px 24px;
  border: 1px solid rgba(79,134,170,0.1);
}
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.benefit-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.benefit-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.7; }

/* ===== SUMMARY / CLOSING CTA ===== */
.summary-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 60%, var(--dark) 100%);
  padding: 80px 40px;
}
.summary-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.summary-section h2 {
  font-family: 'Playfair Display', serif; font-size: 36px; color: #fff; margin-bottom: 16px;
}
.summary-section .summary-sub {
  font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.6;
}
.summary-closing {
  font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.7; font-style: italic;
}
.summary-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { position: relative; background: var(--teal-dark); color: var(--text-white); }
.footer-skyline-placeholder {
  width: 100%; height: 100px;
  background: linear-gradient(180deg, #2B4D68 0%, var(--teal-dark) 100%);
  position: relative; overflow: hidden;
}
.skyline-svg { width: 100%; height: 100%; position: absolute; bottom: 0; display: block; object-fit: cover; object-position: center bottom; }
.footer-content {
  max-width: 1200px; margin: 0 auto; padding: 50px 40px 30px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .footer-logo-wrap img { height: 40px; width: auto; }
.footer-brand .footer-logo { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand .footer-tagline { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px; transition: background 0.25s;
}
.social-links a:hover { background: var(--teal); }
.footer-col h4 {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 18px; color: rgba(255,255,255,0.9);
}
.footer-col a, .footer-col p {
  display: block; font-size: 14px; color: rgba(255,255,255,0.5);
  text-decoration: none; margin-bottom: 10px; line-height: 1.6; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 40px; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-disclaimer {
  font-size: 13px; color: rgba(255,255,255,0.35); text-align: center; margin-bottom: 10px;
}

/* ===== MID-CONTENT CTA ===== */
.mid-cta-box {
  background: var(--light, #f8f6f2); border-left: 4px solid var(--teal, #3a7c8c);
  padding: 20px 24px; margin: 32px 0; border-radius: 8px; text-align: center;
}
[dir="rtl"] .mid-cta-box { border-left: none; border-right: 4px solid var(--teal, #3a7c8c); }

/* ===== RELATED ARTICLES ===== */
.related-articles { padding: 40px 20px; text-align: center; }
.related-articles-inner { max-width: 800px; margin: 0 auto; }
.related-articles h3 { margin-bottom: 16px; }
.related-articles ul { list-style: none; padding: 0; }
.related-articles li { margin-bottom: 10px; }
.related-articles a { color: var(--teal, #3a7c8c); text-decoration: none; font-weight: 500; }
.related-articles a:hover { text-decoration: underline; }

/* ===== RTL SUPPORT (Hebrew) ===== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .header-nav { direction: rtl; }
[dir="rtl"] .nav-bar { direction: rtl; }
[dir="rtl"] .footer-grid, [dir="rtl"] .footer-content { direction: rtl; }
[dir="rtl"] .page-hero-inner { text-align: right; }
[dir="rtl"] .blog-card-body { text-align: right; }
[dir="rtl"] .post-body { text-align: right; }
[dir="rtl"] .summary-inner { text-align: right; }
[dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .header-controls { direction: rtl; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== SHARED RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 34px; }
}
@media (max-width: 768px) {
  .logo-area { padding: 0 20px 12px; }
  .header-book-btn { display: none; }
  .header-contact-link { font-size: 12px; padding: 5px 12px; }
  .lang-toggle .lang-label { display: none; }
}
@media (max-width: 600px) {
  .nav-bar a { padding: 10px 12px; font-size: 11.5px; }
  .logo-area img { height: 56px; }
  .logo-area { padding: 0 16px 10px; }
  .page-hero { padding: 50px 20px 44px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero-intro { font-size: 15px; }
  .article-wrap { padding: 0 20px; }
  .benefits-section { padding: 50px 20px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .summary-section { padding: 60px 20px; }
  .summary-section h2 { font-size: 28px; }
  .footer-content { grid-template-columns: 1fr; }
}

/* ===== PATHWAY SUBPAGE SECTIONS ===== */
.section-block { padding: 56px 0; border-bottom: 1px solid rgba(79,134,170,0.08); }
.section-block:last-of-type { border-bottom: none; }
.section-block-header { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 32px; }
.section-letter {
  font-family: 'Playfair Display', serif; font-size: 80px; font-weight: 700;
  color: var(--teal-light); line-height: 0.85;
  flex-shrink: 0; min-width: 64px; text-align: center; user-select: none;
}
.section-title-wrap { padding-top: 8px; }
.section-block-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 6px;
}
.section-block h2 {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600;
  color: var(--dark); line-height: 1.3;
}
.section-body p { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 18px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul { list-style: none; padding: 0; margin: 4px 0 20px; }
.section-body ul li {
  font-size: 15.5px; color: var(--text); line-height: 1.65;
  padding: 8px 0 8px 28px; position: relative;
  border-bottom: 1px solid rgba(79,134,170,0.06);
}
.section-body ul li:last-child { border-bottom: none; }
.section-body ul li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-weight: 600; }
.section-body ul.check-list li::before { content: '✓'; }

.program-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.program-def {
  background: #fff; border-radius: 14px; padding: 22px 20px;
  border: 1px solid rgba(79,134,170,0.1); box-shadow: 0 3px 12px rgba(0,0,0,0.03);
}
.program-def-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); background: var(--teal-light);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.program-def h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.program-def p { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }

.crs-box {
  background: var(--teal-soft); border-radius: 16px; padding: 28px 28px 20px;
  border: 1px solid rgba(79,134,170,0.12); margin: 28px 0;
}
.crs-box-title { font-size: 14px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.crs-factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.crs-factor {
  background: #fff; border-radius: 10px; padding: 14px 16px;
  border: 1px solid rgba(79,134,170,0.08); display: flex; align-items: center; gap: 10px;
}
.crs-factor-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.crs-factor span { font-size: 14px; color: var(--text); font-weight: 500; }
.crs-note { font-size: 14px; color: var(--text-light); margin-top: 16px; line-height: 1.6; font-style: italic; }

.profile-section { margin: 36px 0 12px; }
.profile-section-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 20px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile-card {
  background: #fff; border-radius: 16px; padding: 26px 22px;
  border: 1px solid rgba(79,134,170,0.1); box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: relative; overflow: hidden;
}
.profile-card-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.profile-card:nth-child(1) .profile-card-accent { background: var(--teal); }
.profile-card:nth-child(2) .profile-card-accent { background: var(--red); }
.profile-card:nth-child(3) .profile-card-accent { background: var(--amber); }
.profile-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--teal-light); line-height: 1; margin-bottom: 10px; }
.profile-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 12px; line-height: 1.4; }
.profile-card ul { list-style: none; padding: 0; }
.profile-card ul li { font-size: 13.5px; color: var(--text-light); padding: 5px 0 5px 20px; position: relative; border-bottom: 1px solid rgba(79,134,170,0.06); line-height: 1.55; }
.profile-card ul li:last-child { border-bottom: none; }
.profile-card ul li::before { content: '·'; position: absolute; left: 6px; color: var(--teal); font-size: 18px; line-height: 1.1; font-weight: 700; }

.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.req-card { background: #fff; border-radius: 14px; padding: 22px 20px; border: 1px solid rgba(79,134,170,0.1); }
.req-card h4 { font-size: 14px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-light); }
.req-card ul { list-style: none; padding: 0; }
.req-card ul li { font-size: 14px; color: var(--text); padding: 7px 0 7px 22px; position: relative; border-bottom: 1px solid rgba(79,134,170,0.06); line-height: 1.55; }
.req-card ul li:last-child { border-bottom: none; }
.req-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; font-size: 13px; }

@media (max-width: 860px) {
  .program-trio { grid-template-columns: 1fr; }
  .crs-factors { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .section-letter { font-size: 60px; min-width: 50px; }
}
@media (max-width: 600px) {
  .section-block-header { flex-direction: column; gap: 8px; }
  .section-letter { font-size: 52px; }
  .crs-factors { grid-template-columns: 1fr; }
}

/* ===== BLOG LISTING ===== */
.blog-section { padding: 70px 40px 90px; }
.blog-section-inner { max-width: 1100px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(79,134,170,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.blog-card-image {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--teal-light);
}
.blog-card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }

/* Placeholder gradient shown when no image is supplied */
.blog-card-image.no-image {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-soft) 100%);
  font-size: 48px;
}

.blog-card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }

.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.blog-tag {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--teal); background: var(--teal-light);
  padding: 3px 10px; border-radius: 20px;
}
.blog-date {
  font-size: 12px; color: var(--text-light); font-weight: 500;
}

.blog-card-title {
  font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600;
  color: var(--dark); line-height: 1.45; margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 14px; color: var(--text-light); line-height: 1.7;
  flex: 1; margin-bottom: 18px;
}
.blog-card-link {
  font-size: 14px; font-weight: 600; color: var(--teal);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s, color 0.2s;
}
.blog-card-link:hover { color: var(--teal-dark); gap: 9px; }

/* ===== BLOG POST PAGE ===== */
.post-meta-bar {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  justify-content: center; flex-wrap: wrap;
}
.post-meta-bar .blog-tag { font-size: 11px; }
.post-meta-bar .blog-date { font-size: 14px; color: rgba(255,255,255,0.75); }

.post-wrap { max-width: 760px; margin: 0 auto; padding: 60px 32px 80px; }

.post-featured-image {
  width: 100%; border-radius: 16px; overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  aspect-ratio: 16/9; background: var(--teal-light);
}
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-featured-image.no-image {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-soft) 100%);
  font-size: 80px;
}

.post-body h2 {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600;
  color: var(--dark); margin: 40px 0 14px;
}
.post-body h3 {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600;
  color: var(--dark); margin: 30px 0 10px;
}
.post-body p { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 20px; }
.post-body ul, .post-body ol {
  padding-left: 24px; margin-bottom: 20px;
}
.post-body li { font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 6px; }
.post-body strong { color: var(--dark); }

.post-author {
  display: flex; align-items: center; gap: 16px;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(79,134,170,0.12);
}
.post-author-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff;
}
.post-author-info {}
.post-author-name { font-size: 15px; font-weight: 700; color: var(--dark); }
.post-author-title { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* Share bar */
.post-share {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(79,134,170,0.08);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.post-share-label {
  font-size: 14px; font-weight: 600; color: var(--text-light);
  margin-right: 4px;
}
.post-share a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 15px; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-share a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.share-facebook { background: #1877F2; color: #fff; }
.share-x { background: #000; color: #fff; }
.share-linkedin { background: #0A66C2; color: #fff; }

.post-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--teal);
  text-decoration: none; margin-bottom: 32px;
  transition: gap 0.2s;
}
.post-back-link:hover { gap: 10px; color: var(--teal-dark); }

/* ===== BLOG RESPONSIVE ===== */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-section { padding: 50px 20px 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-wrap { padding: 40px 20px 60px; }
  .post-body h2 { font-size: 22px; }
}

/* ===== TEAM PAGE ===== */
.team-section { padding: 70px 40px 90px; }
.team-section-inner { max-width: 1100px; margin: 0 auto; }
.team-intro {
  text-align: center; max-width: 700px; margin: 0 auto 50px;
  font-size: 17px; color: var(--text-light); line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.team-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(79,134,170,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center; padding: 36px 28px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.team-photo {
  width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: var(--teal); overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.team-name {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.team-title {
  font-size: 14px; font-weight: 600; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px;
}
.team-bio {
  font-size: 14px; color: var(--text-light); line-height: 1.65;
}

/* ===== TEAM RESPONSIVE ===== */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-section { padding: 50px 20px 60px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 28px 22px 26px; }
  .team-photo { width: 130px; height: 130px; font-size: 44px; }
}
