/*
Theme Name: Cooperativa Eléctrica Río Grande
Theme URI: https://www.cooprg.org.ar/
Author: Cooperativa Eléctrica de Río Grande
Description: Classic PHP theme for cooprg.org.ar. Clones the site's established layout without Bootstrap, jQuery, or a page builder.
Version: 0.1.3
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cooprg-theme
Tags: custom-logo, custom-menu, featured-images, footer-widgets, right-sidebar, full-width-template, translation-ready, accessibility-ready
*/

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins/poppins-400.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/poppins/poppins-500.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/poppins/poppins-600.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins/poppins-700.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/poppins/poppins-800.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("assets/fonts/poppins/poppins-900.woff2") format("woff2");
}

:root {
	--cooprg-lime: #9ecc19;
	--cooprg-link: #617f07;
	--cooprg-dark: #303336;
	--cooprg-text: #717171;
	--cooprg-border: #e1e1e1;
	--cooprg-muted: #a0a1a2;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: #fff;
	color: var(--cooprg-text);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.65;
	word-wrap: break-word;
}

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

figure {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	color: var(--cooprg-dark);
	font-weight: 600;
	line-height: 1.25;
}

p {
	margin: 0 0 1em;
	letter-spacing: 0.02em;
}

a {
	color: var(--cooprg-link);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
	color: var(--cooprg-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

.container {
	width: 100%;
	margin-inline: auto;
	padding-inline: 12px;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	.container {
		max-width: 1320px;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 5px;
	left: 5px;
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto !important;
	clip-path: none;
	background: #eee;
	color: #444;
	font-size: 1em;
	line-height: normal;
	text-decoration: none;
}

.skip-link:focus {
	z-index: 100001;
}

.site-header svg,
.hero svg,
.post-info svg {
	width: 1em;
	height: 1em;
	vertical-align: -0.12em;
}

/* Top bar */
.topbar {
	min-height: 31px;
	padding: 2px 0;
	background: var(--cooprg-dark);
	color: #fff;
	font-size: 15px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	min-height: 27px;
}

.topbar-contact {
	display: grid;
	flex: 0 0 66.6667%;
	grid-template-columns: 25% 33.3333% 41.6667%;
	align-items: center;
}

.topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.topbar-item svg {
	color: var(--cooprg-lime);
	font-size: 15px;
}

.topbar-hours {
	grid-column: 3;
}

.topbar a {
	color: #fff;
}

.topbar a:hover {
	color: var(--cooprg-lime);
}

.topbar-social {
	display: flex;
	flex: 0 0 33.3333%;
	align-items: center;
	gap: 22px;
	padding-left: 34px;
}

.topbar-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	line-height: 1;
}

/* Header, logo ribbon, navigation */
.main-header {
	position: relative;
	z-index: 20;
	height: 80px;
}

.is-home .main-header {
	background: #fff;
}

.is-inner .main-header {
	background: var(--cooprg-lime);
}

.main-header-inner {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	height: 80px;
}

.logo-ribbon {
	position: absolute;
	z-index: 30;
	top: 0;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 263px;
	height: 80px;
	padding: 5px 12px;
	text-align: center;
}

.is-home .logo-ribbon {
	background: #fff;
}

.is-inner .logo-ribbon {
	background: var(--cooprg-lime);
}

.logo-ribbon::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: 184px;
	height: 29px;
	background: inherit;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transform: translateX(-50%);
	pointer-events: none;
}

.logo-ribbon .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.logo-ribbon .custom-logo {
	width: auto;
	max-width: 184px;
	height: auto;
	max-height: 69px;
	object-fit: contain;
}

.site-title {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
}

.site-title a {
	color: var(--cooprg-dark);
}

.header-menu-area {
	display: flex;
	flex: 1;
	align-items: flex-start;
	justify-content: flex-end;
	height: 80px;
	padding-left: 263px;
}

.menu-toggle,
.nav-close {
	display: none;
}

.primary-navigation {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.primary-navigation ul {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation li {
	position: relative;
	display: block;
}

.primary-navigation a {
	display: block;
	margin-top: 10px;
	padding: 18px 12px;
	color: var(--cooprg-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation li:focus-within > a,
.primary-navigation li:hover > a {
	color: #111;
}

.primary-navigation ul ul {
	position: absolute;
	z-index: 9999;
	top: calc(100% - 9px);
	left: 0;
	display: none;
	min-width: 230px;
	padding: 6px 0;
	border-top: 4px solid var(--cooprg-lime);
	border-bottom: 4px solid var(--cooprg-lime);
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	line-height: 1.35;
	text-align: left;
}

.primary-navigation ul ul ul {
	top: -4px;
	left: 100%;
}

.primary-navigation ul ul li {
	display: block;
	float: none;
}

.primary-navigation ul ul a {
	margin-top: 0;
	padding: 10px 16px;
	border-bottom: 1px solid #eaeaea;
	color: #000;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
	white-space: normal;
	transition: padding-left 0.3s ease, color 0.3s ease;
}

.primary-navigation ul ul li:last-child > a {
	border-bottom: 0;
}

.primary-navigation ul ul a:hover,
.primary-navigation ul ul a:focus {
	padding-left: 30px;
	color: var(--cooprg-link);
}

.primary-navigation li:hover > ul,
.primary-navigation li:focus-within > ul {
	display: block;
}

.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-top: 20px;
	margin-left: 20px;
	padding: 0;
	border: 0;
	background: var(--cooprg-dark);
	color: #fff;
	font-size: 17px;
}

.search-toggle:hover {
	background: #161718;
}

/* Search overlay */
.search-overlay {
	position: fixed;
	z-index: 10000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.82);
	transition: opacity 0.25s ease;
}

.search-close {
	position: absolute;
	top: 15%;
	right: 28px;
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: #bbb;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
}

.search-overlay-inner {
	width: min(700px, 80%);
	transform: translateY(-4vh);
}

.search-overlay .search-form {
	display: flex;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	border-bottom: 1px solid #999;
}

.search-overlay .search-form label {
	flex: 1 1 auto;
	width: auto;
}

.search-overlay .search-field {
	width: 100%;
	margin: 0;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: #bbb;
	font-size: 20px;
	font-style: italic;
	outline-offset: 4px;
}

.search-overlay .search-submit {
	position: relative;
	width: 48px;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: transparent;
	color: transparent;
	font-size: 0;
}

.search-overlay .search-submit::after {
	content: "⌕";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #bbb;
	font-size: 27px;
	line-height: 1;
}

body.search-is-open,
body.nav-is-open {
	overflow: hidden;
}

/* Hero */
.hero {
	position: relative;
	height: 440px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--cooprg-dark);
}

.hero-slides,
.hero-slide {
	height: 440px;
}

.hero-slide {
	position: relative;
}

.hero-image {
	display: block;
	width: 100%;
	height: 440px;
	object-fit: cover;
	opacity: 0.5;
}

.hero-caption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}

.hero-caption-inner {
	width: 40%;
	margin-right: 15%;
	text-align: right;
	pointer-events: auto;
}

.hero-title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: clamp(24px, 2.8vw, 40px);
	font-weight: 900;
	line-height: 1.25;
	text-align: right;
	text-transform: uppercase;
}

