:root {
  --mint-100: #ecf8f4;
  --mint-200: #dff1ec;
  --mint-500: #63afa1;
  --mint-700: #2b7f74;
  --pink-200: #f3c7e5;
  --ink: #283342;
  --ink-soft: #5f6b7a;
  --line: #d6e6e2;
  --white: #ffffff;
  --shadow-lg: 0 18px 44px rgba(43, 127, 116, 0.16);
  --shadow-sm: 0 8px 22px rgba(55, 84, 103, 0.09);
  --max-width: 1240px;
  --nav-offset: 220px;
  --menu-col-gap: 45px;
  --menu-col-width: 108px;
  --menu-total-width: calc((var(--menu-col-width) * 7) + (var(--menu-col-gap) * 6));
}

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

html,
body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(233, 146, 201, 0.2), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(99, 175, 161, 0.16), transparent 36%),
    #f8fbfa;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.utility {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.utility-inner {
  min-height: 34px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.utility-links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 6px 0;
}

.utility-links a:hover {
  color: var(--mint-700);
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 0 var(--nav-offset);
  min-width: var(--nav-offset);
}

.logo-wrap img {
  width: 190px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav > ul {
  display: grid;
  grid-template-columns: repeat(7, var(--menu-col-width));
  align-items: center;
  column-gap: var(--menu-col-gap);
  row-gap: 0;
  font-weight: 700;
  white-space: nowrap;
  width: var(--menu-total-width);
}
.main-nav > ul > li {
  width: var(--menu-col-width);
  text-align: center;
}

.main-nav > ul > li > a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  font-size: 16px;
  color: #25313f;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--mint-700);
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.7rem;
  cursor: pointer;
}

.mega-wrap {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  border-top: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
  /* 닫힐 때: opacity·transform 먼저, height는 살짝 뒤에 */
  transition:
    max-height 0.3s cubic-bezier(0.4, 0, 1, 1) 0.05s,
    opacity 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

header.is-mega-open .mega-wrap {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid #e4ecea;
  box-shadow: 0 14px 24px rgba(29, 58, 70, 0.08);
  /* 열릴 때: height 먼저 ease-out, opacity·transform은 동시에 */
  transition:
    max-height 0.3s cubic-bezier(0, 0, 0.2, 1),
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.mega-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 20px;
  display: grid;
  grid-template-columns: calc(var(--nav-offset) + 14px) 1fr;
  align-items: start;
}

.mega-menu {
  display: grid;
  grid-template-columns: repeat(7, var(--menu-col-width));
  column-gap: var(--menu-col-gap);
  row-gap: 16px;
  grid-column: 2;
  width: var(--menu-total-width);
  margin-left: 0;
  justify-self: center;
  justify-items: center;
}

.mega-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--menu-col-width);
  text-align: center;
}

.mega-col h4 {
  display: none;
  color: #1f4050;
  font-size: 1.02rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.mega-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  color: #4d5a70;
  font-size: .92rem;
}

.mega-col a:hover {
  color: var(--mint-700);
}

.hero {
  padding: 30px 0 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  align-items: stretch;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #dfe8e8;
  padding: 34px;
  display: flex;
  flex-direction: column;
  height: 580px;
  position: relative;
  isolation: isolate;
}

.hero-card > :not(.hero-rolling) {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(43, 127, 116, 0.26);
  color: var(--mint-700);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.24rem, 2.3vw, 1.78rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #f7fbff;
  text-shadow:
    0 2px 10px rgba(16, 33, 44, 0.5),
    0 0 22px rgba(8, 22, 30, 0.28);
}

.hero-title b {
  background: linear-gradient(90deg, #ff9b4d 0%, #ffc46b 45%, #ff8e57 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 16px rgba(255, 170, 92, 0.42);
}

.hero-card .badge,
.hero-title,
.consult-card h3,
.consult-list li,
.phone-card h3,
.phone-text p,
.phone-text strong {
  animation: textFlow 7.5s ease-in-out infinite;
}

.hero-title {
  animation-duration: 6.2s;
}

.consult-list li:nth-child(2) {
  animation-delay: .2s;
}

.consult-list li:nth-child(3) {
  animation-delay: .4s;
}

.phone-text strong {
  animation-duration: 6.8s;
}

@keyframes textFlow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(40, 51, 66, 0);
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 9px rgba(255, 255, 255, 0.2), 0 0 13px rgba(102, 145, 178, 0.2);
    opacity: 0.96;
  }
}

.hero-rolling {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #d9e5e7;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  filter: saturate(1.08) contrast(1.02);
}

.hero-slide-1 {
  animation: heroSlideFirst 14s ease-in-out infinite;
}

.hero-slide-2 {
  animation: heroSlideSecond 14s ease-in-out infinite;
}

