/* Shared hierarchy for editorial pages and booking controls. */
:root {
  --page-title-size: clamp(2.125rem, 1.65rem + 2.1vw, 3.625rem);
  --section-title-size: clamp(1.5rem, 1.24rem + 1.05vw, 2.25rem);
  --item-title-size: clamp(1.0625rem, .98rem + .35vw, 1.3125rem);
  --section-space: clamp(2.5rem, 1.65rem + 3vw, 4.5rem);
  --section-gap: clamp(1rem, .77rem + 1vw, 1.75rem);
  --rule: #e7e2dc;
}

/* Homepage hero — refined editorial treatment */
main .home-showcase {
  height: clamp(590px, 82svh, 860px);
  min-height: 590px;
  background: #19212a;
}

main .home-showcase > img {
  object-position: center 57%;
  filter: saturate(.9) contrast(1.04);
  transform: scale(1.005);
}

main .home-showcase::after {
  background:
    linear-gradient(90deg, rgba(10, 17, 24, .82) 0%, rgba(10, 17, 24, .63) 34%, rgba(10, 17, 24, .18) 68%, rgba(10, 17, 24, .08) 100%),
    linear-gradient(180deg, rgba(8, 13, 18, .08) 35%, rgba(8, 13, 18, .56) 100%);
}

main .home-showcase .home-hero.is-overlay {
  align-items: flex-start;
  justify-content: center;
  max-width: 760px;
  padding: clamp(48px, 7vw, 96px);
  text-align: left;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .32);
  pointer-events: none;
}

main .home-showcase .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(11px, 1.15vw, 13px);
  font-weight: 600;
  letter-spacing: .2em;
}

/* Keep the homepage headline focused: the regional descriptor now lives in
   the sidebar brand instead of repeating above the hero title. */
main .home-showcase .hero-kicker,
main .home-showcase .hero-line {
  display: none;
}

main .home-showcase .hero-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: #e7a767;
}

main .home-showcase .hero-kicker::after {
  display: none;
}

main .home-showcase h1.home-title {
  max-width: 660px;
  margin: 0;
  color: #fff;
  line-height: 1;
  letter-spacing: 0;
}

main .home-showcase .hero-line {
  display: block;
  margin-bottom: 13px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  letter-spacing: -.025em;
}

main .home-showcase .hero-main {
  display: block;
  font-family: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  font-size: clamp(48px, 5.3vw, 74px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.065em;
  word-break: keep-all;
}

main .home-showcase h1.home-title em {
  display: block;
  margin-top: 21px;
  color: #f0ad6d;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .2em;
}

main .home-showcase .home-hero.is-overlay .hero-promise {
  max-width: 540px;
  margin: 30px 0 0;
  padding: 0 0 0 26px;
  border-left: 1px solid rgba(240, 173, 109, .9);
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -.015em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

/* Keep the Korean brand beside EVE TOUR instead of below the main headline. */
main .home-showcase .hero-kicker {
  display: inline-flex;
  gap: .65rem;
  margin-bottom: 20px;
}

main .home-showcase .hero-kicker > span {
  color: rgba(255, 255, 255, .9);
}

main .home-showcase .hero-kicker .hero-kicker-ko {
  margin: 0;
  color: #f0ad6d;
  font: inherit;
  font-style: normal;
  font-weight: 750;
  letter-spacing: .04em;
}

main .home-showcase .hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 32px;
  pointer-events: auto;
}

main .home-showcase .hero-actions .button {
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

main .home-showcase .hero-primary {
  border-color: #e7a767;
  background: #e7a767;
  color: #20170f;
}

main .home-showcase .hero-secondary {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(16, 23, 30, .24);
  color: #fff;
  backdrop-filter: blur(5px);
}

main .home-showcase .hero-actions .button:hover,
main .home-showcase .hero-actions .button:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #1d1712;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  main .home-showcase {
    height: clamp(570px, 78svh, 700px);
    min-height: 570px;
  }

  main .home-showcase > img {
    object-position: 54% 54%;
  }

  main .home-showcase::after {
    background:
      linear-gradient(90deg, rgba(10, 17, 24, .72), rgba(10, 17, 24, .18)),
      linear-gradient(180deg, rgba(8, 13, 18, .08) 15%, rgba(8, 13, 18, .8) 100%);
  }

  main .home-showcase .home-hero.is-overlay {
    justify-content: flex-end;
    max-width: none;
    padding: 40px 22px 48px;
  }

  main .home-showcase .hero-kicker {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: .15em;
  }

  main .home-showcase .hero-kicker::before {
    width: 28px;
  }

  main .home-showcase .hero-line {
    font-size: 17px;
  }

  main .home-showcase .hero-main {
    font-size: clamp(39px, 11vw, 54px);
    line-height: 1.2;
  }

  main .home-showcase h1.home-title em {
    margin-top: 17px;
    font-size: 17px;
  }

  main .home-showcase .home-hero.is-overlay .hero-promise {
    margin-top: 24px;
    padding-left: 21px;
    font-size: 15px;
    line-height: 1.7;
  }

  main .home-showcase .hero-actions {
    width: 100%;
    margin-top: 25px;
  }

  main .home-showcase .hero-actions .button {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
    font-size: 14px;
  }
}

