/*
Theme Name: 2026 전주비빔밥축제
Description: 공식 로고와 인쇄용 포스터, Figma 승인 디자인을 적용한 Astra 자식 테마.
Author: 다올씨앤티
Template: astra
Version: 1.0.2
Text Domain: bibimbap-2026
Requires at least: 6.0
Requires PHP: 7.4
*/

body.bb-festival {
  --bb-navy:#253c68; --bb-sky:#71a3ba; --bb-mist:#edf5f6; --bb-cream:#fbf8f0;
  --bb-amber:#c87d36; --bb-ink:#253248; --bb-muted:#56616a; --bb-line:#d8e1df; --bb-pale:#cadbe2;
  font-family:'Noto Sans KR',sans-serif; color:var(--bb-ink); background:var(--bb-cream);
}
.bb-header,.bb-footer,.bb-home {font-family:'Noto Sans KR',sans-serif;line-height:1.5;letter-spacing:0;box-sizing:border-box}
.bb-header *,.bb-footer *,.bb-home * {box-sizing:border-box}
.bb-header p,.bb-header h2,.bb-header ul,.bb-footer p,.bb-footer ul,.bb-footer address,.bb-home figure {margin:0;padding:0}
.bb-header ul,.bb-footer ul {list-style:none}
.bb-header a,.bb-footer a {text-decoration:none;color:inherit}
.bb-header button {font:inherit;border:0;margin:0;cursor:pointer;text-transform:none;letter-spacing:0;box-shadow:none}
.bb-header a:focus-visible,.bb-header button:focus-visible,.bb-footer a:focus-visible {outline:3px solid var(--bb-amber);outline-offset:4px}
.bb-header [hidden] {display:none!important}
.bb-header {position:relative;z-index:50;color:var(--bb-navy);background:#fff}
.bb-event-strip {height:36px;display:flex;align-items:center;justify-content:center;background:var(--bb-navy);color:#fff;font-size:12px;font-weight:500}
.bb-mobile-date {display:none}
.bb-header-main {max-width:1280px;margin:auto;height:104px;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:2;background:#fff}
.bb-brand {display:block;flex:none;line-height:0}
.bb-brand img {width:220px;height:auto;display:block;max-width:100%}
.bb-primary-nav {display:flex;align-items:center;gap:0}
.bb-header .bb-nav-trigger {padding:14px 12px;height:52px;display:flex;align-items:center;gap:12px;color:var(--bb-navy);background:transparent;border-radius:999px;font-size:16px;font-weight:700;white-space:nowrap}
.bb-nav-trigger:hover,.bb-header .bb-nav-trigger[aria-expanded=true] {background:var(--bb-cream)}
.bb-header-actions {display:flex;align-items:center;gap:8px}
.bb-icon {width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.bb-icon img {display:block;width:auto;height:auto;max-width:100%;max-height:100%}
.bb-icon--chevron,.bb-icon--arrow {width:16px;height:16px}
.bb-icon--leaf {width:32px;height:32px}
.bb-header a.bb-button {display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:14px 24px;min-height:52px;border-radius:999px;background:var(--bb-navy);color:#fff;font-size:14px;font-weight:700;white-space:nowrap}
.bb-header a.bb-button:hover {background:#355484}
.bb-social {width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.bb-social:hover {background:var(--bb-cream)}
.bb-header .bb-menu-toggle {display:none}
.bb-menu-backdrop {position:fixed;inset:140px 0 0;background:rgba(37,60,104,.14);z-index:0}
.admin-bar .bb-menu-backdrop {top:172px}
.bb-menu {position:absolute;top:100%;left:40px;right:40px;max-width:1200px;margin-inline:auto;z-index:3;padding:32px;display:grid;grid-template-columns:230px minmax(180px,1fr) minmax(180px,1fr) minmax(140px,.8fr);gap:24px;border-radius:24px;background:#fff;box-shadow:0 16px 32px rgba(37,60,104,.15);max-height:calc(100dvh - 156px);overflow:auto}
.bb-menu-feature {padding:24px;min-height:332px;border-radius:16px;background:var(--bb-cream);display:flex;flex-direction:column;align-items:flex-start;gap:20px;font-size:14px;color:var(--bb-muted)}
.bb-menu-feature .bb-menu-feature-title {font-size:24px;line-height:1.25;font-weight:700;color:var(--bb-navy)}
.bb-menu-feature .bb-button {margin-top:auto;width:100%;padding-left:16px;padding-right:16px}
.bb-menu-group h2 {font-size:16px;line-height:1.5;font-weight:700;color:var(--bb-navy);margin:0 0 16px;white-space:nowrap}
.bb-menu-group a {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:500;color:var(--bb-ink)}
.bb-menu-group a:hover {background:var(--bb-mist);color:var(--bb-navy)}
.bb-menu-mobile-title,.bb-menu-number,.bb-menu-instagram {display:none}
body.bb-festival-home #content > .ast-container {display:block;max-width:none;padding:0}
body.bb-festival-home #primary.bb-home {width:100%;margin:0;padding:48px 24px;display:flex;justify-content:center;background:var(--bb-mist)}
.bb-poster {width:724px;max-width:100%;box-shadow:0 18px 36px rgba(37,60,104,.13)}
.bb-poster img {display:block;width:100%;height:auto;border-radius:0}
.bb-footer {background:var(--bb-navy);color:var(--bb-pale)}
.bb-footer-wave {display:block;width:100%;height:64px}
.bb-footer-wave img {display:block;width:100%;height:100%;object-fit:fill}
.bb-footer-inner {max-width:1280px;margin:auto;padding:48px 40px 32px}
.bb-footer-top {display:flex;justify-content:space-between;gap:48px;padding-bottom:40px}
.bb-footer-invitation {width:340px;flex-shrink:0;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.bb-brand--footer {padding:12px;background:var(--bb-cream);border-radius:8px}
.bb-footer-greeting {font-size:36px;font-weight:700;line-height:1.25;color:#fff}
.bb-footer-date {display:flex;align-items:center;gap:12px;font-size:14px}
.bb-footer-nav {display:flex;justify-content:space-between;gap:24px;flex:1}
.bb-footer-nav > div {min-width:120px}
.bb-footer-nav-title {font-size:16px;font-weight:700;color:#fff;white-space:nowrap}
.bb-footer-nav ul {display:flex;flex-direction:column;gap:16px;margin-top:20px;font-size:14px}
.bb-footer-nav a:hover,.bb-footer-quick a:hover,.bb-contact a:hover {color:#fff;text-decoration:underline;text-underline-offset:4px}
.bb-footer-quick {display:none}
.bb-footer-bottom {border-top:1px solid rgba(202,219,226,.22);padding-top:24px;display:flex;flex-direction:column;gap:20px}
.bb-footer-details {display:flex;justify-content:space-between;align-items:flex-start;gap:32px}
.bb-organization p {color:#fff;font-size:16px;font-weight:700;margin-bottom:8px}
.bb-organization address {font-size:14px;font-style:normal}
.bb-contact {display:flex;flex-direction:column;gap:4px;font-size:14px}
.bb-contact .bb-phone {font-size:20px;font-weight:700;color:#fff}
.bb-copyright {font-size:12px}
@media (max-width:1099px) {
  .bb-desktop-date,.bb-primary-nav,.bb-header-actions {display:none}
  .bb-mobile-date {display:inline}.bb-event-strip {height:32px}
  .bb-header-main {height:88px;padding:16px 24px;gap:16px}
  .bb-header .bb-brand img {width:180px}
  .bb-header .bb-menu-toggle {width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:var(--bb-cream);color:var(--bb-navy);border-radius:50%;padding:0;flex:none}
  .bb-close-icon {display:none;font-family:Arial,sans-serif;font-size:30px;line-height:1;font-weight:400}
  .bb-menu-is-open .bb-close-icon {display:block}.bb-menu-is-open .bb-icon--menu {display:none}
  body.bb-menu-lock {overflow:hidden}
  .bb-menu-backdrop {inset:120px 0 0}.admin-bar .bb-menu-backdrop {top:152px}
  .bb-menu {position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;gap:24px;padding:24px;background:var(--bb-cream);border-radius:0;box-shadow:none;max-height:calc(100dvh - 120px);overscroll-behavior:contain}
  .admin-bar .bb-menu {max-height:calc(100dvh - 152px)}
  .bb-menu-feature {display:none}
  .bb-menu-mobile-title {display:flex;align-items:center;justify-content:space-between}
  .bb-menu-mobile-title h2 {font-size:28px;line-height:1.25;font-weight:700;color:var(--bb-navy)}
  .bb-menu-group h2 {display:flex;align-items:center;gap:12px;font-size:18px;margin-bottom:12px}
  .bb-menu-number {display:inline;color:var(--bb-amber);font-size:12px}
  .bb-menu-group ul {padding:8px;border-radius:16px;background:#fff}
  .bb-menu-group a {min-height:48px;font-size:14px}
  .bb-menu-instagram {display:flex;align-items:center;justify-content:center;gap:12px;padding:4px 0;font-size:13px}
  .bb-menu-instagram .bb-icon {width:20px;height:20px}
  body.bb-festival-home #primary.bb-home {padding:24px}
  .bb-poster {width:724px;box-shadow:none}
  .bb-footer-wave {height:32px}
  .bb-footer-inner {padding:32px 24px;max-width:772px}
  .bb-footer-top {display:block;padding:0}
  .bb-footer-invitation {width:auto;gap:24px}
  .bb-footer-greeting {font-size:28px}
  .bb-footer-date,.bb-footer-nav {display:none}
  .bb-footer-quick {display:flex;align-items:center;gap:24px;margin:24px 0;height:44px;color:#fff;font-size:14px;font-weight:700}
  .bb-footer-quick a {display:flex;align-items:center;min-height:44px}
  .bb-footer-bottom {padding-top:24px;gap:24px}
  .bb-footer-details {flex-direction:column;gap:24px}
  .bb-address-break {display:block}
  .bb-contact .bb-phone {font-size:24px}
}
@media (max-width:782px) {
  .admin-bar .bb-menu {max-height:calc(100dvh - 166px)}
  .admin-bar .bb-menu-backdrop {top:166px}
}
@media (prefers-reduced-motion:no-preference) {
  .bb-header a,.bb-header button,.bb-footer a {transition:background-color .15s,color .15s}
}
