@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* 
   ghClinic Premium Purple Design
   Color Palette:
   - Primary: #7d3078 (Premium Purple)
   - Secondary: #5a1a56 (Deep Purple)
   - Accent: #f2e205 (Gold/Yellow)
   - Background: #fdfafb (Soft Lavender White)
   - White: #ffffff
*/

:root {
    --gh-primary: #7d3078;
    --gh-secondary: #5a1a56;
    --gh-accent: #f2e205;
    --gh-bg: #fdfafb;
    --gh-text: #4a3449;
    --gh-light-text: #9a8a9a;
    --gh-white: #ffffff;
    --gh-sidebar-width: 280px;
    --gh-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Typography */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    background-color: var(--gh-bg);
    color: var(--gh-text);
    box-sizing: border-box;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Layout Wrapper */
#gh-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation (Desktop) */
#gh-sidebar {
    width: var(--gh-sidebar-width);
    background: linear-gradient(180deg, var(--gh-primary) 0%, var(--gh-secondary) 100%);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    box-shadow: 4px 0 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    color: var(--gh-white);
}

/* Sidebar Background Pattern Effect */
#gh-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/patten.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    mix-blend-mode: overlay;
    mask-image: linear-gradient(180deg, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 40%);
    pointer-events: none;
}

.gh-logo {
    padding: 40px 25px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    background-image:
        radial-gradient(circle at 50% 0%,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.55) 18%,
            rgba(255,255,255,0.18) 40%,
            rgba(255,255,255,0) 65%),
        linear-gradient(180deg, var(--gh-grad-from, var(--gh-primary)) 0%, var(--gh-grad-to, var(--gh-secondary)) 100%);
    background-blend-mode: overlay, normal;
}
.gh-logo::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/patten.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}
.gh-logo a { position: relative; z-index: 1; }

.gh-logo a {
    display: block;
}

.gh-logo .logogh {
    width: 101px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: 57px;
    margin-right: auto;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}

.gh-slogan {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: left;
    margin-left: 17px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}

.gh-logo .textlogo {
    width: auto;
    max-width: 206px;
    height: auto;
    display: block;
    margin-left: 8px;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}

.gh-nav-menu {
    flex-grow: 1;
    padding: 0 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.25) transparent;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.gh-nav-menu > ul > li:last-child > a {
    border-bottom: none;
}
.gh-nav-menu::-webkit-scrollbar {
    width: 4px;
}
.gh-nav-menu::-webkit-scrollbar-track {
    background: transparent;
}
.gh-nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.22);
    border-radius: 10px;
    transition: background 0.2s ease;
}
.gh-nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.45);
}

