/* includes/sermons/css/sermons.css */
.dd-sermons-container { max-width: 900px; margin: 0 auto; animation: ddFadeIn 0.3s ease; }
@keyframes ddFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Grid View */
.dd-sermon-hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; margin-bottom: 40px; }
.dd-sermon-hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.dd-sermon-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 2; }
.dd-sermon-hero-content { position: relative; z-index: 3; padding: 30px; color: #FFF; }
.dd-sermon-hero-content h2 { font-size: 28px; font-weight: 800; margin: 0 0 6px 0; color: #FFF; }

.dd-sermon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.dd-sermon-card { background: #FFF; border-radius: 20px; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 4px 20px rgba(0,0,0,0.03); cursor: pointer; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.2s; }
.dd-sermon-card:hover { transform: translateY(-4px); }
.dd-sermon-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.dd-sermon-meta { font-size: 13px; color: #86868B; font-weight: 600; margin-bottom: 8px; }
.dd-sermon-title { font-size: 18px; font-weight: 700; color: #1D1D1F; margin: 0 0 6px 0; }
.dd-sermon-speaker { font-size: 14px; color: #515154; margin: 0 0 16px 0; }
.dd-btn-play { background: rgba(0, 122, 255, 0.1); color: #007AFF; border: none; border-radius: 10px; padding: 8px 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; width: fit-content; cursor: pointer; }

/* Single View App-Style Layout */
#dd-sermons-single-view { display: none; max-width: 900px; margin: 0 auto; padding-bottom: 80px; animation: ddSlideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes ddSlideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.dd-single-back-btn { display: inline-flex; align-items: center; gap: 6px; color: #007AFF; font-weight: 600; margin-bottom: 24px; cursor: pointer; background: none; border: none; font-size: 16px; padding: 0;}
.dd-single-media { width: 100%; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 20px 40px rgba(0,0,0,0.1); margin-bottom: 30px; aspect-ratio: 16 / 9; }
.dd-single-media iframe { width: 100%; height: 100%; border: none; }
.dd-single-title { font-size: 32px; font-weight: 800; color: #1D1D1F; margin: 0 0 20px 0; text-align: center;}

/* Professional Scripture & Author Cards */
.dd-scripture-box { background: #F2F2F7; border-radius: 16px; padding: 16px 20px; display: inline-flex; align-items: center; gap: 16px; margin: 0 auto 30px; justify-content: center; width: 100%; box-sizing: border-box;}
.dd-scripture-ref { font-weight: 700; color: #1D1D1F; font-size: 16px; }
.dd-scripture-read-btn { background: #007AFF; color: #FFF; border: none; border-radius: 99px; padding: 6px 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; }

.dd-author-card { background: #FFF; border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 16px; margin-top: 40px; box-shadow: 0 4px 14px rgba(0,0,0,0.02); }
.dd-author-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #F2F2F7, #E5E5EA); display: flex; align-items: center; justify-content: center; color: #86868B; }
.dd-author-info h4 { margin: 0 0 4px 0; font-size: 18px; font-weight: 700; color: #1D1D1F; }
.dd-author-info p { margin: 0; font-size: 14px; color: #86868B; }

.dd-single-content { font-size: 17px; line-height: 1.6; color: #333336; background: #FFF; border-radius: 24px; padding: 40px; border: 1px solid rgba(0,0,0,0.04); }