:root {
  --navy: #062b52;
  --deep: #041d3a;
  --mint: #36b8b4;
  --mint-dark: #198f8b;
  --bg: #f5f8fa;
  --text: #1f2933;
  --muted: #6b7280;
  --line: #dbe5ec;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(4, 29, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 한국어 단어가 음절 중간에서 잘리지 않도록 하고, 긴 주소·이메일만 안전하게 줄바꿈합니다. */
a,
p,
li,
dt,
dd,
th,
td,
label,
button,
h1,
h2,
h3,
strong,
span {
  word-break: keep-all;
}

input,
textarea,
.copy-line,
.detail-list dd {
  overflow-wrap: anywhere;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 236, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-weight: 800;
  font-size: 24px;
}

.brand-logo {
  width: 152px;
  height: 54px;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--mint));
  font-size: 17px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  color: #263747;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-bottom: 2px solid transparent;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--navy);
  border-color: var(--mint);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle[aria-current="page"],
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--navy);
  border-color: var(--mint);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 150px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -6px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  border: 0;
  background: #eef8f8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(6, 43, 82, 0.2);
}

.btn.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(6, 43, 82, 0.18);
}

.btn.mint {
  background: var(--mint);
  color: #042b31;
}

.section {
  padding: 96px 0;
}

.section.soft {
  background: var(--bg);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 64px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: #445464;
  font-size: 19px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 29, 58, 0.94) 0%, rgba(4, 29, 58, 0.78) 42%, rgba(4, 29, 58, 0.2) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 110px;
  color: var(--white);
}

.hero h1,
.hero .eyebrow {
  color: var(--white);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}

.hero-keywords span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 650;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  padding: 86px 0 70px;
  background: linear-gradient(135deg, var(--deep), var(--navy));
  color: var(--white);
}

.page-hero h1,
.page-hero h2,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.84);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(4, 29, 58, 0.06);
}

.feature-card {
  padding: 30px;
}

.feature-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e7f7f6;
  color: var(--mint-dark);
  font-weight: 850;
}

.feature-card p {
  margin: 14px 0 18px;
  color: #455667;
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #344556;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

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

.section-head p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
}

.cta-band {
  padding: 54px;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.78);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #344556;
  font-weight: 750;
  cursor: pointer;
}

.tab.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-visual {
  aspect-ratio: 20 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071a2e;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.appliance {
  width: 154px;
  height: 76px;
  border: 16px solid rgba(6, 43, 82, 0.88);
  border-top-width: 20px;
  border-radius: 50% 50% 46% 46% / 64% 64% 42% 42%;
  box-shadow: inset 0 0 0 8px rgba(54, 184, 180, 0.18), 0 18px 28px rgba(4, 29, 58, 0.12);
}

.appliance.sport {
  border-color: rgba(54, 184, 180, 0.88);
}

.appliance.dual {
  border-color: rgba(6, 43, 82, 0.86);
  box-shadow: inset 0 0 0 11px rgba(54, 184, 180, 0.45), 0 18px 28px rgba(4, 29, 58, 0.12);
}

.product-body {
  flex: 1;
  padding: 24px;
}

.product-body p {
  min-height: 3.3em;
  margin: 10px 0 16px;
  color: #536272;
}

.order-card {
  padding: 30px;
}

.order-card .meta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #e7f7f6;
  color: var(--mint-dark);
  font-weight: 800;
  font-size: 13px;
}

.info-box {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.copy-line {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: 16px;
}

.copy-line .btn {
  min-width: 72px;
  white-space: nowrap;
}

.copy-line input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--white);
  color: #344556;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 28px;
  align-items: start;
}

.consent,
.form-card {
  padding: 30px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}

