/* Base Reset */
.limud-header-wrapper * {
    box-sizing: border-box;
}

.limud-header-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.limud-header-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* PC Header Styles */
.limud-pc-header {
    display: block;
    width: 100%;
    background: #fff;
    border-bottom: none;
    position: relative;
    /* For Mega BG positioning */
    z-index: 1000;
}

.limud-pc-header.limud-no-borders,
.limud-pc-header.limud-no-borders .limud-top-bar,
.limud-pc-header.limud-no-borders .limud-main-bar,
.limud-transparent-header .limud-pc-header.limud-no-borders {
    border-bottom: none !important;
}

.limud-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.limud-top-bar {
    background: var(--limud-bg-1);
    padding: var(--limud-top-bar-padding, 5px) 0;
    font-size: var(--limud-top-bar-font-size, 12px);
    text-align: right;
    border-bottom: none;
}

.limud-top-menu {
    display: inline-block;
}

.limud-top-menu li {
    display: inline-block;
    margin-left: 15px;
    position: relative;
}

.limud-top-menu li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: #ccc;
}

/* Main Bar */
.limud-main-bar {
    padding: 20px 0;
    background: var(--limud-bg-2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.limud-main-bar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.limud-main-bar .limud-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.limud-logo img {
    vertical-align: middle;
}

/* Main Nav */
.limud-nav {
    flex-grow: 1;
    text-align: center;
}

.limud-main-menu {
    display: inline-flex;
    gap: var(--limud-main-menu-gap, 60px);
}

.limud-main-menu>li {
    position: relative;
}

.limud-main-menu>li>a {
    font-family: 'Pretendard', sans-serif;
    font-size: var(--limud-main-font-size);
    font-weight: var(--limud-main-font-weight);
    letter-spacing: -0.02em;
    color: var(--limud-main-font-color);
    padding: 15px 0;
    /* Increased touch area */
    display: block;
}

.limud-main-menu>li:hover>a {
    color: #ff5a00;
}

/* Mega Dropdown Structure */
.limud-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* Full Width relative to header if wrapper allows, otherwise need fixed positioning trick */
    background: var(--limud-bg-3);
    z-index: 1002;
    display: none;
    opacity: 0;
    visibility: hidden;
    padding: 40px 0;
    border-bottom: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Interaction Bridge: Prevents menu from closing when moving mouse through the gap */
.limud-mega-dropdown::before {
    content: '';
    position: absolute;
    top: -40px;
    /* Extend upward to cover the Main Bar padding */
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
    /* Invisible */
    z-index: 1003;
}

/* Make Mega Dropdown Full Width of the viewport if possible, but simpler to center it */
/* Actually, usually mega menus are full width of the wrapper. 
   The .limud-mega-dropdown needs to be outside the list item context to be truly full width, 
   OR the list item needs to be static and the parent relative. 
*/
.limud-main-menu>li {
    position: static;
    /* Default for Style 1 (Full Width) */
    /* Align sub-menu to this item */
}

/* Style 2: Relative Positioning for Centered Dropdown */
.limud-main-menu.menu-style-2>li {
    position: relative;
}

/* Use .limud-pc-header as the relative parent for full width */
.limud-mega-dropdown {
    top: 100%;
    /* Below header */
    left: 0;
    right: 0;
    width: 100%;
}

.limud-nav.menu-visible .has-mega:hover .limud-mega-dropdown {
    /* Logic: handled by JS mostly for animation, but basic hover support: */
    /* display: block; opacity: 1; visibility: visible; - Handled by JS for "separate" effect manually or via existing logic */
}

/* We will let JS handle the visibility to match the requested animation style */
.limud-mega-dropdown .limud-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Content */
/* Left Content */
.limud-mega-left {
    width: 350px;
    flex-shrink: 0;
    padding-right: 50px;
    margin-right: 50px;
    border-right: 1px solid #eee;
    /* Vertical Line */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    /* Ensure height for footer positioning */
}

.limud-mega-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    /* Blue */
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.limud-mega-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: auto;
    /* Push footer down */
}

.limud-mega-footer {
    font-size: 12px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 30px;
    line-height: 1.5;
}

.limud-mega-left img {
    max-width: 100%;
    height: auto;
    display: block;
}

.limud-mega-left img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Right Content (Menu Grid) */
.limud-mega-right {
    flex-grow: 1;
    padding-top: 10px;
}

.limud-mega-right ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns per image */
    gap: 30px;
    /* More space */
    text-align: left;
}