.gh-nav-menu ul li a {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    transition: var(--gh-transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gh-nav-menu ul li a:hover, 
.gh-nav-menu ul li a.active {
    color: var(--gh-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.gh-nav-menu ul li a.active {
    background-color: rgba(0, 0, 0, 0.2);
}

.gh-nav-divider {
    padding: 20px 30px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* 아코디언 토글 화살표 */
.gh-sub-toggle {
    justify-content: flex-start;
    position: relative;
}

.gh-sub-toggle .gh-arrow {
    position: absolute;
    right: 20px;
    font-size: 11px;
    opacity: 0.4;
    margin-right: 0;
    width: auto;
    transition: transform 0.3s ease;
}

.gh-has-sub.open .gh-sub-toggle .gh-arrow {
    transform: rotate(180deg);
}

/* 서브메뉴 */
.gh-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #ffebfe;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-has-sub.open .gh-sub-menu {
    max-height: 500px;
}

.gh-sub-menu li a {
    padding: 10px 30px 10px 47px !important;
    font-size: 15px !important;
    color: #1a1a2e !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    position: relative;
}
.gh-sub-menu li a::before {
    content: '-';
    position: absolute;
    left: 34px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0,0,0,0.25);
    font-size: 14px;
    line-height: 1;
}

.gh-sub-menu li a:hover {
    color: #000 !important;
    background: rgba(0,0,0,0.04) !important;
}
.gh-sub-menu li a.active {
    color: #000 !important;
    background: rgba(0,0,0,0.06) !important;
    font-weight: 600 !important;
}
.gh-sub-menu li a.active::before {
    color: #000 !important;
}

.gh-nav-menu ul li a i {
    margin-right: 15px;
    font-size: 18px;
    width: 25px;
    text-align: center;
    opacity: 0.4;
}

.gh-sidebar-footer {
    flex-shrink: 0;
    padding: 20px 30px;
    background-color: rgba(0,0,0,0.2);
    color: var(--gh-white);
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.gh-sidebar-footer .tel {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    color: #ffdd8e; /* Gold point color */
}

/* Main Content Area */
#gh-main {
    flex-grow: 1;
    margin-left: var(--gh-sidebar-width);
    margin-right: 100px;
    min-height: 100vh;
    width: calc(100% - var(--gh-sidebar-width) - 100px);
}

/* Topbar */
.gh-topbar {
    display: none; /* Hide topbar (login/register) */
    height: 70px;
    background-color: var(--gh-white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.gh-topbar-links a {
    margin-left: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gh-light-text);
    transition: var(--gh-transition);
}

.gh-topbar-links a:hover {
    color: var(--gh-primary);
}

/* Hero Section */
.gh-hero {
    height: 520px;
    display: flex;
    align-items: center;
    padding: 0 60px;
    color: var(--gh-white);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #795d4224;
}

.gh-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.gh-hero-slide {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 520px;
    opacity: 1;
    z-index: 0;
}
.gh-hero-slide.is-prev {
    z-index: 1;
}
.gh-hero-slide.is-active {
    z-index: 2;
}
@property --gh-wipe {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 100%;
}
.gh-hero-slide.is-enter {
    --gh-wipe: -5%;
    -webkit-mask-image: linear-gradient(90deg, #000 var(--gh-wipe), transparent calc(var(--gh-wipe) + 1%));
            mask-image: linear-gradient(90deg, #000 var(--gh-wipe), transparent calc(var(--gh-wipe) + 1%));
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    animation: ghHeroWipe 2.4s cubic-bezier(.77, 0, .175, 1) forwards;
}
@keyframes ghHeroWipe {
    0%   { --gh-wipe: -5%; }
    100% { --gh-wipe: 105%; }
}

.gh-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.gh-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.6);
    padding: 0;
    cursor: pointer;
    transition: all .25s ease;
}
.gh-hero-dot:hover { background: rgba(255,255,255,.9); }
.gh-hero-dot.is-active {
    background: #fff;
    width: 32px;
    border-radius: 8px;
}

.gh-hero-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: transparent;
    mask-image: none;
    -webkit-mask-image: none;
    z-index: 1;
}

.gh-hero-content h2,
.gh-hero-content p {
    text-shadow: none;
    color: #111;
    font-family: 'Noto Sans KR', sans-serif;
}

.gh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.gh-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgb(112 0 79 / 86%);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.gh-hero h2 {
    font-size: 46px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 20px 0;
}

.gh-hero h2 strong {
    color: #ff5809;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.gh-hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
}

.gh-hero-btns .gh-btn-primary {
    display: inline-block;
    padding: 16px 35px;
    background: var(--gh-white);
    color: var(--gh-primary);
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: var(--gh-transition);
}

.gh-hero-btns .gh-btn-outline {
    display: inline-block;
    padding: 14px 33px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    color: var(--gh-white);
    font-weight: 700;
    margin-left: 15px;
    transition: var(--gh-transition);
}

.gh-hero-btns a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Container and Grid */
.gh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 상단 2열 피처 카드 */
.gh-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.gh-feature-card {
    position: relative;
    display: block;
    padding: 40px 35px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gh-feature-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.gh-feature-card.varicose {
    background: url('../images/haji.webp') center/cover no-repeat;
}

.gh-feature-card.calf {
    background: url('../images/calfsam.webp') no-repeat right center;
    background-size: cover;
}

.gh-feature-overlay {
    display: flex;
    flex-direction: column;
}

.gh-feature-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
}

.gh-feature-card.varicose .gh-feature-tag {
    color: #679fbb;
}

.gh-feature-card.calf .gh-feature-tag {
    color: #f17590;
}

.gh-feature-card h3 {
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: #1f2937;
    letter-spacing: -1px;
}

.gh-feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 40px 0;
}

.gh-feature-more {
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 4px;
    color: #111;
    padding: 10px 20px;
    font-size: 12px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    transition: all 0.25s ease;
}

.gh-feature-more:hover {
    background: rgba(255,255,255,0.65);
}

.gh-feature-card.varicose:hover .gh-feature-more { background: rgba(2,132,199,0.4); }
.gh-feature-card.calf:hover .gh-feature-more { background: rgba(225,29,72,0.4); }

/* 하단 3열 서브 박스 */
.gh-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gh-sub-box {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.gh-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.gh-sub-header h4 {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
}

.gh-sub-header h4 i {
    color: #9ca3af;
    font-size: 14px;
}

.gh-more-link {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    transition: color 0.2s;
}

.gh-more-link:hover {
    color: #1f2937;
}

/* 공지사항 & TV 리스트 */
.gh-notice-list li,
.gh-tv-list li {
    padding: 9px 0;
    border-bottom: 1px solid #f9fafb;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #374151;
}

.gh-notice-list li:last-child,
.gh-tv-list li:last-child {
    border-bottom: none;
}

/* 진료안내 */
.gh-time-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-time-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.gh-time-list li:last-child {
    border-bottom: none;
}

.gh-time-list li span {
    color: #6b7280;
    font-weight: 600;
    font-size: 13px;
}

.gh-time-list li strong {
    color: #1f2937;
    font-size: 13px;
}

.gh-time-list li.closed strong {
    color: #ef4444;
}

.gh-call-box {
    margin-top: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
}

.gh-call-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 6px;
}

.gh-call-number {
    font-size: 20px;
    font-weight: 400;
    color: #9b1616;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gh-call-number i {
    font-size: 14px;
}

/* Footer Content */
#gh-footer {
    margin-top: auto;
    background-color: var(--gh-white);
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.gh-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gh-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gh-bg);
    margin-bottom: 30px;
}

