/* ===================================
   Lozko do Sypialni — custom.css
   CheerUp Magazine 1:1 replica styles.
   Prefix: lds-
   Author: Damian Zięba | semtak.pl
   =================================== */

/* ===================================
   1. TOP BAR (52px)
   =================================== */
.lds-topbar {
    height: 52px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.lds-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.lds-topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lds-topbar-social a {
    color: var(--color-text-heading);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.lds-topbar-social a:hover {
    color: var(--color-accent);
}

/* Ticker */
.lds-topbar-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    overflow: hidden;
}

.lds-ticker-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-accent);
    padding: 3px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.lds-ticker-track {
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 20px;
}

.lds-ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 13px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.5s ease;
    line-height: 20px;
}

.lds-ticker-item.lds-ticker-active {
    opacity: 1;
}

.lds-ticker-item:hover {
    color: var(--color-accent);
}

/* Search button in topbar */
.lds-topbar-search {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-heading);
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.lds-topbar-search:hover {
    color: var(--color-accent);
}

/* ===================================
   2. MAIN HEADER (90px → 55px sticky)
   =================================== */
.lds-header {
    position: static;
    box-shadow: none;
}

.lds-header-main {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-header-bg);
    min-height: 90px;
    border-bottom: 1px solid var(--color-border);
    transition: min-height 0.3s ease, box-shadow 0.3s;
}

/* Search toggle */
.lds-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-heading);
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.lds-search-toggle:hover {
    color: var(--color-accent);
}

.lds-header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    transition: min-height 0.3s ease;
}

.lds-header-logo .custom-logo-link img {
    max-height: 49px;
    width: auto;
    transition: max-height 0.3s ease;
}

.lds-site-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-heading);
    text-decoration: none;
    transition: font-size 0.3s ease;
}

.lds-site-title:hover {
    color: var(--color-accent);
}

.lds-header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sticky header state */
.lds-header.lds-header-sticky .lds-header-main {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lds-header.lds-header-sticky .lds-header-main {
    min-height: 55px;
}

.lds-header.lds-header-sticky .lds-header-main-inner {
    min-height: 55px;
}

.lds-header.lds-header-sticky .lds-header-logo .custom-logo-link img {
    max-height: 32px;
}

.lds-header.lds-header-sticky .lds-site-title {
    font-size: 22px;
}

/* ===================================
   3. SEARCH OVERLAY
   =================================== */
.lds-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lds-search-overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.lds-search-overlay[hidden] {
    display: flex;
}

.lds-search-overlay-inner {
    width: 100%;
    max-width: 600px;
    padding: 0 35px;
    text-align: center;
}

.lds-search-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.lds-search-close:hover {
    opacity: 0.7;
}

.lds-search-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.lds-search-form-wrap .search-form {
    display: flex;
    gap: 0;
}

.lds-search-form-wrap .search-field {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding: 15px 0;
    font-size: 24px;
    color: #fff;
    font-family: var(--font-heading);
    outline: none;
    transition: border-color 0.3s;
}

.lds-search-form-wrap .search-field::placeholder {
    color: rgba(255,255,255,0.3);
}

.lds-search-form-wrap .search-field:focus {
    border-bottom-color: var(--color-accent);
}

.lds-search-form-wrap .search-submit {
    background: var(--color-accent);
    border: none;
    color: #fff;
    padding: 0 25px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.2s;
}

.lds-search-form-wrap .search-submit:hover {
    opacity: 0.9;
}

/* ===================================
   4. SLIDER — rząd 1: duże + 2 małe | rząd 2: 3 szerokie
   Białe tło, 6 unikalnych postów.
   =================================== */
.lds-slider {
    margin-bottom: 30px;
    background: #fff;
}

/* ROW 1: big left + 2 stacked right. Fixed height. */
.lds-slider-row1 {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 4px;
    height: 430px;
}

/* Side column: 2 equal rows */
.lds-slider-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    min-height: 0;
}

/* ROW 2: 3 equal tiles. Fixed height. */
.lds-slider-row2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 4px;
    height: 190px;
}

/* === Every slider tile is a positioned link with image + overlay === */
.lds-sl-big,
.lds-sl-sm,
.lds-sl-bot {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 0;
    color: #fff;
    text-decoration: none;
}

/* Images: MUST fill tile completely */
.lds-sl-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lds-sl-big:hover .lds-sl-img,
.lds-sl-sm:hover .lds-sl-img,
.lds-sl-bot:hover .lds-sl-img {
    transform: scale(1.04);
}

/* Overlay: gradient from bottom */
.lds-sl-over {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lds-sl-big .lds-sl-over {
    padding: 28px 32px;
}

/* Category badge */
.lds-sl-cat {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 20px;
    padding: 0 8px;
    margin-bottom: 6px;
}

/* Title */
.lds-sl-title {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.lds-sl-title-lg { font-size: 24px; }
.lds-sl-title-sm { font-size: 14px; line-height: 1.35; }

/* ===================================
   5. SECTION HEADERS
   =================================== */
.lds-section-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    position: relative;
}

.lds-section-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    color: var(--color-text-heading);
    position: relative;
    display: inline-block;
}

