/*
Theme Name: Fly Miles Club
Theme URI: https://joinmilesclub.com
Author: Fly Miles Club
Author URI: https://joinmilesclub.com
Description: Custom corporate theme for Fly Miles Club — navy, white and restrained gold; Playfair Display headlines with Inter body text. Built for beginner-friendly miles & points guides, deals and tools.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
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: flymilesclub
Tags: custom-menu, featured-images, translation-ready, blog, education
*/

/* ============================================================
   1. Design tokens
   ============================================================ */
:root {
	--fmc-navy: #1C2440;
	--fmc-navy-deep: #141A30;
	--fmc-navy-soft: #2A3358;
	--fmc-white: #FFFFFF;
	--fmc-offwhite: #F7F8FA;
	--fmc-gold: #C9A227;
	--fmc-gold-ink: #8A6D1F; /* small gold text on white — contrast >= 4.5:1 */
	--fmc-text: #1E293B;
	--fmc-text-2: #475569;
	--fmc-border: #E2E8F0;
	--fmc-border-strong: #CBD5E1;

	--fmc-font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--fmc-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--fmc-radius: 4px;
	--fmc-radius-lg: 6px;
	--fmc-shadow-sm: 0 1px 2px rgba(28, 36, 64, 0.06), 0 1px 3px rgba(28, 36, 64, 0.08);
	--fmc-shadow-md: 0 6px 16px rgba(28, 36, 64, 0.10), 0 2px 6px rgba(28, 36, 64, 0.08);
	--fmc-shadow-lg: 0 16px 40px rgba(28, 36, 64, 0.16), 0 4px 12px rgba(28, 36, 64, 0.10);

	--fmc-container: 1200px;
	--fmc-container-narrow: 780px;
	--fmc-transition: 0.25s ease;
}

/* ============================================================
   2. Base
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--fmc-white);
	color: var(--fmc-text);
	font-family: var(--fmc-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--fmc-gold-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--fmc-transition);
}

a:hover,
a:focus {
	color: var(--fmc-navy);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fmc-font-head);
	color: var(--fmc-navy);
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p {
	margin: 0 0 1.1em;
}

::selection {
	background: var(--fmc-gold);
	color: var(--fmc-navy-deep);
}

:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: 2px;
}

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fmc-navy);
	color: var(--fmc-white);
	padding: 10px 18px;
	z-index: 999;
	font-weight: 600;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	color: var(--fmc-white);
}

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

/* ============================================================
   3. Layout helpers
   ============================================================ */
.fmc-container {
	max-width: var(--fmc-container);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.fmc-container--narrow {
	max-width: var(--fmc-container-narrow);
}

.fmc-section {
	padding: 72px 0;
}

.fmc-section--tint {
	background: var(--fmc-offwhite);
}

.fmc-section--navy {
	background: var(--fmc-navy);
	color: var(--fmc-white);
}

.fmc-section--navy h2,
.fmc-section--navy h3 {
	color: var(--fmc-white);
}

.fmc-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fmc-gold-ink);
	margin-bottom: 14px;
}

.fmc-section--navy .fmc-eyebrow,
.fmc-hero .fmc-eyebrow {
	color: var(--fmc-gold);
}

.fmc-section-head {
	max-width: 720px;
	margin-bottom: 40px;
}

.fmc-section-head p {
	color: var(--fmc-text-2);
	font-size: 1.05rem;
}

.fmc-section--navy .fmc-section-head p {
	color: #D7DCEA;
}

.fmc-rule {
	width: 56px;
	height: 3px;
	background: var(--fmc-gold);
	border: 0;
	margin: 18px 0 0;
}

/* ============================================================
   4. Buttons
   ============================================================ */
.fmc-btn {
	display: inline-block;
	padding: 13px 28px;
	border-radius: var(--fmc-radius);
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1.3;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color var(--fmc-transition), color var(--fmc-transition), border-color var(--fmc-transition), transform var(--fmc-transition), box-shadow var(--fmc-transition);
}

.fmc-btn:hover,
.fmc-btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

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

.fmc-btn--gold:hover,
.fmc-btn--gold:focus {
	background: #D9B23A;
	color: var(--fmc-navy-deep);
	box-shadow: var(--fmc-shadow-md);
}

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