.limud-mega-right li a {
    font-size: 16px;
    /* Larger font */
    font-weight: 700;
    /* Bold headers */
    color: #333;
    display: block;
    padding: 0;
    margin-bottom: 5px;
}

/* Style 2: Full Grid, No Left Panel, Centered under Item */
/* Style 2: Universal Mega Menu (Full Sitemap) */
.limud-universal-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    /* Full Viewport Width */
    background: #fff;
    border-bottom: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-sizing: border-box;
}

/* Show when hovering the main menu container */
.limud-nav:hover .limud-universal-dropdown,
.limud-universal-dropdown:hover {
    opacity: 1;
    visibility: visible;
}

.limud-universal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 Columns */
    gap: 30px;
    max-width: 1200px;
    /* Ensure content is constrained */
    margin: 0 auto;
}

.limud-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.limud-col-title a {
    color: inherit;
    text-decoration: none;
}

.limud-universal-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.limud-universal-col li {
    margin-bottom: 10px;
}

.limud-universal-col li a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.limud-universal-col li a:hover {
    color: #d35400;
    /* Point color */
    font-weight: 600;
}



.limud-mega-right li a:hover {
    color: #ff5a00;
    text-decoration: underline;
}

/* Styling for Right Button */
.limud-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.limud-right-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--limud-right-btn-bg);
    color: var(--limud-right-btn-text) !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    /* Or 0 for square */
    transition: opacity 0.3s;
}

.limud-right-btn:hover {
    opacity: 0.8;
}

/* Transparent Header & Banner Styles */
.limud-transparent-header .limud-pc-header {
    position: absolute;
    /* Overlay */
    width: 100%;
    background: transparent;
    border-bottom: none;
    top: 0;
}

.limud-transparent-header .limud-top-bar {
    background: transparent;
    border-bottom: none;
}

.limud-transparent-header .limud-main-bar {
    background: transparent;
}

/* White text on transparent */
.limud-transparent-header .limud-main-menu>li>a,
.limud-transparent-header .limud-icons a,
.limud-transparent-header .limud-top-menu li {
    color: #fff !important;
}

.limud-transparent-header .limud-logo img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