.privacy-table th {
  background: var(--bg);
  color: var(--deep);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label,
.choice-group legend {
  color: #263747;
  font-weight: 750;
}

.required {
  color: #d14343;
}

.required-mark {
  color: #d14343;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--text);
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(54, 184, 180, 0.22);
  border-color: var(--mint);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.choice input {
  width: auto;
}

.form-note {
  padding: 18px;
  margin: 22px 0;
  border-radius: 8px;
  background: #fff8e8;
  color: #66522a;
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #e7f7f6;
  color: #0f5958;
  font-weight: 750;
}

.form-message.show {
  display: block;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  background: var(--white);
  color: var(--deep);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--mint-dark);
  font-size: 24px;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: #455667;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer strong { color: var(--deep); font-weight: 800; }

.faq-answer-toolbar {
  display: flex;
  margin: 6px 0;
}

.faq-answer-toolbar button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--deep);
  cursor: pointer;
}

.faq-answer-toolbar button:hover,
.faq-answer-toolbar button:focus-visible { border-color: var(--mint); background: #effafa; }

.site-footer {
  padding: 44px 0;
  background: #03172d;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.notice-list {
  border-top: 2px solid var(--navy);
}

.notice-board {
  border-bottom: 1px solid var(--line);
}

.notice-board-head,
.notice-summary {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 150px;
  align-items: center;
}

.notice-board-head {
  min-height: 54px;
  color: var(--navy);
  background: #f5f8fa;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.notice-summary {
  width: 100%;
  min-height: 66px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.notice-summary:hover {
  background: #f8fbfc;
}

.notice-summary strong {
  padding: 16px 20px;
  color: var(--deep);
  font-size: 16px;
}

.notice-number,
.notice-summary time {
  text-align: center;
}

.notice-content {
  display: none;
  padding: 26px clamp(24px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
  background: #f8fbfc;
  color: #405163;
}

.notice-content img {
  display: block;
  width: min(100%, 760px);
  max-height: 640px;
  margin: 0 auto 24px;
  border-radius: 8px;
  object-fit: contain;
}

.notice-row.open .notice-content {
  display: block;
}

.notice-detail-hero {
  padding: 48px 0;
}

.notice-detail-hero h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: clamp(34px, 5vw, 52px);
}

.notice-detail-container {
  max-width: 960px;
}

.notice-detail {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.notice-detail-head {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.notice-detail-head h1 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
}

.notice-detail-head time {
  color: var(--muted);
  font-size: 14px;
}

.notice-detail-body {
  min-height: 260px;
  padding: clamp(28px, 5vw, 54px) clamp(22px, 6vw, 70px);
  color: #405163;
  line-height: 1.9;
}

.notice-detail-body img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 760px;
  margin: 0 auto 34px;
  object-fit: contain;
}

.notice-detail-text {
  overflow-wrap: anywhere;
}

.notice-detail-error {
  margin: 0;
  padding: 80px 24px;
  color: var(--muted);
  text-align: center;
}

.notice-detail-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-list-item {
  border-bottom: 1px solid var(--line);
}

.news-list-item > a {
  display: grid;
  grid-template-columns: minmax(240px, 31%) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  padding: 32px 0;
}

.news-list-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #edf3f6;
}

.news-list-thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.news-list-item > a:hover .news-list-thumb > img {
  transform: scale(1.025);
}

.news-list-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.news-list-placeholder img {
  width: 45%;
  height: auto;
}

.instagram-list-placeholder {
  gap: 6px;
  align-content: center;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.instagram-list-placeholder span { font-size: 42px; line-height: 1; }
.instagram-list-placeholder strong { font-size: 15px; letter-spacing: .03em; }

.news-list-copy time {
  color: #57718a;
  font-size: 13px;
}

.news-list-copy h2 {
  margin: 14px 0 12px;
  color: var(--deep);
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 500;
  line-height: 1.45;
}

.news-list-copy p {
  margin: 0 0 22px;
  color: #617284;
  font-size: 16px;
  line-height: 1.8;
}

.news-list-copy span {
  color: var(--navy);
  font-weight: 750;
}

.news-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(4, 29, 58, 0.07);
}

.news-card a,
.news-card-copy {
  height: 100%;
}

.news-card-copy {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.news-card time,
.news-article-head time,
.news-post-head time {
  color: var(--mint-dark);
  font-size: 14px;
  font-weight: 700;
}

.news-card h2 {
  margin: 16px 0 12px;
  color: var(--deep);
  font-size: 22px;
  line-height: 1.45;
}

.news-card p {
  margin: 0 0 24px;
  color: #536272;
}

.news-card span {
  margin-top: auto;
  color: var(--navy);
  font-weight: 800;
}

.news-article-head {
  padding: 72px 0 54px;
  background: var(--deep);
  color: var(--white);
}

.news-article-head h1 {
  max-width: 900px;
  margin: 12px 0 18px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
}

.news-article-head p {
  max-width: 800px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.news-section-hero h2 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.25;
}

.news-post-head {
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.news-post-head .container {
  max-width: 900px;
}

.news-post-head h1 {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.35;
}

.news-post-head p {
  max-width: 800px;
  margin: 0 0 18px;
  color: #617284;
  font-size: 18px;
}

.news-detail-section {
  padding: 38px 0 72px;
  background: #f6f8fa;
}

.news-back-link {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--deep);
  font-weight: 800;
}

.news-back-link:hover {
  color: var(--mint-dark);
}

.news-article-card {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(4, 29, 58, 0.07);
}

.news-article-card .news-post-head {
  padding: 48px 58px 34px;
  border-bottom: 1px solid var(--line);
}

.news-article-card .news-article-body {
  width: 100%;
  max-width: none;
  padding: 48px 58px 54px;
}

@media (max-width: 640px) {
  .news-detail-section { padding: 24px 0 48px; }
  .news-article-card .news-post-head { padding: 34px 22px 26px; }
  .news-article-card .news-article-body { padding: 34px 22px 42px; }
}

.news-article-body {
  max-width: 900px;
  padding-top: 60px;
  padding-bottom: 30px;
}

.news-prose {
  margin: 0 0 34px;
  color: #344556;
  font-size: 18px;
  line-height: 1.95;
}

.news-article-body figure {
  margin: 46px 0;
}

.news-article-body figure img {
  width: auto;
  max-width: 100%;
  max-height: 820px;
  margin: 0 auto;
  border-radius: 8px;
}

.youtube-placeholder,
.news-video iframe {
  width: min(100%, 840px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
}

.instagram-placeholder,
.news-video iframe.instagram-embed-frame {
  display: grid;
  width: min(100%, 540px);
  aspect-ratio: 9 / 14;
  margin: 0 auto;
  border: 0;
  border-radius: 12px;
}

.instagram-placeholder {
  position: relative;
  place-content: center;
  gap: 10px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(145deg, #4c1d95, #c026d3 42%, #f43f5e 72%, #f59e0b);
}

.instagram-placeholder .instagram-mark { font-size: 72px; line-height: 1; }
.instagram-placeholder strong { font-size: 24px; }
.instagram-placeholder > span:not(.instagram-mark):not(.instagram-play) { opacity: .9; }
.instagram-placeholder .instagram-play { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.42); }

.youtube-placeholder {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.youtube-placeholder img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.youtube-play,
.news-video-preview span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #ff0033;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.news-article-body figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.news-article-actions {
  display: flex;
  justify-content: center;
  padding-bottom: 70px;
}

.news-block-toolbar,
.news-editor-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-block-toolbar {
  margin: 26px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f5f8fa;
}

.news-block-toolbar > div,
.news-editor-block-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-block-editor {
  display: grid;
  gap: 0;
  max-width: 900px;
  min-height: 360px;
  margin: 0 auto 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(219, 229, 236, 0.25);
}

.news-editor-block {
  position: relative;
  padding: 34px 0 24px;
  border: 0;
  border-bottom: 1px dashed #dbe5ec;
  background: var(--white);
}

.news-editor-block-head {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  color: var(--muted);
  font-size: 12px;
  opacity: 0.55;
  transition: opacity 0.18s ease;
}

.news-editor-block:hover .news-editor-block-head,
.news-editor-block:focus-within .news-editor-block-head {
  opacity: 1;
}

.editor-icon-button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.editor-icon-button.danger {
  color: #c0392b;
}

.editor-icon-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.news-inline-text {
  width: 100%;
  min-height: 180px;
  padding: 18px 4px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: #344556;
  font-size: 18px;
  line-height: 1.9;
}

.news-inline-text:focus {
  box-shadow: inset 3px 0 0 var(--mint);
}

.news-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f8fafc;
}

.news-rich-toolbar button,
.news-rich-toolbar select {
  width: auto;
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: #263747;
  cursor: pointer;
}

.news-color-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.news-color-control input {
  width: 24px;
  height: 24px;
  padding: 2px;
  border: 0;
}

.news-rich-text {
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  padding: 18px;
}

.news-rich-text:empty::before {
  content: attr(data-placeholder);
  color: #97a5b2;
  pointer-events: none;
}

.news-editor-preview {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  margin: 8px auto 18px;
  object-fit: contain;
}

.news-resizable-image,
.news-image-block {
  position: relative;
  margin-left: auto !important;
  margin-right: auto !important;
}

.news-resizable-image .news-editor-preview,
.news-image-block > img {
  width: 100%;
  height: auto;
}

.media-width-30 { width: 30%; }
.media-width-35 { width: 35%; }
.media-width-40 { width: 40%; }
.media-width-45 { width: 45%; }
.media-width-50 { width: 50%; }
.media-width-55 { width: 55%; }
.media-width-60 { width: 60%; }
.media-width-65 { width: 65%; }
.media-width-70 { width: 70%; }
.media-width-75 { width: 75%; }
.media-width-80 { width: 80%; }
.media-width-85 { width: 85%; }
.media-width-90 { width: 90%; }
.media-width-95 { width: 95%; }
.media-width-100 { width: 100%; }

.news-resize-handle {
  position: absolute;
  right: -9px;
  bottom: 9px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--mint-dark);
  box-shadow: 0 2px 8px rgba(4, 29, 58, 0.3);
  cursor: ew-resize;
  touch-action: none;
}

.news-resize-handle::before {
  content: "↔";
  display: block;
  color: var(--white);
  font-size: 12px;
  line-height: 17px;
  text-align: center;
}

.news-resize-help {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.news-image-drop {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.news-image-drop span {
  display: block;
  font-size: 13px;
}

.news-file-field,
.news-image-meta {
  margin-top: 16px;
}

.news-thumbnail-choice {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 6px 10px;
  border: 1px solid #cde6e5;
  border-radius: 8px;
  background: #eef9f8;
  font-size: 13px;
}

.news-thumbnail-choice .admin-muted {
  margin-left: 6px;
  font-weight: 400;
}

.news-drag-handle {
  cursor: grab;
  user-select: none;
}

.news-editor-block.dragging {
  opacity: 0.45;
}

.news-editor-block.drag-over {
  border-top: 3px solid var(--mint);
}

.news-category-manager,
.news-extra-editor {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.news-composer {
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.news-composer-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f6f9fb;
}

.composer-toolbar-divider {
  width: 1px;
  height: 26px;
  margin: 0 3px;
  background: var(--line);
}

.composer-media-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.composer-media-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-taxonomy-fields {
  margin-top: 30px;
  margin-bottom: 26px;
}

.news-taxonomy-fields .field {
  grid-template-rows: auto 20px 48px;
  align-content: start;
  gap: 8px;
}

.news-basic-field {
  margin-top: 24px;
}

.news-summary-field {
  margin-top: 28px;
}

.news-summary-field textarea {
  margin-top: 4px;
}

.news-taxonomy-fields select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.news-taxonomy-fields select:focus {
  outline: 3px solid rgba(54, 184, 180, 0.22);
  border-color: var(--mint);
}

.news-composer-canvas {
  width: min(100%, 900px);
  min-height: 620px;
  margin: 0 auto;
  padding: 34px clamp(22px, 5vw, 64px) 80px;
  background: var(--white);
}

.composer-text {
  min-height: 90px;
  padding: 10px 4px;
  border: 0;
  outline: 0;
  line-height: 1.85;
}

.composer-text-wrap {
  position: relative;
}


.composer-text:focus {
  background: #fbfdfd;
  box-shadow: inset 3px 0 0 var(--mint);
}

.composer-text hr,
.news-prose hr {
  height: 0;
  margin: 28px 0;
  border: 0;
  border-top: 1px solid #e6edf2;
  background: transparent;
}

.composer-media {
  position: relative;
  margin: 22px auto;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
  cursor: grab;
}

.composer-media.dragging { opacity: 0.45; }
.composer-drop-target { box-shadow: 0 -3px 0 var(--mint); }

.composer-media:hover,
.composer-media:focus-within {
  border-color: #b9dddc;
  background: #f8fbfc;
}

.composer-media img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.composer-media-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 8px;
}

.composer-media-actions button {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  cursor: pointer;
}

.composer-media-actions button.active {
  border-color: var(--mint);
  color: #087b78;
  background: #eaf7f6;
}

.composer-thumbnail-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  cursor: pointer;
}

.composer-thumbnail-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--mint-dark);
}

