:root {
    --bg-base: #060B14;
    --bg-surface: rgba(13, 21, 40, 0.75);
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-glass: rgba(10, 17, 34, 0.7);
    --bg-glass-strong: rgba(13, 22, 45, 0.88);
    --text-primary: #cbd5e1;
    --text-heading: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-primary: #c5a880;
    --accent-gold: #c5a880;
    --accent-gold-light: #dfbd89;
    --accent-gold-dark: #9a7b56;
    --accent-gradient: linear-gradient(135deg, #dfbd89 0%, #c5a880 50%, #9a7b56 100%);
    --gold-gradient: linear-gradient(135deg, #dfbd89 0%, #c5a880 50%, #9a7b56 100%);
    --accent-glow: rgba(197, 168, 128, 0.35);
    --gold-glow: rgba(197, 168, 128, 0.35);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(197, 168, 128, 0.25);

    --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.glass-strong {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Utilities */
.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.max-w-4xl {
    max-width: 896px;
}

.max-w-5xl {
    max-width: 1024px;
}

.max-w-none {
    max-width: none;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.text-gray-300 {
    color: #cbd5e1;
}

.text-white {
    color: #f1f5f9;
}

.font-bold {
    font-weight: 700;
}

.text-xl {
    font-size: 1.25rem;
}

.list-decimal {
    list-style-type: decimal;
}

.list-disc {
    list-style-type: disc;
}

.pl-5 {
    padding-left: 1.25rem;
}

/* Prose / Content Styling */
.prose {
    line-height: 1.8;
    color: var(--text-primary);
}

.prose p {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.prose strong,
.prose b {
    color: var(--text-heading);
    font-weight: 600;
}

.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 0.75rem;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: var(--text-heading);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.prose ul,
.prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: var(--text-primary);
}

.prose li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.privacy-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 3px solid #3b82f6;
}

.privacy-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.space-y-8>*+* {
    margin-top: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 1rem 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease, background 0.3s ease;
    overflow: visible !important;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.9);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-brand-text {
    font-family: var(--font-heading), 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.logo:hover .logo-brand-text {
    color: var(--accent-gold-light);
}

.desktop-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    white-space: nowrap;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.desktop-nav a:hover {
    color: var(--text-primary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    z-index: -1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    animation: slideUp 1s ease-out forwards;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: slideUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: rgba(15, 23, 42, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
}

/* Professionals Section */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .profile-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.profile-image-wrap {
    flex: 0 0 350px;
    position: relative;
}

.profile-img {
    width: 100%;
    border-radius: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    background: var(--accent-gradient);
    transform: translate(-50%, -50%);
    filter: blur(30px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 2rem;
}

.profile-info {
    flex: 1;
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(30, 64, 175, 0.45);
    color: #93c5fd;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(147, 197, 253, 0.5);
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.name-eng {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 0.5rem;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.specialty-tags .tag {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #e2e8f0;
}

.career-timeline {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.career-list {
    position: relative;
    padding-left: 1.5rem;
}

.career-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.career-list li {
    position: relative;
    padding-bottom: 1rem;
    color: var(--text-secondary);
}

.career-list li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    transform: translateX(-3px);
}

.career-list li:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.career-list li:last-child::before {
    background: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6;
}

.profile-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-primary);
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Utilities for prose and spacing */
.prose {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.prose p {
    margin-bottom: 1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.profile-info .prose {
    margin-bottom: 2rem;
}

/* Practice Grid */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.practice-item {
    padding: 2rem;
    border-top: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.practice-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.practice-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.practice-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Recent Items (Compact & Sleek) */
.recent-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-card {
    padding: 1.5rem 1.75rem;
    min-width: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(197, 168, 128, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.recent-card:hover {
    border-color: rgba(197, 168, 128, 0.35);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-header-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.recent-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.recent-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.view-all:hover {
    color: #dfbd89;
    text-decoration: none;
    transform: translateX(2px);
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recent-list li {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
}

.recent-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.18s ease;
    min-width: 0;
    text-decoration: none;
    gap: 0.75rem;
}

.recent-list a:hover {
    background: rgba(197, 168, 128, 0.08);
    border-color: rgba(197, 168, 128, 0.25);
    transform: translateX(4px);
}

.item-title {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    transition: color 0.18s ease;
}

.recent-list a:hover .item-title {
    color: #ffffff;
}

.item-arrow {
    color: rgba(197, 168, 128, 0.4);
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.18s ease, color 0.18s ease;
}

.recent-list a:hover .item-arrow {
    color: var(--accent-primary);
    transform: translateX(3px);
}

.empty-state {
    color: #64748b;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
}

/* Consult Form & Detail Responsive Utilities */
.consult-form-card {
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control,
input.form-control,
textarea.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0.5rem;
    color: #e2e8f0 !important;
    font-size: 16px !important;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-control:focus,
input.form-control:focus,
textarea.form-control:focus {
    border-color: #3b82f6 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.consult-detail-card {
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(197, 168, 128, 0.25);
    background: linear-gradient(145deg, rgba(13, 21, 40, 0.8) 0%, rgba(10, 17, 34, 0.8) 100%);
}

.consult-auth-card {
    max-width: 440px;
    margin: 4rem auto;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(197, 168, 128, 0.3);
    background: linear-gradient(145deg, rgba(13, 21, 40, 0.95) 0%, rgba(10, 17, 34, 0.95) 100%);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Footer */
.footer {
    background: #080f1e;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem !important;
}

/* Anti-Spam Protected Email Link */
.email-protect {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.email-protect:hover {
    color: var(--accent-gold, #c5a880);
    text-decoration-color: var(--accent-gold, #c5a880);
}

.email-protect:not(.is-loaded)::before {
    content: attr(data-user) "@" attr(data-domain);
}

/* Location Section */
.location-section {
    padding: 2rem;
    margin-top: 3rem;
}

.location-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-text h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.location-map {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.transparent-caption {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pagination-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.desktop-only {
    display: inline-block;
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    text-align: center;
    width: 80%;
    max-width: 300px;
}

.mobile-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-consult-link {
    margin-top: 1rem;
    background: var(--accent-gradient) !important;
    color: white !important;
    font-weight: 600 !important;
}

.mobile-phone-banner {
    margin-top: 1.25rem;
    padding: 0.85rem 1.25rem;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 0.875rem;
    text-align: center;
    width: 85%;
    max-width: 320px;
}

.mobile-phone-banner a {
    color: var(--accent-gold-light) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 0.25rem 0 !important;
    width: 100% !important;
    display: block !important;
}

/* Responsive */
@media (max-width: 950px) {
    .desktop-nav {
        display: none;
    }

    .desktop-only {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 70vh;
        padding-top: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .profile-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .profile-image-wrap {
        flex: 0 0 auto;
        max-width: 250px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .name-eng {
        font-size: 1rem;
    }

    .practice-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .practice-item {
        padding: 1.25rem;
    }

    .recent-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-section {
        padding: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-info p {
        font-size: 0.8rem;
    }

    /* Navbar mobile padding */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-content {
        padding: 0 1rem;
    }
}

/* Content Image Lazy Loading & Skeleton Shimmer Placeholder */
.detail-body img,
.prose-rich img,
.content-lazy-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem auto;
    background-color: rgba(255, 255, 255, 0.04);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0.02) 0%,
            rgba(255, 255, 255, 0.09) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
    min-height: 250px;
    opacity: 0.85;
    transition: opacity 0.35s ease, min-height 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.detail-body img.loaded,
.prose-rich img.loaded,
.content-lazy-img.loaded {
    animation: none;
    background-image: none;
    background-color: transparent;
    min-height: auto;
    opacity: 1;
}

/* Inline SVG / SVG 첨부 콘텐츠: 표시 폭 = min(원본 폭, 페이지 폭) */
.detail-body svg,
.prose-rich svg,
.detail-body object,
.prose-rich object,
.detail-body embed,
.prose-rich embed {
    max-width: 100%;
    height: auto;
}

/* ========================================================
   Prestige Law Firm Luxury Theme & Design System (v2.0)
   ======================================================== */

/* Gold Typography & Utilities */
.text-gold {
    color: var(--accent-gold);
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Top Prestige Announcement Ribbon */
.top-prestige-bar {
    background: #04070D;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 0.45rem 0;
    letter-spacing: -0.01em;
}

.top-prestige-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.gold-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-gold-light);
    font-weight: 600;
    text-decoration: none;
}

.top-phone:hover {
    color: #ffffff;
}

.top-divider {
    color: rgba(255, 255, 255, 0.15);
}

.top-hours {
    color: var(--text-muted);
}

/* Prestige Logo Branding */
.logo-mark {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-img-wrapper {
    height: 38px !important;
    width: auto !important;
    min-width: 44px;
    padding: 2px 7px;
    background: #ffffff;
    border: 1px solid var(--border-gold);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.logo:hover .logo-img-wrapper {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(197, 168, 128, 0.35);
}

.logo-img {
    height: 30px !important;
    width: auto !important;
    max-height: 30px !important;
    object-fit: contain;
    display: block;
}

.logo-crest {
    font-size: 1.5rem;
    color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.2) 0%, rgba(13, 21, 40, 0.8) 100%);
    border: 1px solid var(--border-gold);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.12em;
}

/* Prestige Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #060B14 !important;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(197, 168, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.45);
    background: linear-gradient(135deg, #e8cb9a 0%, #d4b187 50%, #ad8a61 100%);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-gold);
    color: var(--accent-gold-light);
    transform: translateY(-2px);
}

.btn-tel {
    background: transparent;
    color: var(--accent-gold-light);
    border: 1px solid var(--border-gold);
}

.btn-tel:hover {
    background: rgba(197, 168, 128, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section Enhancements */
.hero {
    min-height: 88vh;
    background: radial-gradient(circle at 50% 20%, rgba(26, 42, 80, 0.45) 0%, rgba(6, 11, 20, 0.95) 70%, #060B14 100%);
    position: relative;
}

.hero-pretitle {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    display: inline-block;
    padding: 0.35rem 1.25rem;
    border: 1px solid var(--border-gold);
    border-radius: 2rem;
    background: rgba(197, 168, 128, 0.06);
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Prestige Stats Ribbon */
.prestige-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4.5rem;
    padding: 1.75rem 2rem;
    background: rgba(13, 21, 40, 0.7);
    border: 1px solid var(--border-gold);
    border-radius: 1.25rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 1rem;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Value Pillars Grid (3 Core Differentiators) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, rgba(16, 26, 52, 0.75) 0%, rgba(9, 15, 30, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--accent-gold);
    border-radius: 1rem;
    transition: all 0.35s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(197, 168, 128, 0.15);
}

.pillar-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.pillar-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Practice Areas Luxury Grid */
.practice-grid-luxury {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.practice-card-luxury {
    background: rgba(13, 21, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2.25rem 2rem;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.practice-card-luxury:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    background: rgba(16, 26, 52, 0.85);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px -8px rgba(197, 168, 128, 0.2);
}

.practice-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.practice-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.practice-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.practice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.practice-pill {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: #cbd5e1;
}

/* Confidential Consultation Banner CTA */
.consultation-cta-banner {
    margin-top: 5rem;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, rgba(16, 26, 55, 0.9) 0%, rgba(10, 16, 32, 0.9) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-banner-content {
    max-width: 650px;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-gold-light);
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 220px;
}

/* Semantic FAQ Section & Accordion */
.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(13, 21, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(197, 168, 128, 0.3);
}

.faq-item.active {
    border-color: var(--border-gold);
    background: rgba(16, 26, 52, 0.85);
}

.faq-question {
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-q-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-q-badge {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 800;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.75rem 1.5rem;
    color: #cbd5e1;
    font-size: 0.9375rem;
    line-height: 1.75;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Luxury Footer Layout */
.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-mission {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1.25rem 0;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold-light);
    border-radius: 1rem;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-gold-light);
}

.footer-links .admin-link {
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-contact-item .f-icon {
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Responsive Adjustments for Luxury Components & Mobile Optimization */
@media (max-width: 1024px) {
    .prestige-stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .pillars-grid,
    .practice-grid-luxury {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .recent-card {
        padding: 1.35rem 1.5rem;
    }

    .recent-list a {
        padding: 0.55rem 0.8rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .form-grid-2col {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .consult-form-card,
    .consult-detail-card {
        padding: 2rem;
    }

    .profile-container {
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .profile-image-wrap {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .top-prestige-bar {
        display: none;
    }

    /* Mobile container */
    .container {
        padding: 0 1rem;
    }

    /* Section padding */
    .section {
        padding: 2.75rem 0;
    }

    .section-title {
        font-size: 1.6rem;
        word-break: keep-all;
    }

    .transparent-caption {
        font-size: 0.75rem;
        margin-bottom: 0.35rem;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    /* Hero section mobile optimization */
    .hero {
        padding-top: 1.75rem;
        padding-bottom: 2.75rem;
        min-height: auto;
    }

    .hero-pretitle {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6.2vw, 2.2rem);
        line-height: 1.35;
        word-break: keep-all;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 0.925rem;
        line-height: 1.7;
        padding: 0;
        margin-bottom: 1.5rem;
        word-break: keep-all;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.65rem;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
        justify-content: center;
        display: flex;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    /* Prestige stats ribbon (Clean 2x2 grid on mobile) */
    .prestige-stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.85rem 0.65rem;
        margin-top: 2rem;
        gap: 0.6rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 0.5rem;
        padding: 0.75rem 0.5rem;
        margin: 0;
        text-align: center;
    }

    .stat-number {
        font-size: 1.55rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.4;
        word-break: keep-all;
    }

    /* Pillars and Practice grids */
    .pillars-grid,
    .practice-grid-luxury {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pillar-card,
    .practice-card-luxury {
        padding: 1.5rem 1.25rem;
        border-radius: 0.875rem;
    }

    .pillar-title,
    .practice-title {
        word-break: keep-all;
        font-size: 1.15rem;
    }

    .pillar-desc,
    .practice-desc {
        word-break: keep-all;
        font-size: 0.875rem;
        line-height: 1.65;
    }

    /* Profile Cards */
    .profile-container {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }

    .profile-image-wrap {
        max-width: 200px;
        margin: 0 auto;
    }

    .profile-header {
        text-align: center;
    }

    .profile-name {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .name-eng {
        font-size: 1rem;
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .specialty-tags {
        justify-content: center;
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }

    .specialty-tags .tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }

    .career-timeline {
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .career-list li {
        font-size: 0.85rem;
        padding-bottom: 0.65rem;
        word-break: keep-all;
        line-height: 1.5;
    }

    .profile-quote {
        font-size: 0.925rem;
        padding: 1rem;
        line-height: 1.6;
        word-break: keep-all;
    }

    /* Recent lists (Sleek row layout on mobile, 2-line clamp for title) */
    .recent-grid {
        gap: 1.25rem;
    }

    .recent-card {
        padding: 1.1rem 1rem;
        border-radius: 0.75rem;
    }

    .recent-header {
        margin-bottom: 0.65rem;
        padding-bottom: 0.5rem;
    }

    .recent-card-title {
        font-size: 1.05rem;
    }

    .recent-icon {
        font-size: 1.15rem;
    }

    .view-all {
        font-size: 0.8rem;
    }

    .recent-list {
        gap: 0.3rem;
    }

    .recent-list a {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0.65rem;
        gap: 0.5rem;
        border-radius: 0.4rem;
    }

    .recent-list .item-title {
        font-size: 0.875rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        word-break: keep-all;
        padding-right: 0.25rem;
        flex: 1;
        min-width: 0;
    }

    .recent-list .item-arrow {
        font-size: 1rem;
        color: rgba(197, 168, 128, 0.45);
        flex-shrink: 0;
    }

    /* Consultation Banner CTA */
    .consultation-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1rem;
        border-radius: 0.875rem;
    }

    .cta-banner-content {
        margin-bottom: 1.25rem;
    }

    .cta-title {
        font-size: 1.25rem;
        line-height: 1.4;
        word-break: keep-all;
    }

    .cta-desc {
        font-size: 0.875rem;
        word-break: keep-all;
    }

    .cta-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    .cta-actions .btn {
        width: 100%;
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
        justify-content: center;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    /* Location Map */
    .location-section {
        padding: 1.25rem 1rem;
        border-radius: 0.875rem;
    }

    .location-map iframe {
        min-height: 240px;
        height: 250px;
    }

    .location-info .info-text p {
        word-break: keep-all;
        font-size: 0.875rem;
    }

    /* Consult Form & Detail on mobile */
    .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .consult-form-card,
    .consult-detail-card {
        padding: 1.25rem 1rem;
        border-radius: 0.75rem;
    }

    .consult-auth-card {
        margin: 2rem auto;
        padding: 1.5rem 1.1rem;
        border-radius: 0.75rem;
    }

    .form-control,
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="password"],
    textarea {
        font-size: 16px !important;
    }

    .consult-submit-btn {
        width: 100% !important;
        padding: 0.85rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Footer on mobile */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-info p {
        font-size: 0.8rem;
        line-height: 1.6;
        word-break: keep-all;
    }
}

@media (max-width: 480px) {
    .logo-brand-text {
        font-size: 1rem !important;
        letter-spacing: -0.03em !important;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .recent-card {
        padding: 0.85rem 0.75rem;
    }

    .recent-list a {
        padding: 0.45rem 0.55rem;
        gap: 0.35rem;
    }

    .item-title {
        font-size: 0.825rem;
    }

    .prestige-stats-ribbon {
        gap: 0.4rem;
        padding: 0.65rem 0.4rem;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 360px) {
    .logo-brand-text {
        font-size: 0.92rem !important;
    }

    .prestige-stats-ribbon {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   AEO (Answer Engine Optimization) & Unified Cases/Posts Styles
   ========================================================================== */

/* Unified Tabs Filter */
.unified-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.unified-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(13, 21, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.unified-tab-btn:hover {
    color: #f1f5f9;
    border-color: rgba(197, 168, 128, 0.4);
    background: rgba(197, 168, 128, 0.1);
    transform: translateY(-1px);
}

.unified-tab-btn.active {
    color: #060b14;
    background: var(--gold-gradient, linear-gradient(135deg, #dfbd89 0%, #c5a880 50%, #9a7b56 100%));
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
}

/* Collection Badges */
.collection-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-cases {
    color: #dfbd89;
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.badge-posts {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* AEO Answer-First Summary Box */
.aeo-summary-box {
    margin: 2rem 0 2.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(16, 26, 55, 0.85) 0%, rgba(10, 16, 32, 0.92) 100%);
    border: 1px solid rgba(197, 168, 128, 0.4);
    border-left: 4px solid #c5a880;
    border-radius: 0.875rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.aeo-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: #dfbd89;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding: 0.25rem 0.75rem;
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 1.5rem;
}

.aeo-summary-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.aeo-summary-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aeo-summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.aeo-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #dfbd89;
    letter-spacing: 0.02em;
}

.aeo-val {
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
}

.aeo-highlight-val {
    color: #ffffff;
    font-weight: 600;
}

/* AEO FAQ Q&A Section */
.aeo-faq-section {
    margin: 3.5rem 0 2.5rem;
    padding: 2.25rem;
    background: rgba(13, 21, 40, 0.75);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.aeo-faq-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aeo-faq-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.25rem;
}

.aeo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.aeo-faq-item {
    background: rgba(10, 17, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

.aeo-faq-item:hover {
    border-color: rgba(197, 168, 128, 0.3);
}

.aeo-faq-item[open] {
    border-color: rgba(197, 168, 128, 0.4);
    background: rgba(16, 26, 55, 0.75);
}

.aeo-faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.aeo-faq-question::-webkit-details-marker {
    display: none;
}

.aeo-q-mark {
    font-size: 0.95rem;
    font-weight: 800;
    color: #dfbd89;
    flex-shrink: 0;
}

.aeo-q-text {
    flex-grow: 1;
}

.aeo-toggle-icon {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.aeo-faq-item[open] .aeo-toggle-icon {
    transform: rotate(180deg);
    color: #dfbd89;
}

.aeo-faq-answer {
    padding: 0 1.25rem 1.25rem 2.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.aeo-faq-answer p {
    margin: 0;
}

/* AEO Responsible Attorney Author Bio Section */
.aeo-author-section {
    margin: 3rem 0;
    padding: 2.25rem;
    background: rgba(13, 21, 40, 0.75);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.aeo-author-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aeo-author-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.25rem;
}

.aeo-author-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.aeo-author-card {
    padding: 1.5rem;
    background: rgba(10, 17, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.25s ease;
}

.aeo-author-card:hover {
    border-color: rgba(197, 168, 128, 0.35);
    transform: translateY(-2px);
}

.aeo-author-top {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.aeo-avatar-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(197, 168, 128, 0.5);
    background: #0d1730;
}

.aeo-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.aeo-author-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.role-badge {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    color: #dfbd89;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aeo-author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.aeo-name-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 0.35rem;
}

.aeo-author-tags {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.aeo-author-bio {
    font-size: 0.885rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* Structured Tables inside Article Content */
.prose-rich table,
.detail-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 0.625rem;
    overflow: hidden;
    background: rgba(10, 17, 36, 0.6);
    font-size: 0.95rem;
}

.prose-rich th,
.detail-body th {
    background: rgba(197, 168, 128, 0.15);
    color: #dfbd89;
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.prose-rich td,
.detail-body td {
    padding: 0.85rem 1rem;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

.prose-rich tr:last-child td,
.detail-body tr:last-child td {
    border-bottom: none;
}

.prose-rich tr:hover td,
.detail-body tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Mobile Responsive for AEO Components */
@media (max-width: 768px) {
    .aeo-summary-box {
        padding: 1.25rem 1rem;
    }

    .aeo-summary-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .aeo-faq-section,
    .aeo-author-section {
        padding: 1.5rem 1rem;
    }

    .aeo-faq-question {
        padding: 0.9rem 1rem;
        font-size: 0.925rem;
    }

    .aeo-faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.885rem;
    }

    .aeo-author-grid {
        grid-template-columns: 1fr;
    }

    .prose-rich table,
    .detail-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}