/* ==================================================
   메인 페이지 기본 스타일
   원장 소개 · 자격증 및 경력 · 프로그램 · 재활운동 4단계
================================================== */

/* 기본 화면에서는 강제 줄바꿈을 사용하지 않음 */
.intro-desc-break {
  display: none;
}

/* ==================================================
   원장 소개
================================================== */

.director {
  background: #f5f7eb;
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.director-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  gap: 72px;
  padding: 0 40px;
  box-sizing: border-box;
}

.director-container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0;
  box-sizing: border-box;
}

.director-container + .director-container {
  padding-top: 72px;
  border-top: 1px solid rgba(162, 191, 74, 0.24);
}

.director-photo {
  width: min(520px, 42vw);
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 26px;
  border: 4px solid #a2bf4a;
  box-shadow: 0 8px 32px rgba(163, 184, 93, 0.12);
  background: #fff;
  margin: 0;
}

.director-info {
  flex: 1;
  text-align: left;
  align-self: flex-start;
  padding: 0 8px 0 8px;
  max-width: 720px;
}

.director-title {
  font-size: 1.1rem;
  color: #a2bf4a;
  font-weight: 700;
  margin-bottom: 10px;
  white-space: nowrap;
}

.director-name {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 900;
  color: #42592b;
  margin-bottom: 14px;
}

.director-bio {
  font-size: 1.06rem;
  color: #333;
  line-height: 1.9;
  word-break: keep-all;
}

.director-bio p {
  margin: 0 0 14px 0;
}

.director-bio ul {
  margin: 13px 0 10px 18px;
  padding: 0;
}

.director-bio li {
  font-size: 1.01rem;
  margin-bottom: 3px;
}

.director-phrase {
  font-size: 1.14rem;
  margin-top: 13px;
  color: #49751f;
  font-weight: 600;
  line-height: 1.6;
}

.highlight {
  color: #a2bf4a;
  font-weight: bold;
}

/* ==================================================
   원장 소개 - 태블릿 전용 디자인
================================================== */

@media screen and (min-width: 701px) and (max-width: 1100px) {
  .director {
    padding: 72px 0 78px;
  }

  .director-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 46px;
    gap: 64px;
    box-sizing: border-box;
  }

  .director-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
    padding: 0;
  }

  .director-container + .director-container {
    padding-top: 64px;
    border-top: 1px solid rgba(162, 191, 74, 0.22);
  }

  /* 윤수진 원장도 태블릿에서는 사진 먼저 */
  .director-container:nth-child(2) .director-photo {
    order: 1;
  }

  .director-container:nth-child(2) .director-info {
    order: 2;
  }

  .director-photo {
    width: 100%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 5 / 4;
    margin: 0 auto;
    object-fit: cover;
  }

  .director-info {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 34px 30px;
    box-sizing: border-box;

    align-self: auto;
    background: #ffffff;
    border: 1px solid rgba(162, 191, 74, 0.22);
    border-radius: 22px;
    box-shadow: 0 7px 22px rgba(38, 62, 25, 0.055);
  }

  .director-name {
    margin-top: 0 !important;
    margin-bottom: 7px;
    color: #42592b;
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
  }

  .director-title {
    margin-bottom: 21px !important;
    padding-bottom: 17px;

    font-size: 1rem !important;
    line-height: 1.45;
    text-align: center;
    white-space: normal;

    border-bottom: 1px solid #e5eadb;
  }

  .director-bio {
    width: 100%;
    margin: 0;
  }

  .director-bio > div {
    width: 100%;
    margin: 0 !important;

    color: #444444 !important;
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
    letter-spacing: -0.018em;

    text-align: left;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .director-bio p {
    position: relative;
    margin: 0 0 16px;
    padding-left: 13px;
  }

  .director-bio p:last-child {
    margin-bottom: 0;
  }

  /* 태블릿에서 문단 시작점을 명확하게 */
  .director-bio p::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;

    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a2bf4a;
  }

  /* HTML에서 지정한 데스크톱용 줄바꿈 제거 */
  .director-bio br {
    display: none;
  }
}

