/*
Theme Name: FCG Kadence Child
Theme URI: https://fcg.ge/
Description: Georgian Cynological Federation custom design system for the Kadence theme.
Author: FCG
Template: kadence
Version: 1.0.12
Text Domain: fcg-kadence-child
*/

/* =========================================================
   FCG GLOBAL DESIGN TOKENS
   ========================================================= */
:root {
	--global-palette1: #7C9B55;
	--global-palette2: #5F7B3F;
	--global-palette3: #0B3046;
	--global-palette4: #223A47;
	--global-palette5: #516772;
	--global-palette6: #7F9098;
	--global-palette7: #E4EBE4;
	--global-palette8: #F5F7F3;
	--global-palette9: #FFFFFF;

	--global-palette-highlight: var(--global-palette1);
	--global-palette-highlight-alt: var(--global-palette2);
	--global-palette-highlight-alt2: var(--global-palette3);
	--global-palette-btn-bg: var(--global-palette1);
	--global-palette-btn-bg-hover: var(--global-palette2);
	--global-palette-btn: #FFFFFF;
	--global-palette-btn-hover: #FFFFFF;

	--global-content-width: 1280px;
	--global-content-edge-padding: 24px;

	--fcg-navy: #0B3046;
	--fcg-navy-2: #16465A;
	--fcg-green: #7C9B55;
	--fcg-green-dark: #5F7B3F;
	--fcg-gold: #C7A75B;
	--fcg-bg: #F5F7F3;
	--fcg-border: #E4EBE4;
	--fcg-text: #223A47;
	--fcg-muted: #6E7E86;
	--fcg-white: #FFFFFF;
	--fcg-radius: 14px;
	--fcg-shadow: 0 16px 38px rgba(11, 48, 70, 0.12);
}

/* =========================================================
   BASE TYPOGRAPHY AND LAYOUT
   ========================================================= */
html {
	scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
	font-family: "Noto Sans Georgian", "Noto Sans", Arial, sans-serif;
}

body {
	color: var(--fcg-text);
	background: var(--fcg-bg);
	font-size: 17px;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--fcg-navy);
	font-family: "Noto Sans Georgian", "Noto Sans", Arial, sans-serif;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

