/* Single Sermon - [sermon] shortcode */
.si-sermon {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.si-sermon-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #000;
}

.si-sermon-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Custom thumbnail overlay */
.si-sermon-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.si-sermon-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.si-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.si-sermon-thumbnail:hover .si-play-btn {
    opacity: 1;
}

.si-sermon-title {
    margin: 0.5rem 0;
    font-size: 1.5em;
}

.si-sermon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #555;
    font-size: 0.9em;
}

/* Sermon Index - [sermon_index] shortcode */
.si-sermon-index {
    max-width: 800px;
    margin: 0 auto;
}

.si-sermon-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.si-sermon-item:last-child {
    border-bottom: none;
}

.si-sermon-item-title {
    margin: 0 0 0.25rem;
    font-size: 1.1em;
}

.si-sermon-item-title a {
    text-decoration: none;
    color: inherit;
}

.si-sermon-item-title a:hover {
    text-decoration: underline;
}

.si-sermon-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: #666;
    font-size: 0.85em;
}

.si-sermon-item-meta span::before {
    content: '|';
    margin-right: 0.75rem;
    color: #ccc;
}

.si-sermon-item-meta span:first-child::before {
    content: '';
    margin-right: 0;
}