.fmc-btn--navy:hover,
.fmc-btn--navy:focus {
	background: var(--fmc-navy-soft);
	color: var(--fmc-white);
	box-shadow: var(--fmc-shadow-md);
}

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

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

.fmc-btn--outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--fmc-white);
}

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

.fmc-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ============================================================
   5. Header & navigation
   ============================================================ */
.fmc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--fmc-white);
	border-bottom: 1px solid var(--fmc-border);
	transition: box-shadow var(--fmc-transition);
}

.fmc-header.is-scrolled {
	box-shadow: var(--fmc-shadow-md);
}

.fmc-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
}

.fmc-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.fmc-branding:hover {
	text-decoration: none;
}

.fmc-branding img {
	max-height: 52px;
	width: auto;
}

.fmc-site-title {
	font-family: var(--fmc-font-head);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--fmc-navy);
	letter-spacing: 0.01em;
	line-height: 1.1;
}

.fmc-site-title .fmc-title-accent {
	color: var(--fmc-gold-ink);
}

.fmc-site-tagline {
	display: block;
	font-family: var(--fmc-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fmc-text-2);
	margin-top: 2px;
}

.fmc-nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fmc-nav a {
	display: block;
	padding: 10px 14px;
	color: var(--fmc-navy);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color var(--fmc-transition), border-color var(--fmc-transition);
}

.fmc-nav a:hover,
.fmc-nav a:focus,
.fmc-nav .current-menu-item > a,
.fmc-nav .current_page_item > a {
	color: var(--fmc-gold-ink);
	border-bottom-color: var(--fmc-gold);
	text-decoration: none;
}

/* Mobile menu toggle */
.fmc-menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--fmc-border-strong);
	border-radius: var(--fmc-radius);
	padding: 10px 12px;
	cursor: pointer;
	color: var(--fmc-navy);
}

.fmc-menu-toggle .fmc-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	margin: 5px 0;
	transition: transform var(--fmc-transition), opacity var(--fmc-transition);
}

.fmc-menu-toggle[aria-expanded="true"] .fmc-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

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

.fmc-menu-toggle[aria-expanded="true"] .fmc-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   6. Hero (front page)
   ============================================================ */
.fmc-hero {
	background: linear-gradient(135deg, var(--fmc-navy) 0%, var(--fmc-navy-deep) 70%);
	color: var(--fmc-white);
	padding: 96px 0 88px;
	position: relative;
	overflow: hidden;
}

.fmc-hero::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 460px;
	height: 460px;
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: 50%;
	pointer-events: none;
}

.fmc-hero::before {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 300px;
	height: 300px;
	border: 1px solid rgba(201, 162, 39, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.fmc-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.fmc-hero h1 {
	color: var(--fmc-white);
	font-size: 3.4rem;
	line-height: 1.12;
	margin-bottom: 20px;
}

.fmc-hero h1 .fmc-hero-accent {
	color: var(--fmc-gold);
	font-style: italic;
}

.fmc-hero-lead {
	font-size: 1.18rem;
	line-height: 1.65;
	color: #D7DCEA;
	margin-bottom: 32px;
	max-width: 620px;
}

.fmc-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 36px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fmc-hero-stat .fmc-stat-num {
	display: block;
	font-family: var(--fmc-font-head);
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--fmc-gold);
	line-height: 1.1;
}

.fmc-hero-stat .fmc-stat-label {
	display: block;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #B9C1D6;
	margin-top: 4px;
}

/* ============================================================
   7. Cards (guides, deals, posts)
   ============================================================ */
.fmc-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.fmc-card-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.fmc-card {
	background: var(--fmc-white);
	border: 1px solid var(--fmc-border);
	border-top: 3px solid var(--fmc-gold);
	border-radius: var(--fmc-radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--fmc-shadow-sm);
	transition: transform var(--fmc-transition), box-shadow var(--fmc-transition);
}

.fmc-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--fmc-shadow-lg);
}

.fmc-card-media {
	margin: -28px -28px 20px;
	border-radius: var(--fmc-radius-lg) var(--fmc-radius-lg) 0 0;
	overflow: hidden;
}