/* Brand promise: balanced orange rules, without a decorative box. */
main .home-hero .hero-promise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  padding: 0;
  color: #292929;
  font-size: clamp(1rem, .95rem + .25vw, 1.1875rem);
  font-weight: 650;
  line-height: 1.65;
  isolation: auto;
}

main .home-hero .hero-promise::before,
main .home-hero .hero-promise::after {
  content: "";
  position: static;
  flex: 0 0 clamp(26px, 4vw, 44px);
  width: auto;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: #ff9532;
  transform: none;
}

/* Editorial navigation markers make the menu feel structured, not listed. */
.side-menu > a,
.side-menu > .tour-menu > summary {
  position: relative;
  padding-left: 36px;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.side-menu > a::before,
.side-menu > .tour-menu > summary::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: #ff9532;
  transform: translateY(-50%);
  opacity: .72;
  transition: width .18s ease, opacity .18s ease;
}

.side-menu > a:hover,
.side-menu > .tour-menu > summary:hover {
  color: #1f1f1f;
  transform: translateX(2px);
}

.side-menu > a:hover::before,
.side-menu > .tour-menu > summary:hover::before,
.side-menu > a[aria-current="page"]::before {
  width: 15px;
  opacity: 1;
}

.side-menu > a[aria-current="page"] {
  padding-left: 33px;
}

.tour-submenu {
  margin-left: 19px;
  border-left: 1px solid #eadfd4;
}

.tour-submenu a.sub {
  position: relative;
  padding-left: 24px;
  color: #686868;
}

.tour-submenu a.sub::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: #d8b18d;
}

.tour-submenu a.sub:hover,
.tour-submenu a.sub[aria-current="page"] {
  color: #9a4c0d;
}

@media (max-width: 600px) {
  main .home-hero .hero-promise {
    gap: 9px;
    padding: 0;
    font-size: .9375rem;
  }

  main .home-hero .hero-promise::before,
  main .home-hero .hero-promise::after {
    flex-basis: 20px;
  }
}

main :is(h1, h2, h3) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

main:not(.city-original) :is(.about-hero, .page-intro, .hero, .detail-hero) h1 {
  font-size: var(--page-title-size);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.045em;
  margin: 0 0 .9rem;
}

main:not(.city-original) :is(.section-head, .review-banner, .guide-career, .guide-letter, .detail-section,
         .review-top, .faq-contact, .booking-guide-body) h2 {
  font-size: var(--section-title-size);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.035em;
  margin: 0 0 var(--section-gap);
}

main:not(.city-original) :is(.guide-career, .detail-section, .booking-steps) h3 {
  font-size: var(--item-title-size);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Home refinements: keep the promise clean and align products with the heading. */
main .home-hero .hero-promise::before,
main .home-hero .hero-promise::after {
  display: none;
}

main .tour-section .section-head {
  margin-bottom: .875rem;
}

main .tour-section .tour-grid {
  width: min(100%, 820px);
  max-width: none;
  margin: 0 auto 0 0;
}

main :is(.page-intro, .about-hero) {
  padding-block: var(--section-space) var(--section-gap);
}

main :is(.page-intro, .about-hero) p,
main .home-hero p {
  font-size: 1rem;
  line-height: 1.75;
}

main .home-hero {
  padding-block: var(--section-space) calc(var(--section-gap) + .5rem);
}

main .home-hero h1.home-title {
  font-size: clamp(2.25rem, 1.78rem + 2vw, 3.25rem);
}

main .home-hero .hero-promise::after {
  display: none;
}

main .section-head,
main .section-head h2,
main .review-banner h2,
main .review-top h2 {
  margin: 0;
}

main .tour-section .section-head {
  margin-bottom: var(--section-gap);
}

main .review-banner {
  padding-block: var(--section-gap);
  margin-top: var(--section-space);
  gap: 1rem;
}

main .review-banner .eyebrow {
  margin-bottom: .3rem;
}

main .review-banner .home-review-area {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: .65rem;
}

main .home-review-strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

main .home-review-label {
  margin: 0;
  color: #875122;
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .03em;
}

main .home-review-controls {
  display: flex;
  gap: .45rem;
}

main .home-review-controls button {
  padding: .48rem .7rem;
  color: #6a3b17;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid #dfd4c9;
  border-radius: 999px;
  cursor: pointer;
}

main .home-review-controls button:hover,
main .home-review-controls button:focus-visible {
  background: #fff1e2;
  border-color: #df8d43;
}

main .home-review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 31%);
  gap: .85rem;
  overflow-x: auto;
  padding: .2rem .15rem .75rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #dfab79 transparent;
}

main .home-review-card {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e6e2de;
  border-top: 3px solid #ff9532;
  border-radius: 12px;
  scroll-snap-align: start;
  transition: border-color .2s ease, transform .2s ease;
}

main .home-review-card:hover,
main .home-review-card:focus-visible {
  border-color: #d98b42;
  transform: translateY(-2px);
}