.gh-footer-logo h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--gh-light-text);
}

.gh-footer-logo h2 span {
    color: var(--gh-primary);
    opacity: 0.5;
}

.gh-footer-links {
    display: flex;
    gap: 25px;
}

.gh-footer-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-light-text);
}

.gh-footer-links a.privacy {
    color: var(--gh-text);
}

.gh-footer-info p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gh-light-text);
    margin-bottom: 20px;
}

.gh-footer-info p strong {
    color: var(--gh-text);
}

.gh-footer-info p span {
    margin: 0 10px;
    color: #e2e8f0;
}

.gh-footer-copy {
    font-size: 13px;
    color: #cbd5e1;
}

/* Mobile Adjustments */
.gh-mobile-header {
    display: none;
    height: 70px;
    background: var(--gh-white);
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.gh-mobile-header .gh-logo {
    padding: 0 0 0 10px;
    border-bottom: none;
}

.gh-mobile-logo {
    width: 145px;
    height: auto;
    display: block;
}

.gh-mobile-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-mobile-call {
    display: none;
}

.gh-hamburger {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gh-text);
    cursor: pointer;
    padding: 8px;
}

#gh-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

#gh-sidebar-overlay.active {
    display: block;
}

@media (max-width: 1024px) {
    #gh-sidebar { transform: translateX(-100%); transition: 0.3s; z-index: 1002; }
    #gh-sidebar.active { transform: translateX(0); }
    #gh-main { margin-left: 0; margin-right: 0; width: 100%; padding-top: 60px; }
    .gh-mobile-header { display: flex; }
    .gh-main-grid, .gh-sub-grid { grid-template-columns: 1fr; }
    .gh-hero {
        padding: 0 20px;
        height: auto;
        min-height: 280px;
        background-size: cover;
        background-position: center;
    }
    .gh-hero-blur { display: none; }
    .gh-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.6);
        z-index: 0;
    }
    .gh-hero h2 { font-size: 28px; }
    .gh-hero p { font-size: 14px; }
    .gh-tag { font-size: 11px; padding: 4px 12px; }
    .gh-feature-card { padding: 30px 24px; }
    .gh-feature-card h3 { font-size: 24px; }
    .gh-container { padding: 30px 16px; }
    .gh-sub-box { padding: 22px; }

    .gh-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .gh-footer-links {
        gap: 15px;
        flex-wrap: wrap;
    }
    .gh-footer-info p { font-size: 12px; }
}

br.mo-only { display: none; }

@media (max-width: 768px) {
    .gh-hero { min-height: 220px; padding: 0 16px; }
    .gh-hero h2 { font-size: 24px; }
    .gh-hero h2 strong { font-size: 28px; }
    .gh-hero p { font-size: 15px; line-height: 1.7; }
    br.mo-only { display: inline; }
    .gh-hero-content { max-width: 100%; }
    .gh-feature-card h3 { font-size: 22px; }
    .gh-feature-card p { font-size: 14px; }
    .gh-main-grid { gap: 14px; margin-bottom: 14px; }
    .gh-sub-grid { gap: 14px; }
    .gh-sub-header h4 { font-size: 14px; }
    .gh-time-list li { font-size: 13px; }
    .gh-call-number { font-size: 18px; }
    .gh-footer-container { padding: 0 16px; }
    #gh-footer { padding: 40px 0 100px; }
}

