/* ═══════════════════════════════════════════════════════════════
   bircesari.github.io — Unified Stylesheet
   Covers: index.html and all sub-pages (blog/*, cv pages, etc.)
   Do NOT edit per-page; make all visual changes here.
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand */
  --primary:          #4dd0e1;
  --secondary:        #b39ddb;
  --primary-dark:     #00acc1;
  --secondary-dark:   #9575cd;

  /* Surfaces */
  --bg-light:         #ffffff;
  --bg-dark:          #1e1e2f;
  --surface:          #f9f9f9;
  --surface-dark:     #2a2a3d;

  /* Text */
  --text-light:       #1e1e2f;
  --text-dark:        #f5f5f5;
  --text-muted:       #666;
  --text-muted-dark:  #aaa;

  /* UI */
  --border:           rgba(0, 0, 0, 0.08);
  --border-dark:      rgba(255, 255, 255, 0.06);
  --shadow:           rgba(0, 0, 0, 0.1);
  --shadow-primary:   rgba(77, 208, 225, 0.3);
  --radius-sm:        0.5rem;
  --radius-md:        0.75rem;
  --radius-lg:        1rem;
  --radius-xl:        1.2rem;
  --radius-pill:      9999px;

  /* Gradients */
  --gradient:         linear-gradient(135deg, var(--primary), var(--secondary));

  /* Layout */
  --nav-height:       68px;
  --max-width:        1200px;
  --section-pad:      3rem 2rem;
  --gap-sm:           1rem;
  --gap-md:           1.5rem;
  --gap-lg:           2rem;

  /* Motion */
  --ease:             0.3s ease-in-out;
}

/* ─── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  transition: background var(--ease), color var(--ease);
  line-height: 1.6;
}

body.dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  padding: 0;
}

/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

/* ─── 4. NAV ────────────────────────────────────────────────── */
#nav-stand {
  background: var(--gradient);
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#nav-stand .nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.navbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--ease), transform var(--ease);
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.navbar a.nav-book {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.navbar a.nav-book:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* ─── 5. HERO ───────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 35vh;
  padding: 2rem 1.5rem;
  background: var(--gradient);
  color: #fff;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  max-width: var(--max-width);
  width: 100%;
  text-align: left;
}

.hero .profile { flex-shrink: 0; }

.hero .profile img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero .info { flex: 1; }

.hero h1 { margin-bottom: 0.5rem; }

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero .buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero .buttons a {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform var(--ease);
}

.hero .buttons a:hover { transform: translateY(-2px); }

.hero .buttons a i { font-size: 1.1rem; }

/* ─── 6. SECTIONS ───────────────────────────────────────────── */
section {
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
  scroll-margin-top: var(--nav-height);
}

/* ─── 7. ABOUT ──────────────────────────────────────────────── */
#about p {
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-book-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  box-shadow: 0 4px 14px var(--shadow-primary);
  transition: transform var(--ease), box-shadow var(--ease);
}

.about-book-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(77, 208, 225, 0.45);
}

/* ─── 8. SKILLS ─────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-md);
}

.skill-card {
  padding: 1.5rem;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px var(--shadow);
}

.skill-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-card ul { list-style: none; padding: 0; }

.skill-card li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.skill-card li::before {
  content: "•";
  position: absolute;
  left: 0;
}

/* ─── 9. WORKS / CATALOGUE ───────────────────────────────────── */
.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap-lg);
  justify-items: center;
}

.catalogue img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform var(--ease);
}

.catalogue img:hover { transform: scale(1.05); }

/* ─── 10. EXPERIENCE TIMELINE ────────────────────────────────── */
#experience {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-pad);
}

#experience h2 {
  text-align: center;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  margin-left: 25px;
  padding-left: 25px;
  border-left: 3px solid var(--primary);
}

.timeline::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -31px;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 3px solid #e8defe;
  box-shadow: 0 0 0 2px #fff;
  transition: all 0.3s;
}

body.dark .timeline-dot {
  border-color: var(--bg-dark);
  box-shadow: 0 0 0 2px var(--bg-dark);
}

.timeline-item.active .timeline-dot {
  width: 18px;
  height: 18px;
  left: -33px;
  top: 4px;
}

.timeline-header {
  background: #f8f6ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.dark .timeline-header { background: var(--surface-dark); }

.timeline-header:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px var(--shadow-primary);
}

.timeline-header-content { flex: 1; }

.timeline-header h3 {
  font-size: 1.1em;
  color: var(--primary);
  margin-bottom: 5px;
}

.timeline-header h3 span {
  color: #555;
  font-weight: normal;
}

