/*
Theme Name: FMCG.ie
Theme URI: https://fmcg.ie
Author: FMCG.ie
Author URI: https://fmcg.ie
Description: A clean, modern editorial theme for FMCG.ie — Ireland's trade magazine for the FMCG industry.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fmcg-theme
Tags: news, magazine, editorial, responsive
*/

/* =========================================================
   CSS RESET & BASE
   ========================================================= */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #2c2c2c;
	background: #f5f5f5;
}

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

a {
	color: #1a2744;
	text-decoration: none;
}

a:hover {
	color: #d4a017;
}

ul, ol {
	list-style: none;
}

/* =========================================================
   VARIABLES
   ========================================================= */
:root {
	--navy: #1a2744;
	--navy-dark: #0f1a30;
	--gold: #d4a017;
	--gold-light: #e8b82a;
	--charcoal: #2c2c2c;
	--mid-grey: #6b6b6b;
	--light-grey: #e8e8e8;
	--off-white: #f5f5f5;
	--white: #ffffff;
	--max-width: 1200px;
	--gutter: 1.5rem;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--navy);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	list-style: revert;
}

.entry-content blockquote {
	border-left: 4px solid var(--gold);
	padding: 1rem 1.5rem;
	background: #f9f7f0;
	font-style: italic;
	font-size: 1.125rem;
	color: var(--charcoal);
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

@media (min-width: 640px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================================================
   SKIP LINK
   ========================================================= */
.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	background: var(--gold);
	color: var(--navy);
	padding: 0.5rem 1rem;
	font-weight: 700;
	z-index: 9999;
}

.skip-link:focus {
	top: 0;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	background: var(--navy);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem var(--gutter);
	max-width: var(--max-width);
	margin-inline: auto;
}

.site-branding a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--white);
}

.site-branding a:hover {
	color: var(--gold);
}

.site-logo {
	height: 40px;
	width: auto;
}

.site-title-text {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--white);
	text-transform: uppercase;
}

.site-title-text span {
	color: var(--gold);
}

/* Primary Nav */
.primary-nav {
	display: none;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.primary-nav a {
	display: block;
	padding: 0.5rem 0.875rem;
	color: rgba(255,255,255,0.85);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: 4px;
	transition: background 0.2s, color 0.2s;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	background: rgba(255,255,255,0.1);
	color: var(--gold);
}

/* Dropdown */
.primary-nav .menu-item-has-children {
	position: relative;
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--navy-dark);
	min-width: 200px;
	border-top: 2px solid var(--gold);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
	z-index: 100;
}

.primary-nav .menu-item-has-children:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-nav .sub-menu a {
	padding: 0.625rem 1rem;
	border-radius: 0;
	text-transform: none;
	font-size: 0.875rem;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.primary-nav .sub-menu li:last-child a {
	border-bottom: none;
}

/* Hamburger */
.nav-toggle {
	background: none;
	border: 2px solid rgba(255,255,255,0.4);
	border-radius: 4px;
	padding: 0.375rem 0.5rem;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--white);
	transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
	background: var(--navy-dark);
	display: none;
	border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav.is-open {
	display: block;
}

.mobile-nav ul {
	max-width: var(--max-width);
	margin-inline: auto;
	padding: 0.5rem var(--gutter) 1rem;
}

.mobile-nav a {
	display: block;
	padding: 0.75rem 0;
	color: rgba(255,255,255,0.85);
	font-weight: 500;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav a:hover {
	color: var(--gold);
}

.mobile-nav .sub-menu {
	padding-left: 1rem;
}

.mobile-nav .sub-menu a {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.65);
}

/* Category bar */
.category-bar {
	background: var(--gold);
	padding: 0.375rem 0;
}

.category-bar .container {
	display: flex;
	align-items: center;
	gap: 1rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.category-bar .container::-webkit-scrollbar {
	display: none;
}

.category-bar-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--navy);
	white-space: nowrap;
	flex-shrink: 0;
}

.category-bar a {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--navy);
	white-space: nowrap;
	padding: 0.125rem 0.5rem;
	border-radius: 3px;
	transition: background 0.2s;
}

.category-bar a:hover {
	background: rgba(0,0,0,0.12);
}

@media (min-width: 1024px) {
	.primary-nav { display: block; }
	.nav-toggle { display: none; }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
	background: var(--navy);
	padding: 2rem 0;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

.hero-main {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	min-height: 380px;
}

.hero-main a {
	display: block;
	height: 100%;
	color: inherit;
}

.hero-main a:hover .hero-title {
	color: var(--gold-light);
}

.hero-thumbnail {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.4) 60%, transparent 100%);
}

.hero-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem;
}

.hero-category {
	display: inline-block;
	background: var(--gold);
	color: var(--navy);
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.6rem;
	border-radius: 3px;
	margin-bottom: 0.75rem;
}