.hero-title a {
	color: #fff;
	opacity: 0.88;
}

.hero-title a:hover,
.hero-title a:focus {
	color: #fff;
	opacity: 1;
}

.hero-control {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 44px;
	padding: 0;
	border: 0;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-size: 18px;
	transform: translateY(-50%);
}

.hero-control:hover {
	background: #87ad13;
}

.hero-control-prev {
	left: 30px;
}

.hero-control-next {
	right: 30px;
}

.hero-control-toggle {
	top: auto;
	right: 30px;
	bottom: 22px;
	transform: none;
}

.hero-control-toggle span {
	display: inline-flex;
}

/* Content structure */
.home-content {
	padding: 48px 0 92px;
}

.page-shell,
.archive-shell,
.single-shell {
	padding-top: 78px;
	padding-bottom: 96px;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.content-area {
	min-width: 0;
}

.page-title {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
}

.home-entry > .entry-content > :first-child,
.page-entry > .entry-content > :first-child {
	margin-top: 0;
}

.entry-content {
	font-size: 15px;
	line-height: 1.75;
}

.entry-content a {
	color: var(--cooprg-link);
	text-decoration: underline;
}

.entry-content a:hover {
	color: var(--cooprg-dark);
}

/* Archive cards */
.post-card {
	margin-bottom: 42px;
	padding: 20px;
	border: 1px solid var(--cooprg-border);
	background: #fff;
	box-shadow: 0 15px 10px -15px #999;
}

.post-card-grid {
	display: block;
}

.post-card-grid.has-image {
	display: grid;
	grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.post-card-image {
	display: block;
	overflow: hidden;
	line-height: 0;
}

.post-card-image img {
	width: 300px;
	height: 300px;
	max-width: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
	transform: scale(0.94);
}

.post-card .section-title {
	margin: 0;
	padding: 0;
	text-align: left;
}

.post-card .section-title a {
	color: var(--cooprg-dark);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.35;
	text-decoration: none;
}

.post-card:hover .section-title a,
.post-card .section-title a:hover {
	color: var(--cooprg-link);
}

.post-info {
	margin-top: 6px;
	color: var(--cooprg-text);
	font-size: 12px;
	letter-spacing: 1px;
}

.post-info svg {
	margin-right: 9px;
	color: var(--cooprg-dark);
	font-size: 14px;
}

.post-info a {
	color: var(--cooprg-text);
	text-decoration: none;
}

.post-info a:hover {
	color: var(--cooprg-link);
}

.post-info hr {
	width: 20%;
	margin: 10px 0;
	border: 0;
	border-top: 2px solid var(--cooprg-lime);
	opacity: 1;
}

.post-card .entry-content p {
	margin-top: 14px;
	margin-bottom: 18px;
	color: var(--cooprg-text);
	font-size: 15px;
	line-height: 26px;
	text-align: justify;
}

.content-bttn {
	display: inline-block;
	margin: 0;
}

.content-bttn a,
.blogbutton-small {
	display: inline-block;
	padding: 10px 15px;
	border: 0;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	text-transform: capitalize;
}

.content-bttn a:hover {
	background: var(--cooprg-dark);
	color: #fff;
}

.pagination .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 25px 0;
}

.pagination a,
.pagination span.current,
.post-navigation a {
	display: inline-block;
	padding: 10px 15px;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-weight: 700;
	text-decoration: none;
}

.pagination span.current,
.post-navigation a:hover,
.pagination a:hover {
	background: var(--cooprg-dark);
	color: #fff;
}

/* Single post */
.bradcrumbs {
	padding: 0 0 30px;
}

.bradcrumbs a,
.bradcrumbs span {
	display: inline-block;
	margin: 0 5px 15px 0;
	padding: 8px 15px;
}

.bradcrumbs a {
	background: #f1f1f1;
	color: #000;
	text-decoration: none;
}

.bradcrumbs a:hover {
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
}

.bradcrumbs span {
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-weight: 700;
}

.single-post h1 {
	margin-top: 0;
	font-size: 30px;
	font-weight: 600;
}

.feature-box {
	margin: 12px 0 24px;
	line-height: 0;
}

.feature-box img {
	width: 100%;
}

.single-post .entry-content p {
	text-align: left;
}

.related-post {
	clear: both;
	margin-top: 34px;
}

.related-post > h3 {
	padding: 15px 0;
	font-size: 22px;
}

.related-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.related-post .post-card {
	margin-bottom: 0;
	padding: 15px;
}

.related-post .post-card-grid,
.related-post .post-card-grid.has-image {
	display: block;
}

.related-post .post-card-image img {
	width: 100%;
	height: 160px;
	margin-bottom: 14px;
}

.related-post .post-card .section-title a {
	font-size: 17px;
	letter-spacing: 0;
}

.related-post .post-card .entry-content p {
	font-size: 13px;
	line-height: 1.6;
	text-align: left;
}

/* Sidebar */
.sidebar {
	min-width: 0;
}

.sidebar .widget {
	margin-bottom: 50px;
	padding: 20px;
	border: 1px solid var(--cooprg-border);
	background: #fff;
	box-shadow: 0 15px 10px -15px #999;
}

.sidebar .widget-title {
	display: table;
	width: auto;
	margin: -28px auto 28px;
	padding: 0 10px;
	background: #fff;
	color: var(--cooprg-dark);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 2px;
	line-height: 1.4;
	text-align: center;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar li {
	border-bottom: 1px solid var(--cooprg-border);
	color: var(--cooprg-text);
	font-size: 13px;
	line-height: 43px;
}

.sidebar li:last-child {
	border-bottom: 0;
}

.sidebar li a {
	color: var(--cooprg-text);
	font-size: 15px;
	letter-spacing: 1px;
	text-decoration: none;
}

.sidebar li a:hover {
	color: var(--cooprg-link);
}

.sidebar input[type="search"],
.sidebar input[type="text"],
.sidebar input[type="email"],
.sidebar textarea,
.sidebar select {
	width: 100%;
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid var(--cooprg-border);
	background: #fff;
	color: var(--cooprg-text);
	font-size: 15px;
}

.sidebar input[type="submit"],
.sidebar .search-submit {
	width: 100%;
	padding: 13px 15px;
	border: 0;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.sidebar input[type="submit"]:hover,
.sidebar .search-submit:hover {
	background: var(--cooprg-dark);
	color: #fff;
}

/* Footer */
.footer-widgets {
	padding: 58px 0 48px;
	background: var(--cooprg-dark);
	color: var(--cooprg-muted);
}

.footer-widget-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.footer-widgets .widget {
	padding: 15px 0;
}

.footer-widgets .widget-title {
	margin: 0 0 12px;
	padding: 10px 0;
	color: #fff;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: capitalize;
}

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

.footer-widgets li {
	padding: 5px 0;
	list-style: none;
}

.footer-widgets a {
	color: var(--cooprg-muted);
	font-size: 14px;
	text-decoration: none;
}

.footer-widgets a:hover {
	color: var(--cooprg-lime);
}

.footer-widgets .search-form,
.footer-widgets label {
	display: block;
	width: 100%;
}

.footer-widgets .search-field {
	width: 100%;
	margin-bottom: 0;
	padding: 10px;
	border: 1px solid var(--cooprg-muted);
	background: transparent;
	color: var(--cooprg-muted);
	font-size: 20px;
	font-style: italic;
}

.footer-widgets .search-submit {
	width: 100%;
	margin-top: 0;
	padding: 10px 9px;
	border: 0;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.footer-widgets .search-submit:hover {
	background: #87ad13;
}

.copyright-strip {
	padding: 20px 0;
	background: var(--cooprg-lime);
	color: #000;
	text-align: center;
}

.copyright-strip p {
	margin: 0;
	color: #000;
	font-size: 16px;
	letter-spacing: 0;
}

/* Forms and comments */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
	width: 100%;
	height: auto;
	margin: 0 0 23px;
	padding: 10px;
	border: 1px solid #bcbcbc;
	background: #fff;
	color: var(--cooprg-dark);
	font-size: 16px;
}

textarea {
	min-height: 150px;
}

input[type="submit"],
button[type="submit"],
.wp-block-button__link {
	padding: 10px 30px;
	border: 0;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--cooprg-dark);
	color: #fff;
}

.comments-area {
	margin-top: 30px;
}

.comment-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.comment-list li.comment {
	margin: 0 0 20px;
	padding: 20px;
	border: 1px solid #d6d6d6;
	background: #f5f5f5;
}

.comment-list ol.children {
	margin-left: 40px;
	list-style: none;
}

.comment-reply-link {
	display: inline-block;
	padding: 5px 15px;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
}

.comment-reply-link:hover {
	background: #ddd;
	color: #000;
}

/* Core block rendering */
.entry-content > * {
	max-width: 100%;
}

.banner-inicio img {
	margin-bottom: 8px;
	border: 4px solid silver;
}

.entry-content .alignwide {
	margin-left: -80px;
	margin-right: -80px;
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content .alignfull img {
	width: 100%;
}

.alignleft,
img.alignleft {
	float: left;
	margin: 4px 20px 10px 0;
}

.alignright,
img.alignright {
	float: right;
	margin: 4px 0 10px 25px;
}

.aligncenter,
img.aligncenter {
	display: block;
	clear: both;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
figcaption,
.wp-element-caption {
	margin-top: 7px;
	color: var(--cooprg-link);
	font-size: 13px;
	font-style: italic;
	font-weight: 600;
	text-align: center;
}

.wp-block-image {
	margin-bottom: 1.35em;
}

.wp-block-image img {
	height: auto;
}

.wp-block-columns {
	display: flex;
	gap: 2em;
	margin: 1.5em 0;
}

.wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.home-entry .wp-block-columns.has-6-columns {
	gap: 1em;
	margin-top: 0;
}

.home-entry .wp-block-columns.has-6-columns .wp-block-heading {
	font-weight: 500;
	line-height: 1.35;
}

.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin: 1.5em 0;
	padding: 0;
	list-style: none;
}

.wp-block-gallery .wp-block-image {
	margin: 0;
}

.wp-block-table,
.wp-block-table table {
	width: 100%;
}

.wp-block-table table,
table {
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td,
.entry-content table th,
.entry-content table td {
	padding: 0.55em 0.7em;
	border: 1px solid #d7d7d7;
}

.wp-block-table thead th,
.entry-content table thead th {
	background: #f3f3f3;
	color: var(--cooprg-dark);
	font-weight: 700;
}

.wp-block-video.aligncenter {
	max-width: 640px;
	margin-right: auto;
	margin-left: auto;
}

.wp-block-video video,
.entry-content video {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.wp-block-embed {
	margin: 1.5em 0;
}

.wp-block-embed iframe,
.entry-content iframe {
	max-width: 100%;
}

.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper,
.wp-block-embed .wp-block-embed__wrapper {
	position: relative;
}

.wp-block-details {
	margin: 1.2em 0;
	padding: 14px 18px;
	border: 1px solid var(--cooprg-border);
	background: #fafafa;
}

.wp-block-details summary {
	color: var(--cooprg-dark);
	font-weight: 600;
	cursor: pointer;
}

.wp-block-separator,
hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid #ddd;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em;
	margin: 1.2em 0;
}

.wp-block-button__link {
	text-decoration: none !important;
}

/* Plugin-friendly, low-specificity defaults */
.wpforms-container input,
.wpforms-container select,
.wpforms-container textarea {
	max-width: 100%;
}

.wpforms-container .wpforms-submit {
	border: 0;
	background: var(--cooprg-lime);
	color: var(--cooprg-dark);
	font-weight: 700;
	text-transform: uppercase;
}

.wpforms-container .wpforms-submit:hover {
	background: var(--cooprg-dark);
	color: #fff;
}

.tablepress {
	width: 100%;
	margin: 1.2em 0;
	border-collapse: collapse;
}

.tablepress th,
.tablepress td {
	padding: 8px;
	border: 1px solid #d7d7d7;
}

.tablepress thead th {
	background: #f3f3f3;
	color: var(--cooprg-dark);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
	width: auto;
	margin-bottom: 10px;
}

/* Responsive behavior */
@media (max-width: 1199px) {
	.entry-content .alignwide {
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 1000px) {
	.topbar-inner,
	.topbar-contact,
	.topbar-social {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	.topbar {
		padding: 7px 0;
		text-align: center;
	}

	.topbar-inner {
		gap: 14px;
	}

	.topbar-contact {
		gap: 12px;
	}

	.topbar-hours {
		grid-column: auto;
	}

	.topbar-social {
		flex-direction: row;
		gap: 26px;
		padding-left: 0;
	}

	.main-header,
	.main-header-inner {
		height: auto;
	}

	.main-header-inner {
		display: block;
	}

	.logo-ribbon {
		position: static;
		width: auto;
		height: auto;
		padding: 9px 12px 13px;
	}

	.logo-ribbon::after {
		display: none;
	}

	.header-menu-area {
		display: flex;
		align-items: center;
		justify-content: center;
		height: auto;
		padding: 0 0 20px;
		gap: 24px;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0 10px;
		border: 0;
		background: var(--cooprg-lime);
		color: var(--cooprg-dark);
	}

	.menu-toggle-bars,
	.menu-toggle-bars span {
		display: block;
	}

	.menu-toggle-bars span {
		width: 18px;
		height: 3px;
		margin: 3px 0;
		background: currentColor;
	}

	.search-toggle {
		margin: 0;
		background: var(--cooprg-lime);
		color: var(--cooprg-dark);
	}

	.nav-close {
		position: absolute;
		z-index: 2;
		top: 0;
		right: 25px;
		display: block;
		padding: 6px 12px;
		border: 0;
		background: var(--cooprg-dark);
		color: #fff;
		font-size: 22px;
		line-height: 1.4;
	}

	.primary-navigation {
		position: fixed;
		z-index: 9999;
		inset: 0;
		display: block;
		overflow-x: hidden;
		overflow-y: auto;
		background: #fff;
		visibility: hidden;
		transform: translateY(-120%);
		transition: transform 0.5s ease-in-out, visibility 0s linear 0.5s;
	}

	.primary-navigation.is-open {
		visibility: visible;
		transform: translateY(0);
		transition: transform 0.5s ease-in-out, visibility 0s;
	}

	.primary-navigation ul {
		position: relative;
		display: block;
		width: 100%;
		margin-top: 75px;
		text-align: center;
	}

	.primary-navigation li,
	.primary-navigation ul ul li {
		display: block;
		border-top: 1px solid #f1f1f1;
		text-align: center;
	}

	.primary-navigation li:last-child {
		border-bottom: 1px solid #f1f1f1;
	}

	.primary-navigation a,
	.primary-navigation ul ul a {
		margin: 5px 0;
		padding: 8px;
		border-bottom: 0;
		color: #000;
		font-size: 15px;
		text-align: center;
		white-space: normal;
	}

	.primary-navigation ul ul,
	.primary-navigation ul ul ul {
		position: static;
		display: block;
		width: 100%;
		min-width: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.primary-navigation ul ul a {
		padding-left: 40px;
	}

	.primary-navigation ul ul a::before {
		content: "\00bb\00a0";
	}

	.primary-navigation li:hover > ul,
	.primary-navigation li:focus-within > ul {
		display: block;
	}
}

@media (max-width: 767px) {
	.content-layout {
		display: block;
	}

	.content-area {
		margin-bottom: 42px;
	}

	.page-shell,
	.archive-shell,
	.single-shell {
		padding-top: 32px;
		padding-bottom: 64px;
	}

	.page-title {
		font-size: 31px;
	}

	.post-card-grid.has-image {
		display: block;
	}

	.post-card-image img {
		width: 100%;
		height: auto;
		max-height: 300px;
		margin-bottom: 18px;
	}

	.related-post-grid,
	.footer-widget-grid {
		grid-template-columns: 1fr;
	}

	.footer-widgets {
		text-align: center;
	}

	.footer-widgets .widget-title,
	.footer-widgets ul {
		text-align: center;
	}

	.sidebar .widget-title {
		margin: 0 auto 18px;
	}
}

@media (max-width: 720px) {
	.hero,
	.hero-slides,
	.hero-slide,
	.hero-image {
		height: 200px;
	}

	.hero-caption {
		align-items: center;
		justify-content: center;
	}

	.hero-caption-inner {
		width: 70%;
		margin-right: 0;
		text-align: center;
	}

	.hero-title {
		font-size: 18px;
		text-align: center;
	}

	.hero-control {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.hero-control-prev {
		left: 10px;
	}

	.hero-control-next {
		right: 10px;
	}

	.hero-control-toggle {
		right: 10px;
		bottom: 12px;
	}

	.home-content {
		padding: 34px 0 64px;
	}

	.wp-block-columns,
	.entry-content .wp-block-columns,
	.home-entry .wp-block-columns.has-6-columns {
		flex-wrap: wrap !important;
		gap: 1.5em;
	}

	.wp-block-column {
		flex-basis: 100% !important;
	}

	.entry-content .wp-block-image .alignleft,
	.entry-content .wp-block-image img.alignleft,
	.entry-content .wp-block-image .alignright,
	.entry-content .wp-block-image img.alignright {
		float: none;
		margin-right: auto;
		margin-left: auto;
	}

	.search-overlay-inner {
		width: min(250px, 82%);
	}

	.search-close {
		top: 12%;
	}
}

@media (max-width: 424px) {
	.hero-title {
		font-size: 17px;
	}

	.post-card {
		padding: 15px;
	}

	.post-card .section-title a {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