.composer-insert-line {
  position: relative;
  height: 18px;
  margin: 1px 0;
}

.composer-insert-line::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: transparent;
}

.composer-insert-line button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  transform: translate(-50%, -50%) scale(.75);
  visibility: hidden;
  opacity: 0;
  border: 1px solid var(--mint-dark);
  border-radius: 50%;
  background: white;
  color: var(--mint-dark);
  font-size: 20px;
  line-height: 26px;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}

.composer-insert-line:hover::before,
.composer-insert-line:focus-within::before {
  background: #b9dddc;
}

.composer-insert-line:hover button,
.composer-insert-line button:focus-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.composer-image-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.composer-image-fields input,
.composer-video > input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.composer-video > input {
  width: 100%;
  margin-top: 8px;
}

.category-dialog {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(4, 29, 58, .22);
}

.category-dialog::backdrop { background: rgba(4, 29, 58, .4); }

.category-dialog .icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #506273;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.category-dialog .icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.category-dialog .icon-button:hover,
.category-dialog .icon-button:focus-visible {
  color: var(--deep);
  background: #edf3f6;
}

.category-dialog .icon-button:active { transform: scale(.94); }

.category-dialog .news-category-manager {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.inline-admin-control,
.category-chips,
.news-post-meta,
.news-tag-list,
.news-category-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.inline-admin-control input {
  flex: 1;
}

.category-chips {
  margin-top: 10px;
}

.category-chips {
  display: grid;
  gap: 8px;
}

.category-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.category-manage-row > div:first-child {
  display: grid;
  gap: 3px;
}

.category-manage-row > div:first-child span {
  color: var(--muted);
  font-size: 12px;
}

.category-manage-row .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.news-draft-section {
  margin: 20px 0 24px;
  padding: 16px;
  border: 1px solid #b9dddc;
  border-radius: 9px;
  background: #f2fbfa;
}

.news-draft-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.news-draft-rows {
  display: grid;
  gap: 7px;
}

.news-draft-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 7px;
  background: white;
}