main .home-review-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #f3efe9;
}

main .home-review-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

main .home-review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .7rem;
}

main .home-review-meta strong {
  font-size: 1rem;
}

main .home-review-meta time {
  color: #766f68;
  font-size: .76rem;
  white-space: nowrap;
}

main .home-review-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #4d4945;
  font-size: .91rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

main .home-review-more {
  margin-top: auto;
  padding-top: .9rem;
  color: #a95212;
  font-size: .79rem;
  font-weight: 750;
}

@media (max-width: 760px) {
  main .review-banner .home-review-area { margin-top: 0; }
  main .home-review-track {
    grid-auto-columns: minmax(82%, 1fr);
    padding-inline: 0;
  }
  main .home-review-card { min-height: 240px; }
  main .home-review-controls { display: none; }
}

main.review-main .page-intro,
main.faq-main .page-intro {
  text-align: left;
  padding-bottom: calc(var(--section-gap) + .5rem);
}

main.review-main .page-intro h1,
main.faq-main .page-intro h1 {
  margin-bottom: 0;
}

main.review-main .page-intro .button {
  margin-top: 1rem;
}

main .guide-letter {
  margin-top: var(--section-gap);
  border-top: 1px solid var(--rule);
}

main .faq-list summary {
  font-size: var(--item-title-size);
  font-weight: 650;
}

main.detail-page:not(.city-original) .detail-section:not(.wide-photo) {
  padding-block: var(--section-space);
}

main.detail-page:not(.city-original) .detail-section + .detail-section {
  border-top: 1px solid var(--rule);
}

main.detail-page:not(.city-original) .detail-section + .dark {
  border-top: 0;
}

main.detail-page:not(.city-original) .detail-section p {
  font-size: 1rem;
  line-height: 1.8;
}

main.detail-page:not(.city-original) .feature-grid {
  gap: 0 1.75rem;
  margin-top: var(--section-gap);
}

main.detail-page:not(.city-original) .feature {
  background: transparent;
  border: 0;
  border-top: 1px solid #d6cfc5;
  padding: 1.15rem 0;
}

main.detail-page:not(.city-original) .feature h3 {
  margin: 0 0 .5rem;
}

main.detail-page:not(.city-original) .feature p {
  margin: 0;
}

main .panel .selection {
  font-size: var(--item-title-size);
}

main .month-bar h2 {
  font-size: var(--item-title-size);
}

.site-sidebar .side-menu {
  gap: .125rem;
}

.site-sidebar .side-menu a[aria-current="page"] {
  background: #f5dfca;
  color: #7f3507;
}

/* A soft sweep gives the fixed navigation a tactile, editorial feel. */
.site-sidebar .side-menu > a,
.site-sidebar .side-menu > .tour-menu > summary {
  overflow: hidden;
  isolation: isolate;
}

.site-sidebar .side-menu > a::after,
.site-sidebar .side-menu > .tour-menu > summary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(130% 150% at 0% 50%, #fff0e3 0 36%, #f8e3cf 55%, transparent 72%);
  transform: translateX(-105%);
  transition: transform .34s cubic-bezier(.22,.7,.28,1);
}

.site-sidebar .side-menu > a:hover::after,
.site-sidebar .side-menu > a:focus-visible::after,
.site-sidebar .side-menu > .tour-menu > summary:hover::after,
.site-sidebar .side-menu > .tour-menu > summary:focus-visible::after {
  transform: translateX(0);
}

.site-sidebar .side-menu > a:active,
.site-sidebar .side-menu > .tour-menu > summary:active {
  color: #6f2f08;
  background: #f2d2b4;
}

/* Sidebar actions: one clear booking CTA and a recognizable Kakao link. */
.site-sidebar .side-contact a.side-calendar {
  margin-top: 0;
  border-color: #ff9532;
  background: rgb(255,149,50);
  color: #21170d;
}

.site-sidebar .side-contact a.side-calendar:hover,
.site-sidebar .side-contact a.side-calendar:focus-visible {
  border-color: #e97e17;
  background: #ee861f;
  color: #17120c;
}

.site-sidebar .side-contact a.kakao-link {
  gap: .5rem;
  border: 0;
  background: transparent;
  color: #39342e;
}

.site-sidebar .side-contact a.kakao-link:hover,
.site-sidebar .side-contact a.kakao-link:focus-visible {
  background: #fff7df;
  color: #1d1a17;
}

.kakao-mark {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  overflow: visible;
}