/* 모바일 하단 고정 네비게이션 */
#gh-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    z-index: 1100;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    border-top: 1px solid #e5e5e5;
}
#gh-bottom-nav a,
#gh-bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    text-decoration: none;
    color: #555;
    font-size: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
}
#gh-bottom-nav a i,
#gh-bottom-nav button i {
    font-size: 20px;
    color: #21598f;
}
#gh-bottom-nav a span,
#gh-bottom-nav button span {
    font-size: 10px;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.3px;
}
#gh-bottom-nav a:active,
#gh-bottom-nav button:active {
    background: rgba(33,89,143,0.08);
    border-radius: 8px;
}

@media (max-width: 1024px) {
    #gh-bottom-nav { display: flex; }
    #gh-main { padding-bottom: 64px; }

    /* 사이드바 모바일 최적화 */
    #gh-sidebar { width: 280px; }
    #gh-sidebar .gh-logo { padding: 20px 20px; }
    #gh-sidebar .gh-logo .logogh { width: 70px; margin-left: 83px; margin-bottom: 12px; }
    #gh-sidebar .gh-logo .textlogo { max-width: 170px; margin-left: 35px; }
    #gh-sidebar .gh-slogan { font-size: 12px; margin-left: 42px; }
    .gh-nav-menu ul li a { padding: 13px 24px; font-size: 15px; }
    .gh-nav-menu ul li a i { font-size: 15px; width: 22px; margin-right: 12px; }
    .gh-sub-menu li a { padding: 9px 24px 9px 42px !important; font-size: 13px !important; }
    .gh-sub-menu li a::before { left: 30px; }
    .gh-nav-divider { padding: 16px 24px 6px; font-size: 10px; }
    .gh-sidebar-footer { padding: 16px 24px; font-size: 12px; }
    .gh-sidebar-footer .tel { font-size: 18px; }
}

/* Animations */
.animate-fadeIn { animation: fadeIn 0.8s ease-out forwards; }
.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Right Quick Menu */
#gh-quick {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 100px;
    z-index: 1000;
    text-align: center;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    background-color: var(--gh-white);
    display: flex;
    flex-direction: column;
}

.quick-header {
    background: linear-gradient(180deg, var(--gh-primary) 0%, var(--gh-secondary) 100%);
    padding: 10px 5px 37px 5px;
    color: var(--gh-white);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-grow: 0;
    width: 100%;
    gap: 8px;
}

/* SEOUL GH SURGERY */
.main-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    order: 3;
}

.main-label .word {
    display: block;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 4px;
    text-align: center;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    line-height: 1;
    white-space: nowrap;
}

/* LIFETIME PROMISE / PROFESSIONAL CARE */
.tiny-labels {
    display: flex;
    flex-direction: row;
    gap: 6px;
    order: 1;
    align-self: flex-start;
}

.tiny-label {
    display: block;
    font-size: 8px;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    letter-spacing: 3px;
}

.quick-list {
    margin: 0;
    padding: 0;
}

