/* ==========================================================================
   Pine Bluff Commercial — Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
	/* Colors */
	--pbc-gold: #E5A624;
	--pbc-gold-hover: #d09520;
	--pbc-near-black: #1a1a1a;
	--pbc-ink: #111111;
	--pbc-body: #222222;
	--pbc-secondary: #444444;
	--pbc-muted: #555555;
	--pbc-meta: #888888;
	--pbc-faint: #999999;
	--pbc-label: #aaaaaa;
	--pbc-link: #4A73B9;
	--pbc-white: #ffffff;
	--pbc-rule-section: #dddddd;
	--pbc-rule-row: #eeeeee;
	--pbc-rule-cat: #e8e8e8;
	--pbc-ad-bg: #f2f2f2;
	--pbc-ad-border: #e0e0e0;
	--pbc-warm: #fffbf0;
	--pbc-footer-divider: #333333;
	--pbc-footer-rule: #2e2e2e;

	/* Typography */
	--pbc-font-headline: 'Playfair Display', Georgia, serif;
	--pbc-font-body: Georgia, 'Times New Roman', serif;
	--pbc-font-ui: Arial, Helvetica, sans-serif;

	/* Layout */
	--pbc-max-width: 1240px;
	--pbc-sidebar-width: 300px;
	--pbc-sidebar-gap: 48px;
	--pbc-content-gap: 40px;
	--pbc-page-padding: 32px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	border-radius: 0 !important;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--pbc-font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--pbc-body);
	background-color: var(--pbc-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--pbc-font-headline);
	font-weight: 700;
	color: var(--pbc-ink);
	margin-top: 0;
}

h1 { font-size: 38px; line-height: 1.15; }
h2 { font-size: 28px; line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.25; }
h4 { font-size: 17px; }
h5 { font-size: 14px; font-weight: 700; }
h6 {
	font-family: var(--pbc-font-ui);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

p {
	margin-top: 0;
	margin-bottom: 1em;
}

a {
	color: var(--pbc-link);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--pbc-gold);
}

/* --------------------------------------------------------------------------
   4. Layout Utilities
   -------------------------------------------------------------------------- */
.pbc-container {
	max-width: var(--pbc-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--pbc-page-padding);
	padding-right: var(--pbc-page-padding);
}

.pbc-content-sidebar {
	display: flex;
	gap: var(--pbc-sidebar-gap);
}

.pbc-main-column {
	flex: 1;
	min-width: 0;
}

.pbc-sidebar {
	width: var(--pbc-sidebar-width);
	flex-shrink: 0;
}

.pbc-featured-layout {
	display: flex;
	gap: var(--pbc-content-gap);
	align-items: flex-start;
}

.pbc-featured-image-col {
	width: 580px;
	flex-shrink: 1;
	min-width: 320px;
}

.pbc-featured-text-col {
	flex: 1;
	min-width: 0;
	padding-top: 4px;
}

/* --------------------------------------------------------------------------
   5. Component: Section Label
   -------------------------------------------------------------------------- */
.section-label {
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pbc-near-black);
	border-bottom: 3px solid var(--pbc-gold);
	padding-bottom: 6px;
	display: inline-block;
	margin-bottom: 16px;
	line-height: 1;
}

.section-header-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   6. Component: Category Label
   -------------------------------------------------------------------------- */
.cat-label {
	font-family: var(--pbc-font-ui);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--pbc-gold);
	display: block;
	margin-bottom: 4px;
	line-height: 1;
}

.cat-label a {
	color: var(--pbc-gold);
}

.cat-label a:hover {
	color: var(--pbc-gold-hover);
}

/* --------------------------------------------------------------------------
   7. Component: Category Pod Header
   -------------------------------------------------------------------------- */
.cat-pod-header {
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--pbc-near-black);
	border-top: 3px solid var(--pbc-near-black);
	padding-top: 12px;
	margin-bottom: 16px;
	line-height: 1;
}

/* --------------------------------------------------------------------------
   8. Component: Byline
   -------------------------------------------------------------------------- */
.pbc-byline {
	font-family: var(--pbc-font-ui);
	font-size: 12px;
	color: var(--pbc-meta);
	line-height: 1.4;
}

.pbc-byline-name {
	font-weight: 700;
	color: #333333;
}

.pbc-byline-small {
	font-size: 11px;
	color: var(--pbc-faint);
}

/* --------------------------------------------------------------------------
   9. Component: Deck / Subtitle
   -------------------------------------------------------------------------- */
.pbc-deck {
	font-family: var(--pbc-font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--pbc-secondary);
	margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   10. Component: Buttons
   -------------------------------------------------------------------------- */
.gold-button {
	display: inline-block;
	background-color: var(--pbc-gold);
	color: var(--pbc-white);
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 10px 20px;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
	line-height: 1;
}

.gold-button:hover {
	background-color: var(--pbc-gold-hover);
	color: var(--pbc-white);
}

.gold-button-sm {
	font-size: 11px;
	padding: 6px 16px;
}

.pbc-utility-bar a.gold-button-sm {
	color: var(--pbc-ink);
}

.pbc-utility-bar a.gold-button-sm:hover {
	color: var(--pbc-ink);
}

/* --------------------------------------------------------------------------
   11. Component: More Link
   -------------------------------------------------------------------------- */
.more-link {
	font-family: var(--pbc-font-ui);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--pbc-link);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s ease;
}

