/*
Theme Name: Onslow County Living
Theme URI: https://github.com/snommis96/ocl-theme
Author: Onslow County Living
Author URI: https://github.com/snommis96
Description: A modern, mobile-first WordPress theme for community & city guides. Onslow County Living brings a clean, white, card-based "city app" interface to WordPress — complete with a homepage hero, news/blog feed, an events calendar listing, a business directory, and a native-feeling bottom navigation bar on mobile. Built around a bold red accent (#E8192C) and crisp sans-serif typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ocl
Tags: blog, news, custom-logo, custom-menu, featured-images, two-columns, full-width-template, block-styles, translation-ready, mobile-first, directory
*/

/* =========================================================================
   Onslow County Living — Theme Stylesheet
   -------------------------------------------------------------------------
   1.  Design tokens (CSS custom properties)
   2.  Reset & base elements
   3.  Layout primitives (app shell, containers, grids)
   4.  Header / top bar & brand
   5.  Mobile menu (off-canvas)
   6.  Bottom navigation (mobile)
   7.  Hero / carousel
   8.  Section headers ("See More")
   9.  Cards (news / events grid)
   10. List rows (listing pages)
   11. Search bar & filter tabs
   12. Business directory
   13. Single post / event / business
   14. Comments
   15. Toast & floating action button
   16. Footer
   17. Forms, buttons & misc WP defaults
   18. Pagination
   19. Accessibility helpers
   20. Responsive (tablet / desktop)
   ========================================================================= */

/* 1. Design tokens ------------------------------------------------------- */
:root {
	--ocl-accent: #E8192C;
	--ocl-accent-dark: #c01323;
	--ocl-accent-soft: rgba(232, 25, 44, 0.10);
	--ocl-ink: #15171c;
	--ocl-ink-soft: #3c4049;
	--ocl-muted: #8a8f98;
	--ocl-muted-2: #aeb3bb;
	--ocl-line: #ececef;
	--ocl-bg: #f6f7f9;
	--ocl-surface: #ffffff;
	--ocl-surface-2: #f1f2f4;

	--ocl-radius-sm: 10px;
	--ocl-radius: 16px;
	--ocl-radius-lg: 22px;
	--ocl-radius-pill: 999px;

	--ocl-shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.06);
	--ocl-shadow: 0 6px 20px rgba(20, 23, 28, 0.08);
	--ocl-shadow-lg: 0 18px 40px rgba(20, 23, 28, 0.16);

	--ocl-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ocl-font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--ocl-shell-max: 480px;       /* phone-frame width on large screens   */
	--ocl-content-max: 1080px;    /* desktop content width                */
	--ocl-header-h: 60px;
	--ocl-bottomnav-h: 64px;
}

/* 2. Reset & base -------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ocl-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ocl-ink);
	background: var(--ocl-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: var(--ocl-accent); text-decoration: none; }
a:hover { color: var(--ocl-accent-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ocl-font-head);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ocl-ink);
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
	outline: 3px solid var(--ocl-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* 3. Layout primitives --------------------------------------------------- */
.ocl-app {
	min-height: 100vh;
	background: var(--ocl-surface);
	display: flex;
	flex-direction: column;
}

.ocl-container {
	width: 100%;
	max-width: var(--ocl-content-max);
	margin-inline: auto;
	padding-inline: 20px;
}

.ocl-main {
	flex: 1 0 auto;
	padding-top: 16px;
	padding-bottom: calc(var(--ocl-bottomnav-h) + 28px);
}

.ocl-section { margin-bottom: 28px; }

.ocl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

/* 4. Header / top bar ---------------------------------------------------- */
.ocl-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ocl-surface);
	border-bottom: 1px solid var(--ocl-line);
}

.ocl-header__inner {
	min-height: var(--ocl-header-h);
	display: flex;
	align-items: center;
	gap: 8px;
}
.ocl-header__lead { flex: 0 0 40px; display: flex; }
.ocl-header__actions { flex: 0 0 auto; display: flex; gap: 2px; margin-left: auto; }

.ocl-iconbtn {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--ocl-ink);
	border-radius: 12px;
	padding: 0;
	position: relative;
	transition: background-color .15s ease;
}
.ocl-iconbtn:hover { background: var(--ocl-surface-2); }
.ocl-iconbtn svg { width: 24px; height: 24px; }