body.dark .timeline-header h3 span { color: #aaa; }

.exp-meta {
  font-size: 0.95em;
  color: var(--text-muted);
  margin-top: 5px;
}

body.dark .exp-meta { color: var(--text-muted-dark); }

.timeline-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s;
  margin-left: 1rem;
}

.timeline-item.active .timeline-icon { transform: rotate(180deg); }

.timeline-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #f8f6ff;
  border-radius: 0 0 10px 10px;
  margin-top: -10px;
  padding: 0 20px;
}

body.dark .timeline-details { background: var(--surface-dark); }

.timeline-item.active .timeline-details {
  max-height: 1000px;
  padding: 20px;
  padding-top: 10px;
}

.timeline-details ul {
  margin-left: 20px;
  line-height: 1.5;
  color: #333;
  list-style: disc;
}

body.dark .timeline-details ul { color: var(--text-dark); }

.timeline-details li {
  margin-bottom: 8px;
  padding-left: 5px;
}

/* ─── 11. AWARDS ─────────────────────────────────────────────── */
#awards {
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-md);
  margin-top: 1.5rem;
}

.award-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 5px 15px var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform var(--ease);
}

body.dark .award-card { background: var(--surface-dark); }

.award-card:hover { transform: translateY(-4px); }

.award-card i {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.award-card h4 {
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.award-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
}

body.dark .award-card p { color: #bbb; }

/* ─── 12. BLOG ───────────────────────────────────────────────── */
.blog-intro {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

body.dark .blog-intro { color: var(--text-dark); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-lg);
  margin-top: 2rem;
}

.blog-card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

body.dark .blog-card { background: var(--surface-dark); }

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-primary);
}

.blog-header { margin-bottom: 1rem; }

.blog-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

body.dark .blog-meta { color: var(--text-muted-dark); }

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blog-tag {
  background: var(--gradient);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-excerpt {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  flex-grow: 1;
}

body.dark .blog-excerpt { color: var(--text-dark); }

.blog-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--ease);
  align-self: flex-start;
}

.blog-link:hover { transform: translateX(5px); }

/* ─── 13. SERVICES ───────────────────────────────────────────── */
.service-catalogue {
  max-width: 900px;
  margin: 0 auto;
}

.service-category {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 3px 10px var(--shadow);
}

.category-header {
  background: var(--gradient);
  color: #fff;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 500;
  transition: opacity var(--ease);
}

.category-header:hover { opacity: 0.9; }

.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--surface);
}

body.dark .category-content { background: var(--surface-dark); }

.category-content.active { max-height: 3000px; }

.subcategory {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 1.5rem;
}

body.dark .subcategory { border-bottom: 1px solid #444; }

.subcategory:last-child { border-bottom: none; }

.subcategory-title {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity var(--ease);
}

.subcategory-title:hover { opacity: 0.8; }

.service-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1rem;
}

.service-list.active {
  max-height: 1500px;
  margin-top: 0.5rem;
}

.service-list ul {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
  line-height: 1.6;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

/* ─── 14. EDUCATION ──────────────────────────────────────────── */
.education-container {
  max-width: 1100px;
  margin: 0 auto;
}

.education-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 5px 15px var(--shadow);
}

.education-table thead {
  background: var(--gradient);
  color: #fff;
}

.education-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 500;
}

.education-table tbody tr {
  background: var(--surface);
  border-bottom: 1px solid #e0e0e0;
}

body.dark .education-table tbody tr {
  background: var(--surface-dark);
  border-bottom: 1px solid #444;
}

.education-table tbody tr:last-child { border-bottom: none; }

.education-table td {
  padding: 1rem;
  line-height: 1.6;
}