.news-draft-row > button:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--deep);
  text-align: left;
  cursor: pointer;
}

.news-draft-row > button:first-child span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.category-chip,
.table-category,
.news-category-label,
.news-tag-list span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf7f6;
  color: #087b78;
  font-size: 12px;
}

.category-chip button {
  border: 0;
  background: transparent;
  color: #087b78;
  cursor: pointer;
}

.table-category {
  margin-left: 8px;
}

.news-extra-row,
.news-faq-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 8px;
  margin-top: 10px;
  align-items: start;
}

.news-faq-row {
  grid-template-columns: 1fr 1.6fr auto;
}

.news-faq-row textarea {
  min-height: 80px;
}

.news-category-filters {
  margin-bottom: 28px;
}

.news-category-filters a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.news-category-filters a[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.news-post-meta {
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.news-post-head .news-tag-list {
  gap: 10px;
  margin-top: 16px;
}

.news-post-head .news-tag-list span {
  padding: 5px 10px;
}

.news-post-meta .copy-link-button {
  min-width: 68px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--deep);
  cursor: pointer;
}

.copy-link-button:hover,
.copy-link-button:focus-visible {
  border-color: var(--mint);
  color: #087b78;
  background: #effafa;
}

.news-toc,
.news-sources,
.news-article-faq,
.news-related {
  margin: 32px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfc;
}

.news-toc ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.news-toc .h3 {
  margin-left: 18px;
}

.news-prose h2,
.news-prose h3 {
  scroll-margin-top: 110px;
  color: var(--deep);
}

.news-prose h2 { margin: 42px 0 16px; font-size: 28px; }
.news-prose h3 { margin: 32px 0 14px; font-size: 22px; }
.news-prose blockquote { margin: 24px 0; padding: 14px 18px; border-left: 4px solid var(--mint); background: #f4fbfa; }
.news-prose hr { margin: 28px 0; border: 0; border-top: 1px solid #e6edf2; }
.news-prose a { color: #087b78; text-decoration: underline; }

.news-article-faq details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-article-faq summary {
  font-weight: 800;
  cursor: pointer;
}

.news-cta {
  margin: 36px 0;
  text-align: center;
}

.news-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-related a {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.news-related a span {
  color: var(--muted);
  font-size: 13px;
}

.news-post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  align-items: stretch;
}

.news-post-nav a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-post-next { text-align: right; }

.news-post-list {
  display: grid;
  place-items: center;
  min-width: 130px;
  color: var(--deep);
  font-weight: 800;
}

.news-post-empty {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafb;
}

.news-post-empty.next { text-align: right; }

.news-detail-list {
  margin: 42px 0 20px;
}

.news-detail-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--deep);
}

.news-detail-list-head h2 { margin: 0; font-size: 22px; }
.news-detail-list-head a { color: var(--deep); font-weight: 800; }

.news-detail-list > div > a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 130px;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.news-detail-list > div > a > span,
.news-detail-list time { color: var(--muted); font-size: 13px; }
.news-detail-list time { text-align: right; }
.news-detail-list > div > a.current { background: #f0f9f8; }
.news-detail-list > div > a.current > span { color: #087b78; font-weight: 800; }

.news-image-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #f8fbfc;
}

.news-video-preview {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  margin: 18px auto;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.news-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-admin-preview {
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
}

.instagram-admin-preview .instagram-admin-mark { position: static; width: auto; height: auto; transform: none; background: none; box-shadow: none; font-size: 48px; }
.instagram-admin-preview strong { font-size: 22px; }
.instagram-admin-preview small { opacity: .9; }

.news-block-empty {
  padding: 36px;
  border: 1px dashed var(--line);
  text-align: center;
}

.notice-empty {
  margin: 0;
  padding: 64px 20px;
  color: var(--muted);
  text-align: center;
}

.notice-summary time,
.admin-muted {
  color: var(--muted);
  font-size: 14px;
}

.admin-layout {
  min-height: 100vh;
  background: var(--bg);
}

.admin-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: start;
}

.admin-card {
  padding: 22px;
}

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 680px;
  overflow: auto;
}

.admin-list-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-list-item h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.login-box {
  width: min(420px, calc(100% - 32px));
  margin: 10vh auto;
  padding: 30px;
}

.login-box .btn {
  display: flex;
  width: fit-content;
  margin: 18px auto 0;
}

.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f7f6;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
}

.status-pill.warning {
  background: #fff4e5;
  color: #9a5800;
}

.settings-card {
  max-width: 760px;
}

.mail-setting-info {
  display: grid;
  gap: 4px;
  margin: 20px 0;
  color: var(--muted);
}

.mail-setting-info strong {
  color: var(--deep);
}

.settings-card .info-box {
  margin: 20px 0;
}

.settings-card code {
  color: var(--navy);
  font-weight: 700;
}

.danger {
  border-color: #ffd4d4;
  background: #fff5f5;
  color: #b42318;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  background: #041d3a;
  color: rgba(255, 255, 255, 0.86);
}

.admin-brand {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  color: var(--white);
  margin-bottom: 28px;
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu-item {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.admin-menu-item:hover,
.admin-menu-item.active {
  background: rgba(54, 184, 180, 0.16);
  color: var(--white);
  border-color: rgba(54, 184, 180, 0.32);
}

.admin-sidebar-foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.admin-content {
  min-width: 0;
  padding: 30px;
}

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

.admin-header h1 {
  font-size: 34px;
}

.board-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.board-form {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.board-head h2 {
  font-size: 26px;
}

.notice-editor {
  display: grid;
  gap: 20px;
  max-width: 900px;
}

.notice-image-preview {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.notice-image-preview img {
  width: min(100%, 560px);
  max-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #f5f8fa;
}

.editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.board-head p {
  margin: 8px 0 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--white);
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f8fafc;
  color: #344556;
  font-size: 13px;
  font-weight: 850;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.clickable-admin-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.clickable-admin-row:hover,
.clickable-admin-row:focus-visible {
  background: #f1f8f8;
  outline: none;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover,
.admin-table tbody tr:hover {
  background: #f7fbfb;
}

.empty-cell {
  padding: 28px !important;
  color: var(--muted);
  text-align: center !important;
}

.btn.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 0;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.link-button:hover {
  color: var(--mint-dark);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #344556;
  font-weight: 750;
  cursor: pointer;
}

.page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #344556;
}

.switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint-dark);
}

.admin-dialog {
  width: min(680px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.admin-dialog::backdrop {
  background: rgba(4, 29, 58, 0.45);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  font-size: 24px;
}

.dialog-body {
  padding: 22px;
  color: #344556;
}

.detail-image {
  display: block;
  width: min(100%, 560px);
  max-height: 420px;
  margin: 18px auto;
  border-radius: 8px;
  object-fit: contain;
}

.detail-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 18px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}

.phone-pill {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid #b8c8d8;
  border-radius: 999px;
  color: var(--deep);
  font-size: 17px;
  font-weight: 850;
}

.apply-section {
  padding: 88px 0;
  background: #f3f7fa;
}

.apply-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.sample-contact-section { min-height: 420px; }

.sample-contact-card {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) clamp(24px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(4, 29, 58, .08);
  text-align: center;
}

.sample-contact-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.sample-contact-description {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

.sample-contact-phone {
  display: inline-block;
  color: var(--deep);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  letter-spacing: -.03em;
  text-decoration: none;
}

.sample-contact-phone:hover,
.sample-contact-phone:focus-visible { color: var(--mint-dark); }

.sample-contact-hours {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.sample-contact-hours strong { color: var(--deep); }

.apply-side {
  display: grid;
  gap: 16px;
}

.apply-info-card,
.apply-form-card {
  border: 1px solid #d8e3eb;
  border-radius: 20px;
  background: var(--white);
}

.apply-info-card {
  padding: 28px;
}

.apply-info-card h2,
.apply-form-block h2 {
  position: relative;
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.35;
}

.apply-info-card p {
  margin: 0;
  color: #647386;
}

.apply-form-card {
  padding: 48px 44px;
}

.apply-form-block {
  margin-bottom: 34px;
}

.apply-form-block h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 14px;
  background: var(--deep);
}

.form-help {
  margin: 0 0 16px;
  color: var(--deep);
  font-weight: 800;
}

.form-help span,
.apply-field em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
}

.pill-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-choices label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #d8e3eb;
  border-radius: 999px;
  background: #f6f9fb;
  color: var(--deep);
  font-weight: 800;
}

.pill-choices input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint-dark);
}

.apply-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.apply-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  color: var(--deep);
  font-weight: 850;
}