.ocl-iconbtn--badge::after {
	content: "";
	position: absolute;
	top: 7px;
	right: 7px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ocl-accent);
	border: 2px solid var(--ocl-surface);
}

.ocl-brand {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ocl-font-head);
	font-weight: 800;
	font-size: 1.24rem;
	letter-spacing: -0.02em;
	color: var(--ocl-ink);
	line-height: 1;
	text-align: center;
	min-width: 0;
}
.ocl-brand__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocl-brand:hover { color: var(--ocl-ink); }
.ocl-brand__accent { color: var(--ocl-accent); }
.ocl-brand img { max-height: 36px; width: auto; }

/* 5. Mobile menu (off-canvas) -------------------------------------------- */
.ocl-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	visibility: hidden;
	pointer-events: none;
}
.ocl-drawer.is-open { visibility: visible; pointer-events: auto; }

.ocl-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 17, 22, 0.45);
	opacity: 0;
	transition: opacity .25s ease;
}
.ocl-drawer.is-open .ocl-drawer__backdrop { opacity: 1; }

.ocl-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(82vw, 320px);
	background: var(--ocl-surface);
	box-shadow: var(--ocl-shadow-lg);
	transform: translateX(-100%);
	transition: transform .28s cubic-bezier(.22,.61,.36,1);
	display: flex;
	flex-direction: column;
	padding: 18px;
}
.ocl-drawer.is-open .ocl-drawer__panel { transform: translateX(0); }

.ocl-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--ocl-line);
}

.ocl-drawer__menu { list-style: none; margin: 0; padding: 0; }
.ocl-drawer__menu li { margin: 0; }
.ocl-drawer__menu a {
	display: block;
	padding: 13px 12px;
	border-radius: 12px;
	color: var(--ocl-ink);
	font-weight: 600;
	font-family: var(--ocl-font-head);
}
.ocl-drawer__menu a:hover,
.ocl-drawer__menu .current-menu-item > a { background: var(--ocl-surface-2); color: var(--ocl-accent); }

/* 6. Bottom navigation (mobile) ------------------------------------------ */
.ocl-bottomnav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	background: var(--ocl-surface);
	border-top: 1px solid var(--ocl-line);
	box-shadow: 0 -4px 18px rgba(20, 23, 28, 0.06);
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.ocl-bottomnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	height: var(--ocl-bottomnav-h);
	max-width: var(--ocl-shell-max);
	margin-inline: auto;
}
.ocl-bottomnav__list li { flex: 1 1 0; }
.ocl-bottomnav__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 100%;
	color: var(--ocl-muted);
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
}
.ocl-bottomnav__link svg { width: 24px; height: 24px; }
.ocl-bottomnav__link:hover { color: var(--ocl-ink); }
.ocl-bottomnav__link.is-active { color: var(--ocl-accent); }
.ocl-bottomnav__link.is-active svg { transform: translateY(-1px); }

/* 7. Hero / carousel ----------------------------------------------------- */
.ocl-hero { padding: 8px 0 4px; }
.ocl-hero__dots {
	display: flex;
	gap: 6px;
	margin-bottom: 16px;
}
.ocl-hero__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ocl-muted-2);
	border: 0;
	padding: 0;
	transition: width .2s ease, background-color .2s ease;
}
.ocl-hero__dot.is-active { width: 18px; border-radius: 999px; background: var(--ocl-accent); }