/* Buttons share one clear orange interaction state. */
main .button,
main .consult-launch {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

main .button:hover,
main .button:focus-visible,
main .consult-launch:hover,
main .consult-launch:focus-visible {
  border-color: #df7715;
  background: #e9821e;
  color: #17120c;
}

main .button:active,
main .consult-launch:active {
  border-color: #c9650c;
  background: #cf6c0e;
  color: #fff;
  transform: translateY(1px);
}

main .review-banner .button {
  min-height: 40px;
  padding: .5rem 1rem;
  font-size: .875rem;
}

.site-footer > div:last-child > a {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.site-footer > div:last-child > a:hover,
.site-footer > div:last-child > a:focus-visible {
  border-color: #df7715;
  background: #e9821e;
  color: #17120c;
}

.site-footer > div:last-child > a:active {
  border-color: #c9650c;
  background: #cf6c0e;
  color: #fff;
}

/* Keep the guide profile concise and easier to scan. */
main.about .guide-career {
  max-width: 620px;
  padding: 2.1rem 0 .25rem;
}

main.about .guide-career h2 {
  font-size: clamp(1.45rem, 1.28rem + .55vw, 1.8rem);
  margin-bottom: 1.15rem;
}

main.about .guide-career li {
  grid-template-columns: 84px 1fr;
  gap: 1.1rem;
  padding: .9rem 0;
}

main.about .guide-career h3 {
  font-size: .96rem;
  line-height: 1.55;
}

main.about .guide-career p {
  font-size: .82rem;
  line-height: 1.6;
  margin-top: .2rem;
}

main.about .guide-letter {
  max-width: 620px;
  padding-top: 2rem;
}

main.about .guide-letter h2 {
  font-size: clamp(1.35rem, 1.22rem + .45vw, 1.65rem);
  margin-bottom: 1.25rem;
}

main.about .guide-letter p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.15rem;
}

/* FAQ rows use the same orange rule language as the navigation. */
main.faq-main .faq-list summary {
  padding-left: 1.35rem;
}

main.faq-main .faq-list summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: .75rem;
  height: 2px;
  border-radius: 999px;
  background: #ff9532;
  transform: translateY(-50%);
  transition: width .18s ease;
}

main.faq-main .faq-list details:hover summary::before,
main.faq-main .faq-list details[open] summary::before {
  width: 1rem;
}

.side-contact a,
.site-footer > div:last-child > a,
main .button,
main .consult-launch {
  border-radius: .5rem;
}

@media (max-width: 600px) {
  main.review-main .page-intro,
  main.faq-main .page-intro {
    padding-top: 2rem;
  }

  main.about .guide-career,
  main.about .guide-letter {
    max-width: 100%;
  }

  main.about .guide-career li {
    grid-template-columns: 72px 1fr;
    gap: .75rem;
  }

  main.about .guide-letter p {
    font-size: .96rem;
    line-height: 1.78;
  }
}

.wine-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wine-original-panel {
  display: block;
  width: 100%;
  height: auto;
  scroll-margin-top: 5rem;
}

.wine-original-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}

.wine-original .detail-section .wine-original-actions {
  padding-inline: 0;
}

/* Shared orange section markers improve scanning without adding decoration. */
main:not(.city-original) :is(.detail-section > h2, .booking-guide-body > h2, .faq-contact > h2,
         .guide-career > h2, .guide-letter > h2, .review-top h2) {
  position: relative;
  padding-left: 1.35rem;
}

main:not(.city-original) :is(.detail-section > h2, .booking-guide-body > h2, .faq-contact > h2,
         .guide-career > h2, .guide-letter > h2, .review-top h2)::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .8rem;
  height: 2px;
  border-radius: 999px;
  background: #ff9532;
}

main .calendar-booking-guide .booking-guide-body > h2::before {
  top: .52em;
  width: .68rem;
  height: .68rem;
}

main .calendar-booking-guide .booking-steps {
  margin: 0;
  padding: 0;
  list-style: decimal outside;
}

main .calendar-booking-guide .booking-steps > li {
  margin-inline-start: 1.45rem;
}

main .calendar-booking-guide .booking-steps > li::marker {
  color: #a64b08;
  font-weight: 700;
}

main .detail-qa > details > summary {
  position: relative;
  padding-left: 1.25rem;
}

main .detail-qa > details > summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: .68rem;
  height: 2px;
  border-radius: 999px;
  background: #ff9532;
}

/* Move the expandable marker to the start of every tour notice row. */
main .detail-qa > details > summary {
  padding-left: 2rem;
  padding-right: 0;
}

