/* ----------------------------------------------------------------------
 * themes/pta/assets/pawtucket/css/theme.css
 * PTA look and feel, 2026-11-25 (Jamie): palette from the logo (navy, gold, cream),
 * EB Garamond (self-hosted, OFL; see EBGaramond/OFL-copyright.txt) for headings and the
 * wordmark, Lato Regular for body text. Header B: emblem + live-text name.
 * Loaded after main.css through conf/assets.conf (themecss = css/theme.css:200).
 * To roll the whole look back, delete this file and clear caches.
 * Mockups: https://claude.ai/artifact/YD7NL1XYGKWmUy1Rwcr7W6
 * ---------------------------------------------------------------------- */

@font-face { font-family: 'PTA Garamond'; src: url('EBGaramond/EBGaramond-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PTA Garamond'; src: url('EBGaramond/EBGaramond-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'PTA Garamond'; src: url('EBGaramond/EBGaramond-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--pta-navy: #20263E;        /* logo cover; header text, headings, buttons */
	--pta-navy-2: #303F59;      /* hover, secondary */
	--pta-navy-deep: #171B2D;   /* footer */
	--pta-gold: #AF8B49;        /* rules and underlines only (3:1 on white: never small text) */
	--pta-gold-text: #6B5428;   /* gold for small text on light backgrounds (about 7:1) */
	--pta-gold-light: #D6B97E;  /* gold text on navy */
	--pta-cream: #EEE7DD;       /* hero and bands */
	--pta-cream-soft: #F7F3EC;  /* image mats, quiet panels */
	--pta-ink: #1F2328;         /* body text */
	--pta-muted: #4A4F59;       /* secondary text (about 8:1 on white) */
	--pta-line: #E2DACD;
	--pta-serif: 'PTA Garamond', Georgia, 'Times New Roman', serif;
	--pta-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- Base ------------------------------------------------------------ */
html, body { min-height: 100%; }
body { overflow-x: clip; }
body {
	font-family: var(--pta-sans);
	color: var(--pta-ink);
	font-size: 16px;
	line-height: 1.55;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body > .container { flex: 1 0 auto; width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; }  /* same measure as the header */
#pageArea { padding-top: 28px; }
/* Garamond defaults to old-style figures; dates and route numbers read better lining */
h1, h2, .ptaTileLabel, .ptaBrandName, .ptaFooterName, blockquote, .detail h1 { font-variant-numeric: lining-nums; }
a, a:hover, a:focus { color: var(--pta-navy); }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pta-gold); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--pta-gold); outline-offset: 2px; }

H1, h1, H2, h2 { font-family: var(--pta-serif); color: var(--pta-navy); font-weight: 400; text-transform: none; }
H1, h1 { font-size: 34px; line-height: 1.15; }
H2, h2 { font-size: 26px; line-height: 1.2; }
H3, h3, H4, h4, H5, h5, H6, h6 { font-family: var(--pta-sans); color: var(--pta-navy); }
label { font-family: var(--pta-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--pta-muted); }

/* ---- Header B: emblem + live-text name --------------------------------- */
.navbar-default {
	background: #FFFFFF;
	background-image: none;
	border: 0;
	border-bottom: 3px solid var(--pta-gold);
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	filter: none;
}
.navbar-default .container.menuBar { width: 100%; max-width: 1240px; padding-top: 10px; padding-bottom: 10px; }
.navbar-brand.ptaBrand, .navbar-brand.ptaBrand:hover, .navbar-brand.ptaBrand:focus {
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 4px 15px;
	text-decoration: none;
}
.ptaBrand img { width: auto !important; height: 60px; display: block; }
.ptaBrandText { display: flex; flex-direction: column; gap: 3px; }
.ptaBrandName { font-family: var(--pta-serif); font-weight: 700; font-size: 29px; letter-spacing: .02em; line-height: 1; color: var(--pta-navy); }
.ptaBrandPlace { font-family: var(--pta-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pta-gold-text); line-height: 1.2; }
.navbar-default .navbar-nav > li > a, .nav > li > a, .nav > li > a:hover, .nav > li > a:focus {
	font-family: var(--pta-sans);
	font-weight: 700;
	font-size: 16px;
	color: var(--pta-navy);
	background: transparent;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: var(--pta-navy-2); text-decoration: underline; text-decoration-color: var(--pta-gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus,
.navbar .navbar-nav > .active > a {
	background: transparent;
	color: var(--pta-navy);
	text-decoration: underline;
	text-decoration-color: var(--pta-gold);
	text-decoration-thickness: 3px;
	text-underline-offset: 8px;
}
.navbar .formOutline { border: 1px solid #8F887C; border-radius: 3px; background: #FFFFFF; }
.navbar .form-control { font-family: var(--pta-sans); font-size: 15px; color: var(--pta-ink); }
.navbar .form-control::placeholder { color: #6A6F79; }
.navbar-default .navbar-toggle { border-color: #8F887C; min-width: 44px; min-height: 44px; }
.navbar-default .navbar-toggle .icon-bar { background-color: var(--pta-navy); }
@media (min-width: 768px) {
	.navbar-default .navbar-collapse { padding-top: 14px; }
	.navbar-form { margin-top: 6px; }
}
@media (max-width: 767px) {
	.ptaBrand img { height: 40px; }
	.ptaBrandName { font-size: 20px; }
	.ptaBrandPlace { display: none; }
	.navbar-default .navbar-collapse { border-top: 1px solid var(--pta-line); }
}

/* ---- Buttons ------------------------------------------------------------ */
.btn-default, .browse .btn, .sets .btn {
	background: var(--pta-navy);
	background-image: none;
	border: 2px solid var(--pta-navy);
	border-radius: 3px;
	color: #F6F1E8;
	font-family: var(--pta-sans);
	font-weight: 700;
	text-shadow: none;
	box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default,
.browse .btn:hover, .sets .btn:hover {
	background: var(--pta-navy-2);
	border-color: var(--pta-navy-2);
	color: #FFFFFF;
	text-decoration: none;
}
.btn-default.ptaBtnOutline { background: transparent; color: var(--pta-navy); }
.btn-default.ptaBtnOutline:hover, .btn-default.ptaBtnOutline:focus { background: var(--pta-navy); color: #F6F1E8; }

/* ---- Footer: navy, in the page flow (was absolute, 80px) ---------------- */
#footer {
	position: static;
	height: auto;
	margin: 64px 0 0 0;
	padding: 40px 15px 32px;
	background: var(--pta-navy-deep);
	border-top: 3px solid var(--pta-gold);
	color: #C9CEDB;
	font-family: var(--pta-sans);
	font-size: 15px;
	line-height: 1.7;
}
#footer > * { max-width: 1210px; margin-left: auto; margin-right: auto; }
#footer a, #footer ul a { color: #F6F1E8; text-decoration: none; }
#footer a:hover, #footer ul a:hover { color: var(--pta-gold-light); text-decoration: underline; }
#footer ul { padding-left: 0; margin-bottom: 12px; }
#footer .ptaFooterContact { margin-bottom: 8px; }
#footer .ptaFooterName { font-family: var(--pta-serif); font-weight: 700; font-size: 22px; color: #F6F1E8; margin-right: 8px; }
#footer .ptaFooterRights { color: #A9B0C2; }
#footer .ptaFooterRights small { font-size: 13px; }

/* ---- Homepage hero (binder quote) --------------------------------------- */
.ptaHero { background: var(--pta-cream); margin: -28px calc(50% - 50vw) 0; padding: 64px 40px; }  /* full-bleed band out of .container */
.ptaHeroInner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ptaHeroText { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ptaHeroArt { flex: 1 1 320px; display: flex; justify-content: center; }
.ptaHeroArt img { width: 100%; max-width: 460px; height: auto; display: block; }
.ptaHero blockquote { border: 0; margin: 0; padding: 0; font-family: var(--pta-serif); font-style: italic; font-size: 44px; line-height: 1.18; color: var(--pta-navy); }
.ptaHeroBy { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pta-gold-text); }
.ptaHeroMission { margin: 0; font-size: 19px; line-height: 1.6; max-width: 620px; }
.ptaHeroSearch { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; max-width: 620px; }
.ptaHeroSearch label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; margin: 0; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--pta-navy); }
.ptaHeroSearch input { height: 48px; border: 1px solid #8F887C; border-radius: 3px; padding: 0 14px; font-size: 16px; font-weight: 400; color: var(--pta-ink); background: #FFFFFF; }
.ptaHeroSearch button { height: 48px; padding: 0 24px; }
.ptaHeroActions { display: flex; flex-wrap: wrap; gap: 12px; }
.ptaHeroActions .btn { padding: 11px 22px; font-size: 16px; }
@media (max-width: 767px) {
	.ptaHero { padding: 32px 20px; }
	.ptaHero blockquote { font-size: 30px; }
	.ptaHeroArt { display: none; }
}

/* ---- Homepage collection grid ------------------------------------------- */
.ptaSectionHead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--pta-gold); padding-bottom: 10px; margin: 48px 0 24px; }
.ptaSectionHead h2 { margin: 0; font-size: 34px; }
.ptaSectionHead a { font-weight: 700; }
.ptaGrid { margin-top: 0; }
.ptaTile { margin-bottom: 32px; }
.ptaTileImg { height: 260px; background: var(--pta-cream-soft); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ptaTileImg a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ptaTileImg img { max-width: 100%; max-height: 228px; width: auto; height: auto; box-shadow: 0 1px 2px rgba(32, 38, 62, .18); }
.ptaTile .ptaTileLabel { margin-top: 10px; font-family: var(--pta-serif); font-size: 20px; line-height: 1.25; }
.ptaTile .ptaTileLabel a { color: var(--pta-navy); }
.ptaTile .ptaTileType { font-family: var(--pta-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pta-gold-text); opacity: 1; margin-bottom: 4px; }
.ptaWelcome { font-size: 17px; line-height: 1.7; }

/* ---- Object and entity detail pages ------------------------------------- */
.detail { color: var(--pta-ink); font-size: 16px; line-height: 1.6; }
.detail a { color: var(--pta-navy); }
.detail a:hover { color: var(--pta-navy-2); }
.detail h1 { font-family: var(--pta-serif); font-size: 40px; line-height: 1.12; color: var(--pta-navy); text-transform: none; }
.detail h2 { font-family: var(--pta-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pta-gold-text); }
.detail label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--pta-muted); margin: 18px 0 4px; }
.detail HR { border-top: 1px solid var(--pta-gold); opacity: .6; }
.detail H6 a { color: var(--pta-navy); }
.detail .detailNavBgLeft, .detail .detailNavBgRight { background-color: var(--pta-cream-soft); }
.detail .repViewerCont, .detail .detailMediaToolbar { color: var(--pta-muted); }
a.readmore-js-toggle { color: var(--pta-navy); font-weight: 700; }
.ptaAgencyPill { color: var(--pta-navy); border-width: 2px; }
.ptaBreadcrumb { color: var(--pta-muted); font-size: 14px; }
.ptaCite summary { font-weight: 700; color: var(--pta-navy); cursor: pointer; }

/* ---- Browse results ----------------------------------------------------- */
.bResultItem { box-shadow: none; border: 1px solid var(--pta-line); border-radius: 2px; background: #FFFFFF; line-height: 1.3; }
.bResultItem:hover, .bResultItem:focus, .bResultItem:active { box-shadow: 0 2px 8px rgba(32, 38, 62, .14); }
.bResultItem .bResultItemImg { background: var(--pta-cream-soft); }
.bResultItem .bResultItemText, .bResultItem .bResultItemText a { color: var(--pta-ink); font-size: 14px; }
#bRefine { background: var(--pta-cream-soft); }
#bRefine H2 { font-family: var(--pta-serif); color: var(--pta-navy); }
div.browseFacetItem a, .filterMenuFacetList a { color: var(--pta-navy); }
div.browseFacetItem a:hover { color: var(--pta-navy-2); }
.filterMenuFacetList li.active { background: var(--pta-navy); }
.form-control:focus { border-color: var(--pta-navy); box-shadow: 0 0 0 2px rgba(175, 139, 73, .45); }

/* ---- About page ---------------------------------------------------------- */
.archive-about-page .about-header h2 { font-size: 40px; }
.archive-about-page h3 { font-family: var(--pta-serif); font-size: 26px; text-transform: none; letter-spacing: 0; }
.archive-about-page p { font-size: 17px; line-height: 1.7; }
.archive-about-page blockquote, .archive-about-page blockquote p { font-family: var(--pta-serif); font-style: italic; font-size: 28px; line-height: 1.3; color: var(--pta-navy); }
.archive-about-page blockquote { border-left-color: var(--pta-gold) !important; border-left-width: 3px !important; padding: 6px 0 6px 22px !important; margin: 18px 0 !important; }  /* beats the inline #ccc border */
.ptaCredit { margin-top: 24px; color: var(--pta-muted); }
/* Browse heading is generated as e.g. "33 object Results"; capitalise it now that headings are not forced to capitals */
h1:has(.bGear) { text-transform: capitalize; }

/* PTA 2026-11-25: Website records (Switchback) */
.ptaWebsite { margin: 18px 0 22px; }
.ptaWebsite .btn { font-size: 16px; padding: 10px 18px; }
.ptaWebsite a.btn, .ptaWebsite a.btn:hover, .ptaWebsite a.btn:focus, .ptaWebsite a.btn:visited { color: #fff; text-decoration: none; }
.ptaWebsite a.btn:hover, .ptaWebsite a.btn:focus { background: var(--pta-navy-2); }
.ptaWebsiteNote { margin: 8px 0 0; font-size: 14px; color: var(--pta-muted); max-width: 34em; }