.ocl-hero__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	margin: 0 -20px;
	padding: 0 20px 6px;
}
.ocl-hero__track::-webkit-scrollbar { display: none; }
.ocl-hero__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.ocl-hero__title {
	font-size: clamp(1.5rem, 6vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	max-width: 18ch;
}
.ocl-hero__title .ocl-brand__accent { color: var(--ocl-accent); }
.ocl-hero__sub {
	color: var(--ocl-muted);
	font-size: 1rem;
	margin: 10px 0 0;
	max-width: 46ch;
}
.ocl-hero--card { margin-top: 20px; }
.ocl-hero--card .ocl-hero__dots { margin-bottom: 12px; }
.ocl-hero--card .ocl-hero__slide {
	position: relative;
	border-radius: var(--ocl-radius-lg);
	overflow: hidden;
	min-height: 200px;
	display: flex;
	align-items: flex-end;
	color: #fff;
	background: #222;
}
.ocl-hero--card .ocl-hero__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.ocl-hero--card .ocl-hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78) 100%);
	z-index: 1;
}
.ocl-hero--card .ocl-hero__caption {
	position: relative;
	z-index: 2;
	padding: 18px;
}
.ocl-hero--card .ocl-hero__caption h2 { color: #fff; font-size: 1.25rem; margin: 0; }
.ocl-hero--card .ocl-hero__eyebrow {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	background: var(--ocl-accent);
	color: #fff;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

/* 8. Section headers ----------------------------------------------------- */
.ocl-secthead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 4px 0 14px;
	gap: 12px;
}
.ocl-secthead__title {
	font-size: 1.22rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
}
.ocl-secthead__more {
	flex: none;
	font-family: var(--ocl-font-head);
	font-size: .82rem;
	font-weight: 600;
	color: var(--ocl-accent);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.ocl-secthead__more svg { width: 15px; height: 15px; }

.ocl-pagehead { padding: 12px 0 6px; }
.ocl-pagehead__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ocl-pagehead__title {
	font-size: clamp(1.7rem, 7vw, 2.1rem);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.025em;
}
.ocl-pagehead__lead {
	color: var(--ocl-muted);
	font-size: .98rem;
	margin: 4px 0 0;
}
.ocl-pagehead__bell {
	color: var(--ocl-accent);
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ocl-accent-soft);
	border-radius: 50%;
	flex: none;
}
.ocl-pagehead__bell svg { width: 20px; height: 20px; }

/* 9. Cards (news/events grid) -------------------------------------------- */
.ocl-card {
	display: flex;
	flex-direction: column;
	background: var(--ocl-surface);
	border-radius: var(--ocl-radius);
	overflow: hidden;
	height: 100%;
}
.ocl-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	background: var(--ocl-surface-2);
	border-radius: var(--ocl-radius);
	overflow: hidden;
}
.ocl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.ocl-card:hover .ocl-card__media img { transform: scale(1.05); }
.ocl-card__tag {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
	background: var(--ocl-accent);
	padding: 4px 9px;
	border-radius: 999px;
}
.ocl-card__body { padding: 10px 2px 2px; }
.ocl-card__date {
	font-size: .72rem;
	font-weight: 700;
	color: var(--ocl-accent);
	letter-spacing: .01em;
}
.ocl-card__title {
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 4px 0 6px;
}
.ocl-card__title a { color: var(--ocl-ink); }
.ocl-card__title a:hover { color: var(--ocl-accent); }
.ocl-card__excerpt {
	font-size: .82rem;
	color: var(--ocl-muted);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 10. List rows (listing pages) ------------------------------------------ */
.ocl-list { display: flex; flex-direction: column; }
.ocl-row {
	display: grid;
	grid-template-columns: 92px 1fr auto;
	gap: 14px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid var(--ocl-line);
}
.ocl-row:first-child { padding-top: 6px; }
.ocl-row__media {
	width: 92px;
	height: 78px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--ocl-surface-2);
	flex: none;
}
.ocl-row__media img { width: 100%; height: 100%; object-fit: cover; }
.ocl-row__date {
	font-size: .72rem;
	font-weight: 700;
	color: var(--ocl-accent);
}
.ocl-row__title {
	font-size: .98rem;
	font-weight: 700;
	line-height: 1.28;
	margin: 3px 0 4px;
}
.ocl-row__title a { color: var(--ocl-ink); }
.ocl-row__title a:hover { color: var(--ocl-accent); }
.ocl-row__excerpt {
	font-size: .82rem;
	color: var(--ocl-muted);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ocl-row__more {
	align-self: flex-start;
	color: var(--ocl-muted-2);
	background: transparent;
	border: 0;
	padding: 2px;
	line-height: 0;
}
.ocl-row__more svg { width: 18px; height: 18px; }

/* 11. Search bar & filter tabs ------------------------------------------- */
.ocl-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--ocl-surface-2);
	border-radius: 14px;
	padding: 12px 16px;
	margin: 16px 0 14px;
}
.ocl-search input[type="search"],
.ocl-search input[type="text"] {
	flex: 1;
	border: 0;
	background: transparent;
	font-size: .95rem;
	color: var(--ocl-ink);
	outline: none;
}
.ocl-search button {
	border: 0;
	background: transparent;
	color: var(--ocl-muted);
	line-height: 0;
	padding: 0;
}
.ocl-search button svg { width: 20px; height: 20px; }

