@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
  --oj-accent: #B5651D;   /* overridden inline in layout.html from info.xml accent_color */
  --oj-accent2: #7A8C85;  /* from info.xml accent2_color */
  --oj-bg: #FAF6EF;
  --oj-text: #3D3229;
  --oj-muted: #A99676;
  --oj-line: #EADFC8;
  --oj-card: #FFFFFF;
}

* { box-sizing: border-box; }

#oj-body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--oj-bg);
  color: var(--oj-text);
}

#oj-body a { color: inherit; text-decoration: none; }

.oj-wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* header / nav */
.oj-header {
  background: var(--oj-bg);
  border-bottom: 1px solid var(--oj-line);
}
.oj-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.oj-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--oj-accent);
}
.oj-nav {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.oj-nav a {
  font-size: 15px;
  color: var(--oj-text);
}
.oj-nav a:hover,
.oj-nav a.active { color: var(--oj-accent); }

/* dropdown submenu (desktop) */
.oj-nav > li { position: relative; }
.oj-has-sub > a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  opacity: .55;
}
.oj-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  margin: 0;
  padding: 18px 0 0;           /* invisible bridge so hover is not lost */
  list-style: none;
  z-index: 1000;
}
.oj-sub::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0; bottom: 0;
  background: var(--oj-card);
  border: 1px solid var(--oj-line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(61, 50, 41, .12);
  z-index: -1;
}
.oj-sub li:first-child { padding-top: 8px; }
.oj-sub li:last-child { padding-bottom: 8px; }
.oj-sub a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  white-space: nowrap;
}
.oj-sub a:hover { background: #F5ECDB; color: var(--oj-accent); }
.oj-has-sub:hover > .oj-sub,
.oj-has-sub:focus-within > .oj-sub { display: block; }

/* mobile hamburger (hidden by default) */
.oj-menu-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .oj-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--oj-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--oj-line);
  }
  .oj-nav.oj-nav-open { display: flex; }
  .oj-nav a { padding: 14px 24px; border-top: 1px solid var(--oj-line); }
  .oj-nav a { display: block; }
  .oj-has-sub > a::after { display: none; }
  .oj-sub {
    display: block;
    position: static;
    transform: none;
    padding: 0;
    min-width: 0;
  }
  .oj-sub::before { display: none; }
  .oj-sub li:first-child, .oj-sub li:last-child { padding: 0; }
  .oj-sub a { padding: 12px 24px 12px 44px; font-size: 14px; color: var(--oj-muted); white-space: normal; }
  .oj-menu-toggle { display: block; }
  .oj-header-inner { position: relative; }
}

/* hero (gradient) */
.oj-hero {
  background: linear-gradient(115deg, #F8F0DF 0%, #EFE2C6 32%, #C9CDBB 62%, #8FA097 88%, var(--oj-accent2) 100%);
}
.oj-hero-inner {
  padding: 96px 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.oj-hero-eyebrow {
  font-family: 'Noto Serif KR', serif;
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--oj-accent);
  text-transform: uppercase;
}
.oj-hero h1 {
  margin: 0;
  font-family: 'Noto Serif KR', serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.45;
  max-width: 720px;
}
.oj-hero p { margin: 4px 0 0; font-size: 19px; color: #6E5D45; }

@media (max-width: 640px) {
  .oj-hero h1 { font-size: 30px; }
  .oj-hero-inner { padding: 56px 0 48px; }
}

/* shared card / button */
.oj-card {
  background: var(--oj-card);
  border: 1px solid var(--oj-line);
  border-radius: 14px;
}
.oj-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oj-card);
  border: 1px solid var(--oj-line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
}
.oj-pill:hover { border-color: var(--oj-accent); color: var(--oj-accent); }
.oj-btn-primary {
  background: var(--oj-accent);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  border: none;
}

/* footer */
.oj-footer { border-top: 1px solid var(--oj-line); }
.oj-footer-inner {
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  color: var(--oj-muted);
}

/* responsive grid utils (shared across content skins) */
.oj-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.oj-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) {
  .oj-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .oj-grid-2, .oj-grid-3 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Home page widget styling (page module / content widgets)            */
/* Leaves widget structure and data untouched, restyles appearance only */
/* ------------------------------------------------------------------ */

main.oj-wrap {
  padding-top: 32px;
  padding-bottom: 56px;
}

.xe-widget-wrapper {
  box-sizing: border-box !important;
  background: var(--oj-card) !important;
  border: 1px solid var(--oj-line) !important;
  border-radius: 14px !important;
  padding: 24px 26px !important;
  box-shadow: none !important;
  height: auto !important;
  overflow: visible !important;
}

.simpleWidgetStyle h2 {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  font-family: 'Noto Serif KR', serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--oj-text) !important;
  background: none !important;
}

