/*
 * affectcoach-patch.css
 *
 * Temporary override stylesheet for affectcoach.com.
 *
 * WHY THIS EXISTS: the theme's own compiled stylesheet is correct on the
 * server, but is being served stale by the site's CDN (cached response from
 * before the latest theme update, with up to a 7-day max-age and no
 * cache-busting on the stylesheet URL). This file contains the missing/
 * affected rules as plain CSS so you can see the real design immediately,
 * without waiting on a CDN purge.
 *
 * HOW TO USE: OJS Admin -> Website Settings -> Appearance -> Advanced ->
 * "Additional Style Sheet" (near the bottom of that tab) -> upload this
 * file -> Save. It loads as its own new file, so the CDN has never cached
 * it and will serve it immediately.
 *
 * ONCE THE REAL CDN CACHE IS PURGED, this file can be removed again --
 * it's a stand-in for the already-correct compiled theme CSS, not a
 * permanent part of the design.
 */

/* ============================================================
   HERO SECTION
   ============================================================ */
.reac-hero {
	padding: 72px 24px 56px;
	border-bottom: 1px solid #ECE5E1;
	margin-bottom: 44px;
}

.reac-hero__content {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.reac-hero__eyebrow {
	font-family: 'Roboto', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #D58F76;
	margin: 0 0 18px;
}

.reac-hero__title {
	font-family: 'Marcellus', serif;
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1.25;
	color: #120D1F;
	margin: 0 0 20px;
}

.reac-hero__subtitle {
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #6B6560;
	max-width: 620px;
	margin: 0 auto 32px;
}

.reac-hero__actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.reac-btn {
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	padding: 13px 28px;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.18s ease-in-out;
}
.reac-btn:hover, .reac-btn:focus {
	text-decoration: none;
}

.reac-btn--primary {
	background: #D58F76;
	border-color: #D58F76;
	color: #fff !important;
}
.reac-btn--primary:hover, .reac-btn--primary:focus {
	background: #c17555;
	border-color: #c17555;
	color: #fff !important;
}

.reac-btn--outline {
	background: #fff;
	border-color: #ECE5E1;
	color: #120D1F !important;
}
.reac-btn--outline:hover, .reac-btn--outline:focus {
	border-color: #D58F76;
	color: #D58F76 !important;
}

/* ============================================================
   GALLEY BUTTONS (PDF / HTML / Google Scholar)
   ============================================================ */
a.btn.galley-link,
.galley-link {
	display: inline-block;
	padding: 5px 16px;
	font-family: 'Roboto', sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 8px;
	border: 1.5px solid #bbb !important;
	background: #fff !important;
	color: #333 !important;
	text-decoration: none;
	transition: all 0.18s ease-in-out;
}
a.btn.galley-link:hover, a.btn.galley-link:focus,
.galley-link:hover, .galley-link:focus {
	background: #120D1F !important;
	border-color: #120D1F !important;
	color: #fff !important;
	text-decoration: none;
}

/* PDF -- terracotta fill */
a.btn.galley-link.pdf,
.galley-link.pdf {
	background: #D58F76 !important;
	border-color: #c17555 !important;
	color: #111 !important;
}
a.btn.galley-link.pdf:hover, a.btn.galley-link.pdf:focus,
.galley-link.pdf:hover, .galley-link.pdf:focus {
	background: #b4633f !important;
	border-color: #b4633f !important;
	color: #111 !important;
}

/* HTML -- dark outline */
a.btn.galley-link.html,
.galley-link.html {
	background: transparent !important;
	border-color: #120D1F !important;
	color: #120D1F !important;
}
a.btn.galley-link.html:hover, a.btn.galley-link.html:focus,
.galley-link.html:hover, .galley-link.html:focus {
	background: #120D1F !important;
	color: #fff !important;
}

/* Google Scholar -- plain muted outline, secondary to PDF/HTML */
a.btn.galley-link.scholar,
.galley-link.scholar {
	background: transparent !important;
	border-color: #ECE5E1 !important;
	color: #6B6560 !important;
}
a.btn.galley-link.scholar:hover, a.btn.galley-link.scholar:focus,
.galley-link.scholar:hover, .galley-link.scholar:focus {
	background: #120D1F !important;
	border-color: #120D1F !important;
	color: #fff !important;
}

/* Restricted */
a.btn.galley-link.restricted,
.galley-link.restricted {
	background: #f0f0f0 !important;
	border-color: #ccc !important;
	color: #999 !important;
	cursor: not-allowed;
}

/* ============================================================
   FOOTER (reac-footer block pasted into Page Footer setting)
   ============================================================ */
.site-footer {
	background-color: #FAF7F5;
	border-top: 4px solid #D58F76;
	padding-top: 0;
	padding-bottom: 0;
	color: #6B6560;
}
.site-footer .container-footer { max-width: none; padding: 0; }
.site-footer .additional-footer-info { display: block; }
.site-footer .user-page-footer { max-width: none; flex: none; width: 100%; }
.site-footer .sidebar_wrapper + .additional-footer-info {
	margin-top: 0; padding-top: 0; border-top: 0;
}
.site-footer .sidebar_wrapper { max-width: 1180px; margin: 0 auto; padding: 40px 24px 0; }
.site-footer .pkpbrand-wrapper {
	max-width: none; flex: none; width: 100%;
	display: flex; justify-content: center; padding: 0 24px 28px;
}
.site-footer .footer-brand-image { width: 88px; opacity: 0.45; transition: all 0.18s ease-in-out; }
.site-footer .footer-brand-image:hover { opacity: 0.85; }

.reac-footer { max-width: 1180px; margin: 0 auto; padding: 52px 24px 0; }
.reac-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 991px) {
	.reac-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 575px) {
	.reac-footer__top { grid-template-columns: 1fr; gap: 28px; }
	.reac-footer { padding-top: 40px; }
}
.reac-footer__brand-title { font-family: 'Marcellus', serif; font-size: 1.18rem; font-weight: 700; color: #120D1F; margin: 0 0 8px; line-height: 1.35; }
.reac-footer__meta {
	font-size: 0.72rem !important; font-family: 'Roboto', sans-serif; letter-spacing: 0.05em;
	text-transform: uppercase; color: #6B6560 !important; margin: 0 0 16px; padding-bottom: 14px;
	border-bottom: 2px solid #D58F76; display: inline-block;
}
.reac-footer__blurb { color: #6B6560 !important; max-width: 34ch; margin: 0 0 20px; }
.reac-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reac-footer__btn {
	display: inline-block; font-family: 'Roboto', sans-serif; font-size: 0.7rem !important; font-weight: 700;
	letter-spacing: 0.07em; text-transform: uppercase; padding: 10px 16px; border-radius: 8px;
	text-decoration: none; transition: all 0.18s ease-in-out;
}
.reac-footer__btn--primary { background: #D58F76; color: #fff !important; }
.reac-footer__btn--primary:hover, .reac-footer__btn--primary:focus { background: #c17555; color: #fff !important; }
.reac-footer__btn--ghost { border: 1px solid #ECE5E1; color: #120D1F !important; }
.reac-footer__btn--ghost:hover, .reac-footer__btn--ghost:focus { border-color: #D58F76; color: #D58F76 !important; }
.reac-footer__col-title {
	font-family: 'Roboto', sans-serif; font-size: 0.7rem !important; font-weight: 800; letter-spacing: 0.11em;
	text-transform: uppercase; color: #D58F76; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #ECE5E1;
}
.reac-footer__list { list-style: none; margin: 0; padding: 0; }
.reac-footer__list li { margin-bottom: 9px; }
.reac-footer__list a { color: #6B6560 !important; text-decoration: none; }
.reac-footer__list a:hover, .reac-footer__list a:focus { color: #D58F76 !important; }
.reac-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 10px; padding: 20px 0 24px; border-top: 1px solid #ECE5E1;
}
.reac-footer__bottom p { margin: 0; font-size: 0.76rem !important; color: #6B6560 !important; }
.reac-footer__bottom a { color: #D58F76 !important; text-decoration: none; }
.reac-footer__bottom a:hover, .reac-footer__bottom a:focus { text-decoration: underline; }
.reac-footer .user-page-footer { padding: 0 0 24px; color: #6B6560; }

/* ============================================================
   PAGE SPACING FIX (restores gap above footer that the stale
   cache was missing)
   ============================================================ */
.container-page {
	padding-top: 40px !important;
	padding-bottom: 150px !important;
	margin-top: 15px !important;
}

/* ============================================================
   SITE-WIDE TYPOGRAPHY
   The stale cached stylesheet still has the pre-rebrand fonts
   (Cardo everywhere), which is why About / Submissions /
   Editorial Board / Archive / Contact all still look like the
   old design even though the homepage looks right. This
   restores the real typography everywhere until the real cache
   is cleared.
   ============================================================ */
body {
	font-family: 'Marcellus', serif !important;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Marcellus', serif !important;
}
p, li, a, blockquote, dt, address, table, label {
	font-family: 'Marcellus', serif !important;
}

/* ============================================================
   GLOBAL PAGE TITLE (About, Submissions, Editorial Board,
   Archive, Contact, Announcements -- anything using the
   shared page-heading component)
   ============================================================ */
.current_page_title {
	padding: 44px 24px 28px !important;
	border-bottom: 1px solid #ECE5E1 !important;
	margin-bottom: 40px !important;
}
.current_page_title h1 {
	font-family: 'Marcellus', serif !important;
	font-weight: 400 !important;
	font-size: 2.1rem !important;
	color: #120D1F !important;
	margin: 0 !important;
}
.current_page_title h1.issue-header {
	font-size: 1.7rem !important;
}

/* ============================================================
   ISSUE ARCHIVE CARDS ("View All Issues" page)
   ============================================================ */
.issues_list { align-items: stretch; }
.issue_item { display: flex; }
.obj_issue_summary {
	background: #FAF7F5 !important;
	border: 1px solid #ECE5E1 !important;
	border-top: 3px solid #D58F76 !important;
	border-radius: 8px !important;
	padding: 20px 18px !important;
	width: 100% !important;
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.obj_issue_summary:hover {
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
}
.issue_summary_title, .issue_title {
	display: block !important;
	font-family: 'Marcellus', serif !important;
	font-size: 1.15rem !important;
	color: #120D1F !important;
	margin-bottom: 4px !important;
}
.issue_summary_title:hover, .issue_title:hover {
	color: #D58F76 !important;
}
.archive_issue_cover {
	width: 100% !important;
	height: 260px !important;
	object-fit: cover !important;
	border-radius: 6px !important;
	margin-bottom: 14px !important;
	display: block !important;
}
/* Fewer, bigger cards per row so the larger cover art has room to breathe */
@media (min-width: 1200px) {
	.issue_item { width: 33.333% !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
	.issue_item { width: 50% !important; }
}

/* ============================================================
   ISSN LINE ON HOMEPAGE HERO — bold, badge-style, more visible
   ============================================================ */
.reac-hero__issn {
	display: inline-block !important;
	font-family: 'Marcellus', serif !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	color: #120D1F !important;
	background: rgba(213, 143, 118, 0.10) !important;
	border: 1px solid rgba(213, 143, 118, 0.35) !important;
	border-radius: 6px !important;
	padding: 6px 16px !important;
	margin: -6px 0 28px !important;
}

/* ============================================================
   HERO LAYOUT + "INDEXED & DISCOVERABLE" BADGE COLUMN
   NOTE: this CSS only takes visual effect once the matching
   markup is live (theme zip v2.1.1.13+ uploaded) — a style
   patch can't add new HTML elements by itself.
   ============================================================ */
.reac-hero__flex {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 56px !important;
	flex-wrap: wrap !important;
}
.reac-hero__content {
	max-width: 680px !important;
	margin: 0 auto !important;
	text-align: center !important;
	flex: 1 1 480px !important;
}
.reac-hero__indexed {
	flex: 0 0 230px !important;
	text-align: center !important;
	padding-top: 8px !important;
}
.reac-hero__indexed-label {
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.10em !important;
	text-transform: uppercase !important;
	color: #6B6560 !important;
	margin: 0 0 14px !important;
}
.reac-hero__indexed-badges {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}
.reac-indexed-badge {
	display: block !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	color: #120D1F !important;
	background: #fff !important;
	border: 1px solid #E7E1DA !important;
	border-radius: 6px !important;
	padding: 10px 16px !important;
	transition: all 0.2s ease !important;
}
.reac-indexed-badge:before {
	content: "\2713" !important;
	color: #D58F76 !important;
	font-weight: 700 !important;
	margin-right: 8px !important;
}
@media (max-width: 991px) {
	.reac-hero__indexed {
		flex: 1 1 auto !important;
		max-width: 480px !important;
		margin: 0 auto !important;
	}
	.reac-hero__indexed-badges {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
	}
}

/* ============================================================
   ROOT-CAUSE FIX: a leftover static file bundled inside the theme
   itself — resources/app.min.css — has been silently fighting the
   real design this whole time. It's an old pre-rebrand build (black
   header/footer, yellow #FFD120 accents) with !important on several
   rules, so it was beating the real (correct, light/terracotta)
   compiled stylesheet wherever the two overlap: the header bar, the
   footer, the primary button colour, and PDF/HTML galley-link
   buttons. This is NOT the CDN issue — it's baked into the theme
   zip itself, so it will keep resurfacing after every upload until
   the fixed zip (v2.1.1.14+) replaces the file on the server. These
   rules neutralise it immediately in the meantime.
   ============================================================ */
.header {
	background-color: #ffffff !important;
	border-bottom: 1px solid #ECE5E1 !important;
}
.site-footer {
	background-color: #FAF7F5 !important;
	border-top: 4px solid #D58F76 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.galley-link.pdf {
	background: #D58F76 !important;
	border-color: #D58F76 !important;
	color: #fff !important;
}
.galley-link.html {
	background: transparent !important;
	border-color: #D58F76 !important;
	color: #120D1F !important;
}
