/* SermonSync — Front-end Post Styles */

/* -------------------------------------------------------
 * Video Embed
 * ----------------------------------------------------- */
.sermon-sync-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 0 0 1.5em;
    border-radius: 6px;
    background: #000;
}

.sermon-sync-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* -------------------------------------------------------
 * Thumbnail Preview (when embed is disabled)
 * ----------------------------------------------------- */
.sermon-sync-thumb-preview {
    margin: 0 0 1.5em;
}

.sermon-sync-yt-thumb-link {
    display: block;
    position: relative;
    line-height: 0;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
}

.sermon-sync-yt-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.sermon-sync-yt-thumb-link:hover .sermon-sync-yt-thumb {
    opacity: 0.85;
}

.sermon-sync-yt-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.sermon-sync-yt-thumb-link:hover .sermon-sync-yt-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* -------------------------------------------------------
 * YouTube CTA block (bottom of post)
 * ----------------------------------------------------- */
.sermon-sync-youtube-cta {
    margin: 2em 0 1em;
    border-top: 2px solid #f0f0f0;
    padding-top: 1.5em;
}

.sermon-sync-youtube-cta .sermon-sync-yt-thumb-link {
    max-width: 480px;
    margin-bottom: 0.75em;
}

.sermon-sync-yt-label {
    margin: 0.5em 0 0;
    font-size: 0.9em;
}

.sermon-sync-yt-label a {
    font-weight: 600;
    color: #c00;
    text-decoration: none;
}

.sermon-sync-yt-label a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------
 * Sermon Meta (Speaker / Series)
 * ----------------------------------------------------- */
.sermon-sync-meta {
    background: #f8f8f8;
    border-left: 4px solid #c00;
    padding: 0.75em 1em;
    margin: 0 0 1.5em;
    font-size: 0.9em;
}

.sermon-sync-meta p {
    margin: 0.2em 0;
}

/* -------------------------------------------------------
 * Key Takeaways
 * ----------------------------------------------------- */
.sermon-sync-key-points {
    background: #f0f7ff;
    border: 1px solid #c8def5;
    border-radius: 6px;
    padding: 1em 1.25em;
    margin: 1.5em 0;
}

.sermon-sync-key-points h3 {
    margin: 0 0 0.6em;
    font-size: 1em;
    font-weight: 700;
    color: #1a3a5c;
}

.sermon-sync-key-points ul {
    margin: 0;
    padding-left: 1.2em;
}

.sermon-sync-key-points li {
    margin-bottom: 0.35em;
    color: #1a3a5c;
    font-size: 0.95em;
}

/* -------------------------------------------------------
 * Scripture References
 * ----------------------------------------------------- */
.sermon-sync-verses {
    margin: 1.5em 0;
    border-top: 2px solid #e8e0d0;
    padding-top: 1em;
}

.sermon-sync-verses h3 {
    font-size: 1.05em;
    font-weight: 700;
    margin: 0 0 1em;
    color: #4a3520;
}

.sermon-sync-verse {
    margin-bottom: 1.2em;
    padding: 0.75em 1em;
    background: #faf8f4;
    border-left: 3px solid #c9a84c;
    border-radius: 0 4px 4px 0;
}

.sermon-sync-verse-reference {
    margin: 0 0 0.4em;
    font-size: 0.9em;
    color: #4a3520;
}

.sermon-sync-translation {
    font-weight: 400;
    color: #888;
    font-size: 0.85em;
}

.sermon-sync-verse-text {
    margin: 0;
    padding: 0;
    border: none;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    font-size: 0.95em;
}
