/* ==========================================================================
   Picture collections (Du'a Pictures, Picture Quotes, Posters, From the Life)
   and the Al-Binnory newsletter.
   ========================================================================== */

.dh-banner--collection .dh-banner__inner,.dh-banner--albinnory .dh-banner__inner{padding-bottom:clamp(48px,6vw,72px)}

/* Newest: three large framed prints, standing still */
.dh-newest{padding:clamp(40px,5vw,56px) 0 0}
.dh-newest .dh-label{margin-bottom:16px}
.dh-newest__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.dh-print--feature .dh-print__mat{padding:12px}
.dh-print--feature .dh-print__caption{font-size:1.12rem}

/* Browse */
.dh-browse{padding:var(--section) 0 0}
.dh-browse__head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px 32px;margin-bottom:32px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.dh-tabs{display:flex;flex-wrap:wrap;gap:4px}
.dh-tabs__tab{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:999px;color:var(--muted);font:500 .95rem/1 var(--sans);text-decoration:none}
.dh-tabs__tab .dh-icon{width:20px;height:20px}
.dh-tabs__tab:hover{color:var(--ink);background:var(--mist)}
.dh-tabs__tab[aria-current="page"]{background:var(--teal);color:var(--btn-fg)}
[data-theme="dark"] .dh-tabs__tab[aria-current="page"]{color:#062728}
.dh-grid--photos .dh-print__img{aspect-ratio:4/3;object-fit:cover}

/* Al-Binnory */
.dh-banner--albinnory .dh-banner__title em{display:block}
.dh-namesake{position:relative;width:300px;padding:26px 26px 28px;border-radius:24px;background:var(--surface);box-shadow:var(--shadow);text-align:center}
.dh-namesake__frame{position:relative;display:grid;place-items:center;width:150px;height:150px;margin:0 auto 18px;border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 3px var(--teal)}
.dh-namesake__frame::after{content:"";position:absolute;width:44px;height:8px;border-radius:4px;background:var(--teal);right:-30px;bottom:8px;transform:rotate(45deg)}
.dh-namesake__frame .dh-drawing{width:96px}
.dh-namesake .dh-label{margin-bottom:6px}
.dh-namesake__name{margin:0;font:500 1.2rem/1.3 var(--serif);color:var(--ink)}
.dh-namesake__meta{margin:6px 0 0;font:600 .72rem/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.dh-grid--issues{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.dh-issue{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:var(--surface);box-shadow:0 0 0 1px var(--line);color:inherit;text-decoration:none;transition:box-shadow .2s ease,transform .2s ease}
.dh-issue__cover{display:block;padding:10px 10px 0}
.dh-issue__cover img{width:100%;height:auto;border-radius:10px}
.dh-issue__number{display:grid;place-items:center;aspect-ratio:4.6;border-radius:10px;background:var(--mist);font:500 2.2rem/1 var(--serif);color:var(--teal-text)}
.dh-issue__meta{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:4px 12px;padding:14px 18px 18px}
.dh-issue__title{display:flex;align-items:center;gap:10px;font:500 1.3rem/1.2 var(--serif);color:var(--ink)}
.dh-issue__date{font:500 .85rem/1.2 var(--sans);color:var(--muted);text-align:right}
.dh-issue__go{grid-column:1/-1;display:inline-flex;align-items:center;gap:8px;margin-top:6px;font:600 .9rem/1.2 var(--sans);color:var(--teal-text)}
.dh-issue__go .dh-icon{width:18px;height:18px;stroke-width:1.9}
.dh-issue:hover{transform:translateY(-2px);box-shadow:0 0 0 1.5px var(--teal),0 14px 30px rgba(7,47,49,.10)}

@media (max-width:1024px){
	.dh-grid--issues{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
	.dh-newest__row{grid-template-columns:repeat(2,minmax(0,1fr))}
	.dh-newest__row>:nth-child(3){display:none}
	.dh-namesake{width:100%;max-width:420px}
}
@media (max-width:760px){
	.dh-newest__row{grid-template-columns:1fr}
	.dh-newest__row>:nth-child(n+2){display:none}
	.dh-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
	.dh-tabs__tab{flex:none}
	.dh-grid--issues{grid-template-columns:1fr;gap:16px}
	.dh-grid--photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	.dh-grid--photos .dh-print__mat{padding:6px}
}
