/* --- GLOBAL & LAYOUT --- */
.gsm-podcast-container {
    max-width: 900px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}
.gsm-header { display: flex; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.gsm-header-art { width: 250px; height: 250px; background-size: cover; background-position: center; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); flex-shrink: 0; }
.gsm-header-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.gsm-label { display: inline-block; font-size: 0.75em; text-transform: uppercase; letter-spacing: 1px; color: #6e56cf; font-weight: bold; margin-bottom: 5px; }
.gsm-header-content h2 { font-size: 2.2em; margin: 0 0 8px 0; line-height: 1.1; margin-bottom: 15px;}
.gsm-meta-info { font-size: 1em; color: #555; margin-bottom: 15px; font-weight: 500; }
.gsm-description { color: #666; margin-bottom: 20px; line-height: 1.5; }
.gsm-episodes-list h3 { margin-bottom: 20px; font-size: 1.4em;}

/* --- NEW: VERTICAL LAYOUT (For [latest_sermon] on Landing Page) --- */
.gsm-vertical-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px; /* Prevents it from getting too wide on big screens */
}

.gsm-vertical-art {
    width: 100%;
    height: 350px; /* Fixed height for the banner look */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gsm-vertical-content h2 {
    font-size: 2em;
    margin: 10px 0 5px 0;
    line-height: 1.2;
    margin-bottom: 15px;
}

.gsm-vertical-meta-top {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6e56cf; /* Purple accent */
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- PLAYER CONTROLS (SHARED BASE) --- */
.gsm-controls-row { display: flex; align-items: center; gap: 15px; width: 100%; }
.gsm-play-btn { border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; transition: transform 0.2s; padding: 0;}
.gsm-scrubber-group { flex-grow: 1; display: flex; align-items: center; gap: 10px; }
.gsm-time-text { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap;}
.gsm-progress-container { flex-grow: 1; height: 5px; background: #ddd; border-radius: 3px; cursor: pointer; position: relative; }
.gsm-progress-bar { height: 100%; background: #6e56cf; width: 0%; border-radius: 3px; }
.gsm-volume-group { display: flex; align-items: center; gap: 5px; position: relative; }
.gsm-volume-slider { width: 70px; cursor: pointer; }
.gsm-vol-slider-wrap { display: flex; align-items: center;}

/* --- HEADER PLAYER STYLES (Purple) --- */
.gsm-loc-header .gsm-play-btn { background: #6e56cf; width: 50px; height: 50px; }
.gsm-loc-header .gsm-play-btn svg { width: 24px; height: 24px; }
.gsm-loc-header .gsm-play-btn:hover { transform: scale(1.05); }
.gsm-loc-header .gsm-time-text, .gsm-loc-header .icon-volume { color: #888; }

/* --- LIST PLAYER STYLES (Grey Pill) --- */
.gsm-loc-list { background: #f0f2f5; border-radius: 30px; padding: 8px 15px; }
.gsm-loc-list .gsm-play-btn { background: transparent; color: #333; width: 32px; height: 32px; }
.gsm-loc-list .gsm-play-btn svg { width: 24px; height: 24px; fill: currentColor; }
.gsm-loc-list .gsm-play-btn:hover { color: #000; transform: scale(1.1);}
.gsm-loc-list .gsm-time-text { font-weight: 600; color: #333; font-size: 13px; }
.gsm-loc-list .gsm-progress-container { height: 6px; background: #dce0e6; }
.gsm-loc-list .gsm-progress-bar { background: #a0a0a0; }
.gsm-loc-list .icon-volume { color: #333; }
.gsm-loc-list .gsm-vol-slider-wrap { width: 0; overflow: hidden; transition: width 0.2s ease; }
.gsm-loc-list .gsm-volume-group:hover .gsm-vol-slider-wrap { width: 75px; }

/* --- LIST ITEMS & ARCHIVE --- */
.gsm-episode-item { display: flex; flex-direction: column; padding: 15px 0; border-bottom: 1px solid #eee; gap: 15px; }
.gsm-item-info-block { display: flex; gap: 20px; align-items: baseline;}
.gsm-item-date { color: #999; font-size: 0.85em; min-width: 50px; font-weight: 500; white-space: nowrap;}
.gsm-item-content { flex-grow: 1; }
.gsm-item-title { margin: 0 0 4px 0; font-size: 1.1em; color: #222; }
.gsm-item-meta-small { color: #777; font-size: 0.9em; }
.gsm-item-play-block { width: 100%; }

/* Responsive */
@media (min-width: 769px) {
    .gsm-episode-item { flex-direction: row; align-items: center;}
    .gsm-item-info-block { flex: 1; }
    .gsm-item-play-block { flex: 1; max-width: 450px; }
}
@media (max-width: 768px) {
    .gsm-header { flex-direction: column; align-items: center; text-align: center; }
    .gsm-header-art { width: 200px; height: 200px; margin-bottom: 20px; }
    .gsm-vol-slider-wrap { display: none; } 
    .gsm-volume-group:hover .gsm-vol-slider-wrap { width: 0; }
}