/* શતાબ્દી મહોત્સવ slide show — [sd_slideshow] (full page) and [sd_slideshow mode="mini"] (ઈતિહાસ sidebar). */
.sd-show__stage { position: relative; display: block; background: #2B1410; border-radius: 16px; overflow: hidden; line-height: 0; }
.sd-show__img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 905; object-fit: contain; background: #2B1410; }
.sd-show__count { font-weight: 600; color: var(--sd-text-secondary, #6b5a4c); font-size: 15px; }

/* Full viewer */
.sd-show--full { display: flex; flex-direction: column; gap: 14px; }
.sd-show__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.sd-show__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-show__tools .sd-btn { cursor: pointer; }
.sd-show--full .sd-show__stage { box-shadow: 0 18px 44px -10px rgba(59, 36, 20, 0.35); border: 3px solid var(--sd-accent-gold, #C9A24A); }
.sd-show__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(43, 20, 16, 0.55); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.sd-show__nav:hover, .sd-show__nav:focus-visible { background: rgba(122, 31, 31, 0.9); }
.sd-show__nav--prev { left: 12px; }
.sd-show__nav--next { right: 12px; }
.sd-show__range { width: 100%; accent-color: var(--sd-primary-maroon, #7A1F1F); }
[data-sd-play] .sd-show__pause, [data-sd-play][aria-pressed="true"] .sd-show__play { display: none; }
[data-sd-play][aria-pressed="true"] .sd-show__pause { display: inline; }
.sd-show__stage:fullscreen { display: flex; align-items: center; justify-content: center; border-radius: 0; border: 0; }
.sd-show__stage:fullscreen .sd-show__img { width: 100vw; height: 100vh; aspect-ratio: auto; }
.sd-show__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sd-show__grid[hidden] { display: none; }
.sd-show__thumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #2B1410; cursor: pointer; line-height: 0; }
.sd-show__thumb img { width: 100%; height: auto; aspect-ratio: 1280 / 905; object-fit: cover; }
.sd-show__thumb span { position: absolute; left: 6px; bottom: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(43, 20, 16, .75); color: #fff; font-size: 12px; line-height: 1.6; }
.sd-show__thumb.is-current, .sd-show__thumb:hover { border-color: var(--sd-accent-gold, #C9A24A); }

/* Sidebar box */
.sd-show--mini { display: flex; flex-direction: column; gap: 10px; }
.sd-show--mini .sd-show__stage { border-radius: 12px; border: 2px solid var(--sd-accent-gold, #C9A24A); }
.sd-show__bar { display: flex; align-items: center; justify-content: space-between; }
.sd-show__btn { width: 34px; height: 34px; border: 1px solid var(--sd-border-default, #eadfcd); border-radius: 50%; background: #fff; color: var(--sd-primary-maroon, #7A1F1F); font-size: 22px; line-height: 1; cursor: pointer; }
.sd-show__links { display: flex; gap: 8px; }
.sd-show__links .sd-btn { flex: 1 1 auto; justify-content: center; }

@media (max-width: 767px) {
	.sd-show__nav { width: 40px; height: 40px; font-size: 26px; }
	.sd-show__nav--prev { left: 6px; }
	.sd-show__nav--next { right: 6px; }
	.sd-show__tools { width: 100%; }
	.sd-show__tools .sd-btn { flex: 1 1 auto; justify-content: center; }
	.sd-show__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
/* Note under the viewer: centred across the full width (not the 76ch reading column). */
.sd-show-note { width: 100%; }
.sd-show-note p { max-width: none; margin: 4px auto 0; text-align: center; font-size: 14px; color: var(--sd-text-secondary, #6b5a4c); }
