/* ============================================================
   style.css – vita.eiskopani.de
   Farben & Schriften identisch zu eiskopani.de (Astra-Theme)
   ============================================================ */

/* --- CSS-Variablen (Farbpalette aus WordPress) ------------- */
:root {
  --color-red:       #ec5b53;
  --color-red-dark:  #cf332b;
  --color-blue:      #002d5b;
  --color-text:      #35373a;
  --color-bg:        #fefafa;
  --color-white:     #ffffff;
  --color-light:     #f2f7f7;
  --color-dark:      #002d5b;
  --color-gold:      #d4a857;
  --color-gold-dark: #7a5c2e;
  --font-heading:    'Playfair Display', serif;
  --font-body:       'Open Sans', sans-serif;
  --radius:          12px;
  --shadow:          0 4px 20px rgba(0, 0, 0, 0.08);
  --transition:      0.3s ease;
}

/* --- Reset & Basis ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

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

a { color: var(--color-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-red-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-blue);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--color-gold);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-gold);
}
.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-blue);
}

/* --- Divider ----------------------------------------------- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 12px auto 40px;
  border-radius: 2px;
}
.divider-small {
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin: 8px 0 20px;
  border-radius: 2px;
}

/* --- Abschnitt-Titel --------------------------------------- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--color-blue);
  text-align: center;
  margin-bottom: 8px;
}

/* --- Hintergründe ----------------------------------------- */
.section-light  { background: var(--color-light);  padding: 80px 0; }
.section-white  { background: var(--color-white);  padding: 80px 0; }
.section-dark   { background: var(--color-dark);   padding: 80px 0; color: var(--color-white); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-white);
  letter-spacing: 1px;
}
.site-logo:hover { color: var(--color-red); }

/* Navigationslinks */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-nav a {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover {
  background: transparent;
  color: var(--color-gold);
  text-shadow: 0 0 12px rgba(212,168,87,0.6);
}
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--color-gold);
  text-shadow: 0 0 12px rgba(212,168,87,0.6);
  position: relative;
}
.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 2px;
  height: 2px;
  background: var(--color-gold-dark);
}
.site-nav a.active:hover,
.site-nav a[aria-current="page"]:hover {
  color: var(--color-gold);
  background: transparent;
}

/* Dropdown */
.has-sub { position: relative; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 180px;
  padding: 8px 0;
  flex-direction: column;
  gap: 0;
}
.submenu li a {
  color: var(--color-text);
  display: block;
  padding: 10px 18px;
  border-radius: 0;
}
.submenu li a:hover { background: var(--color-light); color: var(--color-gold-dark); }
.has-sub:hover .submenu { display: flex; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 26px;
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 40px 0 0;
}

.hero-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-illustration img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  border: 3px solid var(--color-gold);
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 520px;
    gap: 28px;
  }
  .hero-illustration { max-width: 280px; margin: 0 auto; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 24px;
  color: var(--color-white);
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.hero .btn { margin-top: 12px; }

.hero-motto {
  background: var(--color-light);
  margin-top: 0;
  padding: 44px 24px;
  text-align: center;
  border-top: 3px solid var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
}
.hero-motto h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--color-blue);
  font-weight: 400;
  font-style: italic;
}
.hero-motto h2 strong {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-style: normal;
}

/* ============================================================
   ÜBER MICH (3-spaltig)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.about-image img {
  width: 260px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-text h5 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-blue);
  margin-bottom: 4px;
  line-height: 1.4;
}

.about-text p { margin-bottom: 14px; }

.cta-label {
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 10px !important;
}

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  transition: transform 0.4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.03); }

.gallery-grid figcaption {
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-white);
}

/* ============================================================
   SKILLS / WAS LÄUFT GERADE
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.skill-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-gold);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.skill-icon { font-size: 36px; margin-bottom: 16px; }

.skill-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-blue);
  margin-bottom: 10px;
}

/* ============================================================
   VIDEOS
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.kontakt-info h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-white);
  margin-bottom: 24px;
}

.kontakt-info p {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

.kontakt-info a { color: var(--color-red); }
.kontakt-info a:hover { color: #ff9591; }

.kontakt-form h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 20px;
}

/* Formularfelder */
.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 14px;
  transition: border-color var(--transition);
}
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  margin-top: 10px;
  font-size: 14px;
  color: #a8f0b0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #001a38;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-red); }

.site-footer p {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { text-align: center; }
  .about-image img { width: 100%; max-width: 360px; margin: 0 auto; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-blue);
    padding: 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .submenu { position: static; box-shadow: none; background: rgba(255,255,255,0.1); }
  .submenu li a { color: rgba(255,255,255,0.8); }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   UNTERSEITEN
   ============================================================ */

/* Seiten-Hero (dunkler Banner oben) */
.page-hero {
  background: var(--color-blue);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--color-white);
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--color-white);
  margin-bottom: 8px;
}
.page-hero .divider { margin: 12px auto 0; }
.page-hero p { color: rgba(255,255,255,0.8); margin-top: 16px; }

/* Karten-Grid (Weiterbildung, Projekte) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.card--coming-soon { opacity: 0.65; }

.card-icon { font-size: 36px; margin-bottom: 12px; }

.card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-blue);
  margin-bottom: 10px;
}
.card p { font-size: 15px; line-height: 1.7; }

/* Badges */
.card-badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-badge--done { background: #2d7a3a; }
.card-badge--soon { background: #888; }

/* Rechtliche Seiten (Impressum, Datenschutz) */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 20px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-blue);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-light);
}
.legal-content h3 {
  font-size: 17px;
  color: var(--color-blue);
  margin: 20px 0 8px;
}
.legal-content p { margin-bottom: 14px; line-height: 1.8; }
.legal-content ul { margin: 10px 0 14px 24px; line-height: 1.9; }
.legal-content a { color: var(--color-red); }