main .detail-qa > details > summary::before {
  content: "+";
  top: .52em;
  width: auto;
  height: auto;
  background: transparent;
  color: #ff9532;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

main .detail-qa > details[open] > summary::before {
  content: "−";
}

main .detail-qa > details > summary::after {
  display: none;
}

/* Show guide photos and career together on desktop. */
main.about {
  display: grid;
  grid-template-columns: minmax(190px, .58fr) minmax(420px, 1.42fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-top: clamp(2.75rem, 6vw, 5rem);
}

main.about .about-page-label {
  grid-column: 1 / -1;
  width: max-content;
  max-width: 100%;
  margin: 0 0 .25rem;
  padding: .35em .72em .4em;
  border-radius: .35em;
  background: #ffe3c5;
  color: #111;
  font-size: clamp(1.3rem, 1.2rem + .45vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

main.about .about-page-label::before {
  display: none;
}

main.about .guide-gallery {
  grid-template-columns: 1fr;
  gap: .4rem;
}

main.about .guide-gallery a {
  aspect-ratio: 16 / 6;
  max-height: 88px;
}

main.about .guide-career {
  width: 100%;
  max-width: none;
  padding-top: 0;
}

main.about .guide-career h2 {
  font-size: clamp(1.3rem, 1.2rem + .35vw, 1.55rem);
  margin-bottom: .8rem;
}

main.about .guide-career li {
  grid-template-columns: 72px 1fr;
  gap: .8rem;
  padding: .6rem 0;
}

main.about .guide-career h3 {
  font-size: .9rem;
  line-height: 1.45;
}

main.about .guide-career p,
main.about .career-year {
  font-size: .78rem;
  line-height: 1.5;
}

main.about .guide-letter {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-inline: auto;
  padding-top: 2.5rem;
}

main.about .career-photo-row,
main.about .letter-photo-row {
  grid-column: 1 / -1;
  width: min(100%, 620px);
  margin-left: 0;
  margin-right: auto;
}

main.about .career-photo-row {
  display: grid;
  grid-template-columns: minmax(0, 220px);
  margin-bottom: .65rem;
}

main.about .letter-photo-row {
  display: grid;
  width: min(100%, 460px);
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: .5rem;
  margin-top: 2rem;
  margin-bottom: .65rem;
}

main.about :is(.career-photo-row, .letter-photo-row) a {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f3;
}

main.about :is(.career-photo-row, .letter-photo-row) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main.about .letter-photo-row a:first-child img { object-position: center 58%; }
main.about .letter-photo-row a:last-child img { object-position: center 48%; }
main.about .career-photo-row img { object-position: 57% center; }
main.about .guide-career { grid-column: 1 / -1; margin-inline: auto; }
main.about .guide-letter {
  padding-top: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: auto;
  border-top: 0;
  text-align: left;
}

.company-legal-footer {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid #ececec;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  color: #888;
  font-size: .78rem;
  line-height: 1.65;
  text-align: left;
  word-break: keep-all;
}

.company-legal-footer .footer-legal {
  display: grid;
  gap: .16rem;
}

.company-legal-footer .footer-legal strong {
  margin-bottom: .15rem;
  color: #242424;
  font-size: .95rem;
}

.company-legal-footer .footer-socials {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: flex-end;
  gap: .45rem;
}

.company-legal-footer .footer-socials > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .52rem .7rem;
  border: 1px solid #dfdfdf;
  border-radius: .65rem;
  background: #fff;
  color: #303030;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.company-legal-footer .footer-socials > a:hover,
.company-legal-footer .footer-socials > a:focus-visible {
  border-color: #f2953c;
  background: #fff7ef;
  transform: translateY(-1px);
}

.company-legal-footer .footer-socials > a.footer-kakao {
  border-color: #f0d900;
  background: #fee500;
  color: #191919;
}

.footer-social-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  align-items: center;
  justify-content: center;
}

.footer-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-social-icon.naver {
  border-radius: .25rem;
  background: #03c75a;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .company-legal-footer {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    align-items: start;
    font-size: .75rem;
  }

  .company-legal-footer .footer-socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: .4rem;
    width: 100%;
  }

  .company-legal-footer .footer-socials > a {
    min-width: 0;
    justify-content: center;
    padding-inline: .5rem;
  }
}

@media (max-width: 390px) {
  .company-legal-footer .footer-socials {
    grid-template-columns: 1fr;
  }
}

/* A small orange point makes each FAQ answer easy to find at a glance. */
main.faq-main .faq-answer > p,
main .detail-qa > details > p,
main .detail-qa .refund-content > p:not(.refund-note) {
  position: relative;
  padding-left: 1rem;
}

main.faq-main .faq-answer > p::before,
main .detail-qa > details > p::before,
main .detail-qa .refund-content > p:not(.refund-note)::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: .43rem;
  height: .43rem;
  border-radius: 50%;
  background: #ff9532;
}
main.about .guide-letter p { font-size: .9rem; line-height: 1.75; }

main.about :is(.guide-career > h2, .guide-letter > h2)::before {
  top: .58em;
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
}

@media (max-width: 760px) {
  main.about .career-photo-row { grid-template-columns: minmax(0, 48%); }
  main.about .letter-photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.about .guide-letter p { font-size: .875rem; }
}

/* Review actions and numbered pages stay compact and easy to scan. */
main.review-main .review-tools {
  display: flex;
  align-items: center;
  gap: .6rem;
}

main.review-main .summary-line,
main.review-main .review-counts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

main.review-main .summary-line {
  gap: .45rem;
}

main.review-main .review-counts {
  gap: .4rem;
  margin-top: .55rem;
}

main.review-main .review-counts > span {
  padding: .25rem .58rem;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #fafafa;
  color: #555;
  font-size: .78rem;
  line-height: 1.4;
}

main.review-main .review-counts .city-count {
  border-color: #efc79f;
  background: #fff6ec;
  color: #8d4614;
}

main.review-main .review-counts .wine-count {
  border-color: #c9ded0;
  background: #eef6f1;
  color: #2a603d;
}

main.review-main .review-tools #write,
main.review-main .review-tools .filter > summary {
  min-height: 42px;
  margin: 0;
  padding: .58rem 1rem;
  border: 1px solid #d8d8d8;
  border-radius: 9px;
  background: transparent;
  color: #2b2b2b;
  font-size: .9rem;
  font-weight: 650;
}