.ocl-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
.ocl-tabs::-webkit-scrollbar { display: none; }
.ocl-tab {
	flex: none;
	border: 0;
	background: var(--ocl-surface-2);
	color: var(--ocl-ink-soft);
	font-family: var(--ocl-font-head);
	font-weight: 600;
	font-size: .86rem;
	padding: 9px 20px;
	border-radius: 999px;
	transition: background-color .15s ease, color .15s ease;
}
.ocl-tab.is-active { background: var(--ocl-accent); color: #fff; }
.ocl-tab:hover:not(.is-active) { background: #e7e9ec; }

/* 12. Business directory ------------------------------------------------- */
.ocl-bizfilter {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	margin: 6px 0 18px;
}
.ocl-bizfilter::-webkit-scrollbar { display: none; }

.ocl-bizlist { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) {
	.ocl-bizlist { grid-template-columns: 1fr 1fr; gap: 16px; }
	.ocl-biz { margin-bottom: 0; }
}
@media (min-width: 1024px) {
	.ocl-bizlist { grid-template-columns: 1fr 1fr 1fr; }
}

.ocl-biz {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 14px;
	align-items: center;
	background: var(--ocl-surface);
	border: 1px solid var(--ocl-line);
	border-radius: var(--ocl-radius);
	padding: 14px;
	margin-bottom: 12px;
	box-shadow: var(--ocl-shadow-sm);
	transition: box-shadow .18s ease, transform .18s ease;
}
.ocl-biz:hover { box-shadow: var(--ocl-shadow); transform: translateY(-1px); }
.ocl-biz__logo {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ocl-accent-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ocl-accent);
	font-family: var(--ocl-font-head);
	font-weight: 800;
	font-size: 1.4rem;
}
.ocl-biz__logo img { width: 100%; height: 100%; object-fit: cover; }
.ocl-biz__name { font-size: 1.02rem; font-weight: 700; margin: 0 0 2px; }
.ocl-biz__name a { color: var(--ocl-ink); }
.ocl-biz__name a:hover { color: var(--ocl-accent); }
.ocl-biz__cat {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--ocl-accent);
	margin-bottom: 4px;
}
.ocl-biz__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: .8rem;
	color: var(--ocl-muted);
}
.ocl-biz__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ocl-biz__meta svg { width: 14px; height: 14px; color: var(--ocl-muted-2); }

/* 13. Single post / event / business ------------------------------------- */
.ocl-single { max-width: 760px; margin-inline: auto; }
.ocl-single__topmeta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 6px 0 10px;
}
.ocl-single__date {
	font-size: .8rem;
	font-weight: 700;
	color: var(--ocl-accent);
	letter-spacing: .02em;
}
.ocl-single__actions { display: inline-flex; gap: 6px; }
.ocl-single__title {
	font-size: clamp(1.6rem, 6.5vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	margin: 0 0 12px;
}
.ocl-single__starts {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--ocl-accent);
	font-size: .92rem;
	margin-bottom: 16px;
}
.ocl-single__starts svg { width: 18px; height: 18px; }
.ocl-single__add {
	margin-left: auto;
	color: var(--ocl-accent);
	border: 0;
	background: transparent;
	line-height: 0;
}
.ocl-single__add svg { width: 24px; height: 24px; }

.ocl-single__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0 0 22px;
}
.ocl-single__gallery .ocl-single__hero {
	grid-column: 1 / -1;
}
.ocl-single__gallery img,
.ocl-single__hero img {
	width: 100%;
	border-radius: var(--ocl-radius);
	aspect-ratio: 16/10;
	object-fit: cover;
}
.ocl-single__hero { margin-bottom: 22px; }
.ocl-single__hero img { aspect-ratio: 16/9; }

.ocl-content { font-size: 1.02rem; color: var(--ocl-ink-soft); }
.ocl-content > * { margin-bottom: 1.1em; }
.ocl-content h2 { font-size: 1.35rem; margin: 1.4em 0 .5em; color: var(--ocl-ink); }
.ocl-content h3 { font-size: 1.12rem; margin: 1.3em 0 .4em; color: var(--ocl-ink); }
.ocl-content h2 + p, .ocl-content h3 + p { margin-top: 0; }
.ocl-content img { border-radius: var(--ocl-radius); }
.ocl-content a { text-decoration: underline; text-underline-offset: 2px; }
.ocl-content blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--ocl-accent);
	color: var(--ocl-ink);
	font-style: italic;
}
.ocl-content ul li::marker { color: var(--ocl-accent); }