.fmc-card-media img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.fmc-card:hover .fmc-card-media img {
	transform: scale(1.04);
}

.fmc-card-cat {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fmc-gold-ink);
	margin-bottom: 10px;
}

.fmc-card h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.fmc-card h3 a {
	color: var(--fmc-navy);
	text-decoration: none;
}

.fmc-card h3 a:hover,
.fmc-card h3 a:focus {
	color: var(--fmc-gold-ink);
	text-decoration: none;
}

.fmc-card-excerpt {
	color: var(--fmc-text-2);
	font-size: 0.96rem;
	flex-grow: 1;
}

.fmc-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--fmc-border);
	font-size: 0.84rem;
	color: var(--fmc-text-2);
}

.fmc-card-link {
	font-weight: 700;
	color: var(--fmc-navy);
	text-decoration: none;
	white-space: nowrap;
}

.fmc-card-link:hover,
.fmc-card-link:focus {
	color: var(--fmc-gold-ink);
	text-decoration: none;
}

.fmc-card-link::after {
	content: " \2192";
	color: var(--fmc-gold-ink);
}

/* Deal rate cards (Rakuten block) */
.fmc-rate-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 28px 0;
}

.fmc-rate-card {
	border: 1px solid var(--fmc-border);
	border-left: 3px solid var(--fmc-gold);
	border-radius: var(--fmc-radius);
	background: var(--fmc-white);
	padding: 18px 20px;
	transition: box-shadow var(--fmc-transition), transform var(--fmc-transition);
}

.fmc-rate-card:hover {
	box-shadow: var(--fmc-shadow-md);
	transform: translateY(-2px);
}

.fmc-rate-store {
	display: block;
	font-weight: 700;
	color: var(--fmc-navy);
	font-size: 1rem;
}

.fmc-rate-value {
	display: block;
	font-family: var(--fmc-font-head);
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--fmc-gold-ink);
	line-height: 1.15;
	margin-top: 2px;
}

.fmc-rate-note {
	display: block;
	font-size: 0.84rem;
	color: var(--fmc-text-2);
	margin-top: 4px;
}

.fmc-checked-line {
	font-size: 0.88rem;
	color: var(--fmc-text-2);
	font-style: italic;
}

/* ============================================================
   8. Tip callout ([fmc_tip] shortcode)
   ============================================================ */
.fmc-tip {
	background: #FBF7E8;
	border: 1px solid #EADFAE;
	border-left: 4px solid var(--fmc-gold);
	border-radius: var(--fmc-radius);
	padding: 20px 24px;
	margin: 28px 0;
}

.fmc-tip-title {
	display: block;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fmc-gold-ink);
	margin-bottom: 8px;
}

.fmc-tip p:last-child {
	margin-bottom: 0;
}

/* ============================================================
   9. Article / page content typography
   ============================================================ */
.fmc-page-head {
	background: var(--fmc-offwhite);
	border-bottom: 1px solid var(--fmc-border);
	padding: 56px 0 44px;
}

.fmc-page-head h1 {
	margin-bottom: 8px;
}

.fmc-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.88rem;
	color: var(--fmc-text-2);
	margin-top: 10px;
}

.fmc-post-meta a {
	color: var(--fmc-gold-ink);
	font-weight: 600;
}

.fmc-content {
	padding: 48px 0 72px;
}

.fmc-entry-content > *:first-child {
	margin-top: 0;
}

.fmc-entry-content h2 {
	font-size: 1.75rem;
	margin-top: 1.6em;
	padding-bottom: 0.35em;
	border-bottom: 2px solid var(--fmc-gold);
	display: inline-block;
}

.fmc-entry-content h3 {
	font-size: 1.3rem;
	margin-top: 1.4em;
}

.fmc-entry-content ul,
.fmc-entry-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.fmc-entry-content li {
	margin-bottom: 0.45em;
}

.fmc-entry-content li > ul,
.fmc-entry-content li > ol {
	margin-top: 0.45em;
	margin-bottom: 0;
}

.fmc-entry-content blockquote {
	margin: 28px 0;
	padding: 20px 26px;
	background: var(--fmc-offwhite);
	border-left: 4px solid var(--fmc-navy);
	border-radius: var(--fmc-radius);
	font-size: 1.02rem;
	color: var(--fmc-text);
}