main.review-main .review-tools #write:hover,
main.review-main .review-tools .filter > summary:hover {
  border-color: #ff9532;
  background: #fff6ed;
}

main.review-main .review-pagination {
  display: flex;
  justify-content: center;
  gap: .45rem;
  padding-top: 2rem;
}

main.review-main .review-pagination[hidden] {
  display: none;
}

main.review-main .review-pagination button {
  min-width: 2.4rem;
  min-height: 2.4rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

main.review-main .review-pagination button:hover,
main.review-main .review-pagination button[aria-current="page"] {
  border-color: #ff9532;
  background: #ff9532;
  color: #24170d;
}

/* Sidebar utilities use one visual weight and one interaction color. */
.side-contact a.side-calendar,
.side-contact a.kakao-link {
  min-height: 46px;
  padding: .65rem .75rem;
  background: transparent;
  border: 1px solid #d9d9d9;
  color: #2b2b2b;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}

.side-contact a.side-calendar:hover,
.side-contact a.kakao-link:hover,
.side-contact a.side-calendar:focus-visible,
.side-contact a.kakao-link:focus-visible,
.side-contact a.side-calendar:active,
.side-contact a.kakao-link:active {
  background: #ff9532;
  border-color: #ff9532;
  color: #21170d;
}

/* Sidebar action icons and calendar button details. */
.side-contact a.side-calendar,
.side-contact a.kakao-link {
  background: transparent !important;
  border: 1px solid #d9d9d9;
  color: #2b2b2b;
}

.side-contact a.side-calendar:hover,
.side-contact a.kakao-link:hover,
.side-contact a.side-calendar:focus-visible,
.side-contact a.side-calendar:active {
  background: #ff9532 !important;
  border-color: #ff9532;
  color: #21170d;
}

.side-contact a.side-calendar::before,
.calendar-booking-guide #consultOpen::before {
  content: "📅";
  margin-right: .4rem;
}

.calendar-booking-guide .booking-guide-actions .consult-launch,
.calendar-booking-guide .booking-guide-actions .button {
  background: transparent;
  border: 1px solid #d9d9d9;
  color: #2b2b2b;
}

.calendar-booking-guide .booking-guide-actions .consult-launch:hover,
.calendar-booking-guide .booking-guide-actions .button:hover {
  background: #fff6ed;
  border-color: #ff9532;
}

/* Tour details: compact button-style section navigation with booking last. */
body.city-booking-in-nav,
body:has(.wine-original > .detail-jump) {
  padding-bottom: 0;
}

.detail-page .detail-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}

.detail-page .detail-jump a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .55rem 1rem;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #fff;
  color: #292929;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.detail-page .detail-jump a:hover,
.detail-page .detail-jump a:focus-visible {
  border-color: #ff9532;
  background: #fff6ed;
  color: #6f3207;
}

.detail-page .detail-jump a.jump-booking {
  border-color: #ff9532;
  background: #ff9532;
  color: #21170d;
}

.detail-page .detail-jump a.jump-booking:hover,
.detail-page .detail-jump a.jump-booking:focus-visible {
  border-color: #e47b16;
  background: #e9821e;
  color: #17120c;
}

@media (max-width: 760px) {
  .detail-page.wine .detail-jump {
    flex-wrap: nowrap;
  }

  .detail-page.wine .wine-original-panel {
    scroll-margin-top: 9rem;
  }
}

/* Homepage tour cards use the same neutral default and orange interaction. */
main .tour-section .tour-info .links .button.secondary {
  border-color: #d9d9d9;
  background: #fff;
  color: #292929;
}

main .tour-section .tour-info .links .button.secondary:hover,
main .tour-section .tour-info .links .button.secondary:focus-visible,
main .tour-section .tour-info .links .button.secondary:active {
  border-color: #ff9532;
  background: #ff9532;
  color: #21170d;
}

/* Homepage visual continuity: one type family, centered brand, warm editorial transition. */
.site-sidebar .side-brand {
  width: 100%;
  text-align: center;
}

.site-sidebar .side-brand span {
  text-align: center;
}

main .home-showcase::after {
  background:
    linear-gradient(90deg, rgba(10, 17, 24, .72) 0%, rgba(10, 17, 24, .50) 34%, rgba(10, 17, 24, .13) 68%, rgba(10, 17, 24, .05) 100%),
    linear-gradient(180deg, rgba(8, 13, 18, .04) 35%, rgba(8, 13, 18, .48) 100%);
}

main .home-showcase .hero-kicker,
main .home-showcase .hero-line,
main .home-showcase .hero-main,
main .home-showcase h1.home-title em,
main .home-showcase .hero-promise,
main .home-showcase .hero-actions .button {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

main .home-showcase .hero-line {
  font-weight: 600;
  letter-spacing: -.035em;
}

main .home-showcase .hero-main {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.06em;
}

main .home-showcase h1.home-title em {
  font-weight: 700;
}

main .home-showcase .hero-promise {
  font-weight: 500;
}

main #tours.tour-section {
  position: relative;
  left: 50%;
  width: calc(100vw - 252px);
  margin-left: 0;
  padding: clamp(72px, 8vw, 104px) clamp(36px, 6vw, 88px) clamp(84px, 9vw, 118px);
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 78% 6%, rgba(224, 172, 119, .18), transparent 34%),
    linear-gradient(180deg, #ded6cd 0%, #eee9e3 22%, #f7f4ef 62%, #fbfaf8 100%);
  border-top: 1px solid rgba(255, 255, 255, .52);
}