@media (max-width: 700px) {
  .director-list {
    gap: 56px;
    padding: 0 16px;
  }

  .director-container {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 0;
  }

  .director-container + .director-container {
    padding-top: 56px;
  }

  .director-photo {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 5 / 4;
  }

  .director-info {
    align-self: stretch;
    text-align: left;
    padding: 0;
    max-width: 100%;
  }

  .director-name {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .director-bio {
    font-size: 1.02rem;
    line-height: 1.85;
  }
}

@media (max-width: 700px) {
  .director {
    padding: 64px 0 56px;
  }

  .director-list {
    gap: 42px;
    padding: 0 12px;
  }

  .director-container {
    gap: 18px;
    padding: 0;
  }

  .director-container + .director-container {
    padding-top: 42px;
  }

  .director-photo {
    width: 100%;
    max-width: 320px;
    border-width: 3px;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(163, 184, 93, 0.16);
  }

  .director-info {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(162, 191, 74, 0.22);
    border-radius: 24px;
    padding: 20px 16px 18px;
    box-shadow: 0 8px 20px rgba(38, 62, 25, 0.06);
    text-align: center;
  }

  .director-name {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 5.6vw, 1.8rem);
  }

  .director-title {
    font-size: clamp(12px, 4.3vw, 1.05rem) !important;
    white-space: normal;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .director-bio {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .director-bio p {
    margin-bottom: 10px;
  }
}

@media (max-width: 360px) {
  .director-title {
    font-size: clamp(10px, 4vw, 1.1rem) !important;
  }
}

/* ==================================================
   전문 자격증 및 경력
================================================== */

.certs {
  background: #e7efcc;
  padding: 64px 24px 58px;
  text-align: center;
  box-sizing: border-box;
}

.certs-title {
  font-size: 2.3rem;
  color: #42592b;
  font-weight: 900;
  margin-bottom: 34px;
  letter-spacing: -1.5px;
}

.certs-switcher {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.cert-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cert-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 18px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(120, 153, 107, 0.2);
  border-radius: 999px;
}

.cert-tab {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  min-width: 154px;
  padding: 11px 21px;
  border-radius: 999px;
  color: #617052;
  cursor: pointer;
  user-select: none;
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}

.cert-tab-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cert-tab-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: #7c8b6f;
}

#cert-sohn:checked ~ .cert-tabs label[for="cert-sohn"],
#cert-yun:checked ~ .cert-tabs label[for="cert-yun"] {
  background: #ffffff;
  color: #42592b;
  box-shadow: 0 4px 12px rgba(38, 62, 25, 0.08);
}

#cert-sohn:checked ~ .cert-tabs label[for="cert-sohn"] .cert-tab-role,
#cert-yun:checked ~ .cert-tabs label[for="cert-yun"] .cert-tab-role {
  color: #93ad49;
}

.cert-panels {
  position: relative;
}

.cert-panel {
  display: none;
  width: 100%;
  padding: 30px 34px 28px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 153, 107, 0.22);
  border-radius: 22px;
  box-shadow: 0 8px 26px rgba(38, 62, 25, 0.065);
  text-align: left;
}

#cert-sohn:checked ~ .cert-panels .cert-panel-sohn,
#cert-yun:checked ~ .cert-panels .cert-panel-yun {
  display: block;
}

.cert-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 11px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(66, 89, 43, 0.11);
}

.cert-panel-name {
  color: #42592b;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.cert-panel-subtitle {
  color: #96aa62;
  font-size: 0.9rem;
  font-weight: 700;
}

.cert-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
}

.cert-column {
  min-width: 0;
}

.cert-column-title {
  margin-bottom: 6px;
  padding-bottom: 11px;
  border-bottom: 2px solid rgba(162, 191, 74, 0.3);
  color: #78996b;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-align: center;
}