.simpleWidgetStyle .widgetMoreLink {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 13px;
  color: var(--oj-accent) !important;
  text-decoration: none !important;
}
.simpleWidgetStyle { position: relative; }

.widgetTableA {
  width: 100% !important;
  border: none !important;
  border-collapse: collapse !important;
}
.widgetTableA tr { border: none !important; }
.widgetTableA td.title {
  border: none !important;
  border-bottom: 1px solid var(--oj-line) !important;
  padding: 10px 0 !important;
  font-size: 14px !important;
}
.widgetTableA tr:last-child td.title { border-bottom: none !important; }
.widgetTableA td.title a {
  color: var(--oj-text) !important;
  text-decoration: none !important;
}
.widgetTableA td.title a:hover { color: var(--oj-accent) !important; }
.widgetTableA .replyNum { color: var(--oj-accent) !important; font-size: 12px; margin-left: 4px; }
.widgetTableA .icon img { opacity: 0.5; vertical-align: middle; }

/* Widget wrappers were laid out with inline float/width from the drag&drop
   editor. On narrow screens, force them to stack full-width. */
@media (max-width: 860px) {
  .xe-widget-wrapper {
    float: none !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    height: auto !important;
  }
}


/* ===== top member bar ===== */
.oj-topbar { background: #F3EAD8; border-bottom: 1px solid var(--oj-line, #EFE4C9); font-size: 13px; }
.oj-topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 18px; min-height: 36px; }
.oj-topbar a { color: #6E5D45; text-decoration: none; }
.oj-topbar a:hover { color: var(--oj-accent); }
.oj-topbar-hello { color: #8A7759; }
.oj-topbar-hello strong { color: #3D3229; font-weight: 600; }
.oj-topbar-hello img { vertical-align: middle; max-height: 18px; }
.oj-topbar a.oj-topbar-join {
  padding: 3px 12px; border-radius: 999px;
  background: var(--oj-accent); color: #fff;
}
.oj-topbar a.oj-topbar-join:hover { color: #fff; opacity: .88; }
@media (max-width: 600px) {
  .oj-topbar-inner { gap: 12px; justify-content: center; }
  .oj-topbar-hello { display: none; }
}

/* ===== member pages (login / sign up / my info) ===== */
.oj-member-page main {
  max-width: 640px;
  margin: 48px auto 72px;
  padding: 36px 40px;
  background: var(--oj-card, #fff);
  border: 1px solid var(--oj-line, #EFE4C9);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(61, 50, 41, .06);
  box-sizing: border-box;
}
.oj-member-page main h1,
.oj-member-page main h2 { font-family: 'Noto Serif KR', serif; color: #3D3229; }
.oj-member-page main input[type="text"],
.oj-member-page main input[type="email"],
.oj-member-page main input[type="password"],
.oj-member-page main input[type="tel"],
.oj-member-page main input[type="url"],
.oj-member-page main input[type="number"],
.oj-member-page main input[type="date"],
.oj-member-page main select,
.oj-member-page main textarea {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #E2D5B8;
  border-radius: 10px;
  background: #FFFDF8;
  box-sizing: border-box;
}
.oj-member-page main input:focus,
.oj-member-page main select:focus,
.oj-member-page main textarea:focus {
  outline: none;
  border-color: var(--oj-accent);
  box-shadow: 0 0 0 3px rgba(181, 101, 29, .12);
}
.oj-member-page main input[type="submit"],
.oj-member-page main button[type="submit"],
.oj-member-page main .btn-primary,
.oj-member-page main .btn_insert {
  padding: 12px 28px;
  font-size: 15px;
  font-family: inherit;
  border: 0;
  border-radius: 999px;
  background: var(--oj-accent) !important;
  color: #fff !important;
  cursor: pointer;
}
.oj-member-page main input[type="submit"]:hover,
.oj-member-page main button[type="submit"]:hover { opacity: .88; }
.oj-member-page main label { font-size: 14px; color: #5A4A36; }
.oj-member-page main a { color: var(--oj-accent); }
.oj-member-page main table { width: 100%; border-collapse: collapse; }
.oj-member-page main th,
.oj-member-page main td { padding: 10px 6px; border-bottom: 1px solid var(--oj-line, #EFE4C9); text-align: left; vertical-align: middle; font-size: 14px; }
@media (max-width: 600px) {
  .oj-member-page main { margin: 20px 12px 48px; padding: 24px 18px; }
}


/* ===== visitor counter (footer) ===== */
.oj-counter {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  padding: 8px 6px;
  background: var(--oj-card, #fff);
  border: 1px solid var(--oj-line, #EADFC8);
  border-radius: 999px;
}
.oj-counter-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 20px; }
.oj-counter-item + .oj-counter-item { border-left: 1px solid var(--oj-line, #EADFC8); }
.oj-counter-item em { font-style: normal; font-size: 13px; color: var(--oj-muted); }
.oj-counter-item strong { font-size: 15px; font-weight: 600; color: #3D3229; }
.oj-counter-item:first-child strong { color: var(--oj-accent); }
.oj-copy { font-size: 13px; color: var(--oj-muted); }
@media (max-width: 600px) {
  .oj-counter-item { padding: 0 12px; gap: 5px; }
  .oj-counter-item strong { font-size: 14px; }
}


/* ===== floating "back to top" button ===== */
.oj-totop {
  position: fixed;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  width: 54px;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 1px solid var(--oj-line, #EADFC8);
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--oj-accent);
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(61, 50, 41, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .15s;
}
.oj-totop span { margin-top: 1px; }
.oj-totop.oj-totop-show { opacity: 1; visibility: visible; transform: translateY(0); }
.oj-totop:hover { background: var(--oj-accent); color: #fff; border-color: var(--oj-accent); }
@media (max-width: 600px) {
  .oj-totop { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
}

/* ===== member pages: phone number group ===== */
.oj-member-page main .oj-tel-group { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; max-width: 100%; }
.oj-member-page main input.oj-tel,
.oj-member-page main input[type="text"][name$="[]"],
.oj-member-page main input[type="tel"][name$="[]"] {
  width: 84px !important;
  min-width: 84px;
  flex: 0 0 auto;
  height: auto;
  padding: 11px 8px !important;
  text-align: center;
  letter-spacing: .06em;
  font-size: 15px;
  box-sizing: border-box;
}
.oj-member-page main .oj-tel-group input.oj-tel:first-child { width: 72px !important; min-width: 72px; }
.oj-member-page main .oj-tel-dash { color: var(--oj-muted); font-size: 16px; }
@media (max-width: 400px) {
  .oj-member-page main input.oj-tel,
  .oj-member-page main input[type="text"][name$="[]"],
  .oj-member-page main input[type="tel"][name$="[]"] { width: 70px !important; min-width: 70px; padding: 10px 4px !important; }
  .oj-member-page main .oj-tel-group input.oj-tel:first-child { width: 60px !important; min-width: 60px; }
}

/* ===== logo image ===== */
.oj-logo { display: inline-flex; align-items: center; line-height: 0; }
.oj-logo img { display: block; height: 30px; width: auto; max-width: 60vw; }

/* ===== home (layout-rendered main page) ===== */
.oj-home-hero .oj-hero-inner { padding: 88px 0 80px; }
.oj-hero-btn { margin-top: 10px; display: inline-block; text-decoration: none; box-shadow: 0 6px 16px rgba(181, 101, 29, .25); }
.oj-hero-btn:hover { color: #fff; opacity: .92; }
.oj-home { padding: 48px 0 72px; }
.oj-home-sec { margin-bottom: 48px; }
.oj-home-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.oj-home-sec-head h2 { margin: 0; font-family: 'Noto Serif KR', serif; font-size: 24px; color: #3D3229; }
.oj-home-more { font-size: 13px; color: var(--oj-accent); text-decoration: none; }
.oj-home-more:hover { text-decoration: underline; }

/* video cards */
.oj-vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.oj-vcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: #3D3229; }
.oj-vthumb {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 14px; background: #E9DDC4;
  box-shadow: 0 6px 18px rgba(61, 50, 41, .10);
}
.oj-vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.oj-vcard:hover .oj-vthumb img { transform: scale(1.05); }
.oj-vthumb-empty { background: linear-gradient(135deg, #F3E6CB 0%, #D9CDB0 45%, #9FAE9F 100%); }
.oj-vplay {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .88); color: var(--oj-accent);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}
.oj-vtitle { font-size: 15px; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oj-vcard:hover .oj-vtitle { color: var(--oj-accent); }
.oj-vmeta { font-size: 12px; color: var(--oj-muted); }

/* memo strip */
.oj-memo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.oj-memo-chip {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 16px 18px; min-height: 96px;
  background: #FFFBEF; border: 1px solid #EFE3BE; border-radius: 14px;
  text-decoration: none; color: #3D3229; position: relative;
}
.oj-memo-chip::before { content: '“'; position: absolute; top: 2px; left: 10px; font-family: 'Noto Serif KR', serif; font-size: 34px; color: #E4CF96; line-height: 1; }
.oj-memo-text { padding-top: 8px; font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oj-memo-meta { font-size: 12px; color: var(--oj-muted); }
.oj-memo-meta img { vertical-align: middle; max-height: 16px; }
.oj-memo-chip:hover { border-color: var(--oj-accent); }

/* latest boxes */
.oj-bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.oj-bbox {
  padding: 22px 26px 18px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--oj-line);
  border-radius: 16px;
}
.oj-bbox-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 2px solid #E7D9BC; }
.oj-bbox-head h3 { margin: 0; font-family: 'Noto Serif KR', serif; font-size: 19px; }
.oj-bbox-head h3 a { color: #3D3229; text-decoration: none; }
.oj-bbox-head h3 a:hover { color: var(--oj-accent); }
.oj-bbox-list { list-style: none; margin: 0; padding: 0; }
.oj-bbox-list li { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px dashed #EADFC8; }
.oj-bbox-list li:last-child { border-bottom: 0; }
.oj-bbox-list a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; text-decoration: none; color: #3D3229; font-size: 14.5px; }
.oj-bbox-list a:hover .oj-bbox-title { color: var(--oj-accent); }
.oj-bbox-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oj-bbox-cmt { flex-shrink: 0; font-size: 11px; color: var(--oj-accent); }
.oj-bbox-new { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: #D9534F; color: #fff; font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.oj-bbox-date { flex-shrink: 0; font-size: 12px; color: var(--oj-muted); }
.oj-bbox-empty { color: var(--oj-muted); font-size: 13px; justify-content: center; }

@media (max-width: 960px) {
  .oj-vgrid, .oj-memo-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .oj-home { padding: 32px 0 56px; }
  .oj-home-hero .oj-hero-inner { padding: 56px 0 48px; }
  .oj-bgrid { grid-template-columns: 1fr; }
  .oj-vgrid { gap: 14px; }
  .oj-memo-strip { grid-template-columns: 1fr; }
  .oj-bbox { padding: 18px 18px 12px; }
  .oj-home-sec-head h2 { font-size: 20px; }
}

/* v10.1: home banner height ~320px */
.oj-home-hero .oj-hero-inner {
  min-height: 320px;
  padding: 36px 0;
  box-sizing: border-box;
  justify-content: center;
  gap: 10px;
}
.oj-home-hero h1 { font-size: 40px; line-height: 1.35; }
.oj-home-hero p { font-size: 17px; margin: 0; }
.oj-home-hero .oj-hero-btn { margin-top: 8px; }
@media (max-width: 640px) {
  .oj-home-hero .oj-hero-inner { min-height: 260px; padding: 32px 0; }
  .oj-home-hero h1 { font-size: 28px; }
  .oj-home-hero p { font-size: 15px; }
}

/* v10.2: banner height 320px everywhere (new home + old widget page) */
.oj-hero .oj-hero-inner {
  min-height: 320px !important;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  box-sizing: border-box;
  justify-content: center;
  gap: 10px;
}
.oj-hero h1 { font-size: 40px; line-height: 1.35; }
.oj-hero p { font-size: 17px; margin: 0; }
@media (max-width: 640px) {
  .oj-hero .oj-hero-inner { min-height: 260px !important; padding-top: 32px !important; padding-bottom: 32px !important; }
  .oj-hero h1 { font-size: 28px; }
  .oj-hero p { font-size: 15px; }
}

/* YouTube thumbnails (hqdefault has black bars: zoom to hide) */
.oj-vthumb-yt img { transform: scale(1.36); }
.oj-vcard:hover .oj-vthumb-yt img { transform: scale(1.42); }

/* ===== music room shortcuts ===== */
.oj-music-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.oj-music-btn {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; border-radius: 18px;
  text-decoration: none; color: #3D3229;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(61, 50, 41, .08);
  transition: transform .2s, box-shadow .2s;
}
.oj-music-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(61, 50, 41, .14); }
.oj-music-theme { background: linear-gradient(120deg, #F7E7C6 0%, #EFD3A4 100%); border-color: #E6C88F; }
.oj-music-classic { background: linear-gradient(120deg, #DDE5DC 0%, #B7C7BD 100%); border-color: #A9BCAF; }
.oj-music-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: rgba(255, 255, 255, .7);
}
.oj-music-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.oj-music-txt strong { font-family: 'Noto Serif KR', serif; font-size: 19px; }
.oj-music-txt small { font-size: 13px; color: #6E5D45; }
.oj-music-arrow { font-size: 30px; color: rgba(61, 50, 41, .45); }
.oj-footer-links { margin-bottom: 10px; font-size: 13px; }
.oj-footer-links a { color: #6E5D45; text-decoration: none; }
.oj-footer-links a:hover { color: var(--oj-accent); }
.oj-footer-links span { margin: 0 10px; color: var(--oj-muted); }
@media (max-width: 640px) {
  .oj-music-links { grid-template-columns: 1fr; gap: 12px; }
  .oj-music-btn { padding: 16px 18px; gap: 14px; }
  .oj-music-icon { width: 46px; height: 46px; font-size: 23px; }
  .oj-music-txt strong { font-size: 17px; }
}

/* v10.7: lower banner (no button) + slimmer music buttons */
.oj-home-hero .oj-hero-inner {
  min-height: 230px !important;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  gap: 8px;
}
.oj-home-hero .oj-hero-eyebrow { font-size: 13px; }
.oj-home-hero h1 { font-size: 38px; }
.oj-music-btn { padding: 12px 22px; gap: 14px; border-radius: 14px; }
.oj-music-icon { width: 40px; height: 40px; font-size: 20px; }
.oj-music-txt { gap: 1px; }
.oj-music-txt strong { font-size: 17px; }
.oj-music-txt small { font-size: 12px; }
.oj-music-arrow { font-size: 24px; }
.oj-music-btn:focus { outline: none; }
.oj-music-btn:focus-visible { outline: 2px solid var(--oj-accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .oj-home-hero .oj-hero-inner { min-height: 190px !important; padding-top: 26px !important; padding-bottom: 26px !important; }
  .oj-home-hero h1 { font-size: 27px; }
  .oj-music-btn { padding: 11px 16px; }
  .oj-music-icon { width: 36px; height: 36px; font-size: 18px; }
  .oj-music-txt strong { font-size: 16px; }
}

/* v10.8: autumn-maple gradient banner */
.oj-hero {
  background: linear-gradient(110deg,
    #F8F0DF 0%,
    #F4E4C4 30%,
    #EFCB98 52%,
    #E3A266 70%,
    #CC6A3E 86%,
    #A8362A 100%) !important;
}

/* ===== compact header: hamburger menu when the menu doesn't fit (desktop) ===== */
.oj-header.oj-compact .oj-header-inner { position: relative; }
.oj-header.oj-compact .oj-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
}
.oj-header.oj-compact .oj-menu-toggle:hover { background: #F1E7D2; }
.oj-header.oj-compact .oj-nav {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  width: 300px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  background: var(--oj-card, #fff);
  border: 1px solid var(--oj-line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(61, 50, 41, .16);
  z-index: 1000;
}
.oj-header.oj-compact .oj-nav.oj-nav-open { display: flex; }
.oj-header.oj-compact .oj-nav > li { position: static; }
.oj-header.oj-compact .oj-nav a { display: block; padding: 11px 22px; white-space: normal; }
.oj-header.oj-compact .oj-nav > li + li > a { border-top: 1px solid #F1E9D8; }
.oj-header.oj-compact .oj-has-sub > a::after { display: none; }
.oj-header.oj-compact .oj-sub {
  display: block;
  position: static;
  transform: none;
  padding: 0 0 6px;
  min-width: 0;
}
.oj-header.oj-compact .oj-sub::before { display: none; }
.oj-header.oj-compact .oj-sub li:first-child,
.oj-header.oj-compact .oj-sub li:last-child { padding: 0; }
.oj-header.oj-compact .oj-sub a { padding: 7px 22px 7px 40px; font-size: 14px; color: var(--oj-muted); }
.oj-header.oj-compact .oj-sub a:hover { color: var(--oj-accent); background: #FBF6EC; }

/* v11.0: desktop menu items never wrap (overflow -> hamburger) */
@media (min-width: 861px) {
  .oj-nav { flex-wrap: nowrap; }
  .oj-nav > li { flex-shrink: 0; }
  .oj-nav > li > a { white-space: nowrap; }
  .oj-header-inner { min-width: 0; }
  .oj-logo { flex-shrink: 0; }
}

/* ===== v11.1: "더보기" overflow menu (only the menus that don't fit) ===== */
.oj-more { position: relative; display: none; }
.oj-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--oj-line); border-radius: 999px;
  background: var(--oj-card, #fff); color: #3D3229; cursor: pointer;
  font-family: inherit; font-size: 14px; white-space: nowrap;
}
.oj-more-btn:hover, .oj-more.oj-more-open .oj-more-btn { color: var(--oj-accent); border-color: var(--oj-accent); }
.oj-more-list {
  display: none;
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 280px; max-height: calc(100vh - 150px); overflow-y: auto;
  margin: 0; padding: 8px 0; list-style: none;
  background: var(--oj-card, #fff);
  border: 1px solid var(--oj-line); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(61, 50, 41, .16);
  z-index: 1000;
}
.oj-more.oj-more-open .oj-more-list { display: block; }
.oj-more-list > li { position: static; }
.oj-more-list > li + li { border-top: 1px solid #F1E9D8; }
.oj-more-list a { display: block; padding: 11px 20px; white-space: normal !important; }
.oj-more-list .oj-has-sub > a::after { display: none; }
.oj-more-list .oj-sub,
.oj-more-list .oj-has-sub:hover > .oj-sub {
  display: block; position: static; transform: none;
  min-width: 0; padding: 0 0 6px;
}
.oj-more-list .oj-sub::before { display: none; }
.oj-more-list .oj-sub li:first-child,
.oj-more-list .oj-sub li:last-child { padding: 0; }
.oj-more-list .oj-sub a { padding: 7px 20px 7px 36px; font-size: 14px; color: var(--oj-muted); }
.oj-more-list .oj-sub a:hover { background: #FBF6EC; color: var(--oj-accent); }
@media (max-width: 860px) {
  .oj-more { display: none !important; }
}

/* ===== frame page (old HTML files inside the layout) ===== */
.oj-frame-wrap { padding: 32px 0 56px; }
.oj-extframe {
  display: block; width: 100%; min-height: 600px; border: 0;
  background: transparent;
}
@media (max-width: 640px) {
  .oj-frame-wrap { padding: 16px 0 40px; }
}
