/*
 * The issue archive and one issue. Board "Desktop · Issue archive". The home's
 * letter, quote band, shelf and sponsor styles (site.css) are reused on one issue.
 */

/* Head */
.mhf-issues-head { padding-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; border-bottom: 1px solid var(--mhf-ink); padding-bottom: 20px; }
.mhf-issues-head__title { font-size: clamp(60px, 8vw, 120px); line-height: 0.88; letter-spacing: -0.03em; }
.mhf-issues-head__standfirst { max-width: 38ch; font-family: var(--mhf-font-display); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--mhf-text-2); }

/* The cover as an object */
.mhf-cover-object { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #F4F1EA; background: var(--mhf-forest); box-shadow: 0 30px 60px rgba(24, 38, 32, 0.28); }
.mhf-cover-object > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mhf-cover-object__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 24, 19, 0.6) 0%, rgba(16, 24, 19, 0) 32%, rgba(16, 24, 19, 0) 55%, rgba(16, 24, 19, 0.8) 100%); }
.mhf-cover-object__mark { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); width: 78%; height: auto; }
.mhf-cover-object__foot { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.mhf-cover-object__season { font-size: 12px; letter-spacing: 0.24em; }
.mhf-cover-object__title { font-family: var(--mhf-font-display); font-size: 34px; line-height: 0.98; }
.mhf-cover-object__lines { font-family: var(--mhf-font-display); font-style: italic; font-size: 14px; color: #E6E2D6; }

/* The current issue, opened */
.mhf-issue-open { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.mhf-issue-open__cover { flex: 0 1 400px; min-width: 0; width: 100%; max-width: 400px; }
.mhf-issue-open__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.mhf-issue-open__name { font-size: clamp(40px, 4.4vw, 62px); line-height: 1; }
.mhf-issue-open__name a { color: var(--mhf-ink); }
.mhf-issue-open__line { font-size: 19px; line-height: 1.65; color: var(--mhf-text-2); max-width: 52ch; }
.mhf-contents { width: 100%; display: flex; flex-direction: column; border-top: 1px solid var(--mhf-ink); margin-top: 4px; }
.mhf-contents__entry { display: flex; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--mhf-hairline); color: var(--mhf-ink); }
.mhf-contents__entry:hover .mhf-contents__headline { color: var(--mhf-lake); }
.mhf-contents__n { font-family: var(--mhf-font-display); font-style: italic; font-size: 20px; color: var(--mhf-lake); min-width: 28px; }
.mhf-contents__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mhf-contents__headline { font-family: var(--mhf-font-display); font-size: 19px; line-height: 1.25; }
.mhf-contents__dek { font-size: 15px; line-height: 1.45; color: var(--mhf-text-2); }
.mhf-contents__type { font-size: 12px; letter-spacing: 0.16em; }
.mhf-issue-open--single .mhf-crumb { margin-bottom: 4px; }
.mhf-issue-open--single .mhf-issue-open__name { font-size: clamp(44px, 5vw, 72px); }

/* The Shelf */
.mhf-shelf-band { background: var(--mhf-wheat); border-top: 1px solid var(--mhf-hairline); border-bottom: 1px solid var(--mhf-hairline); padding: 56px 0; }
.mhf-shelf-band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--mhf-ink); padding-bottom: 12px; }
.mhf-shelf-band__title { font-size: 36px; }
.mhf-shelf-band__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 36px 28px; margin-top: 32px; }
.mhf-shelf-band__issue, .mhf-shelf-band__coming { display: flex; flex-direction: column; gap: 12px; color: var(--mhf-ink); }
.mhf-shelf-band__cover { box-shadow: 0 12px 28px rgba(24, 38, 32, 0.22); }
.mhf-shelf-band__cover .mhf-cover-object__mark { top: 10px; width: 80%; }
.mhf-shelf-band__caption { display: flex; flex-direction: column; gap: 2px; }
.mhf-shelf-band__caption .mhf-label { font-size: 12px; }
.mhf-shelf-band__name { font-family: var(--mhf-font-display); font-size: 22px; }
.mhf-shelf-band__placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; border: 1px dashed #8A8C82; font-family: var(--mhf-font-display); font-style: italic; font-size: 20px; text-align: center; padding: 20px; color: var(--mhf-text-3); }

