/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Pless.dk Dev
Author URI: https://pless.dk
Description: Astra Child Theme for Pless.dk Redesign
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */

/* The main container covering the viewport minus header */
.pless-hero-section {
    position: relative;
    width: 100vw;
    height: 550px;
    /* Fixed height for consistency */
    max-height: 550px;
    /* Limit height as requested */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* This ensures it sits flush against the edges if the Astra container restricts it */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #000;
}

/* Background Video */
.pless-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Fallback background color */
.pless-hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

/* Dark overlay to make white text readable */
.pless-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Adjust opacity as needed */
    z-index: 2;
}

/* Content Container (Text & Button) */
.pless-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pless-hero-title {
    font-size: clamp(2rem, 5vw, 50px);
    /* Adjust based on device, max 50px */
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Helps readability */
    line-height: 1.1;
}

.pless-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.pless-hero-button {
    display: inline-block;
    background-color: #4285F4;
    /* Blue color matching the screenshot */
    color: #ffffff;
    padding: 14px 38px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    /* Slight rounding */
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.pless-hero-button:hover {
    background-color: #3367d6;
    /* Darker blue on hover */
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pless-hero-title {
        font-size: 2.5rem;
    }

    .pless-hero-subtitle {
        font-size: 1.2rem;
    }

    .pless-hero-section {
        height: 80vh;
    }
}

/* Mute Toggle Button */
.pless-mute-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 10px;
    /* Slight padding for click area */
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pless-mute-btn:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.pless-mute-btn svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
    /* Add shadow since there's no background */
}

/* ==========================================================================
   Musik App (SPA) Scoped Styles
   ========================================================================== */

/* Overrides for the musik page body */
body.musik-app-mode {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.musik-app-container {
    display: flex;
    height: calc(100vh - 160px);
    /* Leave room for Astra header + player at bottom */
    width: 100%;
    background-color: #121212;
    overflow: hidden;
}

/* --- SIDEBAR --- */
.musik-sidebar {
    width: 240px;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    padding-top: 24px;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 0 24px 20px 24px;
}

.sidebar-header .custom-logo-link img,
.sidebar-header .custom-logo {
    max-width: 100px;
    height: auto;
}

.app-logo {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
}

.app-logo span {
    background-color: #fff;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
    font-family: serif;
    font-weight: 900;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: color 0.2s;
}

.nav-link i {
    font-size: 20px;
    margin-right: 16px;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    background-color: #282828;
    color: #fff;
}

.sidebar-divider {
    height: 1px;
    background-color: #282828;
    margin: 20px 24px;
}

.sidebar-playlists {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 12px;
}

.playlists-title {
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 12px;
    margin: 0 0 12px 0;
    display: flex;
    justify-content: space-between;
}

.albums-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.album-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}

.album-link:hover,
.album-link.active {
    background-color: #282828;
    color: #fff;
}

.tiny-cover {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    margin-right: 12px;
    object-fit: cover;
}

.tiny-cover-placeholder {
    width: 32px;
    height: 32px;
    background-color: #333;
    border-radius: 4px;
    margin-right: 12px;
}

/* --- MAIN CONTENT AREA --- */
.musik-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #2a2a2a 0%, #121212 100%);
    overflow: hidden;
    position: relative;
}

/* main-header removed - using standard Astra navbar */

.content-scrollable {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 32px;
    color: #b3b3b3;
}

/* --- PLAYLIST VIEW --- */
.playlist-header-block {
    display: flex;
    align-items: flex-end;
    margin-bottom: 24px;
}

.large-cover {
    width: 232px;
    height: 232px;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
    margin-right: 24px;
    object-fit: cover;
}

.large-cover-placeholder {
    width: 232px;
    height: 232px;
    background-color: #333;
    margin-right: 24px;
}

.playlist-info {
    flex-grow: 1;
}

.playlist-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.playlist-banner-title {
    font-size: 72px;
    font-weight: 900;
    margin: 8px 0;
    line-height: 1;
}

.playlist-meta {
    color: #b3b3b3;
    font-size: 14px;
    margin-bottom: 16px;
}

.playlist-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.btn-primary {
    background-color: #1db954;
    color: #000;
    border: none;
    border-radius: 32px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.1s;
}

.btn-primary:hover {
    transform: scale(1.04);
    background-color: #1ed760;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #727272;
    border-radius: 32px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.1s;
}

.btn-secondary:hover {
    border-color: #fff;
}

/* Tracklist */
.tracklist-container {
    margin-top: 32px;
}