.education-table .degree {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.education-table .university {
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

body.dark .education-table .university { color: var(--text-dark); }

.education-table .thesis {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
}

body.dark .education-table .thesis { color: var(--text-muted-dark); }

/* ─── 15. CONTACT ────────────────────────────────────────────── */
.contact-content { text-align: center; }

.contact-info {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item { font-size: 1.1rem; }

/* ─── 16. PAGE-SPECIFIC UTILITY CLASSES FROM index.html ────────────────────────────────────────────── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}
.shadow-soft { box-shadow: 0 10px 30px -10px rgba(16,24,40,0.08); }
.timeline-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #4dd0e1, #b39ddb);
}
details > summary::-webkit-details-marker { display: none; }
.service-card { transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #4dd0e1; }
.blog-card { transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05); }
.brand-gradient { background: linear-gradient(135deg, #4dd0e1, #b39ddb); }
.brand-text-gradient {
  background: linear-gradient(135deg, #4dd0e1, #b39ddb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent-icon { color: #4dd0e1; }

/* Timeline experience */
.exp-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.exp-item.open .exp-details { max-height: 600px; }
.exp-item.open .exp-chevron { transform: rotate(180deg); }
.exp-chevron { transition: transform 0.3s ease; }

/* Accordion services */
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acc-item.open .acc-body { max-height: 2000px; }
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-chevron { transition: transform 0.3s ease; }

/* Sub-accordion */
.subacc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.subacc-item.open .subacc-body { max-height: 800px; }
.subacc-item.open .subacc-chevron { transform: rotate(90deg); }
.subacc-chevron { transition: transform 0.3s ease; color: #4dd0e1; }

html { scroll-padding-top: 72px; }

.contact-item a {
  color: var(--primary);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-links a {
  color: var(--primary);
  transition: transform 0.3s;
}

.social-links a:hover { transform: scale(1.2); }

.book-banner {
  margin: 2.5rem auto 0;
  max-width: 600px;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 30px var(--shadow-primary);
}

.book-banner h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

.book-banner p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.book-banner a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform var(--ease), box-shadow var(--ease);
}

.book-banner a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-form {
  max-width: 800px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: box-shadow var(--ease), border-color var(--ease);
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: #222834;
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(77, 208, 225, 0.15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-send {
  align-self: flex-end;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform var(--ease);
}

.contact-form .btn-send:hover { transform: translateY(-3px); }

/* ─── 16. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: var(--text-dark);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

footer a {
  color: var(--primary);
  transition: opacity var(--ease);
}

footer a:hover { opacity: 0.75; }

body.dark footer { background: #0a0a0a; }

/* ─── 17. THEME TOGGLE ───────────────────────────────────────── */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 1rem 1.2rem;
  border-radius: 50%;
  box-shadow: 0 5px 15px var(--shadow);
  z-index: 1000;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

/* ─── 18. CATALOGUE INTRO TEXT ───────────────────────────────── */
#catalogue p.intro {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
}

body.dark #catalogue p.intro { color: var(--text-dark); }

/* ─── 19. BLOG PAGE — article styles (blog/*.html) ───────────── */
.blog-post-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.blog-post-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1.5rem;
}

.blog-post-header h1 { color: var(--primary); margin-bottom: 0.75rem; }

.blog-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

body.dark .blog-post-meta { color: var(--text-muted-dark); }

.blog-post-body {
  line-height: 1.9;
  font-size: 1.05rem;
}

.blog-post-body h2 {
  text-align: left;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
}

.blog-post-body h3 {
  color: var(--secondary-dark);
  margin: 1.5rem 0 0.5rem;
}

.blog-post-body p { margin-bottom: 1.25rem; }

.blog-post-body ul,
.blog-post-body ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-post-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(77, 208, 225, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2rem;
  transition: transform var(--ease);
}

.blog-post-back:hover { transform: translateX(-4px); }

/* ─── 20. RECOMMENDED READINGS (existing blog component) ─────── */
.recommended-readings {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

body.dark .recommended-readings { border-top-color: #444; }

.recommended-readings h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.recommended-readings .reading-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recommended-readings .reading-links a {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform var(--ease);
}

.recommended-readings .reading-links a:hover { transform: translateX(4px); }

/* ─── 21. UTILITIES ──────────────────────────────────────────── */
.text-primary   { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted     { color: var(--text-muted); }
.text-center    { text-align: center; }
.mt-sm  { margin-top: 0.5rem; }
.mt-md  { margin-top: 1rem; }
.mt-lg  { margin-top: 2rem; }
.mb-sm  { margin-bottom: 0.5rem; }
.mb-md  { margin-bottom: 1rem; }
.mb-lg  { margin-bottom: 2rem; }

/* ─── 22. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 2rem 1rem; }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero .profile img {
    width: 140px;
    height: 140px;
  }

  .hero h1 { font-size: 1.8rem; }
  .hero p  { font-size: 0.95rem; }

  #nav-stand .nav-container {
    height: auto;
    padding: 0.5rem 1rem;
  }

  .navbar { justify-content: center; }

  .blog-grid { grid-template-columns: 1fr; }

  .contact-form .btn-send { width: 100%; }

  .book-banner { padding: 1.5rem; }

  .education-table { font-size: 0.9rem; }
  .education-table th,
  .education-table td { padding: 0.75rem 0.5rem; }
}

@media (max-width: 480px) {
  .skills-grid    { grid-template-columns: 1fr; }
  .awards-grid    { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .catalogue      { grid-template-columns: 1fr; }
  .catalogue img  { width: 100%; height: 180px; }
}