main #tours.tour-section .section-head,
main #tours.tour-section .tour-grid {
  width: min(100%, 900px);
  margin-right: auto;
  margin-left: auto;
}

main #tours.tour-section .section-head {
  margin-bottom: clamp(24px, 3vw, 34px);
}

main #tours.tour-section .section-kicker {
  color: #a75419;
}

main #tours.tour-section .tour {
  border-color: rgba(99, 78, 59, .16);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 38px rgba(67, 49, 35, .10);
}

main #tours.tour-section .tour-info {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(251, 248, 244, .96));
}

@media (max-width: 1050px) and (min-width: 761px) {
  main #tours.tour-section {
    width: calc(100vw - 220px);
    padding-inline: 34px;
  }
}

@media (max-width: 760px) {
  main .home-showcase::after {
    background:
      linear-gradient(90deg, rgba(10, 17, 24, .64), rgba(10, 17, 24, .13)),
      linear-gradient(180deg, rgba(8, 13, 18, .04) 15%, rgba(8, 13, 18, .72) 100%);
  }

  main #tours.tour-section {
    width: 100vw;
    padding: 58px 18px 74px;
  }
}

/* Sidebar utility icons share one size. */
.side-contact a.side-calendar::before {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  font-size: 1.45rem;
  line-height: 1;
}

/* Calendar booking guide: put the orange affordance before the label. */
.calendar-booking-guide > summary {
  position: relative;
  padding-left: 3rem;
}

.calendar-booking-guide > summary::before {
  content: "+";
  position: absolute;
  left: 1.15rem;
  top: 50%;
  color: #ff9532;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-52%);
}

.calendar-booking-guide > summary::after {
  display: none;
}

.calendar-booking-guide[open] > summary::before {
  content: "−";
}

.faq-refund-group {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid #ece7e1;
}

.faq-refund-group h3 {
  position: relative;
  margin: 0 0 .65rem;
  padding-left: 1.2rem;
  color: #262626;
  font-size: 1rem;
}

.faq-refund-group h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: .65rem;
  height: 2px;
  background: #ff9532;
}

.faq-refund-group ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 760px) {
  .mobile-header .site-brand {
    font-size: 1rem;
    letter-spacing: .08em;
  }

  main.about {
    display: block;
    padding-top: 2rem;
  }

  main.about .about-page-label {
    margin-bottom: 1.5rem;
  }

  main.review-main .review-top {
    align-items: flex-start;
    flex-direction: column;
  }

  main.review-main .review-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: 100%;
  }

  main.review-main .review-tools .filter,
  main.review-main .review-tools #write,
  main.review-main .review-tools .filter > summary {
    width: 100%;
    min-width: 0;
  }

  main.review-main .review-tools .filter > summary {
    text-align: center;
  }

  main.review-main .review-tools .filter[open] {
    grid-column: 1 / -1;
  }

  main.review-main .review-tools .filter[open] + #write {
    grid-column: 1 / -1;
  }

  main.review-main .filter-box {
    position: static;
    width: 100%;
    margin-top: .6rem;
    box-shadow: none;
  }

  main.about .guide-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
  }

  main.about .guide-gallery a {
    aspect-ratio: 3 / 4;
    max-height: none;
  }

  main.about .guide-career {
    padding-top: 2rem;
  }
}

/* Eve Tour navigation: carry the homepage's midnight, ivory and orange palette
   through the fixed rail so the shell and hero read as one composition. */