.tracklist-header {
    display: grid;
    grid-template-columns: 50px 1fr 200px 150px;
    color: #b3b3b3;
    font-size: 12px;
    font-weight: 400;
    padding: 0 16px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.track-row {
    display: grid;
    grid-template-columns: 50px 1fr 200px 150px;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.track-row:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.track-row.active-playing .track-name {
    color: #1db954;
}

.track-row.active-playing .col-index .number {
    display: none;
}

.track-row.active-playing .col-index .play-track-row {
    display: block;
    color: #1db954;
}

.col-index {
    color: #b3b3b3;
    font-size: 14px;
    text-align: right;
    padding-right: 16px;
}

.col-index .play-track-row {
    display: none;
    cursor: pointer;
}

.track-row:hover .col-index .number {
    display: none;
}

.track-row:hover .col-index .play-track-row {
    display: block;
    color: #fff;
}

.track-info {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.row-cover {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 2px;
}

.track-name {
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-creator {
    color: #b3b3b3;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
}

.track-action-icon {
    color: #b3b3b3;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}

.track-action-icon:hover {
    color: #fff;
}

/* --- GLOBAL PLAYER --- */
.musik-player-global {
    height: 90px;
    background-color: #181818;
    border-top: 1px solid #282828;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    bottom: -100px;
    /* Hidden off-screen by default */
    left: 0;
    width: 100vw;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
}

.musik-player-global.player-visible {
    bottom: 0;
}

/* Adjust main container height when player is visible/hidden */
.musik-app-container {
    height: calc(100vh - 70px);
    /* Default height accounting for Astra header */
    transition: height 0.3s ease-in-out;
}

.musik-app-container.player-visible-layout {
    height: calc(100vh - 160px);
    /* Shrink to leave room for Astra header + player */
}

.player-left {
    min-width: 180px;
    width: 30%;
    display: flex;
    align-items: center;
}

.now-playing-cover img,
.cover-placeholder {
    width: 56px;
    height: 56px;
    margin-right: 14px;
    border-radius: 4px;
    object-fit: cover;
}

.cover-placeholder {
    background-color: #333;
}

.now-playing-info h4 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.now-playing-info p {
    color: #b3b3b3;
    font-size: 12px;
    margin: 0;
}

.player-center {
    flex-grow: 1;
    max-width: 722px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.control-btn {
    background: transparent;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.control-btn i {
    font-size: 20px;
}

.control-btn:hover {
    color: #fff;
}

.play-btn {
    color: #fff;
}

.play-btn i {
    font-size: 32px;
}

.play-btn:hover {
    transform: scale(1.05);
}

.player-progress {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    color: #b3b3b3;
    font-size: 11px;
}

.progress-bar-container {
    flex-grow: 1;
    height: 12px;
    position: relative;
    display: flex;
    align-items: center;
}

.progress-bar-bg {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #535353;
    border-radius: 2px;
}

.progress-bar-fill {
    position: absolute;
    width: 0%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    pointer-events: none;
}

.seek-slider {
    position: absolute;
    width: 100%;
    opacity: 0;
    /* Hide input but keep it clickable */
    cursor: pointer;
    z-index: 10;
}

.progress-bar-container:hover .progress-bar-fill {
    background-color: #1db954;
}

.player-right {
    min-width: 180px;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider-container {
    width: 90px;
    height: 12px;
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider {
    position: absolute;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.volume-fill {
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    pointer-events: none;
}

.volume-slider-container:hover .volume-fill {
    background-color: #1db954;
}

.player-extra-btn i {
    font-size: 24px;
    color: red;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .musik-app-container {
        flex-direction: column;
        height: calc(100vh - 120px);
        /* Taller player on mobile */
    }

    .musik-sidebar {
        width: 100%;
        height: auto;
        flex-shrink: 0;
        padding-top: 10px;
        border-bottom: 1px solid #282828;
    }

    .sidebar-header {
        padding: 0 0 10px 0;
        display: flex;
        justify-content: center;
    }

    .sidebar-header .custom-logo-link img,
    .sidebar-header .custom-logo {
        max-width: 60px;
    }

    .app-logo {
        font-size: 16px;
    }

    .app-logo span {
        padding: 1px 4px;
        font-size: 14px;
    }

    .sidebar-playlists {
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 12px;
        border-top: 1px solid #282828;
    }

    .sidebar-playlists .playlists-title {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .sidebar-playlists .albums-list {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .sidebar-playlists .albums-list li {
        flex-shrink: 0;
    }

    .sidebar-playlists .album-link {
        flex-direction: column;
        padding: 6px;
        font-size: 11px;
        text-align: center;
        width: 70px;
    }

    .sidebar-playlists .album-link .tiny-cover {
        margin-right: 0;
        margin-bottom: 4px;
        width: 48px;
        height: 48px;
    }

    .sidebar-playlists .album-link .album-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 65px;
        font-size: 10px;
    }

    .sidebar-nav {
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 0;
    }

    .nav-link {
        flex-direction: column;
        padding: 5px;
    }

    .nav-link i {
        margin-right: 0;
        margin-bottom: 4px;
    }

    .playlist-header-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .large-cover {
        margin-right: 0;
        margin-bottom: 16px;
        width: 180px;
        height: 180px;
    }

    .playlist-banner-title {
        font-size: 40px;
    }

    .playlist-actions {
        justify-content: center;
    }

    .tracklist-header {
        display: none;
        /* Hide headers on mobile */
    }

    .track-row {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "index title"
            "index creator"
            "actions actions";
        padding: 12px 0;
    }

    .col-index {
        grid-area: index;
    }

    .track-info {
        grid-area: title;
    }

    .col-creator {
        grid-area: creator;
        padding-left: 52px;
        /* Align with text */
        font-size: 12px;
    }

    .col-actions {
        grid-area: actions;
        justify-content: flex-start;
        padding-left: 52px;
        margin-top: 8px;
    }

    .musik-player-global {
        height: 120px;
        flex-direction: column;
        padding: 8px;
    }

    .player-left {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }

    .player-center {
        width: 100%;
    }

    .player-right {
        display: none;
        /* Hide extraneous controls on small mobile */
    }
}

/* ==========================================================================
   Studie Page (Blog-Style)
   ========================================================================== */

.studie-page {
    background-color: #111;
    background-image: url("https://darkslategray-worm-788741.hostingersite.com/wp-content/uploads/2026/02/Gemini_Generated_Image_5hvht35hvht35hvh.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #e5e5e5;
    min-height: 100vh;
    font-family: sans-serif;
    position: relative;
}

.studie-article {
    margin-bottom: 4rem;
    margin-top: 0;
    padding-top: 0;
    position: relative;
}

.studie-hero-image {
    position: relative;
    width: 100%;
}

.studie-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.studie-hero-gradient {
    display: none;
}

.studie-article-content {
    max-width: 800px;
    margin: -3rem auto 0;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.studie-article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-align: center;
}

.studie-article-body {
    color: #d4d4d4;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
}

.studie-article-body p {
    margin-bottom: 1.25rem;
    color: #d4d4d4;
}

.studie-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.studie-article-body h2,
.studie-article-body h3,
.studie-article-body h4 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Cards Section */
.studie-cards-section {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
    padding: 4rem 1.5rem 4rem;
}

.studie-cards-section::before {
    content: '';
    display: block;
    width: 80%;
    max-width: 600px;
    height: 1px;
    margin: 0 auto 3rem;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.studie-cards-heading {
    font-size: 2.25rem;
    color: #e5e5e5;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.studie-cards-heading::before,
.studie-cards-heading::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
}

.studie-cards-heading::before {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3));
}

.studie-cards-heading::after {
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.3));
}

.studie-cards-subtitle {
    color: #a3a3a3;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 300;
}

.studie-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.studie-card {
    display: block;
    text-decoration: none;
    background-color: transparent;
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.studie-card:hover {
    transform: translateY(-4px);
}

.studie-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0.75rem;
}

.studie-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.studie-card:hover .studie-card-image img {
    transform: scale(1.05);
}

.studie-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
}

.studie-card-placeholder {
    width: 100%;
    height: 100%;
    background-color: #333;
}

.studie-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    z-index: 2;
}

.studie-card-info h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.studie-card-active {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}

.studie-card-active .studie-card-info h3 {
    color: #4285F4;
}

@media (max-width: 768px) {
    .studie-hero-image img {
        height: 300px;
    }

    .studie-article-title {
        font-size: 1.75rem;
    }

    .studie-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .studie-card-info h3 {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   PDF Modal Viewer (used by Musik T button and Slægt documents)
   ========================================================================== */

.pless-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pless-pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.pless-pdf-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    background: #1a1a1a;
    border-radius: 0.75rem;
    border: 1px solid #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.pless-pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #222;
    border-bottom: 1px solid #333;
    color: #e5e5e5;
    font-size: 1rem;
    font-weight: 500;
}

.pless-pdf-modal-close {
    background: none;
    border: none;
    color: #e5e5e5;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
}

.pless-pdf-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pless-pdf-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
}

.pless-pdf-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #222;
    border-top: 1px solid #333;
}

.pless-pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #005bb5;
    color: #fff;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}

.pless-pdf-download-btn:hover {
    background: #004e9a;
    color: #fff;
}

/* ==========================================================================
   Mobile Navbar Override – Inline Dropdown (NOT Off-Canvas)
   ========================================================================== */

/* ==========================================================================
   Navbar – Dark Background (all pages)
   ========================================================================== */

.main-header-bar,
.ast-primary-header,
.site-header,
.ast-header-stacked-bg {
    background-color: #111 !important;
    background-image: url("https://darkslategray-worm-788741.hostingersite.com/wp-content/uploads/2026/02/Gemini_Generated_Image_5hvht35hvht35hvh.png") !important;
    background-size: cover !important;
    background-position: center top !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.main-header-bar .ast-site-identity a,
.main-header-bar .site-title a,
.main-header-bar .site-description {
    color: #fff !important;
}

.main-header-bar .main-navigation a,
.main-header-bar .ast-header-custom-item a,
.ast-header-sections-navigation a {
    color: #e5e5e5 !important;
}

.main-header-bar .main-navigation a:hover,
.ast-header-sections-navigation a:hover {
    color: #fff !important;
}

/* ==========================================================================
   Mobile Nav – Off-Canvas with Dark Textured Background
   ========================================================================== */

@media (max-width: 921px) {

    /* Style both off-canvas AND dropdown mobile menu with dark bg */
    .ast-mobile-popup-drawer,
    .ast-mobile-popup-drawer .ast-mobile-popup-inner,
    .ast-mobile-popup-drawer .ast-mobile-popup-content,
    .ast-mobile-popup-inner,
    #ast-mobile-popup,
    .ast-mobile-popup-content,
    .ast-mobile-header-content,
    .ast-mobile-popup-drawer.active,
    .ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
    [data-section="popup"],
    .ast-header-break-point .main-header-bar-navigation,
    .ast-header-break-point .main-header-bar-navigation .main-header-menu,
    .ast-header-break-point .ast-mobile-header-content,
    .ast-header-break-point .main-header-menu,
    .ast-mobile-header-wrap,
    .ast-mobile-header-wrap .main-header-menu,
    .toggle-on {
        background-color: #111 !important;
        background-image: url("https://darkslategray-worm-788741.hostingersite.com/wp-content/uploads/2026/02/Gemini_Generated_Image_5hvht35hvht35hvh.png") !important;
        background-size: cover !important;
        background-position: center !important;
        color: #e5e5e5 !important;
    }

    /* Kill any white/light bg on child elements inside menus */
    .ast-mobile-popup-inner *,
    .ast-mobile-popup-content *,
    .ast-header-break-point .main-header-bar-navigation *,
    .ast-header-break-point .main-header-menu *,
    .toggle-on * {
        background-color: transparent !important;
    }

    /* Menu link colors */
    .ast-header-break-point .main-header-bar-navigation .menu-link,
    .ast-header-break-point .main-header-menu .menu-link,
    .ast-header-break-point .main-header-bar-navigation a,
    .ast-header-break-point .main-header-menu a {
        color: #e5e5e5 !important;
    }

    .ast-header-break-point .main-header-bar-navigation .menu-link:hover,
    .ast-header-break-point .main-header-menu .menu-link:hover {
        color: #fff !important;
    }

    /* Style menu items */
    .ast-mobile-header-content .menu-item a,
    .ast-mobile-popup-content .menu-item a {
        color: #e5e5e5 !important;
        padding: 0.875rem 1.5rem !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        font-size: 1rem !important;
        transition: background 0.2s !important;
    }

    .ast-mobile-header-content .menu-item a:hover,
    .ast-mobile-popup-content .menu-item a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }

    /* Close button styling */
    .ast-mobile-popup-close,
    .menu-toggle-close {
        color: #fff !important;
    }

    /* Hamburger icon color */
    .ast-mobile-menu-trigger-minimal .ast-mobile-svg,
    .ast-button-wrap .ast-mobile-svg {
        fill: #fff !important;
    }

    /* Overlay background */
    .ast-mobile-popup-overlay {
        background: rgba(0, 0, 0, 0.7) !important;
    }
}