.apply-field.wide {
  grid-column: 1 / -1;
}

.apply-field input,
.apply-field textarea {
  flex: 0 0 100%;
  min-height: 46px;
  border-color: #d8e3eb;
  border-radius: 10px;
  background: #f6f9fb;
  color: #344556;
}

.apply-field textarea {
  min-height: 96px;
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.address-row .btn {
  min-width: 96px;
  min-height: 46px;
  border-radius: 999px;
}

.route-choices {
  margin-top: 14px;
}

.apply-warning {
  padding: 20px;
  margin-bottom: 28px;
  border: 1px solid #f4cc7a;
  border-radius: 12px;
  background: #fff8e8;
  color: #6f4b10;
  font-weight: 650;
}

.apply-warning p {
  margin: 0;
}

.apply-warning p + p {
  margin-top: 6px;
}

.apply-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 22px;
  margin-bottom: 36px;
  border-radius: 12px;
  background: #f6f9fb;
  color: var(--deep);
  font-weight: 850;
}

.apply-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint-dark);
}

.apply-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #062b52;
  box-shadow: 0 14px 26px rgba(54, 184, 180, 0.28);
  font-weight: 900;
  cursor: pointer;
}

.selected-test-product {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(54, 184, 180, 0.45);
  border-radius: 8px;
  background: #f1fbfa;
}