/* Button inverted colors on transparent header */
.limud-transparent-header .limud-right-btn {
    color: var(--limud-right-btn-inv-text, #000000) !important;
    background-color: var(--limud-right-btn-inv-bg, #ffffff) !important;
}

/* Sticky State on Transparent Header: Becomes Solid White */
.limud-transparent-header .limud-main-bar.sticky {
    background: #fff;
    border-bottom: none;
}

.limud-transparent-header .limud-main-bar.sticky .limud-main-menu>li>a,
.limud-transparent-header .limud-main-bar.sticky .limud-icons a {
    color: #333 !important;
}

.limud-transparent-header .limud-main-bar.sticky .limud-logo img {
    filter: none;
}

.limud-transparent-header .limud-main-bar.sticky .limud-right-btn {
    color: var(--limud-right-btn-text, #ffffff) !important;
    background-color: var(--limud-right-btn-bg, #000000) !important;
}

/* Hover state on Transparent Header: Becomes Solid White */
.limud-transparent-header .limud-pc-header:hover {
    background: #fff;
}

.limud-transparent-header .limud-pc-header:hover .limud-top-bar {
    background: var(--limud-bg-1);
    /* Revert */
}

.limud-transparent-header .limud-pc-header:hover .limud-main-bar {
    background: #fff;
}

.limud-transparent-header .limud-pc-header:hover .limud-main-menu>li>a,
.limud-transparent-header .limud-pc-header:hover .limud-icons a,
.limud-transparent-header .limud-pc-header:hover .limud-top-menu li {
    color: var(--limud-main-font-color) !important;
}

.limud-transparent-header .limud-pc-header:hover .limud-logo img {
    filter: none;
}

.limud-transparent-header .limud-pc-header:hover .limud-right-btn {
    color: var(--limud-right-btn-text, #ffffff) !important;
    background-color: var(--limud-right-btn-bg, #000000) !important;
}

/* Banner Styling */
.limud-main-banner {
    width: 100%;
    height: 600px;
    /* Default height */
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.limud-main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Overlay */
}

.limud-banner-inner {
    position: relative;
    z-index: 2;
}

/* Page Title Header (Image 5/2) */
.limud-page-title-header {
    background-color: var(--limud-pt-bg);
    height: var(--limud-pt-height);
    /* margin-top: var(--limud-pt-gap); Removed gap to likely sit flush with header if desired, or user can set gap */
    display: flex;
    align-items: flex-end;
    /* Align content to bottom */
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 60px;
    /* Space from bottom */
    background-size: cover;
    background-position: center;
}

.limud-page-title-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 1;
}

.limud-page-title-header .limud-container {
    width: 100%;
    z-index: 2;
    /* Above overlay */
    position: relative;
}

.limud-pt-content h1 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    /* White text on image */
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.limud-breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.limud-breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.limud-breadcrumbs span.sep {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* Sidebar Styles */
.limud-layout-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.limud-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.limud-content-area {
    flex-grow: 1;
    min-width: 0;
    /* Fix flex overflow */
}

.limud-sidebar-title {
    display: block;
    background: #1e3a8a;
    /* Blue color matching design */
    color: #fff;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px 0;
}

.limud-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
}

.limud-sidebar-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.limud-sidebar-menu li a {
    display: block;
    padding: 15px 10px;
    color: #333;
    font-size: 16px;
    transition: all 0.2s;
}

.limud-sidebar-menu li a:hover,
.limud-sidebar-menu li.current-menu-item a {
    color: #1e3a8a;
    font-weight: 700;
    background: #f8f9fa;
}

/* Mobile Header Styles */
.limud-mobile-header {
    display: none;
    /* Hidden on PC */
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.limud-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.limud-mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.limud-mobile-btn {
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 600;
}

.limud-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.limud-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
}

/* Mobile Drawer */
.limud-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.limud-mobile-drawer.open {
    right: 0;
}

.limud-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.limud-drawer-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

.limud-drawer-top-links {
    background: #f8f8f8;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.limud-drawer-top-links ul {
    display: flex;
    gap: 15px;
}

.limud-drawer-top-links li {
    color: #666;
}

.limud-drawer-content {
    flex-grow: 1;
    display: flex;
    overflow: hidden;
}

/* Sidebar (Left) */
.limud-drawer-sidebar {
    width: 35%;
    background: #333;
    color: #fff;
    overflow-y: auto;
}

.limud-sidebar-item {
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #444;
    font-size: 14px;
}

.limud-sidebar-item.active {
    background: #fff;
    color: #333;
    font-weight: bold;
}

/* Main Content (Right) */
.limud-drawer-main {
    width: 65%;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
}

.limud-menu-pane {
    display: none;
}

.limud-menu-pane.active {
    display: block;
}

.limud-menu-pane h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.limud-menu-pane ul li {
    margin-bottom: 12px;
}

.limud-menu-pane ul li a {
    font-size: 14px;
    color: #555;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    .limud-pc-header {
        display: none;
    }

    .limud-mobile-header {
        display: block;
    }
}

/* Search Modal */
.limud-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.limud-search-modal.open {
    display: block;
}

.limud-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.limud-search-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.limud-search-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.limud-search-box .search-form {
    display: flex;
    border-bottom: 2px solid #333;
}

.limud-search-box .search-field {
    flex-grow: 1;
    border: none;
    font-size: 20px;
    padding: 10px;
}

.limud-search-box .search-field:focus {
    outline: none;
}

.limud-search-box .search-submit {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}



.limud-main-menu>li:hover>a {
    color: #ff5a00;
    /* Point Color */
}

/* Sub Menu (Mega Style) */
.limud-main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    /* Center under parent */
    width: max-content;
    /* Fit content */
    min-width: 100px;
    text-align: center;
    padding: 40px 0 20px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

.limud-nav.menu-visible .sub-menu {
    display: block;
    /* Show as block for vertical list */
    opacity: 1;
    visibility: visible;
}

.limud-main-menu .sub-menu li {
    display: block;
    /* Vertical list */
    margin-bottom: 10px;
}

.limud-main-menu .sub-menu a {
    font-size: var(--limud-sub-font-size);
    font-weight: var(--limud-sub-font-weight);
    letter-spacing: -0.02em;
    color: var(--limud-sub-font-color);
    padding: 5px 0;
    display: block;
}

.limud-main-menu .sub-menu a:hover {
    color: #ff5a00;
    text-decoration: underline;
}

/* Dropdown / Mega Menu (Full Drop Style) */
.limud-mega-bg {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--limud-bg-3);
    /* Use Section 3 BG Color */
    border-bottom: none;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 900;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.limud-mega-bg.sticky {
    position: fixed;
    top: 61px;
    /* Height of sticky main bar (approx) */
    z-index: 1000;
}

.limud-icons {
    display: flex;
    gap: 20px;
    /* Increased spacing */
    align-items: center;
}

.limud-icons a {
    font-size: 20px;
    color: #333;
}

/* Mobile Header Styles */
.limud-mobile-header {
    display: none;
    /* Hidden on PC */
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.limud-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.limud-mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.limud-mobile-btn {
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 600;
}

.limud-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.limud-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
}

/* Mobile Drawer */
.limud-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.limud-mobile-drawer.open {
    right: 0;
}

.limud-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.limud-drawer-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

.limud-drawer-top-links {
    background: #f8f8f8;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.limud-drawer-top-links ul {
    display: flex;
    gap: 15px;
}

.limud-drawer-top-links li {
    color: #666;
}

.limud-drawer-content {
    flex-grow: 1;
    display: flex;
    overflow: hidden;
}

/* Sidebar (Left) */
.limud-drawer-sidebar {
    width: 35%;
    background: #333;
    color: #fff;
    overflow-y: auto;
}

.limud-sidebar-item {
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #444;
    font-size: 14px;
}

.limud-sidebar-item.active {
    background: #fff;
    color: #333;
    font-weight: bold;
}

/* Main Content (Right) */
.limud-drawer-main {
    width: 65%;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
}

.limud-menu-pane {
    display: none;
}

.limud-menu-pane.active {
    display: block;
}

.limud-menu-pane h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.limud-menu-pane ul li {
    margin-bottom: 12px;
}

.limud-menu-pane ul li a {
    font-size: 14px;
    color: #555;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    .limud-pc-header {
        display: none;
    }

    .limud-mobile-header {
        display: block;
    }
}

/* Search Modal */
.limud-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.limud-search-modal.open {
    display: block;
}

.limud-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.limud-search-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.limud-search-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.limud-search-box .search-form {
    display: flex;
    border-bottom: 2px solid #333;
}

.limud-search-box .search-field {
    flex-grow: 1;
    border: none;
    font-size: 20px;
    padding: 10px;
}

.limud-search-box .search-field:focus {
    outline: none;
}

.limud-search-box .search-submit {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Force Button Styles for Dynamic Sizing */
.limud-right-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--limud-right-btn-width, auto) !important;
    height: var(--limud-right-btn-height, 40px) !important;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Aggressively remove HTML margin if WP adds it */
html {
    margin-top: 0 !important;
}

/* Right Button Custom Font Size */
.limud-right-btn {
    font-size: var(--limud-right-btn-font-size, 14px) !important;
}

/* Universal fix: Position transparent header at absolute top for both Login/Logout states */
html body .limud-transparent-header .limud-pc-header,
html body .limud-style-3-home-transparent .limud-pc-header {
    top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure Admin Bar DOES NOT cover Top Bar -> Move Header Down */
html body.admin-bar .limud-transparent-header .limud-pc-header,
html body.admin-bar .limud-style-3-home-transparent .limud-pc-header {
    top: 0 !important;
}

@media (max-width: 782px) {

    html body.admin-bar .limud-transparent-header .limud-pc-header,
    html body.admin-bar .limud-style-3-home-transparent .limud-pc-header {
        top: 0 !important;
    }
}

/* Force remove ALL bottom borders from header elements */
.limud-header-wrapper .limud-pc-header,
.limud-header-wrapper .limud-top-bar,
.limud-header-wrapper .limud-main-bar,
.limud-header-wrapper .limud-mega-bg,
.limud-header-wrapper .limud-mega-dropdown,
.limud-header-wrapper .limud-universal-dropdown {
    border-bottom: none !important;
}

/* Responsive Sidebar Styles */
@media (max-width: 768px) {
    .limud-layout-container {
        flex-direction: column;
        gap: 30px;
        margin: 30px auto;
    }

    .limud-sidebar {
        width: 100%;
    }

    .limud-content-area {
        width: 100%;
        padding: 0;
    }
}