/* Gästebuch */
.gaestebuch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.gaestebuch-form input,
.gaestebuch-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 14px;
  transition: border-color var(--transition);
}
.gaestebuch-form input:focus,
.gaestebuch-form textarea:focus {
  outline: none;
  border-color: var(--color-red);
}
.eintrag {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.eintrag.neu { border-left: 4px solid var(--color-red); }
.eintrag-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-blue);
}
.eintrag-header strong { font-size: 16px; }
.eintrag-header span { color: #888; }
.form-note { margin-top: 10px; font-size: 14px; }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .gaestebuch-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   KI-EXPERIMENTE SEITE
   ============================================================ */

/* Intro-Text */
.article-intro {
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-blue);
  font-style: italic;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

/* Kapitel-Layout */
.article-content { max-width: 860px; margin: 0 auto; }

.article-chapter {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.chapter-number {
  font-family: var(--font-heading);
  font-size: 72px;
  color: var(--color-red);
  opacity: 0.2;
  line-height: 1;
  min-width: 80px;
  font-weight: 700;
}

.chapter-body { flex: 1; }

.chapter-body h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-blue);
  margin-bottom: 20px;
}

.chapter-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-blue);
  margin: 28px 0 12px;
}

.chapter-body p { margin-bottom: 16px; line-height: 1.85; }

.chapter-body code {
  background: var(--color-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-red);
}

/* Tech-Stack Tags */
.tech-stack {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.tech-stack h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 12px;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Workflow-Visualisierung */
.workflow-visual {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--color-blue);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 24px 0;
}
.workflow-step {
  text-align: center;
  min-width: 90px;
}
.workflow-step--highlight .workflow-icon {
  background: var(--color-red);
  border-radius: 50%;
  padding: 8px;
}
.workflow-icon { font-size: 28px; margin-bottom: 6px; }
.workflow-label {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  line-height: 1.4;
}
.workflow-label small { opacity: 0.7; font-weight: 400; }
.workflow-arrow {
  color: var(--color-red);
  font-size: 22px;
  font-weight: 700;
}

/* Lesson-Box */
.lesson-box {
  border-left: 4px solid var(--color-red);
  background: #fff8f8;
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Artikel-Liste */
.article-list { margin: 12px 0 20px 24px; }
.article-list li { margin-bottom: 12px; line-height: 1.8; }

/* Fazit-Box */
.fazit-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.fazit-box h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-blue);
  margin-bottom: 20px;
}
.fazit-box p { margin-bottom: 16px; line-height: 1.85; }
.fazit-box .btn { margin-top: 12px; }

/* KI-Karte als Link */
a.skill-card--link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
a.skill-card--link:hover { color: var(--color-text); }
.card-mehr {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-red);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 700px) {
  .article-chapter { flex-direction: column; gap: 8px; }
  .chapter-number { font-size: 48px; }
  .workflow-visual { justify-content: center; }
  .workflow-arrow { display: none; }
  .fazit-box { padding: 32px 24px; }
}

/* Logo 120x120px */
.logo-img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain !important;
    clip-path: inset(3px round 18px);
}

.site-logo {
    display: flex;
    align-items: center;
}

/* Header höher für 120px Logo */
.header-inner {
    height: 130px !important;
}

/* Dropdown: versteckt, nur Rahmen-Hinweis sichtbar */
.has-sub > a {
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 6px !important;
    padding: 7px 12px !important;
}

.submenu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #002d5b !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    min-width: 180px !important;
    padding: 8px 0 !important;
    flex-direction: column !important;
}

/* Dropdown nur bei Hover aufklappen */
.has-sub:hover > .submenu {
    display: flex !important;
}

.submenu li a {
    color: rgba(255,255,255,0.85) !important;
    padding: 10px 18px !important;
    display: block !important;
    border-radius: 0 !important;
}

.submenu li a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}

/* --- CV Timeline ------------------------------------------- */
.cv-timeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}
.cv-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-gold);
}
.cv-entry {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--color-gold);
}
.cv-entry::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 1.6rem;
  width: 10px;
  height: 10px;
  background: var(--color-gold);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--color-gold);
}
.cv-date {
  font-size: 0.82rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.cv-entry h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-blue);
  margin-bottom: 0.15rem;
  line-height: 1.35;
}
.cv-entry h4 {
  font-size: 0.92rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.cv-entry ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cv-entry ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
}
.cv-entry ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* CV Section Headers */
.cv-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-blue);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-gold);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.cv-section-title:first-of-type { margin-top: 0; }

/* Skill Tags */
.cv-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 820px;
  margin: 1rem auto 0;
}
.cv-skill-tag {
  background: var(--color-blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Certs compact */
.cv-certs {
  max-width: 820px;
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.6rem;
}
.cv-cert-item {
  font-size: 0.88rem;
  color: #444;
  padding-left: 1.1rem;
  position: relative;
}
.cv-cert-item::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

@media (max-width: 600px) {
  .cv-timeline { padding-left: 24px; }
  .cv-entry::before { left: -22px; }
  .cv-timeline::before { left: 4px; }
  .cv-entry { padding: 1rem 1.2rem; }
}