.fmc-entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.fmc-entry-content hr {
	border: 0;
	border-top: 1px solid var(--fmc-border);
	margin: 36px 0;
}

.fmc-entry-content strong {
	color: var(--fmc-navy);
}

.fmc-entry-content img {
	border-radius: var(--fmc-radius-lg);
	margin: 24px 0;
}

/* Tables */
.fmc-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 26px 0;
	font-size: 0.95rem;
	border: 1px solid var(--fmc-border);
}

.fmc-entry-content thead th {
	background: var(--fmc-navy);
	color: var(--fmc-white);
	font-weight: 700;
	text-align: left;
	padding: 12px 16px;
	border: 1px solid var(--fmc-navy);
}

.fmc-entry-content tbody td {
	padding: 11px 16px;
	border: 1px solid var(--fmc-border);
	vertical-align: top;
}

.fmc-entry-content tbody tr:nth-child(even) {
	background: var(--fmc-offwhite);
}

.fmc-entry-content tbody tr:hover {
	background: #F1F4F9;
}

.fmc-table-wrap {
	overflow-x: auto;
	margin: 26px 0;
}

.fmc-table-wrap table {
	margin: 0;
}

/* "Last checked" footer line inside guides */
.fmc-entry-content > p:last-child em {
	color: var(--fmc-text-2);
	font-size: 0.92rem;
}

/* Post navigation */
.fmc-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--fmc-border);
}

.fmc-post-nav a {
	display: block;
	padding: 20px 22px;
	border: 1px solid var(--fmc-border);
	border-radius: var(--fmc-radius-lg);
	text-decoration: none;
	color: var(--fmc-navy);
	font-weight: 600;
	transition: box-shadow var(--fmc-transition), transform var(--fmc-transition);
}

.fmc-post-nav a:hover,
.fmc-post-nav a:focus {
	box-shadow: var(--fmc-shadow-md);
	transform: translateY(-2px);
	text-decoration: none;
}

.fmc-post-nav .fmc-nav-label {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fmc-gold-ink);
	margin-bottom: 6px;
}

.fmc-post-nav .fmc-nav-next {
	text-align: right;
}

/* Related guides */
.fmc-related {
	margin-top: 64px;
}

.fmc-related h2 {
	font-size: 1.6rem;
	margin-bottom: 24px;
}

/* ============================================================
   10. CTA band (Join the Club)
   ============================================================ */
.fmc-cta-band {
	background: linear-gradient(135deg, var(--fmc-navy) 0%, var(--fmc-navy-deep) 100%);
	color: var(--fmc-white);
	border-radius: var(--fmc-radius-lg);
	padding: 56px 48px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.fmc-cta-band::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 72px;
	height: 4px;
	background: var(--fmc-gold);
}

.fmc-cta-band h2 {
	color: var(--fmc-white);
	font-size: 2.1rem;
}

.fmc-cta-band p {
	color: #D7DCEA;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.fmc-cta-band .fmc-btn-row {
	justify-content: center;
	margin-top: 28px;
}

/* ============================================================
   11. Footer
   ============================================================ */
.fmc-footer {
	background: var(--fmc-navy-deep);
	color: #C6CDDF;
	padding: 64px 0 0;
	margin-top: 0;
}

.fmc-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 44px;
	padding-bottom: 44px;
}

.fmc-footer h3 {
	color: var(--fmc-white);
	font-size: 1.05rem;
	font-family: var(--fmc-font-body);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.fmc-footer .fmc-site-title {
	color: var(--fmc-white);
}

.fmc-footer .fmc-site-title .fmc-title-accent {
	color: var(--fmc-gold);
}

.fmc-footer-about {
	font-size: 0.94rem;
	margin-top: 14px;
	max-width: 340px;
}

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

.fmc-footer li {
	margin-bottom: 9px;
}

.fmc-footer a {
	color: #C6CDDF;
	text-decoration: none;
	font-size: 0.94rem;
}

.fmc-footer a:hover,
.fmc-footer a:focus {
	color: var(--fmc-gold);
	text-decoration: none;
}

.fmc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 22px 0;
	font-size: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	align-items: center;
	justify-content: space-between;
}