a {
	color: var(--fcg-green-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

.site-container,
.content-container {
	max-width: 1280px;
}

/* Remove the default page-title banner from the static homepage. */
.home .entry-header,
.home .entry-hero,
.home .page-title {
	display: none !important;
}

.home .content-area,
.home .site-main,
.home .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.home .entry-content-wrap {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
#masthead,
.site-header {
	position: relative;
	z-index: 50;
}

.site-main-header-wrap,
.site-header-row-container-inner {
	background: rgba(255, 255, 255, 0.98);
}

.site-main-header-wrap {
	border-bottom: 1px solid rgba(11, 48, 70, 0.09);
	box-shadow: 0 8px 28px rgba(11, 48, 70, 0.07);
}

.site-branding .site-title,
.site-branding .site-title a {
	color: var(--fcg-navy);
	font-weight: 800;
	line-height: 1.15;
	text-decoration: none;
}

.site-branding .site-description {
	color: var(--fcg-muted);
}

.main-navigation .primary-menu-container > ul > li.menu-item > a,
.mobile-navigation ul li a {
	color: var(--fcg-text);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a {
	color: var(--fcg-green-dark);
}

.menu-toggle-open,
.menu-toggle-close {
	color: var(--fcg-navy);
}

/* =========================================================
   BUTTONS
   ========================================================= */
button,
.button,
.wp-element-button,
.wp-block-button__link,
.kb-button,
.kt-button {
	border: 0;
	border-radius: 8px;
	background: var(--fcg-green);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.9rem 1.35rem;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(95, 123, 63, 0.22);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

button:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.kb-button:hover,
.kt-button:hover {
	background: var(--fcg-green-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(95, 123, 63, 0.28);
}

.fcg-button--outline,
.fcg-button--outline .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255,255,255,.7);
	color: #fff;
	box-shadow: none;
}

.fcg-button--outline:hover,
.fcg-button--outline .wp-block-button__link:hover {
	background: #fff;
	color: var(--fcg-navy);
}

/* =========================================================
   REUSABLE FCG SECTIONS AND CARDS
   ========================================================= */
.fcg-section {
	padding: clamp(3.5rem, 7vw, 6.5rem) 24px;
}

.fcg-section--light {
	background: var(--fcg-bg);
}

.fcg-section--white {
	background: var(--fcg-white);
}

.fcg-section--navy {
	background:
		linear-gradient(135deg, rgba(11,48,70,.98), rgba(22,70,90,.95));
	color: #fff;
}

.fcg-section--navy h1,
.fcg-section--navy h2,
.fcg-section--navy h3,
.fcg-section--navy p {
	color: #fff;
}

.fcg-container {
	width: min(100%, 1280px);
	margin-inline: auto;
}

.fcg-eyebrow {
	display: inline-block;
	margin-bottom: .75rem;
	color: var(--fcg-green-dark);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.fcg-card {
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(11, 48, 70, 0.08);
	border-radius: var(--fcg-radius);
	box-shadow: 0 10px 30px rgba(11, 48, 70, 0.08);
	transition: transform .22s ease, box-shadow .22s ease;
}

.fcg-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--fcg-shadow);
}

.fcg-card__body {
	padding: 1.35rem;
}

.fcg-card__meta {
	color: var(--fcg-green-dark);
	font-size: .84rem;
	font-weight: 700;
}

/* =========================================================
   HERO
   ========================================================= */
.fcg-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	min-height: clamp(600px, 76vh, 780px);
	overflow: hidden;
	background:
		linear-gradient(90deg,
			rgba(7, 37, 55, .98) 0%,
			rgba(11, 48, 70, .93) 38%,
			rgba(11, 48, 70, .48) 67%,
			rgba(11, 48, 70, .10) 100%),
		url("https://new.fcg.ge/wp-content/uploads/2026/08/fcg-home-hero.png"),
		linear-gradient(135deg, var(--fcg-navy), var(--fcg-navy-2));
	background-position: center;
	background-size: cover;
	color: #fff;
}

.fcg-hero::after {
	content: "";
	position: absolute;
	inset: auto -8% -35% auto;
	z-index: -1;
	width: 520px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(124,155,85,.35), transparent 68%);
	filter: blur(10px);
}

.fcg-hero__inner {
	width: min(100%, 1280px);
	margin-inline: auto;
	padding: clamp(5.5rem, 10vw, 9rem) 24px clamp(7.5rem, 13vw, 11rem);
}

.fcg-hero__content {
	max-width: 690px;
}

.fcg-hero h1 {
	margin: 0 0 1.25rem;
	color: #fff;
	font-size: clamp(2.5rem, 5.5vw, 4.35rem);
	line-height: 1.08;
	text-shadow: 0 3px 24px rgba(0,0,0,.2);
}

.fcg-hero p {
	max-width: 610px;
	margin: 0 0 2rem;
	color: rgba(255,255,255,.9);
	font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.fcg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
}

/* Floating events panel that overlaps the hero. */
.fcg-events-panel {
	position: relative;
	z-index: 5;
	width: min(calc(100% - 48px), 1180px);
	margin: clamp(-100px, -8vw, -70px) auto 0;
	padding: 1.25rem;
	background: rgba(255,255,255,.98);
	border: 1px solid rgba(11,48,70,.08);
	border-radius: 16px;
	box-shadow: var(--fcg-shadow);
}

.fcg-events-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.fcg-event {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: center;
	padding: 1rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--fcg-border);
}

.fcg-event__date {
	display: grid;
	place-items: center;
	min-width: 64px;
	padding: .7rem .5rem;
	border-radius: 10px;
	background: var(--fcg-bg);
	color: var(--fcg-navy);
	font-weight: 800;
	line-height: 1.1;
}

