/* Members-only search banner (tighter).
 * Loaded after /css/searchbanner.css on /members/ only.
 * Logo size matches the tighter preset: 55px by 200px, 13px strapline.
 */
#wrapper {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
    background: #fff;
}

.lc-search-banner {
    background: #ffffff;
    border-bottom: 1px solid #e1e4e8;
    padding: 12px 0;
    margin-bottom: 16px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.lc-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 600px) 1fr;
    align-items: center;
    gap: 20px;
}

.lc-logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
}

.lc-logo-link {
    display: block;
    line-height: 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lc-logo-link:hover {
    opacity: 0.85;
}

.lc-logo-img {
    max-width: 200px;
    height: auto;
    max-height: 55px;
    display: block;
}

.lc-tagline {
    font-size: 13px;
    color: #6c757d;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    white-space: nowrap;
}

.lc-search-section {
    max-width: 600px;
    width: 100%;
    justify-self: center;
}

.lc-search-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.lc-search-input {
    flex: 1;
    padding: 12px 18px;
    font-size: 15px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
}

.lc-search-input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.lc-search-input::placeholder {
    color: #9ca3af;
}

.lc-search-button {
    padding: 12px 32px;
    background: #e74c3c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.lc-search-button:hover {
    background: #c0392b;
}

.lc-search-button:active {
    background: #a93226;
}

@media (max-width: 968px) {
    .lc-search-banner {
        padding: 10px 0;
        margin-bottom: 8px;
    }
    .lc-search-container {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .lc-logo-section {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
        max-width: 120px;
        flex-shrink: 0;
        gap: 0;
    }
    .lc-logo-img {
        max-width: 120px;
        max-height: 36px;
    }
    .lc-tagline,
    .lc-date-section {
        display: none;
    }
    .lc-search-section,
    .lc-search-form,
    .lc-search-input {
        min-width: 0;
        max-width: 100%;
    }
    .lc-search-section {
        justify-self: stretch;
    }
    .lc-search-form {
        flex-direction: row;
        gap: 8px;
    }
    .lc-search-button {
        position: relative;
        width: 44px;
        height: 44px;
        padding: 0;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .lc-search-button-icon {
        display: block;
        width: 20px;
        height: 20px;
    }
    .lc-search-button-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (max-width: 640px) {
    .lc-search-banner { padding: 8px 0; margin-bottom: 8px; }
    .lc-search-container { padding: 0 12px; gap: 8px; }
    .lc-logo-section { max-width: 92px; }
    .lc-search-input { min-width: 0; padding: 8px 10px; font-size: 16px; }
    .lc-logo-img { max-width: 92px; max-height: 28px; }
}

@media (max-width: 400px) {
    .lc-search-container { padding: 0 10px; gap: 6px; }
    .lc-logo-section { max-width: 72px; }
    .lc-logo-img { max-width: 72px; max-height: 24px; }
    .lc-search-form { gap: 6px; }
    .lc-search-input { padding: 8px; }
    .lc-search-button { width: 40px; height: 40px; }
}