.hero-title {
	font-size: clamp(1.375rem, 3vw, 2rem);
	color: var(--white);
	margin-bottom: 0.75rem;
	line-height: 1.25;
	transition: color 0.2s;
}

.hero-excerpt {
	color: rgba(255,255,255,0.75);
	font-size: 0.95rem;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.875rem;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.55);
}

/* Hero sidebar posts */
.hero-sidebar {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hero-side-post {
	background: rgba(255,255,255,0.06);
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	gap: 0;
	flex-direction: column;
	transition: background 0.2s;
}

.hero-side-post:hover {
	background: rgba(255,255,255,0.1);
}

.hero-side-post a {
	display: flex;
	flex-direction: column;
	color: inherit;
	height: 100%;
}

.hero-side-thumb {
	width: 100%;
	height: 140px;
	object-fit: cover;
}

.hero-side-body {
	padding: 0.875rem;
	flex: 1;
}

.hero-side-cat {
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--gold);
	margin-bottom: 0.375rem;
}

.hero-side-title {
	font-size: 0.9rem;
	color: var(--white);
	line-height: 1.3;
	font-weight: 600;
}

.hero-side-post:hover .hero-side-title {
	color: var(--gold-light);
}

@media (min-width: 768px) {
	.hero-inner {
		grid-template-columns: 1fr 1fr;
	}
	.hero-main {
		min-height: 460px;
	}
	.hero-sidebar {
		flex-direction: row;
	}
	.hero-side-post {
		flex: 1;
	}
}

@media (min-width: 1024px) {
	.hero-inner {
		grid-template-columns: 2fr 1fr;
	}
	.hero-sidebar {
		flex-direction: column;
	}
	.hero-main {
		min-height: 520px;
	}
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--light-grey);
}

.section-title {
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--navy);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.section-title::before {
	content: '';
	display: block;
	width: 4px;
	height: 1.1em;
	background: var(--gold);
	border-radius: 2px;
}

.section-link {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.section-link:hover {
	color: var(--navy);
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */
.content-sections {
	padding: 2.5rem 0;
	background: var(--off-white);
}

.content-section {
	margin-bottom: 2.5rem;
}

.content-section:last-child {
	margin-bottom: 0;
}

/* =========================================================
   POST CARDS
   ========================================================= */
.post-card {
	background: var(--white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.post-card a {
	color: inherit;
}

.post-card-image {
	overflow: hidden;
	aspect-ratio: 16/9;
}

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

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

.post-card-image-placeholder {
	width: 100%;
	height: 100%;
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, var(--navy) 0%, #2a3f6e 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-card-image-placeholder span {
	font-size: 2rem;
	color: rgba(255,255,255,0.2);
}

.post-card-body {
	padding: 1rem 1.125rem 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-card-category {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gold);
	margin-bottom: 0.5rem;
}

.post-card-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--navy);
	margin-bottom: 0.5rem;
	flex: 1;
	transition: color 0.2s;
}

.post-card:hover .post-card-title {
	color: var(--gold);
}

.post-card-excerpt {
	font-size: 0.875rem;
	color: var(--mid-grey);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0.875rem;
}

.post-card-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: #9b9b9b;
	margin-top: auto;
}

.post-card-meta .author-name {
	font-weight: 600;
	color: var(--charcoal);
}

/* =========================================================
   LATEST POSTS SECTION
   ========================================================= */
.latest-posts-section {
	padding: 2.5rem 0;
	background: var(--white);
}

/* =========================================================
   MAIN LAYOUT (with sidebar)
   ========================================================= */
.site-main {
	padding: 2rem 0;
	background: var(--off-white);
}

.content-area {
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.content-area {
		grid-template-columns: 1fr 300px;
	}
}

/* =========================================================
   SINGLE POST
   ========================================================= */
.single-post-wrapper {
	background: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.single-hero-image {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
}

.single-post-body {
	padding: 2rem;
}

.single-post-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--light-grey);
}

.single-category-label {
	display: inline-block;
	background: var(--gold);
	color: var(--navy);
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.625rem;
	border-radius: 3px;
	margin-bottom: 1rem;
}

.single-post-title {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: 1rem;
}

.single-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	font-size: 0.85rem;
	color: var(--mid-grey);
}

.single-post-meta a {
	color: var(--charcoal);
	font-weight: 600;
}

.single-post-meta a:hover {
	color: var(--gold);
}

.meta-sep {
	color: var(--light-grey);
}

.entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--charcoal);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

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

.entry-content img {
	border-radius: 6px;
	margin: 1.5rem 0;
}

/* Share buttons */
.share-buttons {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--light-grey);
}

.share-buttons-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mid-grey);
	margin-bottom: 0.75rem;
}

.share-buttons-list {
	display: flex;
	gap: 0.625rem;
	flex-wrap: wrap;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: opacity 0.2s;
}