.fcg-event__date strong {
	font-size: 1.55rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer,
.site-top-footer-wrap,
.site-middle-footer-wrap,
.site-bottom-footer-wrap,
.site-footer-row-container-inner {
	background: var(--fcg-navy);
	color: rgba(255,255,255,.82);
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget-title {
	color: #fff;
}

.site-footer a {
	color: rgba(255,255,255,.78);
}

.site-footer a:hover {
	color: #fff;
}

.site-bottom-footer-wrap {
	border-top: 1px solid rgba(255,255,255,.12);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	.fcg-events-grid {
		grid-template-columns: 1fr;
	}
	.fcg-hero {
		min-height: 650px;
		background-position: 65% center;
	}
}

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

	.fcg-section {
		padding-inline: 18px;
	}

	.fcg-hero {
		min-height: 610px;
		background:
			linear-gradient(180deg,
				rgba(7,37,55,.68) 0%,
				rgba(7,37,55,.86) 48%,
				rgba(7,37,55,.98) 100%),
			url("https://new.fcg.ge/wp-content/uploads/2026/08/fcg-home-hero.png"),
			linear-gradient(135deg, var(--fcg-navy), var(--fcg-navy-2));
		background-position: 62% center;
	}

	.fcg-hero__inner {
		display: flex;
		align-items: flex-end;
		min-height: 610px;
		padding: 5rem 18px 7.5rem;
	}

	.fcg-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.fcg-hero__actions .wp-block-button,
	.fcg-hero__actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.fcg-events-panel {
		width: calc(100% - 28px);
		margin-top: -68px;
		padding: .85rem;
	}

	.fcg-event {
		grid-template-columns: 58px 1fr;
		padding: .8rem;
	}
}


/* =========================================================
   FCG HOMEPAGE SECTIONS
   ========================================================= */
.fcg-events-head,.fcg-section-heading,.fcg-intro-grid,.fcg-cta-inner{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem}
.fcg-events-head{padding:.4rem .35rem 1.1rem}
.fcg-events-head h2,.fcg-section-heading h2{margin:0;font-size:clamp(1.6rem,3vw,2.35rem)}
.fcg-events-head .fcg-eyebrow,.fcg-section-heading .fcg-eyebrow{margin-bottom:.3rem}
.fcg-events-head>a,.fcg-text-link{font-weight:750;text-decoration:none;color:var(--fcg-green-dark)}
.fcg-home-section{padding:clamp(4.5rem,8vw,7rem) 24px}
.fcg-home-intro{background:#fff}
.fcg-intro-grid{align-items:start;grid-template-columns:1fr 1fr}
.fcg-intro-grid>div{flex:1}
.fcg-intro-grid h2{max-width:650px;margin:.25rem 0 0}
.fcg-intro-grid p{margin:0 0 1.25rem;color:var(--fcg-muted);font-size:1.08rem}
.fcg-home-services{background:var(--fcg-bg)}
.fcg-section-heading{align-items:end;margin-bottom:2.25rem}
.fcg-section-heading>p{max-width:440px;margin:0;color:var(--fcg-muted)}
.fcg-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem}
.fcg-service-card{position:relative;display:flex;flex-direction:column;min-height:285px;padding:1.6rem;border:1px solid rgba(11,48,70,.09);border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(11,48,70,.07);text-decoration:none;transition:.25s ease}
.fcg-service-card:hover{transform:translateY(-7px);box-shadow:var(--fcg-shadow);background:var(--fcg-navy)}
.fcg-service-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:2rem;border-radius:12px;background:var(--fcg-bg);color:var(--fcg-green-dark);font-weight:850;font-size:.85rem}
.fcg-service-card h3{margin:0 0 .75rem}
.fcg-service-card p{margin:0 0 1.4rem;color:var(--fcg-muted);font-size:.94rem;line-height:1.62}
.fcg-service-card>span:last-child{margin-top:auto;color:var(--fcg-green-dark);font-weight:750;font-size:.9rem}
.fcg-service-card:hover h3,.fcg-service-card:hover p,.fcg-service-card:hover>span:last-child{color:#fff}
.fcg-home-cta{background:linear-gradient(135deg,#082c41,#16465a);color:#fff}
.fcg-home-cta h2{margin:.2rem 0 .8rem;color:#fff}
.fcg-home-cta p{max-width:720px;margin:0;color:rgba(255,255,255,.78)}
.fcg-home-cta .fcg-eyebrow{color:#a7c77d}
.fcg-cta-inner{align-items:center}
.fcg-cta-button{flex:none;padding:1rem 1.4rem;border-radius:9px;background:var(--fcg-green);color:#fff;text-decoration:none;font-weight:800;box-shadow:0 10px 25px rgba(0,0,0,.18)}
.fcg-cta-button:hover{background:#fff;color:var(--fcg-navy)}
@media(max-width:1024px){.fcg-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fcg-intro-grid{display:grid}}
@media(max-width:767px){.fcg-home-section{padding:4rem 18px}.fcg-events-head,.fcg-section-heading,.fcg-intro-grid,.fcg-cta-inner{display:block}.fcg-events-head>a{display:inline-block;margin-top:.5rem}.fcg-section-heading>p{margin-top:1rem}.fcg-service-grid{grid-template-columns:1fr}.fcg-service-card{min-height:240px}.fcg-cta-button{display:inline-block;margin-top:1.5rem}.fcg-events-panel h2{font-size:1.45rem}}


/* =========================================================
   FCG DARK HEADER
   ========================================================= */
.site-main-header-wrap,.site-header-row-container-inner{background:rgba(8,38,56,.98)!important}
.site-main-header-wrap{border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 10px 30px rgba(4,24,36,.22)}
.site-branding .site-title,.site-branding .site-title a,.site-branding .site-description{color:#fff!important}
.main-navigation .primary-menu-container>ul>li.menu-item>a,.mobile-navigation ul li a{color:rgba(255,255,255,.86)!important}
.main-navigation .primary-menu-container>ul>li.menu-item>a:hover,.main-navigation .primary-menu-container>ul>li.current-menu-item>a,.main-navigation .primary-menu-container>ul>li.current-menu-ancestor>a{color:#a7c77d!important}
.main-navigation .sub-menu{background:#0b3046;border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 38px rgba(0,0,0,.28)}
.main-navigation .sub-menu a{color:rgba(255,255,255,.86)!important}
.main-navigation .sub-menu a:hover{background:rgba(255,255,255,.06);color:#a7c77d!important}
.menu-toggle-open,.menu-toggle-close,.menu-toggle-open .menu-toggle-icon,.menu-toggle-close .menu-toggle-icon{color:#fff!important}
.popup-drawer .drawer-inner{background:#082c41!important;color:#fff}
.site-header .site-logo-img img{filter:brightness(0) invert(1)}
@media(max-width:1024px){.site-header-row-container-inner{background:#082c41!important}.mobile-navigation ul li{border-bottom-color:rgba(255,255,255,.09)!important}}


/* Page titles are intentionally handled inside each page design. */
.page .entry-hero.page-hero-section{display:none!important}

/* FCG judge directory refinements. */
.page-id-107 .content-bg,.page-id-831 .content-bg{background:transparent;box-shadow:none}
.page-id-107 .entry-content-wrap,.page-id-831 .entry-content-wrap{padding-top:2.5rem;padding-bottom:4.5rem}
.fcgdm-directory{max-width:1240px;margin:0 auto}
.fcgdm-intro{position:relative;overflow:hidden;padding:3.5rem 3.75rem;border-radius:28px;background:linear-gradient(125deg,#082c41 0%,#123f50 68%,#566f3b 145%);color:#fff;box-shadow:0 24px 55px rgba(8,44,65,.16)}
.fcgdm-intro:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-70px;top:-110px;box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.025)}
.fcgdm-intro>span{position:relative;z-index:1;color:#a7c77d!important;letter-spacing:.14em;font-size:.75rem;font-weight:800;text-transform:uppercase}
.fcgdm-intro h1{position:relative;z-index:1;color:#fff!important;margin:.65rem 0 .5rem;font-size:clamp(2.1rem,4vw,3.45rem);line-height:1.05}
.fcgdm-intro p{position:relative;z-index:1;margin:0;color:rgba(255,255,255,.78);font-size:1.05rem}
.fcgdm-toolbar{margin:-1.3rem 2rem 2.2rem;position:relative;z-index:2;padding:1rem;border:1px solid rgba(8,44,65,.08);border-radius:18px;background:#fff;box-shadow:0 16px 38px rgba(8,44,65,.12)}
.fcgdm-search,.fcgdm-filter{min-height:50px;border:1px solid #d8e0dc!important;border-radius:12px!important;background:#f8faf8!important;color:#082c41!important}
.fcgdm-grid-judges{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.fcgdm-card{overflow:hidden;border:1px solid #e1e7e2!important;border-radius:20px!important;background:#fff;box-shadow:0 10px 28px rgba(8,44,65,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.fcgdm-card:hover{transform:translateY(-5px);border-color:#a7c77d!important;box-shadow:0 22px 44px rgba(8,44,65,.14)}
.fcgdm-card .fcgdm-media{aspect-ratio:4/4.6;background:linear-gradient(145deg,#e7ece8,#dbe3dd);overflow:hidden}
.fcgdm-card .fcgdm-media img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .45s ease}
.fcgdm-card:hover .fcgdm-media img{transform:scale(1.035)}
.fcgdm-card .fcgdm-content{padding:1.5rem 1.55rem 1.65rem}
.fcgdm-card .fcgdm-kicker{display:inline-flex;padding:.38rem .65rem;border-radius:999px;background:#edf3e8;color:#567338;font-size:.68rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.fcgdm-card h2{margin:.8rem 0 .9rem;color:#082c41;font-size:1.35rem;line-height:1.2}
.fcgdm-detail{padding:.75rem 0;border-top:1px solid #edf0ed}
.fcgdm-detail strong{color:#567338;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}
.fcgdm-description{color:#5d6b71;font-size:.9rem;line-height:1.65}

/* Single judge profile. */
.single-fcg_judge .entry-header{display:none!important}
.single-fcg_judge .content-bg{background:transparent;box-shadow:none}
.single-fcg_judge .entry-content-wrap{padding-top:2.75rem;padding-bottom:4.5rem}
.fcg-judge-profile{max-width:1120px;margin:0 auto}
.fcg-judge-back{display:inline-flex;margin-bottom:1.3rem;color:#567338;font-weight:750;text-decoration:none}
.fcg-judge-back:hover{color:#082c41}
.fcg-judge-profile__grid{display:grid;grid-template-columns:minmax(280px,390px) 1fr;gap:0;overflow:hidden;border:1px solid #dfe6e1;border-radius:26px;background:#fff;box-shadow:0 22px 55px rgba(8,44,65,.12)}
.fcg-judge-profile__media{min-height:500px;margin:0;background:#dfe6e1}
.fcg-judge-profile__media img{display:block;width:100%;height:100%;min-height:500px;object-fit:cover;object-position:center top}
.fcg-judge-profile__content{display:flex;flex-direction:column;justify-content:center;padding:3.5rem 3.75rem;background:linear-gradient(145deg,#fff,#f6f8f5)}
.fcg-judge-badge{align-self:flex-start;padding:.5rem .8rem;border-radius:999px;background:#eaf1e4;color:#567338;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fcg-judge-profile__content h1{margin:1rem 0 1.8rem;color:#082c41;font-size:clamp(2.25rem,4vw,3.7rem);line-height:1.05}
.fcg-judge-fact{padding:1rem 0;border-top:1px solid #dfe6e1}
.fcg-judge-fact span{display:block;margin-bottom:.4rem;color:#6a7a80;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.fcg-judge-fact strong{display:block;color:#183b49;font-size:1rem;line-height:1.55}
.fcg-judge-profile__details{margin-top:1.5rem;padding:2.4rem 2.75rem;border:1px solid #dfe6e1;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(8,44,65,.07)}
.fcg-judge-profile__details h2{margin:0 0 1.1rem;color:#082c41;font-size:1.4rem}
.fcg-judge-profile__details>div{color:#52656d;line-height:1.8}
.fcg-judge-profile__details a{color:#567338}
@media(max-width:900px){.fcgdm-grid-judges{grid-template-columns:repeat(2,minmax(0,1fr))}.fcg-judge-profile__grid{grid-template-columns:320px 1fr}.fcg-judge-profile__content{padding:2.5rem}.fcg-judge-profile__media,.fcg-judge-profile__media img{min-height:430px}}
@media(max-width:680px){.page-id-107 .entry-content-wrap,.page-id-831 .entry-content-wrap,.single-fcg_judge .entry-content-wrap{padding-top:1.25rem;padding-bottom:3rem}.fcgdm-intro{padding:2.4rem 1.4rem;border-radius:20px}.fcgdm-toolbar{margin:-.8rem .7rem 1.5rem;padding:.75rem}.fcgdm-grid-judges{grid-template-columns:1fr;gap:1rem}.fcgdm-card .fcgdm-media{aspect-ratio:4/4.25}.fcg-judge-profile__grid{grid-template-columns:1fr;border-radius:20px}.fcg-judge-profile__media,.fcg-judge-profile__media img{min-height:0;aspect-ratio:4/4.5}.fcg-judge-profile__content{padding:2rem 1.4rem}.fcg-judge-profile__details{padding:1.7rem 1.35rem;border-radius:18px}.fcg-judge-profile__content h1{font-size:2.2rem}}

.fcgdm-profile-link{display:flex;align-items:center;justify-content:space-between;margin-top:1.1rem;padding-top:1rem;border-top:1px solid #e7ece8;color:#567338!important;font-weight:800;text-decoration:none}.fcgdm-profile-link span{font-size:1.15rem;transition:transform .2s ease}.fcgdm-profile-link:hover span{transform:translateX(4px)}

/* Club-card header contrast. */
.fcgdm-club-head h2,.fcgdm-card .fcgdm-club-head h2{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.16)}
.fcgdm-club-head .fcgdm-kicker{background:#f3f7ec!important;color:#567338!important}

/* Commission-card header contrast. */
.fcgdm-commission-head h2,.fcgdm-card .fcgdm-commission-head h2{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.16)}


/* Keep kennel names legible on dark registry cards. */
.fcgdm-kennel-head h2,.fcgdm-card .fcgdm-kennel-head h2{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.22)}


/* History & Mission */
.fcg-history-page{max-width:1120px!important;margin:0 auto;padding:clamp(44px,7vw,92px) 24px!important}
.fcg-history-page>h1{max-width:780px;margin:.25rem 0 1.2rem;color:#0b3044;font-size:clamp(2.3rem,6vw,4.8rem);line-height:1.02;letter-spacing:-.045em}
.fcg-history-kicker{margin:0!important;color:#7b8f36;font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.fcg-history-lead{max-width:850px;margin:0 0 clamp(38px,6vw,68px)!important;color:#40545e;font-size:clamp(1.1rem,2vw,1.38rem);line-height:1.75}
.fcg-history-timeline{position:relative;display:grid;gap:16px;margin:0 0 clamp(42px,7vw,78px)!important;padding-left:28px}
.fcg-history-timeline:before{content:"";position:absolute;left:6px;top:15px;bottom:15px;width:2px;background:linear-gradient(#7b8f36,#0b3044)}
.fcg-history-step{position:relative;gap:26px!important;align-items:flex-start!important;margin:0!important;padding:24px 26px!important;border:1px solid #dbe4df;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(11,48,68,.07)}
.fcg-history-step:before{content:"";position:absolute;left:-28px;top:31px;width:12px;height:12px;border:4px solid #f4f7f3;border-radius:50%;background:#7b8f36;box-shadow:0 0 0 2px #7b8f36}
.fcg-history-step p{margin:.25rem 0 0;color:#4e626b;line-height:1.7}
.fcg-history-year{flex:0 0 92px;margin:0!important;color:#7b8f36!important;font-size:1.35rem!important;line-height:1.2}
.fcg-mission-panel{position:relative;overflow:hidden;margin:0!important;padding:clamp(32px,5vw,58px)!important;border-radius:26px;background:linear-gradient(135deg,#092d42,#15465b);color:#fff;box-shadow:0 24px 60px rgba(9,45,66,.22)}
.fcg-mission-panel:after{content:"";position:absolute;right:-80px;bottom:-120px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(123,143,54,.5),transparent 68%)}
.fcg-mission-panel>*{position:relative;z-index:1}
.fcg-mission-panel h2{max-width:780px;margin:.45rem 0 1.15rem;color:#fff!important;font-size:clamp(1.7rem,4vw,3rem);line-height:1.15}
.fcg-mission-panel p:not(.fcg-history-kicker){max-width:780px;color:#e4ece8;line-height:1.75}
@media(max-width:640px){.fcg-history-page{padding:36px 16px!important}.fcg-history-timeline{padding-left:22px}.fcg-history-step{display:block!important;padding:20px!important}.fcg-history-step:before{left:-25px}.fcg-history-year{margin-bottom:8px!important}.fcg-mission-panel{border-radius:20px}}


/* Team directory */
.fcgdm-team-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}
.fcgdm-team-card{overflow:hidden;border:1px solid #dbe5df!important;border-radius:22px!important;background:#fff!important;box-shadow:0 16px 42px rgba(9,45,66,.09)!important;transition:transform .25s ease,box-shadow .25s ease}
.fcgdm-team-card:hover{transform:translateY(-5px);box-shadow:0 24px 56px rgba(9,45,66,.16)!important}
.fcgdm-team-photo{position:relative;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(145deg,#123c52,#789039)}
.fcgdm-team-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top;display:block}
.fcgdm-team-photo .fcgdm-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#fff;font-size:2.2rem;font-weight:800}
.fcgdm-team-content{padding:24px 22px 26px}
.fcgdm-team-label{display:block;margin-bottom:9px;color:#7b8f36;font-size:.7rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.fcgdm-team-card h2{margin:0 0 8px!important;color:#0b3044!important;font-size:1.38rem!important;line-height:1.2}
.fcgdm-team-position{min-height:2.8em;margin:0!important;color:#596c74;font-size:.96rem;line-height:1.45}
.fcgdm-team-contact{display:grid;gap:6px;margin-top:16px;padding-top:15px;border-top:1px solid #e4ebe7}
.fcgdm-team-contact a{color:#0b526f;text-decoration:none;font-size:.9rem;overflow-wrap:anywhere}
@media(max-width:1050px){.fcgdm-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){.fcgdm-team-grid{grid-template-columns:1fr!important}.fcgdm-team-card{display:grid;grid-template-columns:42% 58%;border-radius:18px!important}.fcgdm-team-photo{aspect-ratio:auto;min-height:245px}.fcgdm-team-content{padding:22px 18px}.fcgdm-team-position{min-height:0}}


/* Contact page */
.fcg-contact-page{max-width:1120px!important;margin:0 auto;padding:clamp(42px,7vw,88px) 24px!important}
.fcg-contact-hero{gap:clamp(28px,6vw,78px)!important;margin-bottom:clamp(36px,6vw,64px)!important;padding:clamp(28px,5vw,54px)!important;border-radius:28px;background:linear-gradient(135deg,#092d42,#164b5f);box-shadow:0 24px 62px rgba(9,45,66,.18)}
.fcg-contact-logo{margin:0!important;text-align:center}.fcg-contact-logo img{width:min(180px,100%)!important;height:auto!important;filter:drop-shadow(0 14px 20px rgba(0,0,0,.22))}
.fcg-contact-hero h1{margin:.25rem 0 .8rem;color:#fff!important;font-size:clamp(2.5rem,6vw,4.8rem);line-height:1;letter-spacing:-.04em}
.fcg-contact-kicker,.fcg-contact-label{margin:0!important;color:#a9c35d;font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.fcg-contact-lead{max-width:720px;margin:0!important;color:#e5eeea;font-size:1.1rem;line-height:1.7}
.fcg-contact-grid{gap:18px!important;margin-bottom:clamp(44px,7vw,76px)!important}
.fcg-contact-card{min-height:165px;margin:0!important;padding:26px!important;border:1px solid #dce5e0;border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(9,45,66,.07)}
.fcg-contact-card h2{margin:.55rem 0 .3rem;color:#0b3044!important;font-size:1.35rem}.fcg-contact-card p:not(.fcg-contact-label){margin:.6rem 0 0;color:#51656e;line-height:1.65}.fcg-contact-card a{color:#0b607d;font-weight:700;text-decoration:none}
.fcg-contact-card-accent{border-color:#153f53;background:linear-gradient(135deg,#10394d,#1b5365)}.fcg-contact-card-accent p:not(.fcg-contact-label){color:#eff5f1}.fcg-contact-card-accent strong{color:#a9c35d}
.fcg-map-section{margin:0!important}.fcg-map-section h2{margin:.4rem 0 1.2rem;color:#0b3044!important;font-size:clamp(1.7rem,4vw,2.8rem)}
.fcg-map-frame{overflow:hidden;border:1px solid #d5e0da;border-radius:24px;box-shadow:0 18px 48px rgba(9,45,66,.12)}.fcg-map-frame iframe{display:block;width:100%;min-height:390px}
@media(max-width:700px){.fcg-contact-page{padding:34px 16px!important}.fcg-contact-hero{display:block!important;padding:30px 24px!important;border-radius:22px}.fcg-contact-logo{text-align:left;margin-bottom:26px!important}.fcg-contact-logo img{width:110px!important}.fcg-contact-grid{grid-template-columns:1fr!important}.fcg-contact-card{min-height:0}.fcg-map-frame{border-radius:18px}.fcg-map-frame iframe{height:360px}}


/* Compact inner-page top spacing */
.page:not(.home) #primary{margin-top:24px}
.page:not(.home) .entry-content-wrap{padding-top:0}
@media(min-width:1025px){.page:not(.home) #primary{margin-top:14px}.page:not(.home) .entry-content-wrap{padding-top:0}.page:not(.home) .entry-content>.wp-block-group:first-child,.page:not(.home) .entry-content>.fcgdm-directory:first-child{padding-top:22px!important}}
@media(max-width:1024px){.page:not(.home) .entry-content>.wp-block-group:first-child,.page:not(.home) .entry-content>.fcgdm-directory:first-child{padding-top:28px!important}}