.lds-section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

/* ===================================
   6. HOME LAYOUT (Main + Sidebar)
   =================================== */
.lds-home-layout {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 30px;
    padding: 40px 0;
    align-items: start;
}

.lds-home-main {
    min-width: 0;
}

/* ===================================
   7. POSTS GRID (2 columns)
   =================================== */
.lds-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ===================================
   8. CARD COMPONENT — CheerUp style
   =================================== */
.lds-card {
    background: var(--color-card-bg);
    border-radius: 0;
    margin-bottom: 0;
}

.lds-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lds-card-thumb {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

.lds-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.lds-card:hover .lds-card-img {
    opacity: 0.88;
}

.lds-card-body {
    padding: 18px 0 0;
}

.lds-card-cat {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 22px;
    padding: 0 8px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.lds-card:hover .lds-card-cat {
    background: var(--color-accent);
}

.lds-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.lds-card-title a {
    color: inherit;
    text-decoration: none;
}

.lds-card-title a:hover {
    color: var(--color-accent);
}

.lds-card-meta {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-meta);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 0;
}

.lds-card-meta-sep {
    margin: 0 6px;
}

.lds-card-excerpt {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
}

/* ===================================
   9. INLINE AD (between post groups)
   =================================== */
.lds-inline-ad {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.lds-billboard-ad {
    margin: 30px auto;
}

/* ===================================
   10. SIDEBAR WIDGETS — CheerUp style
   =================================== */

/* Subscribe widget */
.lds-sidebar-subscribe {
    background: var(--color-bg-alt);
    padding: 30px 25px;
    text-align: center;
}

.lds-sidebar-subscribe .stb-widget-title {
    text-align: center;
}

.lds-sidebar-subscribe .stb-widget-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.lds-subscribe-text {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 18px;
    line-height: 1.5;
}

.lds-subscribe-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.2s;
}

.lds-subscribe-input:focus {
    border-color: var(--color-accent);
}

.lds-subscribe-input::placeholder {
    color: var(--color-meta);
}

.lds-subscribe-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.2s;
}

.lds-subscribe-btn:hover {
    opacity: 0.9;
}

/* Recent posts widget */
.lds-recent-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lds-recent-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
}

.lds-recent-thumb {
    width: 110px;
    min-width: 110px;
    aspect-ratio: 110 / 73;
    overflow: hidden;
}

.lds-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lds-recent-info {
    flex: 1;
    min-width: 0;
}

.lds-recent-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text-heading);
    margin-bottom: 4px;
}

.lds-recent-item:hover .lds-recent-title {
    color: var(--color-accent);
}

.lds-recent-date {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-meta);
}

/* Categories widget */
.lds-cat-list {
    list-style: none;
}

.lds-cat-list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border);
}

.lds-cat-list li:last-child {
    border-bottom: none;
}

.lds-cat-list li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-border);
    margin-right: 10px;
    vertical-align: middle;
}

.lds-cat-list li a {
    font-size: 14px;
    color: var(--color-text);
}

.lds-cat-list li a:hover {
    color: var(--color-accent);
}

/* Social buttons widget */
.lds-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lds-social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: opacity 0.2s;
}

.lds-social-btn:hover {
    opacity: 0.9;
    color: #fff;
}

.lds-social-fb { background: #3b5998; }
.lds-social-tw { background: #000; }
.lds-social-ig { background: #e1306c; }
.lds-social-pin { background: #bd081c; }

/* Sidebar ad spacing */
.lds-sidebar-ad {
    margin-bottom: 24px;
    overflow: hidden;
    max-width: 100%;
}

/* Fix CB inline styles that break sidebar layout */
.stb-sidebar .cb-kreacje-placeholder,
.stb-sidebar .cb-banner-kreacja-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    overflow: hidden;
}

.stb-sidebar .cb-pad {
    max-width: 100%;
}

/* Sidebar images never overflow */
.stb-sidebar img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   11. FOOTER — minimalny
   =================================== */
.lds-footer .stb-container {
    padding-top: 28px;
    padding-bottom: 28px;
    text-align: center;
}

.lds-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 14px;
}

.lds-footer-nav a {
    font-size: 13px;
    color: var(--color-footer-text);
    transition: color 0.2s;
}

.lds-footer-nav a:hover {
    color: #fff;
}

.lds-footer-copyright {
    font-size: 12px;
    color: rgba(180,180,180,0.5);
    margin: 0;
}

/* ===================================
   12. SINGLE POST (article page)
   =================================== */
.lds-single-article {
    max-width: 100%;
}

.lds-single-meta {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-meta);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.lds-single-meta-sep {
    margin: 0 8px;
}

.lds-single-cat {
    color: var(--color-accent);
}

.lds-single-featured {
    margin-bottom: 30px;
}

.lds-single-img {
    width: 100%;
    height: auto;
}

/* Share buttons — inline row above content */
.lds-share-buttons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-bottom: 20px;
}

.lds-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    transition: opacity 0.2s;
}

