/* NovelNutt Author Pages. Fonts come from the Odrin theme; colour comes from each author's accent. */
.nnap-main { width: 100%; }
.nnap {
	--nnap-accent: #2E7562;
	--nnap-on-accent: #fff;
	--nnap-ink: #1E2230;
	--nnap-muted: rgba(30, 34, 48, .62);
	--nnap-line: rgba(30, 34, 48, .12);
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px 80px;
	color: var(--nnap-ink);
	line-height: 1.6;
}
.nnap *, .nnap *::before, .nnap *::after { box-sizing: border-box; }
.nnap a { color: inherit; }
.nnap img { max-width: 100%; height: auto; }

/* Header */
.nnap-head { position: relative; margin: 0 0 24px; }
.nnap-band { width: 100%; aspect-ratio: 4 / 1; min-height: 140px; background: var(--nnap-accent); overflow: hidden; }
.nnap-band--image { background: var(--nnap-line); }
.nnap-band .nnap-banner-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.nnap-id { display: flex; align-items: flex-start; gap: 28px; padding: 0 8px; position: relative; }
.nnap-photo { flex: 0 0 auto; width: 156px; height: 156px; margin-top: -78px; border-radius: 50%; overflow: hidden; border: 5px solid #fff; background: #fff; box-shadow: 0 10px 30px -14px rgba(30, 34, 48, .45); }
.nnap-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nnap-photo--initial { display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--nnap-accent); }
.nnap-id-text { padding-top: 18px; min-width: 0; }
.nnap-name { margin: 0; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; }
.nnap-tagline { margin: 8px 0 0; font-size: 1.15rem; font-style: italic; color: var(--nnap-muted); }
.nnap-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .95rem; }
.nnap-links a { text-decoration: underline; text-decoration-color: var(--nnap-accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nnap-links a:hover { color: var(--nnap-accent); }

/* Claim link */
.nnap-claim { margin: 10px 0 0; font-size: .88rem; }
.nnap-claim a { color: var(--nnap-muted); text-decoration: underline; text-underline-offset: 3px; }
.nnap-claim a:hover { color: var(--nnap-accent); }
.nnap-claim-form .nn-form { max-width: 640px; background: #fff; }

/* Section headings: a short accent rule before the title, like NovelNutt's own headings */
.nnap-section { margin-top: 72px; }
.nnap-h2 { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.nnap-h2::before { content: ""; flex: 0 0 56px; height: 2px; background: var(--nnap-accent); }
.nnap-h3 { margin: 36px 0 16px; font-size: 1.2rem; }
.nnap-h3 span { font-size: .85rem; font-weight: 400; color: var(--nnap-muted); margin-left: 6px; }

/* Featured book */
.nnap-featured { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.nnap-featured-cover img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; box-shadow: 0 30px 50px -28px rgba(30, 34, 48, .6); }
.nnap-featured-cover .nn-cover-placeholder { display: flex; width: 100%; aspect-ratio: 2 / 3; }
.nnap-kicker { margin: 0 0 6px; color: var(--nnap-accent); font-weight: 600; }
.nnap-featured-title { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; }
.nnap-featured-title a { text-decoration: none; }
.nnap-series { margin: 8px 0 0; color: var(--nnap-muted); font-style: italic; }
.nnap-blurb { margin-top: 18px; max-width: 36em; font-size: 1.05rem; }
.nnap-more { margin: 14px 0 0; }
.nnap-more a { color: var(--nnap-accent); font-weight: 600; }
.nnap-countdown { display: flex; gap: 10px; margin-top: 18px; }
.nnap-countdown span { min-width: 82px; padding: 10px 12px; border: 1.5px solid var(--nnap-accent); text-align: center; font-size: .8rem; color: var(--nnap-muted); }
.nnap-countdown b { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--nnap-ink); }

/* Buttons (outlined like the rest of NovelNutt, filled with the author's colour on hover) */
.nnap-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nnap a.nnap-btn {
	display: inline-block; padding: .8em 1.5em; border: 2px solid var(--nnap-ink) !important; background: #fff !important; color: var(--nnap-ink) !important;
	font-weight: 700; letter-spacing: .04em; text-decoration: none !important; line-height: 1.2;
}
.nnap a.nnap-btn:hover, .nnap a.nnap-btn:focus-visible { background: var(--nnap-accent) !important; border-color: var(--nnap-accent) !important; color: var(--nnap-on-accent) !important; }
.nnap a.nnap-btn--solid { background: var(--nnap-on-accent) !important; color: var(--nnap-accent) !important; border-color: var(--nnap-on-accent) !important; }
.nnap a.nnap-btn--solid:hover { background: transparent !important; color: var(--nnap-on-accent) !important; }
.nnap a:focus-visible { outline: 2px solid var(--nnap-accent); outline-offset: 3px; }

/* Books */
.nnap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 22px; }
.nnap-tile { display: block; text-decoration: none; }
.nnap-tile img, .nnap-tile .nn-cover-placeholder { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: #ECEEF2; transition: transform .2s ease; }
.nnap .nn-cover img { object-fit: contain; background: #ECEEF2; } /* ARC and deal cards on author pages */
.nnap-tile:hover img { transform: translateY(-4px); }
.nnap-tile-title { display: block; margin-top: 10px; font-weight: 600; line-height: 1.3; }
.nnap-tile-sub { display: block; font-size: .85rem; color: var(--nnap-muted); }

/* About */
.nnap-prose { max-width: 40em; font-size: 1.08rem; }
.nnap-prose p { margin: 0 0 1em; }

/* Newsletter */
.nnap-news { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 40px 44px; background: var(--nnap-accent); color: var(--nnap-on-accent); }
.nnap-news-title { margin: 0 0 6px; color: inherit; font-size: clamp(1.4rem, 3vw, 2rem); }
.nnap-news p { margin: 0; max-width: 34em; opacity: .9; }
.nnap-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; }
.nnap-follow > span { font-weight: 600; }
.nnap-follow .nnap-links { margin: 0; }

/* On NovelNutt (uses NovelNutt's ARC and deal cards) */
.nnap-novelnutt .nn-section { margin-top: 28px; }

/* Directory */
.nnap-dir-head { padding: 48px 0 8px; }
.nnap-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin-top: 32px; }
.nnap-dir-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 18px; border: 1px solid var(--nnap-line); border-top: 3px solid var(--nnap-accent); background: #fff; text-decoration: none; }
.nnap-dir-card .nnap-photo { width: 110px; height: 110px; margin-top: 0; border-width: 0; box-shadow: none; margin-bottom: 8px; }
.nnap-dir-card .nnap-photo--initial { font-size: 2.6rem; background: rgba(30, 34, 48, .05); }
.nnap-dir-name { font-weight: 700; font-size: 1.15rem; }
.nnap-dir-tag { font-style: italic; color: var(--nnap-muted); font-size: .92rem; }
.nnap-dir-count { font-size: .82rem; color: var(--nnap-muted); }
.nnap-dir-card:hover .nnap-dir-name { color: var(--nnap-accent); }

@media (max-width: 720px) {
	.nnap { padding: 0 16px 60px; }
	.nnap-id { flex-direction: column; gap: 4px; }
	.nnap-photo { width: 120px; height: 120px; margin-top: -60px; }
	.nnap-featured { grid-template-columns: 1fr; gap: 24px; }
	.nnap-featured-cover { max-width: 240px; }
	.nnap-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
	.nnap-news { padding: 28px 24px; }
	.nnap-section { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .nnap-tile img { transition: none; } }