.more-link:hover {
	color: var(--pbc-gold);
}

.more-link-sm {
	font-size: 10px;
	letter-spacing: 0.15em;
}

.more-link-gold {
	color: var(--pbc-gold);
}

.more-link-gold:hover {
	text-decoration: underline;
	color: var(--pbc-gold);
}

/* --------------------------------------------------------------------------
   12. Component: Article Card / Row
   -------------------------------------------------------------------------- */
.article-card {
	cursor: pointer;
}

.article-card:hover .entry-title,
.article-card:hover .entry-title a {
	color: var(--pbc-link);
}

.entry-title {
	transition: color 0.2s ease;
}

.entry-title a {
	color: inherit;
	transition: color 0.2s ease;
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   13. Component: Photo Caption & Credit
   -------------------------------------------------------------------------- */
.pbc-caption {
	margin-top: 6px;
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	font-style: italic;
	color: var(--pbc-meta);
	line-height: 1.4;
}

.pbc-photo-credit {
	font-style: normal;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   14. Component: Ad Slot
   -------------------------------------------------------------------------- */
.pbc-ad-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
}

.pbc-ad-label {
	font-family: var(--pbc-font-ui);
	font-size: 10px;
	color: var(--pbc-label);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 4px;
	line-height: 1;
}

.pbc-ad-placeholder {
	background-color: var(--pbc-ad-bg);
	border: 1px solid var(--pbc-ad-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #bbb;
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	max-width: 100%;
}

.pbc-ad-fullwidth {
	padding: 20px 0;
	display: flex;
	justify-content: center;
}

.pbc-ad-fullwidth-lg {
	padding: 32px 0;
}

/* --------------------------------------------------------------------------
   15. Component: Dividers / Rules
   -------------------------------------------------------------------------- */
.rule-section {
	border: 0;
	border-top: 1px solid var(--pbc-rule-section);
	margin: 0;
}

.rule-row {
	border: 0;
	border-top: 1px solid var(--pbc-rule-row);
	margin: 0;
}

.rule-thick {
	border: 0;
	border-top: 3px solid var(--pbc-near-black);
	margin: 0;
}

/* --------------------------------------------------------------------------
   16. Component: CTA Boxes
   -------------------------------------------------------------------------- */
.pbc-cta-warm {
	background-color: var(--pbc-warm);
	border: 1px solid var(--pbc-gold);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pbc-cta-dark {
	background-color: var(--pbc-near-black);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.pbc-cta-overline {
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--pbc-gold);
	margin-bottom: 4px;
}

.pbc-cta-body {
	font-family: var(--pbc-font-body);
	font-size: 15px;
	color: var(--pbc-secondary);
	line-height: 1.5;
	margin: 0;
}

.pbc-cta-dark .pbc-cta-body {
	color: #cccccc;
}

.pbc-cta-dark .pbc-cta-body strong {
	color: var(--pbc-white);
}

/* --------------------------------------------------------------------------
   17. Header: Utility Bar
   -------------------------------------------------------------------------- */
.pbc-utility-bar {
	background-color: var(--pbc-near-black);
	color: #bbbbbb;
	font-family: var(--pbc-font-ui);
	font-size: 11px;
	line-height: 1;
	padding: 7px 24px;
}

.pbc-utility-bar-inner {
	max-width: var(--pbc-max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pbc-utility-left,
.pbc-utility-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.pbc-utility-right {
	gap: 20px;
}

.pbc-utility-separator {
	color: var(--pbc-muted);
}

.pbc-utility-bar a {
	color: #bbbbbb;
	transition: color 0.2s ease;
}

.pbc-utility-bar a:hover {
	color: var(--pbc-white);
}

/* --------------------------------------------------------------------------
   18. Header: Masthead
   -------------------------------------------------------------------------- */
.pbc-masthead {
	background-color: var(--pbc-white);
	padding-top: 24px;
	text-align: center;
}

.pbc-masthead-logo {
	height: 72px;
	width: auto;
	display: inline-block;
}

.pbc-masthead-rule {
	margin-top: 20px;
	border: 0;
	border-top: 3px solid var(--pbc-near-black);
}

/* --------------------------------------------------------------------------
   19. Header: Primary Navigation
   -------------------------------------------------------------------------- */
.pbc-primary-nav {
	background-color: var(--pbc-white);
	border-bottom: 1px solid var(--pbc-rule-section);
}

.pbc-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 0;
}

.pbc-nav-list li {
	margin: 0;
}

.pbc-nav-list a {
	display: block;
	padding: 12px 20px;
	font-family: var(--pbc-font-ui);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #333333;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
	margin-bottom: -1px;
}

.pbc-nav-list a:hover,
.pbc-nav-list .current-menu-item a {
	color: var(--pbc-gold);
	border-bottom-color: var(--pbc-gold);
}

.pbc-mobile-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	font-size: 24px;
	color: var(--pbc-near-black);
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.pbc-footer {
	background-color: var(--pbc-near-black);
	color: #aaaaaa;
	font-family: var(--pbc-font-ui);
	border-top: 3px solid var(--pbc-gold);
}

.pbc-footer-inner {
	max-width: var(--pbc-max-width);
	margin: 0 auto;
	padding: 40px var(--pbc-page-padding) 32px;
}

.pbc-footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--pbc-footer-divider);
}

.pbc-footer-logo {
	height: 40px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.7;
	margin-bottom: 8px;
}

.pbc-footer-tagline {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #aaaaaa;
	margin: 0;
}

.pbc-footer-subscribe {
	text-align: right;
}

.pbc-footer-subscribe-text {
	font-size: 13px;
	color: #bbbbbb;
	margin-bottom: 12px;
}

.pbc-footer-links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin-bottom: 32px;
}

.pbc-footer-col-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--pbc-white);
	margin-bottom: 16px;
}

