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

:root {
  --orange: #F26938;
  --orange-dark: #d9541f;
  --dark: #111111;
  --dark2: #1e1e1e;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --gray: #f4f4f4;
  --gray2: #e8e8e8;
  --border: rgba(0,0,0,0.1);
  --max-w: 1200px;
  --radius: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 700; }
p { font-size: 1rem; line-height: 1.8; color: var(--text); }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

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

.site-logo img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover,
.site-nav a.active { color: var(--white); }

.site-nav a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../wp-content/uploads/2024/07/bg-home.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding-top: 72px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-title span { color: var(--orange); font-style: italic; }

.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  border-left: 3px solid var(--orange);
  padding-left: 18px;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark2); }

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 60px rgba(242,105,56,0.2));
}

.hero-badge {
  position: absolute;
  bottom: 80px;
  left: -30px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 32px rgba(242,105,56,0.4);
}
.hero-badge strong { display: block; font-size: 1.3rem; letter-spacing: 0; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}
.scroll-indicator svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--orange);
  padding: 36px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  display: block;
}

/* ===== SOBRE SEÇÃO HOME ===== */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 4px solid var(--orange);
  border-radius: var(--radius);
  z-index: -1;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-text p:last-of-type { margin-bottom: 28px; }

.about-highlight {
  background: var(--gray);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  font-style: italic;
}

/* ===== EDUCATION TIMELINE ===== */
.edu-section { background: var(--dark); }
.edu-section h2 { color: var(--white); }
.edu-section .section-label { color: var(--orange); }

.edu-header { margin-bottom: 60px; }

.edu-timeline {
  position: relative;
  padding-left: 32px;
}

.edu-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255,255,255,0.1);
}

.edu-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.edu-item:last-child { border-bottom: none; }

.edu-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 34px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 2px var(--orange);
}

.edu-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  padding-top: 2px;
}

.edu-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.edu-inst {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ===== NEWS SECTION ===== */
.news-section { background: var(--gray); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  gap: 20px;
}

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

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray2);
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.05); }

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

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(242,105,56,0.1);
  padding: 4px 10px;
  border-radius: 50px;
}

.post-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.post-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.post-card-link:hover { gap: 10px; }
.post-card-link::after { content: '→'; }

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--dark2);
  padding: 80px 0;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.contact-strip h2 { color: var(--white); }
.contact-strip p { color: rgba(255,255,255,0.6); margin-top: 12px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 52px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }

.footer-col address { font-style: normal; font-size: 0.88rem; line-height: 1.7; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  color: rgba(255,255,255,0.6);
}
.social-link:hover { background: var(--orange); color: var(--white); }
.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242,105,56,0.15) 0%, transparent 60%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero .section-label { color: rgba(255,255,255,0.5); }
.page-hero .section-label::before { background: rgba(255,255,255,0.3); }

.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-top: 16px; max-width: 640px; }

/* ===== SOBRE PAGE ===== */
.about-bio { background: var(--white); }

.about-bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.about-bio-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.about-bio-text h2 { margin-bottom: 8px; }
.about-bio-text .section-label { margin-bottom: 10px; }
.about-bio-text p { color: var(--text-light); margin-bottom: 18px; }
.about-bio-text p strong { color: var(--dark); }

/* ===== BLOG/NOTICIAS PAGE ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--gray2);
  background: var(--white);
  color: var(--text-light);
  transition: all var(--transition);
  font-family: 'Poppins', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.posts-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== SINGLE POST ===== */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.post-content-body {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.post-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.post-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--gray2);
  border-bottom: 1px solid var(--gray2);
  margin-bottom: 32px;
}

.post-featured-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 36px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.post-body { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.post-body p { margin-bottom: 1.2em; }
.post-body h2 { font-size: 1.6rem; margin: 2em 0 0.8em; }
.post-body h3 { font-size: 1.3rem; margin: 1.8em 0 0.7em; }
.post-body a { color: var(--orange); text-decoration: underline; }
.post-body strong { color: var(--dark); }
.post-body ul, .post-body ol { margin: 1em 0 1.2em 1.5em; }
.post-body li { margin-bottom: 0.5em; }
.post-body blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  margin: 1.5em 0;
  background: var(--gray);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.post-sidebar { position: sticky; top: 100px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.sidebar-widget h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray2);
}

.recent-post-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray2);
}
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.recent-post-img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-info { font-size: 0.84rem; }
.recent-post-info a { font-weight: 600; color: var(--dark); line-height: 1.35; display: block; margin-bottom: 4px; }
.recent-post-info a:hover { color: var(--orange); }
.recent-post-info span { color: var(--text-light); font-size: 0.75rem; }

/* ===== CONTATO PAGE ===== */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info { }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(242,105,56,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}
.contact-value a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }

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

.form-success {
  background: #e8f5e9;
  border: 1.5px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #2e7d32;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== ADMIN ===== */
.admin-body {
  font-family: 'Poppins', sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--dark);
  color: var(--white);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar-brand {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-topbar-brand span { color: var(--orange); }

.admin-topbar-actions { display: flex; gap: 12px; align-items: center; }

.admin-topbar-actions a {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.admin-topbar-actions a:hover { color: var(--white); }

.admin-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.admin-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray2);
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  border-bottom: 2px solid var(--gray2);
}
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--gray2);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray); }

.admin-table .actions { display: flex; gap: 8px; }

.btn-sm {
  padding: 6px 14px;
  font-size: 0.78rem;
  border-radius: 4px;
}

.btn-danger {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-danger:hover { background: #fca5a5; }

.btn-edit {
  background: var(--gray);
  color: var(--dark);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-edit:hover { background: var(--gray2); }

.admin-form-group { margin-bottom: 20px; }
.admin-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray2);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus { border-color: var(--orange); }
.admin-form-group textarea { min-height: 360px; font-family: monospace; font-size: 0.85rem; }

.admin-alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.admin-alert-success { background: #d1fae5; color: #065f46; }
.admin-alert-error { background: #fee2e2; color: #991b1b; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.admin-login-card h1 { font-size: 1.6rem; margin: 20px 0 8px; }
.admin-login-card p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 32px; }

/* ===== UTILITIES ===== */
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-orange { background: rgba(242,105,56,0.12); color: var(--orange); }
.tag-dark { background: var(--dark2); color: var(--white); }

/* No-results */
.no-posts {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--orange); }
.back-link::before { content: '←'; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr 340px; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .footer-brand { grid-column: 1 / -1; }
  .post-layout { grid-template-columns: 1fr 280px; gap: 40px; }
  .about-bio-grid { grid-template-columns: 300px 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .posts-grid,
  .posts-grid-full { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { max-width: 400px; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 12px 16px; font-size: 0.9rem; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 280px; margin: 0 auto; }
  .hero-badge { left: auto; right: 0; bottom: 20px; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .about-bio-grid { grid-template-columns: 1fr; }
  .about-bio-photo { max-width: 320px; margin: 0 auto; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-strip-inner { grid-template-columns: 1fr; text-align: center; }
  .edu-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .post-content-body { padding: 28px 20px; }
}

@media (max-width: 600px) {
  .posts-grid,
  .posts-grid-full { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:last-child { border-bottom: none; }
  .hero-content { gap: 24px; padding-top: 88px; }
}