.selected-test-product strong {
  color: var(--navy);
  font-size: 18px;
}

.selected-test-product span {
  color: var(--muted);
}

.success-dialog {
  width: min(440px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 34px 30px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-dialog::backdrop {
  background: rgba(4, 29, 58, 0.55);
}

.success-dialog-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
}

.success-dialog h2 {
  color: var(--deep);
  font-size: 25px;
}

.success-dialog p {
  margin: 12px 0 24px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar-foot,
  .admin-menu {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 20px 14px 60px;
  }

  .admin-header,
  .board-head {
    display: block;
  }

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

  .board-form {
    position: static;
  }

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

  .apply-side {
    order: 2;
  }

  .apply-form-card {
    padding: 32px 24px;
  }

  .apply-field-grid {
    grid-template-columns: 1fr;
  }

  .phone-pill {
    display: none;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    height: 64px;
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    width: 120px;
    height: 43px;
  }

  .nav-links,
  .nav-actions .desktop-cta {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 64px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
  }

  .nav-links.open > a {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    padding: 2px 0 2px 14px;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    box-shadow: none;
  }

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

  .news-list-item > a {
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  }

  .news-image-block,
  .news-resizable-image {
    width: 100%;
  }

  .grid.three,
  .grid.two,
  .product-grid,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(4, 29, 58, 0.95) 0%, rgba(4, 29, 58, 0.86) 58%, rgba(4, 29, 58, 0.42) 100%);
  }

  .hero-content {
    padding: 56px 0 96px;
  }

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

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

@media (max-width: 560px) {
  .container,
  .hero-content,
  .nav {
    width: calc(100% - 28px);
  }

  .section {
    padding: 68px 0;
  }

  .page-hero {
    padding: 62px 0 52px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-logo {
    width: 110px;
    height: 40px;
  }

  .notice-board-head,
  .notice-summary {
    grid-template-columns: 48px minmax(0, 1fr) 92px;
  }

  .notice-board-head {
    min-height: 46px;
    font-size: 12px;
  }

  .notice-summary {
    min-height: 60px;
  }

  .notice-summary strong {
    padding: 14px 10px;
    font-size: 14px;
  }

  .notice-summary time,
  .notice-number {
    font-size: 12px;
  }

  .notice-content {
    padding: 22px 18px;
    font-size: 14px;
  }

  .news-image-meta {
    grid-template-columns: 1fr;
  }

  .news-list-item > a {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-block-toolbar {
    position: static;
    display: block;
  }

  .news-block-toolbar > div {
    margin-top: 10px;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .copy-line {
    width: 100%;
  }

  .copy-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .feature-card,
  .order-card,
  .consent,
  .form-card {
    padding: 24px;
  }

  .address-row {
    grid-template-columns: 1fr;
  }
}