.quick-list li {
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.quick-list li a {
    display: block;
    padding: 20px 10px;
    color: var(--gh-white);
    transition: var(--gh-transition);
}

.quick-list li.item-purple { background-color: #5a1a56; }
.quick-list li.item-magenta { background-color: #bd1e8e; }
.quick-list li.item-gray {
    background-color: #f1f5f9;
    color: #333 !important;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.quick-list li a .txt {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    margin-bottom: 8px;
}

.quick-list li a i {
    font-size: 12px;
    opacity: 0.8;
}

.quick-list li.item-gray a {
    color: #333 !important;
}

.quick-list li.item-gray a i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.quick-list li.item-gray a .small-txt {
    display: block;
    font-size: 11px;
    color: #333;
    font-weight: 700;
}

.quick-list li a:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.quick-top {
    background-color: var(--gh-secondary);
    padding: 15px 0;
}

.quick-top a {
    color: var(--gh-white);
    font-size: 12px;
    font-weight: 800;
}

.quick-top a i {
    display: block;
    margin-bottom: 3px;
}

@media (max-width: 1400px) {
    #gh-quick { right: 0; width: 85px; }
    .quick-header { font-size: 11px; }
    .main-label .word { font-size: 16px; letter-spacing: 3px; }
    .main-label { gap: 15px; }
    .quick-list li a .txt { font-size: 13px; }
}

@media (max-width: 1024px) {
    #gh-quick { display: none; } /* 모바일에서는 숨김 (필요시 하단 바로 변경 가능) */
}

/* ===== TV 썸네일 카드 (theme/basic/index.php) ===== */
.gh-tv-thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
}

.gh-tv-thumb-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #f0f0f0;
    background: linear-gradient(180deg, #ffffff 0%, #eef0f3 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gh-tv-thumb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.gh-tv-thumb-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.gh-tv-thumb-img img {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
}

.gh-tv-play-overlay {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-size: 14px;
    padding-left: 3px;
    margin: 12px auto 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gh-tv-thumb-card:hover .gh-tv-play-overlay {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 24px rgba(239,68,68,.35);
}

.gh-tv-play-icon {
    display: none;
}

.gh-tv-play-icon-visible {
    display: none;
}

.gh-tv-thumb-info {
    margin-top: 4px;
    width: 100%;
}

.gh-tv-thumb-badge {
    display: none;
}

.gh-tv-thumb-title {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.55;
    margin: 0;
    text-align: center;
}

/* ����ȳ� ������ ��Ÿ�� */
.gh-time-list { margin: 0; padding: 0; list-style: none; }
.gh-time-list li { display: flex; justify-content: space-between; padding: 10px 0; font-size: 18px; font-weight: 400; border-bottom: 1px solid #f0f0f0; }
.gh-time-list li:last-child { border-bottom: none; }
.gh-time-list li span { color: #6b7280; font-weight: 400; font-size: 18px; }
.gh-time-list li strong { color: #1f2937; font-weight: 400; font-size: 18px; }
.gh-time-list li.closed strong { color: #ef4444; }

/* 메인 레이어 팝업 */
.gh-popup { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; animation: ghPopIn .25s ease; }
@keyframes ghPopIn { from { opacity: 0; } to { opacity: 1; } }
.gh-popup-box { background: #fff; width: 325px; height: 410px; max-width: 100%; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: ghPopUp .3s ease; display: flex; flex-direction: column; }
.gh-popup-body { flex: 1; overflow-y: auto; }
@keyframes ghPopUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.gh-popup-header { background: linear-gradient(135deg, #8a641e 0%, #cdb275 100%); color: #fff; padding: 8px 18px; text-align: left; }
.gh-popup-brand { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.5; display: inline-block; }
.gh-popup-brand small { font-size: 10px; font-weight: 500; letter-spacing: 1px; opacity: 0.85; }
.gh-popup-brand em { font-style: normal; font-size: 11px; font-weight: 400; margin-left: 6px; opacity: 0.9; letter-spacing: 0; }
.gh-popup-body { padding: 14px 26px; color: #333; line-height: 1.55; font-size: 12px; letter-spacing: -0.5px; }
.gh-popup-sub { font-size: 13px; color: #735419; font-weight: 600; margin: 0 0 6px; letter-spacing: 0.5px; }
.gh-popup-title { font-size: 22px; font-weight: 700; color: #f5e6c8; background: #735419; margin: 0 0 16px; padding: 1px 14px; display: inline-block; border-radius: 2px; }
.gh-popup-title-em { color: #ffffff; }
.gh-popup-body p { margin: 0 0 12px; }
.gh-popup-insurance { color: #735419; font-weight: 600; }
.gh-popup-wrap { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.gh-popup-box2 { width: 325px; height: 162px; max-width: 100%; background: #fff; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.gh-popup-box2-body { text-align: center; padding: 20px 26px; }
.gh-popup-box2-title { font-size: 20px; font-weight: 700; color: #735419; margin: 0 0 10px; }
.gh-popup-box2-desc { font-size: 13px; color: #333; margin: 0 0 18px; }
.gh-popup-box2-btn { display: inline-block; background: #735419; color: #fff; font-size: 14px; font-weight: 700; padding: 10px 40px; text-decoration: none; letter-spacing: 2px; border-radius: 2px; }
.gh-popup-box2-btn:hover { background: #8a641e; color: #fff; }
.gh-popup-footer { display: flex; justify-content: space-between; align-items: center; padding: 3px 22px; background: #f8fafc; border-top: 1px solid #e5e7eb; font-size: 13px; }
.gh-popup-hide { display: flex; align-items: center; gap: 6px; color: #475569; cursor: pointer; }
.gh-popup-hide input { margin: 0; }
.gh-popup-close { background: none; color: #333; border: 0; padding: 6px 0; font-size: 13px; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.gh-popup-close:hover { color: #000; }
.gh-popup-close i { font-size: 12px; }
@media (max-width: 640px) {
    .gh-popup-box, .gh-popup-box2 { max-width: 94%; }
    .gh-popup-title { font-size: 20px; }
    .gh-popup-body { padding: 22px 20px; font-size: 13px; }
    .gh-popup-footer { flex-direction: column; gap: 10px; }
    .gh-popup-box2 { height: auto; min-height: 180px; }
}

