/* DimaDima.nl – stijlblad
   Palet: inkt-teal (de oude DimaDima-kleur, verdiept), koperen accent voor "nu" en "volgende". */
:root {
  --ink: #0f3d44;
  --ink-2: #164f57;
  --lagoon: #1d6b73;
  --mist: #eef3f2;
  --surface: #ffffff;
  --line: #d3e0de;
  --text: #16292c;
  --muted: #56696b;
  --brass: #a8772a;
  --brass-hi: #e2b867;
  --brass-soft: #f5ead6;
  --danger: #a33a2c;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", "Scheherazade New", "Geeza Pro", "Arabic Typesetting", serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.563rem;
  --step-3: 2rem;
  --step-4: 2.75rem;

  --wrap: 72rem;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 var(--step-0)/1.6 var(--sans);
  color: var(--text);
  background: var(--mist);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--lagoon); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0; color: var(--ink); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass-hi); color: var(--ink); padding: .5rem 1rem; z-index: 20; }
.skip:focus { left: 1rem; }
[lang="ar"] { font-family: var(--arabic); }

/* ------------------------------------------------------------ masthead */
.masthead {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h7M49 28h7M28 0v7M28 49v7'/%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
  position: relative;
  z-index: 5;
}
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 2rem; height: 2rem; color: var(--brass-hi); }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: .005em; }
.brand__tld { color: var(--brass-hi); font-weight: 400; }

.nav > summary { list-style: none; }
.nav > summary::-webkit-details-marker { display: none; }
.nav__toggle {
  cursor: pointer; padding: .45rem .9rem; border: 1px solid rgb(255 255 255 / .35); border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600;
}
.nav nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); padding: 1rem 1.25rem 1.25rem; box-shadow: 0 12px 24px rgb(0 0 0 / .25); }
.nav__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .1rem; }
.nav__list a { display: block; padding: .55rem .25rem; color: #e6f0ef; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgb(255 255 255 / .08); }
.nav__list a[aria-current] { color: var(--brass-hi); }
.nav__search input {
  width: 100%; font: inherit; font-size: var(--step--1); padding: .6rem .8rem; border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .1); color: #fff;
}
.nav__search input::placeholder { color: rgb(255 255 255 / .6); }