.lds-share-btn:hover {
    opacity: 0.85;
    color: #fff;
}

.lds-share-fb { background: #3b5998; }
.lds-share-tw { background: #000; }
.lds-share-pin { background: #bd081c; }
.lds-share-email { background: #616161; }

/* Author box — CheerUp centered style */
.lds-author-box {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.lds-author-avatar {
    margin-bottom: 15px;
}

.lds-author-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: inline-block;
}

.lds-author-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.lds-author-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text);
    max-width: 500px;
    margin: 0 auto;
}


/* Related posts */
.lds-related {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.lds-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.lds-related-card .lds-card-title {
    font-size: 16px;
}

/* ===================================
   13. CONTACT FORM
   =================================== */
.lds-contact-page {
    max-width: 700px;
}

.lds-contact-form {
    margin-top: 30px;
}

.lds-form-row {
    margin-bottom: 20px;
}

.lds-form-row label {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.lds-form-row label span {
    color: var(--color-accent);
}

.lds-form-row input,
.lds-form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    background: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s;
}

.lds-form-row input:focus,
.lds-form-row textarea:focus {
    border-color: var(--color-accent);
}

.lds-submit-btn {
    padding: 14px 30px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.2s;
    min-height: 48px;
}

.lds-submit-btn:hover {
    opacity: 0.9;
}

.lds-form-status {
    margin-top: 15px;
    padding: 12px 15px;
    font-size: 14px;
}

.lds-form-success {
    background: #e6f9ee;
    color: #1a7a3a;
    border: 1px solid #b8e6ca;
}

.lds-form-error {
    background: #fde8e8;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* ===================================
   14. RESPONSIVE
   =================================== */

/* Large desktop → desktop */
@media (max-width: 1200px) {
    .stb-container {
        max-width: 100%;
        padding: 0 25px;
    }

    .lds-home-layout {
        grid-template-columns: 1fr 300px;
    }

    .lds-feat-layout {
        min-height: 440px;
    }

    .lds-feat-title-lg {
        font-size: 24px;
    }
}

/* Desktop → tablet */
@media (max-width: 940px) {
    .lds-home-layout {
        grid-template-columns: 1fr;
    }

    .lds-home-sidebar {
        margin-top: 40px;
    }

    .lds-slider-row1 { height: 340px; }
    .lds-slider-row2 { height: 150px; }
    .lds-sl-title-lg { font-size: 20px; }
}

/* Tablet → mobile */
@media (max-width: 768px) {
    .lds-header-main {
        min-height: 60px;
    }

    .lds-header-main-inner {
        min-height: 60px;
    }

    .lds-header-logo .custom-logo-link img {
        max-height: 35px;
    }

    .lds-site-title {
        font-size: 22px;
    }

    .stb-menu-toggle {
        display: flex;
    }

    /* Slider: stack row1, side stays 2-col */
    .lds-slider-row1 {
        grid-template-columns: 1fr;
        height: auto;
    }

    .lds-sl-big { min-height: 240px; }

    .lds-slider-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .lds-sl-sm { min-height: 150px; }

    .lds-slider-row2 { height: auto; }
    .lds-sl-bot { min-height: 130px; }

    .lds-sl-title-lg { font-size: 20px; }
    .lds-sl-title-sm { font-size: 12px; }
    .lds-sl-over { padding: 14px 16px; }

    /* Posts grid */
    .lds-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .lds-card-title {
        font-size: 16px;
    }

    .lds-card-excerpt {
        display: none;
    }

    .lds-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer nav wraps */
    .lds-footer-nav {
        gap: 6px 16px;
    }
}

/* Small mobile */
@media (max-width: 540px) {
    .stb-container {
        padding: 0 15px;
    }

    /* Slider: everything single column */
    .lds-slider-row1 { grid-template-columns: 1fr; }
    .lds-slider-side { grid-template-columns: 1fr; }
    .lds-slider-row2 { grid-template-columns: 1fr; }
    .lds-sl-big { min-height: 220px; }
    .lds-sl-sm { min-height: 160px; }
    .lds-sl-bot { min-height: 160px; }
    .lds-sl-title-lg { font-size: 18px; }
    .lds-sl-over { padding: 12px 15px; }

    .lds-posts-grid {
        grid-template-columns: 1fr;
    }

    .lds-card-title {
        font-size: 18px;
    }

    .lds-card-excerpt {
        display: block;
    }

    .lds-related-grid {
        grid-template-columns: 1fr;
    }

    .lds-home-layout {
        padding: 25px 0;
    }
}

/* ===================================
   15. ACCESSIBILITY
   =================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Ensure focus-visible on form inputs overrides outline:none */
.lds-subscribe-input:focus-visible,
.lds-form-row input:focus-visible,
.lds-form-row textarea:focus-visible,
.lds-search-form-wrap .search-field:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip to content link */
.lds-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.lds-skip-link:focus {
    position: fixed;
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    clip: auto;
    z-index: 10000;
}