@media (min-width: 761px) {
  .site-sidebar {
    padding: 28px 20px 24px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    background:
      radial-gradient(120% 50% at 0% 0%, rgba(255, 149, 50, .14), transparent 58%),
      linear-gradient(180deg, #102334 0%, #0b1a28 58%, #081521 100%);
    box-shadow: 16px 0 42px rgba(8, 21, 33, .14);
    color: #f7f2eb;
    scrollbar-color: rgba(255, 149, 50, .5) transparent;
  }

  .site-sidebar .side-brand {
    position: relative;
    display: flex;
    min-height: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 8px 25px;
    color: #fffaf3;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.055em;
  }

  .site-sidebar .side-brand::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 149, 50, .75), transparent);
  }

  .site-sidebar .side-brand span {
    margin-top: 8px;
    color: #d7c6b5;
    font-size: 0;
    font-weight: 700;
    letter-spacing: 0;
  }

  .site-sidebar .side-brand span::after {
    content: "포르투갈 북부 전문";
    font-size: .72rem;
    letter-spacing: -.015em;
  }

  .site-sidebar > .side-menu {
    margin-top: 24px;
    gap: 5px;
  }

  .site-sidebar .side-menu > a,
  .site-sidebar .side-menu > .tour-menu > summary {
    min-height: 48px;
    padding: 12px 36px 12px 40px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #dbe3e9;
    font-size: .94rem;
    font-weight: 650;
    letter-spacing: -.015em;
  }

  .site-sidebar .side-menu > a::before,
  .site-sidebar .side-menu > .tour-menu > summary::before {
    left: 16px;
    width: 10px;
    background: #ff9532;
    opacity: .76;
  }

  .site-sidebar .side-menu > a::after,
  .site-sidebar .side-menu > .tour-menu > summary::after {
    background: linear-gradient(90deg, rgba(255, 149, 50, .15), rgba(255, 255, 255, .055));
  }

  .site-sidebar .side-menu > a:hover,
  .site-sidebar .side-menu > a:focus-visible,
  .site-sidebar .side-menu > .tour-menu > summary:hover,
  .site-sidebar .side-menu > .tour-menu > summary:focus-visible {
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
  }

  .site-sidebar .side-menu > .tour-menu > summary {
    -webkit-tap-highlight-color: transparent;
  }

  .site-sidebar .side-menu > .tour-menu > summary:hover,
  .site-sidebar .side-menu > .tour-menu > summary:focus-visible {
    background: rgba(255, 149, 50, .12);
  }

  .site-sidebar .side-menu > .tour-menu > summary:active {
    border-color: rgba(255, 149, 50, .55);
    background: rgba(255, 149, 50, .22);
    color: #fff;
  }

  .site-sidebar .side-menu > a[aria-current="page"] {
    padding-left: 40px;
    border: 1px solid rgba(255, 149, 50, .4);
    border-left: 1px solid rgba(255, 149, 50, .4);
    background: linear-gradient(90deg, rgba(255, 149, 50, .24), rgba(255, 149, 50, .1));
    box-shadow: inset 3px 0 0 #ff9532, 0 9px 22px rgba(0, 0, 0, .13);
    color: #fff;
  }

  .site-sidebar .tour-menu > summary::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 17px auto auto;
    top: 18px;
    width: 7px;
    height: 7px;
    right: 17px;
    border: 0;
    border-right: 1.5px solid #b9c5ce;
    border-bottom: 1.5px solid #b9c5ce;
    border-color: #b9c5ce;
    border-radius: 0;
    background: transparent;
    transform: rotate(45deg);
    transition: transform .18s ease;
  }

  .site-sidebar .tour-menu[open] > summary::after {
    top: 21px;
    transform: rotate(225deg);
  }

  .site-sidebar .tour-submenu {
    margin: 4px 0 8px 28px;
    padding: 3px 0 3px 6px;
    border-left-color: rgba(255, 149, 50, .36);
  }

  .site-sidebar .tour-submenu a.sub {
    padding: 8px 10px 8px 24px;
    color: #aebbc5;
    font-size: .86rem;
  }

  .site-sidebar .tour-submenu a.sub::before {
    background: rgba(255, 149, 50, .62);
  }

  .site-sidebar .tour-submenu a.sub:hover,
  .site-sidebar .tour-submenu a.sub[aria-current="page"] {
    background: transparent;
    color: #ffb267;
  }

  .site-sidebar > .side-contact {
    display: grid;
    margin-top: auto;
    padding-top: 18px;
    padding-bottom: 0;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .site-sidebar .side-contact a.side-calendar,
  .site-sidebar .side-contact a.kakao-link {
    min-height: 48px;
    margin: 0;
    border-radius: 12px;
    font-size: .88rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .site-sidebar .side-contact a.side-calendar {
    border-color: #ff9f45;
    background: linear-gradient(135deg, #ffad5c, #f58b27) !important;
    box-shadow: 0 9px 22px rgba(245, 139, 39, .2);
    color: #1d140d;
  }

  .site-sidebar .side-contact a.kakao-link {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08) !important;
    color: #f6f1ea;
  }

  .site-sidebar .side-contact a.side-calendar:hover,
  .site-sidebar .side-contact a.side-calendar:focus-visible,
  .site-sidebar .side-contact a.kakao-link:hover,
  .site-sidebar .side-contact a.kakao-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
  }

  .site-sidebar .side-contact a.kakao-link:hover,
  .site-sidebar .side-contact a.kakao-link:focus-visible {
    border-color: rgba(254, 229, 0, .48);
    background: rgba(254, 229, 0, .11) !important;
    color: #fff;
  }
}

@media (max-width: 760px) {
  .mobile-header {
    border-bottom-color: rgba(255, 255, 255, .1);
    background: rgba(10, 25, 38, .96);
    box-shadow: 0 8px 24px rgba(8, 21, 33, .13);
  }

  .mobile-header .site-brand {
    color: #fffaf3;
  }

  .mobile-header .mobile-menu > summary {
    border-color: rgba(255, 149, 50, .55);
    background: rgba(255, 149, 50, .12);
    color: #fff4e8;
  }

  .mobile-header .mobile-menu[open] > summary {
    border-color: #ff9532;
    background: #ff9532;
    color: #1f160e;
  }
}
