:root {
  --black: #080808;
  --charcoal: #151515;
  --gold: #c9864a;
  --gold-light: #e0ab72;
  --silver: #d9d9d9;
  --white: #ffffff;
  --off-white: #f6f3ef;
  --text: #3c3a38;
  --muted: #77716b;
  --border: #e7e1da;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--off-white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: 'Playfair Display', serif; font-size: 15px; letter-spacing: .3px; font-weight: 600; }
.brand-copy span { margin-top: 5px; font-size: 9px; letter-spacing: 2.6px; text-transform: uppercase; color: #d4d4d4; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #efefef; font-size: 14px; }
.main-nav > a:not(.client-button):hover { color: var(--gold-light); }
.client-button { padding: 12px 18px; border: 1px solid var(--gold); color: var(--gold-light); border-radius: 2px; }
.client-button:hover { background: var(--gold); color: #111; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; }

.hero {
  min-height: 780px;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
  padding-top: 86px;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.76) 53%, rgba(0,0,0,.35) 100%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: 46px; padding: 80px 0; }
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 0; }
.hero-logo-wrap { display: flex; align-items: center; justify-content: center; }
.hero-logo { width: min(520px, 42vw); max-height: 610px; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(0,0,0,.45)); }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: 2.8px; font-size: 12px; font-weight: 700; color: var(--gold-light); }
.eyebrow.dark { color: #a86832; }
h1, h2 { font-family: 'Playfair Display', serif; margin: 0; line-height: 1.08; }
h1 { font-size: clamp(48px, 7vw, 82px); font-weight: 600; }
h1 span { color: var(--gold-light); }
.hero-text { max-width: 660px; margin: 26px 0 34px; font-size: 19px; line-height: 1.7; color: #e6e6e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: .2s ease; cursor: pointer; }
.btn-primary { background: var(--gold); color: #111; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: #111; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 48px; font-size: 13px; color: #d7d7d7; }
.hero-badges span::before { content: '✓'; color: var(--gold-light); margin-right: 8px; }

.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(34px, 5vw, 54px); color: #171514; }
.section-heading > p:last-child, .about-content > p, .contact-grid > div > p { color: var(--muted); line-height: 1.75; font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; padding: 34px; border: 1px solid var(--border); min-height: 250px; transition: .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(30,25,20,.08); border-color: #d7b28d; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; background: #171514; color: var(--gold-light); font-size: 12px; letter-spacing: 1px; }
.service-card h3 { margin: 24px 0 12px; font-size: 20px; color: #1c1917; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-photo { min-height: 570px; background: linear-gradient(rgba(0,0,0,.12),rgba(0,0,0,.12)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1200&q=85') center/cover; }
.about-content h2 { margin-bottom: 26px; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.numbers div { display: flex; flex-direction: column; gap: 6px; }
.numbers strong { font-family: 'Playfair Display', serif; font-size: 27px; color: #171514; }
.numbers span { font-size: 12px; color: var(--muted); line-height: 1.4; }

.client-area { background: #0a0a0a; color: #fff; }
.client-box { display: flex; justify-content: space-between; align-items: center; gap: 40px; border: 1px solid rgba(255,255,255,.14); padding: 48px; background: linear-gradient(110deg, rgba(201,134,74,.15), rgba(255,255,255,.02)); }
.client-box h2 { font-size: clamp(36px, 5vw, 56px); }
.client-box p:last-child { color: #cfcfcf; max-width: 650px; line-height: 1.7; }
.btn-light { background: #fff; color: #111; white-space: nowrap; }
.btn-light:hover { background: var(--gold-light); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-info { margin-top: 34px; padding-left: 22px; border-left: 3px solid var(--gold); }
.contact-info p { margin: 10px 0; color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--border); padding: 34px; display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: #2d2926; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #ddd6cf; background: #fbfaf8; font: inherit; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }

footer { background: #050505; color: #aaa; padding: 34px 0; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; padding: 24px 20px; background: #080808; flex-direction: column; align-items: stretch; gap: 18px; }
  .main-nav.open { display: flex; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; padding: 70px 0; }
  .hero-logo-wrap { order: -1; }
  .hero-logo { width: min(360px, 72vw); max-height: 360px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 430px; }
  .client-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .brand img { width: 56px; height: 56px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy span { font-size: 8px; letter-spacing: 2px; }
  .hero { min-height: 820px; }
  .hero-layout { padding: 42px 0 64px; }
  .hero-logo { width: min(300px, 78vw); max-height: 300px; }
  .hero-text { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .client-box, .contact-form { padding: 26px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}

/* Ajustes finais e Área do Cliente */
.hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.88) 52%, rgba(0,0,0,.70) 100%);
}

.contact-info a:hover { color: var(--gold); }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: #25d366;
  color: #071b0e;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  transition: transform .2s ease, filter .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); filter: brightness(1.05); }

.client-page { background: #f5f1ec; }
.client-page-main { padding-top: 86px; }
.client-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(0,0,0,.98), rgba(0,0,0,.84)),
    url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
}
.client-page-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: center;
  gap: 60px;
  padding: 70px 0;
}
.client-page-copy h1 { font-size: clamp(52px, 8vw, 88px); }
.client-page-copy > p:last-child {
  max-width: 680px;
  margin-top: 24px;
  color: #dedede;
  font-size: 18px;
  line-height: 1.75;
}
.client-page-logo {
  width: min(430px, 38vw);
  justify-self: end;
  filter: drop-shadow(0 24px 35px rgba(0,0,0,.5));
}
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.portal-card {
  min-height: 370px;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(30,25,20,.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.portal-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #151515;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}
.portal-card h2 { margin: 28px 0 14px; font-size: 38px; color: #171514; }
.portal-card p { margin: 0 0 30px; color: var(--muted); line-height: 1.75; }
.portal-card .btn { margin-top: auto; }
.client-support {
  margin-top: 28px;
  padding: 40px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--border);
}
.client-support h2 { font-size: clamp(30px, 4vw, 44px); color: #171514; }
.client-support p:last-child { color: var(--muted); }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-dark { background: #171514; color: #fff; }
.btn-dark:hover { background: #2a2623; transform: translateY(-2px); }

@media (max-width: 900px) {
  .client-page-layout { grid-template-columns: 1fr; text-align: center; min-height: 620px; }
  .client-page-logo { justify-self: center; width: min(330px, 72vw); order: -1; }
  .client-page-copy > p:last-child { margin-left: auto; margin-right: auto; }
  .portal-grid { grid-template-columns: 1fr; }
  .client-support { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 46px; padding: 0 16px; }
  .client-page-main { padding-top: 76px; }
  .client-page-layout { min-height: 560px; padding: 46px 0 58px; gap: 25px; }
  .portal-card, .client-support { padding: 28px; }
}


/* Refinamentos premium da área do cliente */
.portal-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.portal-card::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,134,74,.18), transparent 68%);
  pointer-events: none;
}
.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(30,25,20,.12);
  border-color: rgba(201,134,74,.55);
}
.portal-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #26221f, #070707);
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 28px rgba(0,0,0,.14);
  margin-bottom: 18px;
}
.portal-card .portal-number { position: absolute; top: 34px; right: 34px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .portal-card { transition: none; }
}

/* Página de notícias */
.news-main { padding-top: 88px; }
.news-hero {
  min-height: 470px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8,8,8,.94), rgba(8,8,8,.72)),
    radial-gradient(circle at 80% 30%, rgba(201,134,74,.28), transparent 34%),
    #0d0d0d;
  color: #fff;
}
.news-hero-content { max-width: 820px; padding: 78px 0; }
.news-hero h1 { font-size: clamp(48px, 7vw, 80px); margin: 10px 0 20px; }
.news-hero p:last-child { max-width: 720px; color: #dedede; font-size: 19px; line-height: 1.75; }
.news-section { background: #f6f3ef; }
.news-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 38px; }
.news-toolbar h2 { color: #171514; font-size: clamp(34px, 4vw, 52px); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 18px 45px rgba(30,25,20,.06); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-7px); box-shadow: 0 26px 60px rgba(30,25,20,.11); }
.news-image { height: 190px; display: flex; align-items: flex-end; padding: 22px; background-color: #171514; background-size: cover; background-position: center; position: relative; }
.news-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.72)); }
.news-image span { position: relative; z-index: 1; color: #fff; border: 1px solid rgba(255,255,255,.55); padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-image-tax { background-image: radial-gradient(circle at 70% 25%, rgba(221,165,104,.55), transparent 26%), linear-gradient(145deg,#2b2825,#070707); }
.news-image-management { background-image: radial-gradient(circle at 28% 25%, rgba(221,165,104,.48), transparent 25%), linear-gradient(145deg,#191919,#3a332d); }
.news-image-payroll { background-image: linear-gradient(135deg,rgba(201,134,74,.35),transparent 50%), linear-gradient(145deg,#0c0c0c,#2c2926); }
.news-image-business { background-image: radial-gradient(circle at 75% 55%, rgba(221,165,104,.45), transparent 24%), linear-gradient(145deg,#302a25,#101010); }
.news-image-planning { background-image: linear-gradient(45deg,rgba(201,134,74,.32),transparent 45%), linear-gradient(145deg,#111,#342e29); }
.news-image-docs { background-image: radial-gradient(circle at 35% 40%, rgba(221,165,104,.5), transparent 22%), linear-gradient(145deg,#28231f,#0a0a0a); }
.news-card-body { padding: 28px; }
.news-meta { color: var(--gold-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.news-card h2 { color: #171514; font-size: 26px; line-height: 1.2; margin: 10px 0 14px; }
.news-card-body > p:not(.news-meta) { color: var(--muted); line-height: 1.7; }
.news-card-body a { display: inline-block; margin-top: 20px; color: #171514; font-weight: 700; }
.news-cta { margin-top: 38px; padding: 42px 46px; display: flex; justify-content: space-between; align-items: center; gap: 35px; background: linear-gradient(135deg,#171514,#050505); color: #fff; }
.news-cta h2 { font-size: clamp(32px, 4vw, 48px); margin: 5px 0 10px; }
.news-cta p:last-child { color: #d7d7d7; }
.main-nav a.active { color: var(--gold-light); }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .news-main { padding-top: 76px; }
  .news-hero { min-height: 390px; }
  .news-toolbar, .news-cta { align-items: flex-start; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .news-cta { padding: 32px 28px; }
}

/* Depoimentos, FAQ, mapa e animações */
.testimonials { background: #111; color: #fff; }
.testimonials .section-heading h2 { color: #fff; }
.testimonials .section-heading p { color: #bbb; }
.testimonial-placeholder {
  max-width: 820px; margin: 42px auto 0; padding: 48px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  text-align: center; backdrop-filter: blur(10px);
}
.quote-mark { font-family: 'Playfair Display', serif; font-size: 76px; color: var(--gold); line-height: .7; }
.testimonial-placeholder p { font: 600 clamp(22px, 3vw, 34px)/1.45 'Playfair Display', serif; margin: 20px 0; }
.testimonial-placeholder span { color: #aaa; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-grid h2 { font-size: clamp(36px, 5vw, 58px); color: #171514; margin: 12px 0 18px; }
.faq-grid > div:first-child > p:last-child { color: var(--muted); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); padding: 0; }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 42px 24px 0; font-weight: 700; color: #201d1b; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 20px; font-size: 27px; color: var(--gold); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { margin: -5px 0 24px; color: var(--muted); line-height: 1.75; padding-right: 35px; }
.map-wrap { margin-top: 44px; display: grid; grid-template-columns: 1.5fr .7fr; background: #111; color: #fff; overflow: hidden; }
.map-wrap iframe { width: 100%; min-height: 380px; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-caption { padding: 42px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.map-caption strong { font: 700 28px 'Playfair Display', serif; }
.map-caption span { color: #c7c7c7; line-height: 1.65; }
.map-caption a { margin-top: 10px; color: var(--gold-light); font-weight: 700; }
.counter { font-variant-numeric: tabular-nums; }
.site-header.scrolled { background: rgba(5,5,5,.98); box-shadow: 0 10px 34px rgba(0,0,0,.18); }
@media (max-width: 900px) {
  .faq-grid, .map-wrap { grid-template-columns: 1fr; }
  .map-caption { padding: 32px; }
}
@media (max-width: 600px) {
  .testimonial-placeholder { padding: 32px 22px; }
  .map-wrap iframe { min-height: 320px; }
}

/* Área administrativa de notícias */
.admin-page { min-height: 100vh; background: #f3f0ec; color: #171514; }
.admin-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 80px; }
.admin-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 38px; }
.admin-brand img { width: 66px; height: 66px; object-fit: contain; }
.admin-brand div { display: flex; flex-direction: column; }
.admin-brand strong { font-family: 'Playfair Display', serif; font-size: 20px; }
.admin-brand span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.admin-login-card, .admin-editor, .admin-list { background: #fff; border: 1px solid var(--border); box-shadow: 0 18px 55px rgba(30,25,20,.07); }
.admin-login-card { max-width: 520px; margin: 70px auto; padding: 48px; }
.admin-login-card h1, .admin-topbar h1 { font-size: clamp(42px, 6vw, 68px); color: #171514; }
.admin-login-card > p:not(.eyebrow) { color: var(--muted); margin: 12px 0 26px; }
.admin-form { display: grid; gap: 18px; }
.admin-form label { display: grid; gap: 8px; font-weight: 700; font-size: 14px; }
.admin-form label span { color: var(--muted); font-weight: 400; font-size: 12px; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; padding: 14px 15px; border: 1px solid #d9d2ca; background: #fff; color: #171514; font: inherit; }
.admin-form textarea { resize: vertical; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: 2px solid rgba(201,134,74,.25); border-color: var(--gold); }
.admin-topbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.admin-top-actions, .admin-form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-dark { border: 1px solid #171514; color: #171514; background: transparent; }
.btn-outline-dark:hover { background: #171514; color: #fff; }
.admin-alert { margin: 0 0 20px; padding: 14px 18px; font-weight: 700; border: 1px solid; }
.admin-alert.success { background: #edf8f0; color: #246236; border-color: #b9ddc2; }
.admin-alert.error { background: #fff1f0; color: #8e2e26; border-color: #efc1bd; }
.admin-editor, .admin-list { padding: 34px; margin-top: 24px; }
.admin-editor h2, .admin-list h2 { font-size: 32px; margin-bottom: 24px; color: #171514; }
.admin-grid-form { grid-template-columns: repeat(2, 1fr); }
.admin-grid-form .full { grid-column: 1 / -1; }
.admin-check { display: flex !important; align-items: center; grid-template-columns: auto 1fr; align-self: end; padding-bottom: 14px; }
.admin-check input { width: 18px; height: 18px; }
.admin-news-item { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 22px 0; border-top: 1px solid var(--border); }
.admin-news-item:first-of-type { border-top: 0; }
.admin-news-item h3 { margin: 7px 0 4px; font: 700 22px/1.25 'DM Sans', sans-serif; }
.admin-news-item p { color: var(--muted); }
.admin-status { display: inline-block; padding: 5px 9px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.admin-status.published { background: #e8f6ec; color: #246236; }
.admin-status.draft { background: #eee; color: #666; }
.admin-item-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.admin-item-actions form { display: flex; gap: 5px; }
.admin-item-actions a, .admin-item-actions button { border: 1px solid #d8d1ca; background: #fff; color: #171514; padding: 9px 11px; font: 700 12px 'DM Sans', sans-serif; cursor: pointer; }
.admin-item-actions button:disabled { opacity: .3; cursor: default; }
.admin-item-actions .danger { color: #9d2d24; }
.news-empty { grid-column: 1 / -1; padding: 35px; background: #fff; border: 1px solid var(--border); color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .admin-shell { padding-top: 24px; }
  .admin-login-card, .admin-editor, .admin-list { padding: 26px; }
  .admin-topbar, .admin-news-item { align-items: flex-start; flex-direction: column; }
  .admin-grid-form { grid-template-columns: 1fr; }
  .admin-grid-form .full { grid-column: auto; }
  .admin-item-actions { flex-wrap: wrap; }
}