@media (min-width: 62rem) {
  .nav { display: block; }
  .js .nav > summary { display: none; }
  .nav:not([open]) > summary { margin-left: auto; }
  .nav nav { position: static; display: flex; align-items: center; gap: 1.25rem; background: none; padding: 0; box-shadow: none; }
  .nav__list { display: flex; gap: .15rem; margin: 0; }
  .nav__list a { border: 0; padding: .4rem .6rem; border-radius: var(--radius); font-size: .96rem; }
  .nav__list a:hover { background: rgb(255 255 255 / .08); color: #fff; }
  .nav__list a[aria-current] { color: var(--brass-hi); box-shadow: inset 0 -2px 0 var(--brass-hi); border-radius: 0; }
  .nav__search input { width: 13rem; }
}
/* zonder JS en dicht: details-inhoud verbergen op mobiel gaat vanzelf */

/* ------------------------------------------------------------ hero + dagregel */
.hero { background: var(--ink); color: #fff; padding: 2.25rem 0 2.75rem; border-top: 1px solid rgb(255 255 255 / .06); }
.hero--compact { padding: 1.5rem 0 2.25rem; }
.hero__date { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.25rem; row-gap: .2rem; margin-bottom: .25rem; }
.hero__greg, .hero__hijri { margin: 0; }
.hero__greg { font-family: var(--serif); font-size: var(--step-1); }
.hero__hijri { color: var(--brass-hi); font-size: var(--step--1); letter-spacing: .01em; }
.hero__title { color: #fff; font-size: var(--step-3); margin: .2rem 0 2rem; font-weight: 600; }
.hero--compact .hero__title { margin-bottom: 1.5rem; }
.hero__more { margin: 1.75rem 0 0; font-size: var(--step--1); }
.hero__more a { color: #cfe3e1; }
.hero__more a:hover { color: #fff; }

.dayline { position: relative; }
.dayline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; }
.dayline__p { background: var(--ink); padding: .8rem .9rem; display: flex; flex-direction: column; }
.dayline__name { font-size: var(--step--1); color: #b9d2cf; }
.dayline__time { font-family: var(--serif); font-size: var(--step-2); font-variant-numeric: tabular-nums lining-nums; line-height: 1.15; }
.dayline__p--past .dayline__time, .dayline__p--past .dayline__name { opacity: .5; }
.dayline__p--next { background: var(--brass-soft); color: var(--ink); }
.dayline__p--next .dayline__name { color: var(--brass); font-weight: 600; }
.dayline__count { font-size: var(--step--1); color: var(--brass); margin-top: .1rem; }
.dayline__track { display: none; }

@media (min-width: 48rem) {
  .dayline__list { display: block; position: relative; height: 7.4rem; background: none; overflow: visible; border-radius: 0; }
  .dayline__p {
    position: absolute; left: var(--x); top: 0; height: 4.1rem; transform: translateX(-50%);
    background: none; padding: 0; align-items: center; justify-content: flex-end; text-align: center; white-space: nowrap;
  }
  .dayline__p::after { content: ""; position: absolute; left: 50%; top: 4.35rem; width: 1px; height: 1rem; background: rgb(255 255 255 / .45); }
  .dayline__p:first-child { transform: translateX(-20%); }
  .dayline__p:first-child::after { left: 20%; }
  .dayline__p:last-child { transform: translateX(-80%); }
  .dayline__p:last-child::after { left: 80%; }
  .dayline__p--minor .dayline__time { font-size: var(--step-1); }
  .dayline__time { font-size: var(--step-3); }
  .dayline__p--next { background: none; color: #fff; }
  .dayline__p--next .dayline__name, .dayline__p--next .dayline__time { color: var(--brass-hi); }
  .dayline__p--next::after { background: var(--brass-hi); width: 3px; margin-left: -1px; height: 1.25rem; }
  .dayline__count { color: var(--brass-hi); position: absolute; top: 6.1rem; left: 50%; transform: translateX(-50%); }
  .dayline__track {
    display: block; position: absolute; left: 0; right: 0; top: 5.35rem; height: 2px;
    background: linear-gradient(90deg, rgb(255 255 255 / .08), rgb(255 255 255 / .35) 12%, rgb(255 255 255 / .35) 88%, rgb(255 255 255 / .08));
  }
  .dayline__now {
    position: absolute; left: var(--x); top: 50%; width: .8rem; height: .8rem; margin: -.4rem 0 0 -.4rem;
    border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .18);
  }
  .hero__more { margin-top: 1.25rem; }
}

/* ------------------------------------------------------------ zoekband */
.search-band { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.bigsearch label { display: block; font-size: var(--step--1); color: var(--muted); margin-bottom: .4rem; }
.bigsearch__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.bigsearch input, .bigsearch select {
  flex: 1 1 16rem; font: inherit; padding: .75rem 1rem; border: 1px solid #b8cbc8; border-radius: var(--radius); background: #fff; color: var(--text);
}
.bigsearch select { flex: 0 1 12rem; }
.bigsearch button, .btn {
  font: inherit; font-weight: 600; padding: .75rem 1.35rem; border-radius: var(--radius); border: 0; cursor: pointer;
  background: var(--ink); color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
}
.bigsearch button:hover, .btn:hover { background: var(--lagoon); color: #fff; }
.btn--brass { background: var(--brass); }
.btn--brass:hover { background: #8d6321; }
.btn--quiet { background: transparent; color: var(--ink); border: 1px solid #b8cbc8; padding: .55rem 1rem; }
.btn--quiet:hover { background: var(--mist); color: var(--ink); }
.bigsearch--page { margin-bottom: 2rem; }

/* ------------------------------------------------------------ home */
.home { display: grid; gap: 2.5rem; padding: 2.5rem 0 3.5rem; }
@media (min-width: 62rem) { .home { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; } }
.index-group + .index-group { margin-top: 2rem; }
.index-group__h { font-family: var(--sans); font-size: var(--step--1); font-weight: 600; color: var(--muted); margin-bottom: .5rem; }
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.index__row {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
}
.index__name { font-family: var(--serif); font-size: var(--step-1); font-weight: 700; color: var(--ink); }
.index__count { font-size: var(--step--1); color: var(--muted); align-self: center; font-variant-numeric: tabular-nums; }
.index__desc { grid-column: 1 / -1; font-size: var(--step--1); color: var(--muted); }
.index__row:hover .index__name { color: var(--lagoon); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.section-h { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.home__popular > .section-h:first-child { margin-top: 0; }
.list-h { font-size: var(--step-1); margin: 0 0 .5rem; }
.list-h a { color: var(--ink); text-decoration: none; }
.list-h a:hover { text-decoration: underline; }
.cols-2 { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .cols-2 { grid-template-columns: 1fr 1fr; } }

.support { background: var(--brass-soft); border-top: 1px solid #ead7b4; }
.support__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; }
.support p { margin: 0; font-family: var(--serif); font-size: var(--step-1); color: #5a3f12; max-width: 40rem; }

/* ------------------------------------------------------------ lijsten */
.tracks { list-style: none; margin: 0; padding: 0; }
.track { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.track__play {
  grid-row: 1 / span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid #b8cbc8; background: var(--surface);
  display: grid; place-items: center; color: var(--ink); cursor: pointer; padding: 0;
}
.track__play svg { width: 1rem; height: 1rem; }
.track__play:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.track--off .track__play { border-style: dashed; color: var(--muted); cursor: default; background: none; }
.track.is-playing .track__play { background: var(--brass); border-color: var(--brass); color: #fff; }
.track.is-playing .track__title { color: var(--brass); }
.track__title { color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.track__title:hover { color: var(--lagoon); text-decoration: underline; }
.track__sub { grid-column: 2; font-size: var(--step--1); color: var(--muted); line-height: 1.3; }
.track__dur { grid-column: 3; grid-row: 1 / span 2; font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }

.entries { list-style: none; margin: 0; padding: 0; }
.entry { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.entry__title { font-family: var(--serif); font-weight: 700; font-size: var(--step-1); color: var(--ink); text-decoration: none; line-height: 1.3; }
.entry__title:hover { text-decoration: underline; color: var(--lagoon); }
.entry__meta { display: block; font-size: var(--step--1); color: var(--muted); }
.entry__text { margin: .3rem 0 0; color: #34494c; font-size: .98rem; max-width: 70ch; }
.entry--img { display: grid; grid-template-columns: 6rem 1fr; column-gap: 1rem; }
.entry--img .entry__img { grid-row: 1 / span 3; width: 6rem; height: 6rem; object-fit: cover; border-radius: 4px; background: var(--line); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
.tiles--photo { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.tile { display: block; text-decoration: none; color: var(--text); }
.tile__img { display: block; position: relative; aspect-ratio: 16 / 9; background: #cfdcda; border-radius: 4px; overflow: hidden; }
.tiles--photo .tile__img { aspect-ratio: 1; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__dur { position: absolute; right: .4rem; bottom: .4rem; background: rgb(15 61 68 / .85); color: #fff; font-size: .78rem; padding: .05rem .4rem; border-radius: 3px; font-variant-numeric: tabular-nums; }
.tile__title { display: block; margin-top: .5rem; font-weight: 600; line-height: 1.3; }
.tile__sub { display: block; font-size: var(--step--1); color: var(--muted); }
.tile:hover .tile__title { color: var(--lagoon); text-decoration: underline; }

/* ------------------------------------------------------------ pagina's */
.page { padding: 1.5rem 0 4rem; }
.page--narrow { max-width: 46rem; }
.page__head { margin: .75rem 0 1.75rem; }
.page__title { font-size: var(--step-4); letter-spacing: -.01em; }
.page__lead { margin: .6rem 0 0; font-size: var(--step-1); color: #34494c; max-width: 44rem; font-family: var(--serif); line-height: 1.5; }
.page__lead .muted { font-family: var(--sans); font-size: var(--step--1); display: block; margin-top: .4rem; }
@media (max-width: 40rem) { .page__title { font-size: var(--step-3); } }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: #a3b5b3; }
.crumbs a { color: var(--muted); }

.subcats { margin-bottom: 2.25rem; }
.subcats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem; }
.subcats a {
  display: flex; justify-content: space-between; gap: .75rem; padding: .65rem .9rem; background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--lagoon); border-radius: 0 var(--radius) var(--radius) 0; text-decoration: none; color: var(--text); font-weight: 500; line-height: 1.35;
}
.subcats a:hover { border-color: var(--lagoon); color: var(--ink); }
.subcats__n { color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; align-self: center; }
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem 1.25rem; }
.listing + .listing { margin-top: 1.5rem; }
.listing > .section-h:first-child, .listing > .list-h:first-child { margin-top: .25rem; }
.listing__tools { display: flex; justify-content: flex-end; margin-bottom: .5rem; }
.empty { background: var(--surface); border: 1px dashed #b8cbc8; padding: 1.25rem; border-radius: var(--radius); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.pager ol { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.pager a, .pager span { display: inline-block; min-width: 2.4rem; text-align: center; padding: .4rem .6rem; border-radius: var(--radius); text-decoration: none; }
.pager a { border: 1px solid var(--line); background: #fff; }
.pager [aria-current] { background: var(--ink); color: #fff; }
.pager__gap { padding: .4rem .2rem; color: var(--muted); }

/* item */
.page--item { display: grid; gap: 1.5rem 2rem; }
@media (min-width: 62rem) {
  .page--item { grid-template-columns: minmax(0, 1fr) 20rem; column-gap: 3rem; }
  .page--item .crumbs { grid-column: 1 / -1; grid-row: 1; }
  .page--item .item { grid-column: 1; grid-row: 2; }
  .page--item .comments { grid-column: 1; grid-row: 3; }
  .page--item .item__aside { grid-column: 2; grid-row: 2 / span 2; padding-top: 1rem; }
}
.item__head { margin: .5rem 0 1.25rem; }
.item__title { font-size: var(--step-4); letter-spacing: -.01em; }
@media (max-width: 40rem) { .item__title { font-size: var(--step-3); } }
.item__by { margin: .35rem 0 0; font-size: var(--step-1); color: var(--lagoon); font-family: var(--serif); }
.stage { margin: 0 0 1.75rem; }
.stage--audio { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: 1.25rem; background: var(--ink); border-radius: var(--radius); }
.stage__play { width: auto; height: auto; border-radius: 999px; padding: .75rem 1.5rem .75rem 1.1rem; gap: .6rem; display: inline-flex; background: var(--brass-hi); border: 0; color: var(--ink); font: inherit; font-weight: 700; }
.stage__play svg { width: 1.3rem; height: 1.3rem; }
.stage__play:hover { background: #fff; color: var(--ink); }
.stage--audio .btn--quiet { color: #fff; border-color: rgb(255 255 255 / .35); }
.stage--audio .btn--quiet:hover { background: rgb(255 255 255 / .1); }
.stage--video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.stage--video iframe, .stage--video video { width: 100%; height: 100%; border: 0; display: block; }
.stage--photo img { display: block; border-radius: var(--radius); max-height: 80vh; width: auto; }
.notice { background: var(--brass-soft); border-left: 3px solid var(--brass); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }

.prose { font-family: var(--serif); font-size: 1.125rem; line-height: 1.72; max-width: 68ch; overflow-wrap: break-word; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; }
.prose blockquote { margin: 1.2em 0; padding: .2em 1.1em; border-left: 3px solid var(--brass); color: #34494c; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95em; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: .4em .6em; vertical-align: top; }
.prose img { border-radius: 4px; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.facts div { padding: .6rem .85rem; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.share__link { font: inherit; font-size: var(--step--1); padding: .45rem .9rem; border: 1px solid #b8cbc8; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.share__link:hover { border-color: var(--ink); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.prevnext__a { text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.prevnext__a span { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.prevnext__a--next { text-align: right; }
.item__aside .list-h { font-size: var(--step-0); }
.item__aside .list-h a { color: var(--lagoon); }

.comments { max-width: 46rem; }
.comment { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.comment__who { margin: 0; font-weight: 600; }
.comment__who .muted { font-weight: 400; font-size: var(--step--1); margin-left: .4rem; }
.comment__body { margin: .2rem 0 0; }

/* formulieren */
.form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.form label .muted { font-weight: 400; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid #b8cbc8; border-radius: var(--radius); background: #fff; color: var(--text); width: 100%;
}
.form textarea { resize: vertical; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-self: start; }
.form__note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.flash { padding: .85rem 1.1rem; border-radius: var(--radius); background: #e2f1e7; border-left: 3px solid #2f7a4a; }
.flash--error { background: #f8e5e2; border-left-color: var(--danger); }

/* gebedstijden-tabel */
.monthnav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .5rem 0 1rem; }
.monthnav a { text-decoration: none; font-weight: 600; }
.monthnav__h { font-size: var(--step-2); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.times { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.times th, .times td { padding: .5rem .75rem; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.times thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: var(--step--1); position: sticky; top: 0; }
.times tbody th { text-align: left; font-weight: 600; }
.times__wd { display: inline-block; width: 1.8rem; color: var(--muted); font-weight: 400; }
.times .is-friday { background: #f4f8f7; }
.times .is-today { background: var(--brass-soft); }
.times .is-today th, .times .is-today td { font-weight: 700; color: #5a3f12; }

/* koran */
.suras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .5rem; }
.suras a { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; padding: .55rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.suras a:hover { border-color: var(--lagoon); }
.suras__n { grid-row: 1 / span 2; font-family: var(--serif); font-size: var(--step-1); color: var(--brass); font-variant-numeric: lining-nums; }
.suras__ar { font-size: 1.45rem; line-height: 1.5; text-align: right; }
.suras__ayat { font-size: .8rem; color: var(--muted); text-align: right; }
.sura__head { text-align: center; margin: 1.5rem 0 2rem; }
.sura__no { margin: 0; color: var(--brass); }
.sura__name { font-family: var(--arabic); font-size: 3rem; font-weight: 400; line-height: 1.6; }
.mushaf { font-size: 1.85rem; line-height: 2.35; text-align: justify; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 2rem; margin-bottom: 2rem; }
.aya__n { color: var(--brass); font-size: .8em; white-space: nowrap; }
@media (max-width: 40rem) { .mushaf { font-size: 1.5rem; padding: 1.25rem; } }

/* ------------------------------------------------------------ speler */
.player { position: sticky; bottom: 0; z-index: 10; background: var(--ink); color: #fff; box-shadow: 0 -8px 24px rgb(0 0 0 / .18); }
.player__inner { display: flex; align-items: center; gap: .5rem; min-height: 4rem; padding: .5rem 0; flex-wrap: wrap; }
.player__btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.player__btn svg { width: 1.15rem; height: 1.15rem; }
.player__btn:hover { background: rgb(255 255 255 / .12); }
.player__btn--main { background: var(--brass-hi); color: var(--ink); width: 2.8rem; height: 2.8rem; }
.player__btn--main:hover { background: #fff; }
.player__meta { flex: 1 1 10rem; min-width: 0; display: flex; flex-direction: column; margin-left: .5rem; }
.player__title { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.player__title:hover { color: var(--brass-hi); }
.player__sub { font-size: var(--step--1); color: #b9d2cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__time { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-variant-numeric: tabular-nums; color: #b9d2cf; flex: 1 1 14rem; }
.player__seek { flex: 1; accent-color: var(--brass-hi); }
.player__error { margin: 0; padding: 0 1.25rem .6rem; font-size: var(--step--1); color: #ffd9a8; text-align: center; }
@media (max-width: 40rem) { .player__time { order: 5; flex-basis: 100%; } }

/* ------------------------------------------------------------ footer */
.footer { background: #0b2f35; color: #c4d8d5; padding: 2.75rem 0 1.5rem; font-size: .95rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.footer__brand { font-family: var(--serif); font-size: var(--step-1); color: #fff; margin: 0 0 .4rem; font-weight: 700; }
.footer__text { margin: 0; max-width: 22rem; }
.footer__h { font-family: var(--sans); font-size: var(--step--1); color: var(--brass-hi); font-weight: 600; margin-bottom: .5rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.footer a { color: #e3eeec; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__base { margin-top: 2.25rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--step--1); color: #8fadaa; }

@media (prefers-reduced-motion: no-preference) {
  .dayline__now { transition: left 1s linear; }
  .is-home .dayline__p--next .dayline__time { animation: glow 1.6s ease-out 1; }
  @keyframes glow { from { text-shadow: 0 0 0 transparent; } 40% { text-shadow: 0 0 18px rgb(226 184 103 / .7); } to { text-shadow: 0 0 0 transparent; } }
}
@media print { .masthead, .footer, .player, .comments, .share, .search-band, .support { display: none; } body { background: #fff; } }
.item__aside .entry { padding: .55rem 0; }
.item__aside .entry__title { font-size: 1rem; }
.prose > br:first-child { display: none; }