.cert-list {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-list li {
  position: relative;
  margin: 0;
  padding: 10px 4px 10px 18px;
  border-bottom: 1px solid rgba(66, 89, 43, 0.075);
  color: #30362c;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.cert-list li::before {
  content: "";
  position: absolute;
  top: 1.08em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a2bf4a;
}

/* ==================================================
   분당튼튼운동센터 프로그램
================================================== */

.program {
  background: #fff;
  padding: 70px 0 65px 0;
  display: flex;
  justify-content: center;
}

.program-inner {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.program-main-title {
  font-size: 2.5rem;
  color: #42592b;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
  text-align: center;
}

.program-quote {
  font-size: 1.2rem;
  color: #e3a528;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.program-descbox {
  background: #e8f5dc;
  color: #222;
  border-radius: 18px;
  padding: 32px 32px 32px 32px;
  margin-bottom: 44px;
  font-size: 1.13rem;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  box-sizing: border-box;
}

.program-features {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 34px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.feature-box {
  background: #fff;
  border: 2px solid #78996b;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgba(120, 153, 107, 0.09);
  padding: 34px 26px 30px 26px;
  width: 235px;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.16s;
}

.feature-box:hover {
  box-shadow: 0 10px 38px rgba(61, 79, 43, 0.19);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.16rem;
  color: #42592b;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.feature-desc {
  color: #41511e;
  font-size: 1rem;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .program-descbox,
  .program .feature-desc {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.65;
  }

  .program-descbox br,
  .program .feature-desc br {
    display: none;
  }
}

@media (max-width: 900px) {
  .program-quote {
    font-size: clamp(10px, 4vw, 1.1rem) !important;
    white-space: nowrap;
  }

  .program-features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature-box {
    width: 94vw;
    min-width: 0;
  }
}

/* ==================================================
   통증 완화를 위한 재활운동 4단계
================================================== */

.steps {
  background: #fffde9;
  padding: 60px 0 50px 0;
  text-align: center;
}

.steps-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #42592b;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.steps-desc {
  font-size: 1.2rem;
  color: #e3a528;
  font-weight: 600;
  margin-bottom: 40px;
  white-space: nowrap;
}

.step-blocks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  max-width: 960px;
  margin: 0 auto;
}

.step-block {
  background: #fff;
  border: 2px solid #3d4f2b55;
  border-radius: 25px;
  width: 78%;
  min-width: 300px;
  box-shadow: 0 6px 20px rgba(61, 79, 43, 0.09);
  padding: 28px 34px 28px 34px;
  text-align: left;
  transition: box-shadow 0.15s;
}

.step-block:hover {
  box-shadow: 0 10px 28px rgba(61, 79, 43, 0.17);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.step-num {
  background: #f5d25a;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 16px;
  padding: 6px 18px 6px 18px;
  margin-right: 2px;
  display: inline-block;
}

.step-name {
  color: #42592b;
  font-size: 1.18rem;
  font-weight: bold;
}

.step-content {
  color: #41511e;
  font-size: 1.07rem;
  line-height: 1.7;
  padding-left: 8px;
}

@media (max-width: 700px) {
  .steps-desc {
    position: relative;
    color: transparent;
    white-space: normal;
  }
  .steps-desc::before {
    content: "체계적인 재활과 운동치료 과정을 통해\A건강하고 안정적인 상태로 회복";
    white-space: pre-line;
    color: #e3a528;
    display: block;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .step-block {
    width: 96%;
    padding: 22px 10px 22px 10px;
  }

  .steps-title {
    font-size: 1.35rem;
  }
}

/* ==================================================
   개인별 맞춤 운동 프로그램 안내
================================================== */

.personal-programs {
  background: #fff;
  padding: 72px 24px 78px;
  box-sizing: border-box;
}

.personal-programs-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.personal-programs-title {
  color: #42592b;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.05em;
  text-align: center;
}

.personal-programs-desc {
  margin: 13px auto 42px;
  color: #d99b20;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}

.personal-program-group + .personal-program-group {
  margin-top: 40px;
}

.personal-program-group-title {
  position: relative;
  margin-bottom: 18px;
  padding-left: 15px;
  color: #526b3a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.personal-program-group-title::before {
  content: "";
  position: absolute;
  top: 0.22em;
  bottom: 0.22em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: #a2bf4a;
}

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

/* 카드가 2개인 그룹도 3열 기준 카드 크기를 유지 */
.personal-program-grid-two {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 카드가 3개인 그룹 */
.personal-program-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.personal-program-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 215px;
  padding: 24px 22px 20px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(120, 153, 107, 0.6);
  border-radius: 20px;
  box-shadow: 0 7px 22px rgba(38, 62, 25, 0.065);
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
}

.personal-program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 153, 107, 0.42);
  box-shadow: 0 12px 30px rgba(38, 62, 25, 0.1);
}

.personal-program-card-title {
  color: #42592b;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.personal-program-card-desc {
  margin-top: 12px;
  color: #56624d;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* 프로그램 시간 */
.personal-program-duration {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #6f7d64;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.personal-program-duration-label {
  color: #8a967e;
}

.personal-program-duration-divider {
  color: rgba(120, 153, 107, 0.48);
  font-weight: 500;
}

.personal-program-duration-value {
  color: #5b713f;
  font-weight: 800;
}

.personal-program-trainers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.personal-program-label {
  margin-right: 2px;
  color: #8a967e;
  font-size: 0.76rem;
  font-weight: 700;
}

.personal-program-trainer {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f6e5;
  color: #5b713f;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* ==================================================
   Footer
================================================== */

.footer {
  background: #263e19;
  color: #fff;
  padding: 55px 0 20px 0;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-title {
  font-size: 1.45rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 1.07rem;
  margin-bottom: 18px;
}

.footer-logo {
  height: 90px;
  margin-bottom: 7px;
  margin-top: 3px;
}

.footer-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.footer-btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 24px;
  background: #f7ce46;
  color: #263e19;
  font-weight: bold;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
  font-size: 1.08rem;
}

.footer-btn.footer-btn-green {
  background: #03c75a;
  color: #222;
}

.footer-btn.footer-btn-green:hover {
  background: #019c43;
  color: #fff;
}

.footer-copy {
  font-size: 0.97rem;
  color: #e6e6e6;
  margin-top: 15px;
}

.section-bg1 {
  background: #e7efcc !important;
}

.section-bg2 {
  background: #fff !important;
}

html {
  scroll-behavior: smooth;
}

.nav-links a.active {
  color: #a2bf4a !important;
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  :root {
    --mobile-title-size: clamp(16px, 5.6vw, 26px);
  }

  .director-name,
  .certs-title,
  .program-main-title,
  .steps-title {
    font-size: var(--mobile-title-size) !important;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
}

@media (max-width: 700px) {
  :root {
    --strap-size: clamp(10px, 4.2vw, 1.1rem);
  }

  .director-title {
    font-size: var(--strap-size) !important;
  }

  .program-quote {
    font-size: var(--strap-size) !important;
  }

  .steps-desc,
  .steps-desc::before {
    font-size: var(--strap-size) !important;
  }
}

.img-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 2px 16px #000;
  transition: color 0.2s;
  z-index: 10000;
}

.img-modal-arrow:hover {
  color: #f7ce46;
}

.img-modal-arrow.left {
  left: 40px;
}

.img-modal-arrow.right {
  right: 40px;
}

@media (max-width: 700px) {
  .img-modal-arrow {
    font-size: 2.3rem;
  }
  .img-modal-arrow.left {
    left: 16px;
  }
  .img-modal-arrow.right {
    right: 16px;
  }
}

/* ==================================================
   언론보도 안내 배너
================================================== */

.media-preview {
  padding: 34px 24px;
  box-sizing: border-box;
}

.media-preview-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 34px;
  box-sizing: border-box;
  background: #f7f9f1;
  border: 1px solid rgba(120, 153, 107, 0.3);
  border-radius: 22px;
  box-shadow: 0 7px 22px rgba(38, 62, 25, 0.055);
}

.media-preview-copy {
  min-width: 0;
}

.media-preview-eyebrow {
  margin-bottom: 7px;
  color: #93ad49;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.media-preview-title {
  color: #42592b;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.media-preview-desc {
  margin-top: 8px;
  color: #5d6853;
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: keep-all;
}

.media-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: #7b8870;
  font-size: 0.8rem;
  font-weight: 600;
}

.media-preview-meta span {
  position: relative;
}

.media-preview-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 154px;
  padding: 13px 19px;
  box-sizing: border-box;
  background: #42592b;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}

.media-preview-button:hover {
  background: #526b3a;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(38, 62, 25, 0.14);
}

@media screen and (max-width: 900px) {
  .media-preview {
    padding: 28px 24px;
  }

  .media-preview-inner {
    max-width: 760px;
    padding: 27px 28px;
    gap: 28px;
  }

  .media-preview-title {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 700px) {
  .media-preview {
    padding: 24px 14px;
  }

  .media-preview-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-width: 520px;
    padding: 24px 20px 20px;
    border-radius: 18px;
  }

  .media-preview-copy {
    text-align: center;
  }

  .media-preview-eyebrow {
    font-size: 0.68rem;
  }

  .media-preview-title {
    font-size: clamp(1.08rem, 4.8vw, 1.3rem);
  }

  .media-preview-desc {
    max-width: 430px;
    margin: 8px auto 0;
    font-size: clamp(0.78rem, 3.35vw, 0.9rem);
    line-height: 1.55;
  }

  .media-preview-meta {
    justify-content: center;
    gap: 6px 12px;
    margin-top: 13px;
    font-size: 0.72rem;
  }

  .media-preview-button {
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 0.84rem;
  }
}

@media screen and (max-width: 380px) {
  .media-preview {
    padding-right: 10px;
    padding-left: 10px;
  }

  .media-preview-inner {
    padding: 21px 16px 17px;
    border-radius: 16px;
  }

  .media-preview-meta {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}
/* ==================================================
   프로그램 및 서비스 이용 안내
================================================== */

/* 푸터 바로 위 공식 안내 영역 */
.service-notice {
  padding: 28px 24px 30px;
  box-sizing: border-box;
  background: #ffffff;
}

.service-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
  box-sizing: border-box;
  background: #f7f9f1;
  border: 1px solid rgba(120, 153, 107, 0.28);
  border-radius: 16px;
}

.service-notice-label {
  flex: 0 0 auto;
  padding-top: 1px;
  color: #42592b;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;
}

.service-notice-text {
  color: #65705d;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.service-notice-text strong {
  color: #526b3a;
  font-weight: 700;
}