@keyframes heroSlideFirst {
  0%, 44% {
    opacity: 1;
    transform: scale(1.03);
  }
  50%, 94% {
    opacity: 0;
    transform: scale(1.09);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes heroSlideSecond {
  0%, 44% {
    opacity: 0;
    transform: scale(1.09);
  }
  50%, 94% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(10, 28, 38, 0.26) 10%, rgba(10, 28, 38, 0.1) 52%, rgba(10, 28, 38, 0.04) 100%);
  pointer-events: none;
}

.consult-side {
  display: grid;
  gap: 14px;
  grid-template-rows: 1fr auto;
  height: 580px;
  margin-top: 0;
}

.consult-card,
.phone-card {
  border: 1px solid #dce8e5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.consult-card h3,
.phone-card h3 {
  font-size: 1.1rem;
  color: var(--mint-700);
  margin-bottom: 10px;
}

.consult-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.consult-head h3 {
  margin-bottom: 0;
}

.more-link {
  color: #74849a;
  font-size: 12px;
  font-weight: 600;
}

.more-link:hover {
  color: var(--mint-700);
}

.consult-list {
  display: grid;
  gap: 10px;
}

.consult-list li {
  border: 1px solid #e4eeeb;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fbfefd;
  color: #46566c;
  font-size: .95rem;
}

.consult-list b {
  color: #33495e;
}

/* 최근 게시글 링크 스타일 */
.consult-post-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.consult-post-link:hover .consult-post-title { color: var(--mint-700, #2b7d73); }
.consult-post-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #1e3a52;
  font-size: .9rem;
  transition: color .15s;
}
.consult-post-meta {
  flex-shrink: 0;
  font-size: .78rem;
  color: #8a9bb0;
}
.consult-empty {
  text-align: center;
  color: #a0b0be;
  font-size: .88rem;
  padding: 10px 0;
  border: none !important;
  background: transparent !important;
}

.consult-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
  border-radius: 999px;
  padding: 11px 14px;
  border: 1px solid rgba(43, 127, 116, 0.35);
  background: linear-gradient(135deg, #f5fdfa, #ecf8f4);
  color: #2f7d73;
  font-weight: 700;
  font-size: 0.95rem;
}

.consult-apply:hover {
  background: #ecf8f4;
}

.phone-box {
  border-radius: 14px;
  background: linear-gradient(145deg, #f4fbf8, #fff4fb);
  border: 1px solid #dce8e5;
  padding: 16px;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6f4ef;
  color: #2f7d73;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.phone-text p {
  font-size: .88rem;
  color: #5d6e82;
}

.phone-text strong {
  display: block;
  color: #ef6d40;
  font-size: 1.8rem;
  line-height: 1.1;
}

section {
  padding: 22px 0 36px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: .95rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dept {
  border: 1px solid #dceae7;
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(62, 93, 122, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.dept:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(62, 93, 122, 0.1);
}

.dept b {
  color: #2c796f;
  font-size: .9rem;
  margin-bottom: 6px;
}

.dept h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.dept p {
  color: #647286;
  font-size: .92rem;
  margin-top: auto;
}

.service-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.band {
  border: 1px solid #e4e7f1;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(160deg, #fff 0%, #f9fcff 100%);
}

.band h3 {
  margin-bottom: 8px;
  color: #415677;
  font-size: 1.03rem;
}

.band ul {
  display: grid;
  gap: 5px;
  color: #5f6f83;
  font-size: .94rem;
}

.band li::before {
  content: "\\2022";
  color: #61ab9d;
  margin-right: 7px;
}

.clinic-info {
  padding-top: 8px;
}

.clinic-info-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  column-gap: 16px;
  row-gap: 0;
}

.hours-card {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d7e6ea;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 20px rgba(50, 79, 104, 0.06);
}

.hours-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hours-head h2 {
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  color: #374256;
}

.hours-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecf7f3;
  color: #2e8f7d;
  font-size: 14px;
}

.hours-line {
  height: 2px;
  background: #d8ebf6;
  margin-bottom: 8px;
}

.hours-dept {
  font-size: 1.18rem;
  font-weight: 800;
  color: #365791;
  margin-bottom: 8px;
}

.hours-board {
  background: #d8e8f8;
  border: 1px solid #c7dbef;
  padding: 10px 14px;
  border-radius: 4px;
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.hours-board p {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #2f3f59;
  font-size: 0.95rem;
}

.hours-board p span {
  min-width: 58px;
  font-weight: 700;
}

.hours-board p strong {
  font-weight: 800;
}

.hours-board p em {
  font-style: normal;
  font-weight: 600;
  color: #41556f;
}

.hours-holiday {
  padding-top: 2px;
}

.hours-lunch {
  color: #4a5a71;
  font-size: 0.95rem;
  font-weight: 600;
}

.policy-row {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
}

.policy-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(32, 58, 91, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 7px 14px rgba(35, 62, 96, 0.16);
}

.policy-btn span:first-child {
  font-size: 1rem;
  line-height: 1;
}

.policy-btn span:last-child {
  line-height: 1.2;
}

.policy-private {
  background: linear-gradient(135deg, #3f61a6, #314f89);
}

.policy-fee {
  background: linear-gradient(135deg, #4298e2, #2f7fca);
}

.policy-btn:hover {
  filter: brightness(1.05);
}

footer {
  margin-top: 24px;
  border-top: 1px solid #dae9e6;
  background: #ffffff;
  padding: 24px 0 30px;
  color: #677487;
  font-size: .9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  :root {
    --nav-offset: 190px;
    --menu-col-gap: 31px;
    --menu-col-width: 98px;
  }

  .main-nav > ul > li > a {
    font-size: 15px;
  }

  .mega-menu {
    row-gap: 10px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  /* 1컬럼 전환 시 히어로 높이 유지 */
  .hero-card {
    height: 460px;
  }

  .consult-side {
    height: auto;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-bands {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    width: calc(100% - 26px);
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .utility-links {
    font-size: 11px;
    gap: 16px;
  }

  .logo-wrap img {
    width: 164px;
  }

  .logo-wrap {
    flex: 0 0 auto;
    min-width: 0;
  }

  .menu-btn {
    display: inline-block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
  }

  .main-nav.open > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .main-nav.open a {
    font-size: 16px;
  }

  .mega-wrap {
    display: none !important;
  }

  /* ── 모바일 히어로: aspect-ratio 풀배너 스타일 ── */
  .hero {
    padding: 0 0 28px;
  }

  .hero-card {
    /* 고정 높이 대신 16:9 비율로 자연스럽게 */
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 300px;
    min-height: 200px;
    border-radius: 0 0 28px 28px;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0 20px 20px;
    /* 배지를 하단에 배치 */
    justify-content: flex-end;
    /* 컨테이너 좌우 여백 무시 → 풀너비 */
    width: calc(100% + 26px);
    margin-left: -13px;
    box-shadow: 0 8px 28px rgba(43, 127, 116, 0.2);
  }

  .hero-rolling {
    border-radius: 0 0 28px 28px;
  }

  .badge {
    font-size: 11px;
    padding: 5px 10px;
    gap: 6px;
  }

  .consult-side {
    height: auto;
  }

  .grid-4,
  .service-bands {
    grid-template-columns: 1fr;
  }

  .hours-card {
    padding: 18px 16px;
  }

  .clinic-info-wrap {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .hours-card,
  .policy-row {
    grid-column: auto;
    grid-row: auto;
  }

  .hours-dept {
    font-size: 1.2rem;
  }

  .hours-board p {
    font-size: 0.97rem;
    gap: 10px;
  }

  .hours-board p span {
    min-width: 58px;
  }

  .hours-lunch {
    font-size: 0.96rem;
  }

  .policy-row { gap: 12px; }

  .policy-btn {
    font-size: 0.95rem;
    min-height: 52px;
  }
}

/* ===== 로그인 모달 ===== */
.login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.login-overlay.open {
  display: flex;
}
.login-modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 34px 32px;
  width: 360px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.login-modal h2 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 26px;
  text-align: center;
  font-weight: 700;
}
.login-field {
  margin-bottom: 14px;
}
.login-field label {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.login-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
  color: var(--ink);
}
.login-field input:focus {
  border-color: var(--mint-700);
}
.login-err {
  color: #d64;
  font-size: 12px;
  min-height: 18px;
  margin-bottom: 10px;
}
.login-btns {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.btn-submit-login {
  flex: 1;
  background: var(--mint-700);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.btn-submit-login:hover { background: var(--mint-900, #1a5c56); }
.btn-cancel-login {
  flex: 1;
  background: #f0f4f3;
  color: var(--ink);
  border: 0;
  border-radius: 9px;
  padding: 11px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.btn-cancel-login:hover { background: #e2eae8; }

/* ===== 유틸리티 로그인/로그아웃 토글 ===== */
.link-logout { display: none; }
body.is-admin .link-logout { display: inline; }
body.is-admin .link-login { display: none; }

.admin-badge {
  background: var(--mint-700);
  color: #fff;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 5px;
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ===== 어드민 게시판 컨트롤 ===== */
.consult-list li {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.post-content { flex: 1; }
.admin-actions {
  display: none;
  gap: 6px;
  margin-top: 6px;
}
body.is-admin .admin-actions { display: flex; }

.btn-admin-edit,
.btn-admin-delete {
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 5px;
  border: 1px solid;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
  font-weight: 600;
}
.btn-admin-edit  { border-color: var(--mint-700); color: var(--mint-700); }
.btn-admin-edit:hover  { background: var(--mint-700); color: #fff; }
.btn-admin-delete { border-color: #d55; color: #d55; }
.btn-admin-delete:hover { background: #d55; color: #fff; }

.edit-form { display: flex; flex-direction: column; gap: 7px; }
.edit-form input,
.edit-form textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.edit-form input:focus,
.edit-form textarea:focus { border-color: var(--mint-700); }
.edit-form textarea { resize: vertical; min-height: 52px; }
.edit-form-btns { display: flex; gap: 6px; }
.btn-save-post {
  background: var(--mint-700);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.btn-cancel-edit {
  background: #eef1f0;
  color: var(--ink);
  border: 0;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  cursor: pointer;
}
