/* The selected prayer and reflection blocks only. Other pages keep v104 styling. */
.jamaat-home .jamaat-prayer.home-devotion-reading{background:#fffdf8;border:1px solid #eee6d8;border-radius:20px;padding:14px 18px 12px;margin-top:-4px;box-shadow:none}
.home-devotion-reading .jamaat-heading{margin:0 0 10px;gap:8px;align-items:center}
.home-devotion-reading .jamaat-heading h2{font:700 23px/1.2 Georgia,serif;letter-spacing:-.025em;gap:9px;color:#123b34}
.home-devotion-reading .jamaat-heading h2 svg{width:25px;height:25px;flex:none}
.home-devotion-reading .jamaat-heading>a{font-size:14px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
.home-devotion-reading .home-prayer-next{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;align-items:center;margin:0;padding:0 0 15px;min-height:60px}
.home-devotion-reading .home-next-prayer{font:400 32px/1.2 Georgia,serif;letter-spacing:-.03em;gap:0 8px;color:#103b34}
.home-devotion-reading .home-next-prayer>span:not(.home-prayer-loading){font-weight:700;color:#006b53}
.home-devotion-reading .home-next-prayer b{font:700 32px/1.2 Georgia,serif;letter-spacing:-.025em}
.home-devotion-reading .home-next-countdown{justify-items:start;padding-left:17px;border-left:1px solid #c4baa8;max-width:none}
.home-devotion-reading .home-next-countdown small{font:400 14px/1.4 Arial,sans-serif;color:#31443d}
.home-devotion-reading .home-next-countdown strong{font:700 20px/1.3 Georgia,serif;color:#654023;letter-spacing:0;white-space:nowrap}
.home-devotion-reading.home-prayer-compact .jamaat-times.home-prayer-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;border-top:1px solid #d4c7b3;border-bottom:1px solid #d4c7b3}
.home-devotion-reading.home-prayer-compact .home-prayer-times>a{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:68px;height:auto;padding:9px 10px;border:0;border-radius:0;background:transparent;color:#173b33;box-shadow:none;text-align:left;gap:4px}
.home-devotion-reading .home-prayer-times>a:nth-child(n+4){border-top:1px solid #d4c7b3}
.home-devotion-reading .home-prayer-times>a:not(:nth-child(3n))::after{content:'';position:absolute;right:0;top:17px;bottom:16px;width:1px;background:#c8bda9}
.home-devotion-reading.home-prayer-compact .home-prayer-times .home-prayer-label{display:block;min-height:0;max-width:100%}
.home-devotion-reading .home-prayer-label>svg{display:none}
.home-devotion-reading.home-prayer-compact .home-prayer-times .home-prayer-name{display:block;font:700 16px/1.15 Georgia,serif;letter-spacing:normal;color:#173d35;white-space:normal;overflow-wrap:normal}
.home-devotion-reading .home-prayer-name small{display:inline;font:400 13px/1.2 Georgia,serif;color:inherit;margin:0}
.home-devotion-reading .home-prayer-name small::before{content:' · '}
.home-devotion-reading.home-prayer-compact .home-prayer-times b{font:700 24px/1.1 Georgia,serif;letter-spacing:-.015em;color:inherit}
.home-devotion-reading.home-prayer-compact .home-prayer-times>a.is-next{background:transparent;color:#007052;border:0}
.home-devotion-reading.home-prayer-compact .home-prayer-times>a:nth-child(n+4){border-top:1px solid #d4c7b3}
.home-devotion-reading.home-prayer-compact .home-prayer-times>a.is-next .home-prayer-name,.home-devotion-reading.home-prayer-compact .home-prayer-times>a.is-next b{font-weight:700;color:#007052}
.home-devotion-reading .home-devotion-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0}
.home-devotion-audio{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:#006d53;font-size:15px}
.home-devotion-audio-icon{width:22px;height:22px;flex:none;background:#006d53;mask:url('/images/home-devotion/headphones.svg') center/contain no-repeat;-webkit-mask:url('/images/home-devotion/headphones.svg') center/contain no-repeat}
.home-devotion-reading.home-prayer-compact .home-reminder-link{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:0;gap:0;color:#006d53}
.home-devotion-reading .home-reminder-link span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.home-devotion-reading .home-reminder-link svg{width:19px;height:19px}
.home-devotion-reading .home-reflection-reading{position:relative;isolation:isolate;border-top:1px solid #cdbda5;padding:15px 0 3px;margin:0;background:transparent}
.home-reflection-reading>h2{font:700 17px/1.3 Georgia,serif;color:#704726;letter-spacing:0;margin:0 0 12px}
.home-reflection-branch{position:absolute;right:-9px;bottom:25px;width:100px;height:132px;object-fit:contain;opacity:.5;z-index:-1;pointer-events:none}
.jamaat-home .home-devotion-reading .home-quran-quote{position:relative;display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:9px;margin:0;padding:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:#123b34}
.jamaat-home .home-devotion-reading .home-quran-quote::before,.jamaat-home .home-devotion-reading .home-quran-quote::after{display:none}
.jamaat-home .home-devotion-reading .home-quran-quote .home-quote-text{display:block;font:italic 700 25px/1.23 Georgia,serif;letter-spacing:-.025em;color:#153c34;max-width:calc(100% - 40px);text-wrap:pretty}
.home-reflection-reading .home-quote-text::before{content:'«'}
.home-reflection-reading .home-quote-text::after{content:'»'}
.jamaat-home .home-devotion-reading .home-quran-quote .home-quote-source{display:inline-flex;align-items:center;gap:6px;min-height:32px;font:400 15px/1.4 Arial,sans-serif;color:#006d53;text-decoration:underline;text-underline-offset:5px}
.jamaat-home .home-reflection-wide .home-quran-quote .home-quote-text{max-width:100%}
.home-reflection-wide .home-reflection-branch{opacity:.2}
.home-devotion-reading :is(a,button):focus-visible{outline:2px solid #087b62;outline-offset:3px}
@media(max-width:750px){
 .jamaat-home .jamaat-prayer.home-devotion-reading{padding:8px 13px 11px}
 .home-devotion-reading .jamaat-heading{margin-bottom:6px}
 .home-devotion-reading .jamaat-heading h2{font-size:20px;gap:7px}
 .home-devotion-reading .jamaat-heading h2 svg{width:23px;height:23px}
 .home-devotion-reading .jamaat-heading>a{font-size:12px}
 .home-devotion-reading .home-prayer-next{min-height:59px;gap:10px;padding-bottom:13px}
 .home-devotion-reading .home-next-prayer,.home-devotion-reading .home-next-prayer b{font-size:28px}
 .home-devotion-reading .home-next-countdown{padding-left:12px;max-width:none}
 .home-devotion-reading .home-next-countdown small{font-size:13px}
 .home-devotion-reading .home-next-countdown strong{font-size:17px}
 .home-devotion-reading.home-prayer-compact .home-prayer-times>a{min-height:61px;padding:8px 8px;gap:3px}
 .home-devotion-reading.home-prayer-compact .home-prayer-times .home-prayer-name{font-size:14px}
 .home-devotion-reading.home-prayer-compact .home-prayer-times b{font-size:22px}
 .home-devotion-audio{font-size:14px;gap:7px}
 .home-reflection-reading>h2{font-size:16px;margin-bottom:10px}
 .jamaat-home .home-devotion-reading .home-quran-quote .home-quote-text{font-size:23px}
 .jamaat-home .home-devotion-reading .home-quran-quote .home-quote-source{font-size:14px}
 html[lang=tt] .home-devotion-reading .home-next-prayer,html[lang=tt] .home-devotion-reading .home-next-prayer b{font-size:25px}
}
@media(max-width:359px){
 .home-devotion-reading .jamaat-heading h2{font-size:18px}
 .home-devotion-reading .jamaat-heading>a{font-size:11px}
 .home-devotion-reading .home-next-prayer,.home-devotion-reading .home-next-prayer b{font-size:25px}
 .home-devotion-reading .home-next-countdown{padding-left:9px;max-width:none}
 .home-devotion-reading .home-next-countdown strong{font-size:16px}
 html[lang=tt] .home-devotion-reading .jamaat-heading h2{font-size:17px;gap:5px}
 html[lang=tt] .home-devotion-reading .jamaat-heading h2 svg{width:20px;height:20px}
 html[lang=tt] .home-devotion-reading .home-next-prayer,html[lang=tt] .home-devotion-reading .home-next-prayer b{font-size:22px}
 .home-devotion-reading.home-prayer-compact .home-prayer-times>a{padding-inline:6px}
 .home-devotion-reading.home-prayer-compact .home-prayer-times .home-prayer-name{font-size:13px}
 .home-devotion-reading .home-prayer-name small{font-size:12px}
 .home-devotion-reading.home-prayer-compact .home-prayer-times b{font-size:20px}
 .home-devotion-audio{font-size:13px;gap:5px}
 .jamaat-home .home-devotion-reading .home-quran-quote .home-quote-text{font-size:21px}
}

/* Align the upcoming-prayer countdown with the second schedule divider. */
.home-devotion-reading .home-prayer-next{grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:0}
.home-devotion-reading .home-next-prayer{min-width:0;padding-right:10px;padding-left:8px}
.home-devotion-reading .home-next-countdown{min-width:0;margin-left:-1px}
.home-devotion-reading .home-next-countdown strong{white-space:normal}

/* Keep the current layout while making the next prayer a normal accessible link. */
.home-devotion-reading a.home-next-prayer{position:relative;border-radius:4px;text-decoration:none;cursor:pointer;touch-action:manipulation}
.home-devotion-reading a.home-next-prayer::before{content:'';position:absolute;left:0;right:0;top:50%;height:100%;min-height:44px;transform:translateY(-50%)}
.home-devotion-reading a.home-next-prayer:focus-visible{outline:2px solid #087b62;outline-offset:3px}
@media(hover:hover){.home-devotion-reading a.home-next-prayer:hover>span,.home-devotion-reading a.home-next-prayer:hover>b{text-decoration:underline;text-underline-offset:5px}}

/* Darken only the six-prayer timetable background by five percent. */
.home-devotion-reading.home-prayer-compact .jamaat-times.home-prayer-times{background-color:rgba(0,0,0,.05)}