.ocl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.ocl-chip {
	font-size: .78rem;
	font-weight: 600;
	color: var(--ocl-ink-soft);
	background: var(--ocl-surface-2);
	padding: 6px 14px;
	border-radius: 999px;
}
.ocl-chip:hover { background: var(--ocl-accent-soft); color: var(--ocl-accent); }

.ocl-bizdetail__list { list-style: none; padding: 0; margin: 18px 0; }
.ocl-bizdetail__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--ocl-line);
	font-size: .95rem;
}
.ocl-bizdetail__list svg { width: 20px; height: 20px; color: var(--ocl-accent); flex: none; }

/* 14. Comments ----------------------------------------------------------- */
.ocl-comments { margin-top: 36px; }
.ocl-comments__title { font-size: 1.2rem; margin-bottom: 18px; }
.ocl-comments .comment-list { list-style: none; margin: 0; padding: 0; }
.ocl-comments .comment-list ol { list-style: none; padding-left: 24px; }
.ocl-comments .comment-body {
	background: var(--ocl-surface-2);
	border-radius: var(--ocl-radius);
	padding: 16px;
	margin-bottom: 14px;
}
.ocl-comments .comment-author { display: flex; align-items: center; gap: 10px; }
.ocl-comments .comment-author .avatar { border-radius: 50%; }
.ocl-comments .comment-author .fn { font-weight: 700; font-style: normal; }
.ocl-comments .comment-meta { font-size: .76rem; color: var(--ocl-muted); margin: 4px 0 8px; }
.ocl-comments .reply a {
	font-size: .78rem;
	font-weight: 600;
	color: var(--ocl-accent);
}
.ocl-comment-form label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }

/* 15. Toast & floating action button ------------------------------------- */
.ocl-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--ocl-bottomnav-h) + 18px);
	transform: translate(-50%, 24px);
	z-index: 80;
	background: #15171c;
	color: #fff;
	font-size: .85rem;
	padding: 12px 18px;
	border-radius: 999px;
	box-shadow: var(--ocl-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
	max-width: calc(100vw - 32px);
}
.ocl-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ocl-toast a { color: #fff; text-decoration: underline; }

.ocl-fab {
	position: fixed;
	right: 18px;
	bottom: calc(var(--ocl-bottomnav-h) + 18px);
	z-index: 70;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--ocl-accent);
	color: #fff;
	border: 0;
	box-shadow: 0 10px 24px rgba(232, 25, 44, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .18s ease, background-color .18s ease;
}
.ocl-fab:hover { background: var(--ocl-accent-dark); transform: translateY(-2px); }
.ocl-fab svg { width: 24px; height: 24px; }

/* 16. Footer ------------------------------------------------------------- */
.ocl-footer {
	background: var(--ocl-surface);
	border-top: 1px solid var(--ocl-line);
	padding: 28px 0 calc(var(--ocl-bottomnav-h) + 28px);
	margin-top: auto;
}
.ocl-footer__brand { margin-bottom: 10px; }
.ocl-footer__widgets {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin-bottom: 22px;
}
.ocl-footer__widgets .widget-title,
.ocl-footer__widgets h2, .ocl-footer__widgets h3 { font-size: 1rem; margin-bottom: 10px; }
.ocl-footer__widgets ul { list-style: none; padding: 0; margin: 0; }
.ocl-footer__widgets li { margin-bottom: 8px; }
.ocl-footer__widgets a { color: var(--ocl-ink-soft); }
.ocl-footer__widgets a:hover { color: var(--ocl-accent); }
.ocl-footer__bottom {
	font-size: .82rem;
	color: var(--ocl-muted);
	border-top: 1px solid var(--ocl-line);
	padding-top: 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
}
.ocl-footer__social { display: inline-flex; gap: 10px; }
.ocl-footer__social a { color: var(--ocl-muted); }
.ocl-footer__social svg { width: 20px; height: 20px; }

/* 17. Forms, buttons & WP defaults --------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	width: 100%;
	font-family: inherit;
	font-size: .95rem;
	color: var(--ocl-ink);
	background: var(--ocl-surface);
	border: 1px solid var(--ocl-line);
	border-radius: 12px;
	padding: 12px 14px;
}
textarea { min-height: 120px; }
input:focus, textarea:focus, select:focus { border-color: var(--ocl-accent); outline: none; }

.ocl-btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ocl-font-head);
	font-weight: 600;
	font-size: .92rem;
	color: #fff;
	background: var(--ocl-accent);
	border: 0;
	border-radius: 999px;
	padding: 12px 24px;
	transition: background-color .15s ease, transform .1s ease;
}
.ocl-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover { background: var(--ocl-accent-dark); color: #fff; }
.ocl-btn:active { transform: translateY(1px); }
.ocl-btn--ghost {
	background: var(--ocl-surface-2);
	color: var(--ocl-ink);
}
.ocl-btn--ghost:hover { background: #e7e9ec; color: var(--ocl-ink); }
.ocl-btn--block { width: 100%; }

.ocl-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.sticky-badge,
.ocl-pill {
	display: inline-block;
	font-size: .66rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--ocl-accent);
	background: var(--ocl-accent-soft);
	padding: 4px 10px;
	border-radius: 999px;
}

/* WordPress core alignment + caption classes */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: .8rem; color: var(--ocl-muted); text-align: center; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* 18. Pagination --------------------------------------------------------- */
.ocl-pagination,
.comments-pagination .nav-links {
	margin: 28px 0 6px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}
.ocl-pagination .page-numbers,
.comments-pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--ocl-surface-2);
	color: var(--ocl-ink);
	font-weight: 600;
	font-family: var(--ocl-font-head);
}
.ocl-pagination .page-numbers svg,
.comments-pagination .page-numbers svg { width: 18px; height: 18px; }
.ocl-pagination .page-numbers.current,
.comments-pagination .page-numbers.current { background: var(--ocl-accent); color: #fff; }
.ocl-pagination a.page-numbers:hover,
.comments-pagination a.page-numbers:hover { background: #e7e9ec; }

.ocl-loadmore { display: flex; justify-content: center; margin-top: 22px; }

/* 19. Accessibility helpers ---------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 200;
	background: var(--ocl-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: 8px;
}
.skip-link:focus { left: 12px; color: #fff; }

.ocl-empty {
	text-align: center;
	padding: 48px 16px;
	color: var(--ocl-muted);
}
.ocl-empty h2 { color: var(--ocl-ink); }

/* Optional widget areas (sidebar + footer) */
.ocl-sidebar { margin-top: 28px; }
.widget { margin-bottom: 26px; }
.widget-title { font-size: 1rem; margin-bottom: 12px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--ocl-line); }
.widget a { color: var(--ocl-ink-soft); }
.widget a:hover { color: var(--ocl-accent); }

/* Previous / next single-post navigation links */
.ocl-postnav a { color: var(--ocl-ink); font-weight: 600; font-family: var(--ocl-font-head); }
.ocl-postnav a:hover { color: var(--ocl-accent); }

/* 20. Responsive (tablet / desktop) -------------------------------------- */
@media (min-width: 700px) {
	.ocl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
	.ocl-hero__slide { flex-basis: calc(50% - 8px); }
	.ocl-hero--card .ocl-hero__slide { flex-basis: 100%; }
}

/* Desktop: trade the bottom nav for a top menu, widen content */
@media (min-width: 900px) {
	:root { --ocl-bottomnav-h: 0px; }

	.ocl-header__inner { gap: 24px; }
	.ocl-header__lead { display: none; }
	.ocl-brand { flex: 0 0 auto; justify-content: flex-start; }
	.ocl-header__menu { display: flex; flex: 1 1 auto; }

	.ocl-bottomnav { display: none; }
	.ocl-main { padding-bottom: 40px; }
	.ocl-fab { bottom: 24px; right: 24px; }
	.ocl-toast { bottom: 24px; }

	.ocl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ocl-list--2col {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
	}
	.ocl-list--2col .ocl-row { border-bottom: 1px solid var(--ocl-line); }

	.ocl-footer__widgets { grid-template-columns: repeat(4, 1fr); }
	.ocl-single__hero img { aspect-ratio: 21/9; }
}

/* Top desktop menu — hidden on mobile by default */
.ocl-header__menu { display: none; align-items: center; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ocl-header__menu li { margin: 0; }
.ocl-header__menu a {
	font-family: var(--ocl-font-head);
	font-weight: 600;
	font-size: .92rem;
	color: var(--ocl-ink);
	padding: 8px 14px;
	border-radius: 10px;
}
.ocl-header__menu a:hover,
.ocl-header__menu .current-menu-item > a { color: var(--ocl-accent); background: var(--ocl-surface-2); }

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