.share-btn:hover {
	opacity: 0.85;
}

.share-btn-twitter {
	background: #000;
	color: #fff;
}

.share-btn-linkedin {
	background: #0077b5;
	color: #fff;
}

.share-btn-facebook {
	background: #1877f2;
	color: #fff;
}

/* Related Posts */
.related-posts {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 2px solid var(--light-grey);
}

.related-posts .section-title {
	margin-bottom: 1.25rem;
}

/* Comments */
.comments-area {
	background: var(--white);
	border-radius: 8px;
	padding: 2rem;
	margin-top: 1.5rem;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* =========================================================
   ARCHIVE PAGE
   ========================================================= */
.archive-header {
	background: var(--navy);
	padding: 2.5rem 0;
	margin-bottom: 0;
}

.archive-title {
	color: var(--white);
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.archive-description {
	color: rgba(255,255,255,0.65);
	margin-top: 0.5rem;
	font-size: 1rem;
	max-width: 600px;
}

.archive-content {
	padding: 2rem 0;
}

.posts-pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.posts-pagination .nav-links {
	display: flex;
	gap: 0.375rem;
	flex-wrap: wrap;
}

.posts-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	background: var(--white);
	border: 1px solid var(--light-grey);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--charcoal);
	transition: all 0.2s;
}

.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}

/* =========================================================
   STATIC PAGE
   ========================================================= */
.page-content-wrapper {
	background: var(--white);
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.page-title-section {
	background: var(--navy);
	padding: 2.5rem 0;
}

.page-title {
	color: var(--white);
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar {
	position: sticky;
	top: 80px;
}

.widget {
	background: var(--white);
	border-radius: 6px;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.widget-title {
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--navy);
	margin-bottom: 1rem;
	padding-bottom: 0.625rem;
	border-bottom: 2px solid var(--gold);
}

.widget ul li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--light-grey);
	font-size: 0.9rem;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--charcoal);
	font-weight: 500;
}

.widget ul li a:hover {
	color: var(--gold);
}

.widget_search .search-form {
	display: flex;
	gap: 0.5rem;
}

.widget_search .search-field {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--light-grey);
	border-radius: 4px;
	font-size: 0.875rem;
	color: var(--charcoal);
}

.widget_search .search-submit {
	padding: 0.5rem 0.875rem;
	background: var(--navy);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.2s;
}

.widget_search .search-submit:hover {
	background: var(--gold);
	color: var(--navy);
}

/* =========================================================
   SEARCH FORM
   ========================================================= */
.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field {
	flex: 1;
	padding: 0.625rem 0.875rem;
	border: 2px solid var(--light-grey);
	border-radius: 4px;
	font-size: 0.9rem;
	transition: border-color 0.2s;
}

.search-field:focus {
	outline: none;
	border-color: var(--navy);
}

.search-submit {
	padding: 0.625rem 1.25rem;
	background: var(--navy);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.search-submit:hover {
	background: var(--gold);
	color: var(--navy);
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-404 {
	text-align: center;
	padding: 4rem 0;
}

.error-404 .error-code {
	font-size: 6rem;
	font-weight: 900;
	color: var(--gold);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.error-404 h2 {
	color: var(--navy);
	margin-bottom: 1rem;
}

.error-404 p {
	color: var(--mid-grey);
	margin-bottom: 2rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	background: var(--navy-dark);
	color: rgba(255,255,255,0.7);
}

.footer-widgets {
	padding: 3rem 0 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-widgets-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 640px) {
	.footer-widgets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.footer-widgets-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-widget-title {
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--white);
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-widget ul li {
	padding: 0.375rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-widget ul li:last-child {
	border-bottom: none;
}

.footer-widget a {
	color: rgba(255,255,255,0.6);
	font-size: 0.875rem;
	transition: color 0.2s;
}

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

.footer-bottom {
	padding: 1.25rem 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.footer-copyright {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.45);
}

.footer-copyright a {
	color: var(--gold);
}

.footer-bottom-links {
	display: flex;
	gap: 1rem;
}

.footer-bottom-links a {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.45);
}

.footer-bottom-links a:hover {
	color: var(--gold);
}

/* =========================================================
   NO RESULTS
   ========================================================= */
.no-results {
	background: var(--white);
	border-radius: 8px;
	padding: 3rem 2rem;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-block;
	padding: 0.625rem 1.5rem;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: all 0.2s;
	cursor: pointer;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--gold);
	color: var(--navy);
}

.btn-primary:hover {
	background: var(--gold-light);
	color: var(--navy);
}

.btn-outline {
	background: transparent;
	border-color: var(--navy);
	color: var(--navy);
}

.btn-outline:hover {
	background: var(--navy);
	color: var(--white);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
*:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
	.site-header,
	.site-footer,
	.sidebar,
	.share-buttons,
	.related-posts,
	.comments-area {
		display: none;
	}
}