.pbc-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pbc-footer-col li {
	margin-bottom: 10px;
}

.pbc-footer-col a {
	font-size: 12px;
	color: #bbbbbb;
	transition: color 0.2s ease;
}

.pbc-footer-col a:hover {
	color: var(--pbc-gold);
}

.pbc-footer-bottom {
	padding-top: 24px;
	border-top: 1px solid var(--pbc-footer-rule);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #999999;
}

.pbc-footer-legal {
	display: flex;
	gap: 24px;
}

.pbc-footer-legal a {
	color: #999999;
}

.pbc-footer-legal a:hover {
	color: #cccccc;
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
	.pbc-content-sidebar {
		flex-direction: column;
	}

	.pbc-sidebar {
		width: 100%;
		max-width: var(--pbc-sidebar-width);
		margin: 32px auto 0;
	}

	.pbc-featured-layout {
		flex-direction: column;
	}

	.pbc-featured-image-col {
		width: 100%;
	}

	.pbc-category-strips-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.pbc-footer-links {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Navigation: hamburger at tablet */
	.pbc-nav-list {
		display: none;
		flex-direction: column;
		width: 100%;
	}

	.pbc-nav-list.is-open {
		display: flex;
	}

	.pbc-nav-list a {
		padding: 12px 16px;
		border-bottom: 1px solid var(--pbc-rule-row);
	}

	.pbc-mobile-toggle {
		display: block;
	}

	.pbc-primary-nav .pbc-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	/* Masthead: logo left, hamburger right on tablet */
	.pbc-masthead {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		text-align: left;
		padding-top: 16px;
		padding-left: var(--pbc-page-padding);
		padding-right: var(--pbc-page-padding);
	}

	.pbc-masthead > a {
		flex: 1;
		min-width: 0;
	}

	.pbc-masthead .pbc-mobile-toggle {
		flex-shrink: 0;
		margin-left: auto;
	}

	.pbc-masthead-logo {
		height: 50px;
	}

	.pbc-masthead-rule {
		flex-basis: 100%;
		margin-top: 14px;
	}

	/* Utility bar: tighter spacing */
	.pbc-utility-bar {
		font-size: 10px;
		padding: 6px 16px;
	}

	.pbc-utility-left,
	.pbc-utility-right {
		gap: 10px;
	}

	.pbc-utility-right {
		gap: 12px;
	}

	/* Typography */
	h1 { font-size: 32px; }
	h2 { font-size: 24px; }
}

/* Mobile */
@media (max-width: 768px) {
	:root {
		--pbc-page-padding: 16px;
	}

	.pbc-secondary-row-grid {
		grid-template-columns: 1fr;
	}

	.pbc-category-strips-grid {
		grid-template-columns: 1fr;
	}

	/* .pbc-business-grid { grid-template-columns: repeat(2, 1fr); } — see design_info/business-directory-original.md */

	.pbc-utility-bar {
		display: none;
	}

	/* Masthead: smaller logo on mobile */
	.pbc-masthead-logo {
		height: 40px;
	}

	.pbc-masthead {
		padding-top: 12px;
	}

	.pbc-masthead-rule {
		margin-top: 10px;
	}

	/* Typography */
	h1 { font-size: 30px; }
	h2 { font-size: 22px; }
	h3 { font-size: 18px; }

	.pbc-footer-links {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.pbc-footer-top {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.pbc-footer-subscribe {
		text-align: center;
	}

	.pbc-footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.pbc-cta-warm,
	.pbc-cta-dark {
		flex-direction: column;
		text-align: center;
	}
}

/* Small phones */
@media (max-width: 480px) {
	h1 { font-size: 28px; }
	h2 { font-size: 22px; }
	h3 { font-size: 17px; }

	.pbc-deck {
		font-size: 15px;
	}

	.pbc-footer-links {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.pbc-footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}
}