/* The Annual */
.mhf-annual { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; gap: 48px clamp(48px, 7vw, 112px); align-items: center; }
.mhf-annual__object { flex: 0 1 440px; min-width: 0; display: flex; justify-content: center; padding: 20px 0 40px; }
.mhf-annual__book { display: flex; transform: perspective(1400px) rotateY(-16deg) rotateX(2deg); box-shadow: 30px 40px 60px rgba(24, 38, 32, 0.32); }
.mhf-annual__spine { width: 30px; background: linear-gradient(90deg, #1C2B21, #273A2D 60%, #1C2B21); display: flex; align-items: center; justify-content: center; }
.mhf-annual__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mhf-font-label); font-weight: 600; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mhf-gold-reverse); white-space: nowrap; }
.mhf-annual__face { width: 330px; height: 440px; background: #FBFAF6; padding: 26px 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mhf-annual__face > img { width: 190px; height: auto; }
.mhf-annual__plate { width: 100%; flex: 1 1 auto; position: relative; overflow: hidden; display: block; }
.mhf-annual__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mhf-annual__face-title { font-family: var(--mhf-font-display); font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.mhf-annual__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mhf-annual__title { font-size: clamp(44px, 5vw, 72px); line-height: 0.96; letter-spacing: -0.02em; }
.mhf-annual__title em { font-weight: 300; }
.mhf-annual__copy { font-size: 19px; line-height: 1.65; color: var(--mhf-text-2); max-width: 46ch; }
.mhf-annual__facts { margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--mhf-ink); }
.mhf-annual__facts > div { padding: 12px 0; border-bottom: 1px solid var(--mhf-hairline); }
.mhf-annual__facts dt { font-size: 12px; }
.mhf-annual__facts dd { margin: 2px 0 0; font-family: var(--mhf-font-display); font-size: 20px; }
.mhf-annual__interest { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.mhf-annual__interest-line { font-family: var(--mhf-font-display); font-style: italic; font-size: 17px; color: var(--mhf-text-2); max-width: 52ch; }
.mhf-annual__interest .mhf-signup { max-width: 520px; }
.mhf-annual__interest .mhf-signup__email-label { color: var(--mhf-text-3); }
.mhf-annual__interest .mhf-signup__email { border-color: var(--mhf-ink); background: var(--mhf-white); }
.mhf-annual__interest .mhf-button--blaze { border-color: var(--mhf-blaze); }
.mhf-annual__interest .mhf-signup__copy, .mhf-annual__interest .mhf-signup__state { color: var(--mhf-text-3); }
.mhf-annual__season { display: flex; gap: 14px; align-items: flex-start; margin-top: 10px; background: var(--mhf-wheat); padding: 16px 18px; font-size: 16px; line-height: 1.5; }
.mhf-annual__season .mhf-label { font-size: 12px; color: var(--mhf-forest); padding-top: 3px; white-space: nowrap; }

/* One issue: the letter in full */
.mhf-letter__text--full p:not(:first-child) { display: block !important; }
.mhf-sponsor--issue .mhf-sponsor__inner { justify-content: center; }
.mhf-sponsor--issue .mhf-sponsor__box { flex: 0 1 560px; }

@media (max-width: 767px) {
	.mhf-issues-head { padding-top: 24px; gap: 10px; }
	.mhf-issues-head__title { font-size: 56px; }
	.mhf-issues-head__standfirst { font-size: 17px; }
	.mhf-issue-open { padding-top: 24px; padding-bottom: 24px; display: block; }
	.mhf-issue-open__cover { max-width: 300px; margin: 0 auto 28px; }
	.mhf-issue-open__name { font-size: 40px; }
	.mhf-issue-open--single .mhf-issue-open__name { font-size: 44px; }
	.mhf-issue-open__line { font-size: 17px; }
	.mhf-contents__type { display: none; }
	.mhf-shelf-band { padding: 36px 0; }
	.mhf-shelf-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 20px; }
	.mhf-shelf-band__name { font-size: 18px; }
	.mhf-shelf-band__placeholder { font-size: 16px; padding: 14px; }
	.mhf-annual { display: block; padding-top: 36px; padding-bottom: 48px; }
	.mhf-annual__object { padding: 10px 0 30px; }
	.mhf-annual__book { transform: perspective(1200px) rotateY(-10deg); }
	.mhf-annual__face { width: 240px; height: 320px; padding: 18px; gap: 10px; }
	.mhf-annual__face > img { width: 140px; }
	.mhf-annual__face-title { font-size: 26px; }
	.mhf-annual__title { font-size: 40px; }
	.mhf-annual__copy { font-size: 17px; }
	.mhf-letter__text--full p { display: block !important; }
	.mhf-letter__figure { display: none; }
}