.fmc-footer-bottom p {
	margin: 0;
}

.fmc-footer-disclosure {
	font-size: 0.8rem;
	color: #98A2BC;
	max-width: 760px;
}

/* ============================================================
   12. Search form & pagination & 404
   ============================================================ */
.fmc-search-form {
	display: flex;
	gap: 10px;
	max-width: 560px;
}

.fmc-search-form label {
	flex-grow: 1;
}

.fmc-search-form input[type="search"] {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--fmc-border-strong);
	border-radius: var(--fmc-radius);
	font: inherit;
	font-size: 0.98rem;
	color: var(--fmc-text);
	background: var(--fmc-white);
}

.fmc-search-form input[type="search"]:focus {
	border-color: var(--fmc-gold);
	outline: 2px solid rgba(201, 162, 39, 0.35);
	outline-offset: 1px;
}

.fmc-search-form button {
	padding: 12px 22px;
	background: var(--fmc-navy);
	color: var(--fmc-white);
	border: 1px solid var(--fmc-navy);
	border-radius: var(--fmc-radius);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--fmc-transition);
}

.fmc-search-form button:hover,
.fmc-search-form button:focus {
	background: var(--fmc-navy-soft);
}

.fmc-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 52px;
}

.fmc-pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	text-align: center;
	padding: 9px 14px;
	border: 1px solid var(--fmc-border-strong);
	border-radius: var(--fmc-radius);
	color: var(--fmc-navy);
	font-weight: 600;
	text-decoration: none;
	transition: background-color var(--fmc-transition), color var(--fmc-transition), border-color var(--fmc-transition);
}

.fmc-pagination .page-numbers:hover,
.fmc-pagination .page-numbers:focus {
	border-color: var(--fmc-navy);
	text-decoration: none;
}

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

.fmc-404 {
	text-align: center;
	padding: 96px 0;
}

.fmc-404 .fmc-404-code {
	font-family: var(--fmc-font-head);
	font-size: 5.5rem;
	font-weight: 800;
	color: var(--fmc-gold);
	line-height: 1;
	display: block;
	margin-bottom: 10px;
}

.fmc-404 .fmc-search-form {
	margin: 28px auto 0;
}

/* ============================================================
   13. Scroll-reveal animations
   ============================================================ */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.fmc-card,
	.fmc-btn,
	.fmc-rate-card,
	.fmc-card-media img {
		transition: none;
	}

	.fmc-card:hover,
	.fmc-btn:hover,
	.fmc-rate-card:hover {
		transform: none;
	}
}

/* ============================================================
   14. Responsive
   ============================================================ */
@media (max-width: 1020px) {
	.fmc-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fmc-rate-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fmc-hero h1 {
		font-size: 2.7rem;
	}
}

@media (max-width: 860px) {
	.fmc-menu-toggle {
		display: block;
	}

	.fmc-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--fmc-white);
		border-bottom: 1px solid var(--fmc-border);
		box-shadow: var(--fmc-shadow-md);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	.fmc-nav.is-open {
		max-height: 420px;
	}

	.fmc-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px 24px 18px;
	}

	.fmc-nav a {
		padding: 12px 6px;
		border-bottom: 1px solid var(--fmc-border);
	}

	.fmc-nav li:last-child a {
		border-bottom: 0;
	}

	.fmc-footer-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	h1 { font-size: 2rem; }
	h2 { font-size: 1.6rem; }

	.fmc-section {
		padding: 52px 0;
	}

	.fmc-hero {
		padding: 64px 0 56px;
	}

	.fmc-hero h1 {
		font-size: 2.15rem;
	}

	.fmc-hero-lead {
		font-size: 1.05rem;
	}

	.fmc-card-grid,
	.fmc-card-grid--2,
	.fmc-rate-grid {
		grid-template-columns: 1fr;
	}

	.fmc-post-nav {
		grid-template-columns: 1fr;
	}

	.fmc-post-nav .fmc-nav-next {
		text-align: left;
	}

	.fmc-cta-band {
		padding: 44px 24px;
	}

	.fmc-search-form {
		flex-direction: column;
	}

	.fmc-hero-stats {
		gap: 22px;
	}
}
