/*!
Theme Name: Perpetua Cattle Co
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: perpetua-cattle-co
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Perpetua Cattle Co is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Single Herd Animal — assets/css/herd-single.css
   Swap the variables below to match the Perpetua brand. */
.cl-herd-single {
	--herd-ink: #1d1d1b;
	--herd-muted: #6b6a64;
	--herd-line: #e4e1d8;
	--herd-surface: #f7f5ef;
	--herd-accent: #6b4f2a;
	--herd-accent-ink: #fff;
	--herd-radius: 14px;
	--herd-max: 1200px;

	max-width: var(--herd-max);
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 5rem);
	color: var(--herd-ink);
}

/* Breadcrumb */
.cl-herd-single__crumbs {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
	font-size: .875rem;
	color: var(--herd-muted);
}
.cl-herd-single__crumbs a {
	color: var(--herd-ink);
	text-decoration: none;
	font-weight: 600;
}
.cl-herd-single__crumbs a:hover { color: var(--herd-accent); }

/* Hero */
.cl-herd-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}
.cl-herd-single__media {
	margin: 0;
	border-radius: var(--herd-radius);
	overflow: hidden;
	background: var(--herd-surface);
	aspect-ratio: 4 / 3;
}
.cl-herd-single__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cl-herd-single__image--placeholder {
	background: linear-gradient(135deg, var(--herd-surface), var(--herd-line));
}

.cl-herd-single__panel {
	position: sticky;
	top: 2rem;
}
.cl-herd-single__badge {
	display: inline-block;
	padding: .3rem .75rem;
	border-radius: 999px;
	background: var(--herd-accent);
	color: var(--herd-accent-ink);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.cl-herd-single__title {
	margin: .75rem 0 .5rem;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.05;
	letter-spacing: -.01em;
}
.cl-herd-single__lede {
	margin: 0 0 1.5rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--herd-muted);
}

/* Spec list */
.cl-herd-single__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 1.5rem 0 0;
	background: var(--herd-line);
	border: 1px solid var(--herd-line);
	border-radius: var(--herd-radius);
	overflow: hidden;
}
.cl-herd-single__spec {
	padding: 1rem 1.125rem;
	background: #fff;
}
.cl-herd-single__spec:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cl-herd-single__spec dt {
	margin: 0 0 .25rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--herd-muted);
}
.cl-herd-single__spec dd {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* Pedigree */
.cl-herd-single__pedigree {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border-radius: var(--herd-radius);
	background: var(--herd-surface);
}
.cl-herd-single__pedigree-label {
	display: block;
	margin-bottom: .75rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--herd-muted);
}
.cl-herd-single__pedigree-tree {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 1.25rem;
}
.cl-herd-single__pedigree-parents {
	display: grid;
	gap: .5rem;
	position: relative;
}
.cl-herd-single__pedigree-parents::before {
	content: "";
	position: absolute;
	left: -1.25rem;
	top: 25%;
	bottom: 25%;
	width: .625rem;
	border: 1px solid var(--herd-line);
	border-right: 0;
	border-radius: 6px 0 0 6px;
}
.cl-herd-single__pedigree-node {
	padding: .625rem .75rem;
	border: 1px solid var(--herd-line);
	border-radius: 10px;
	background: #fff;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
}
.cl-herd-single__pedigree-node small {
	display: block;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--herd-muted);
}
.cl-herd-single__pedigree-node--self {
	border-color: var(--herd-accent);
	box-shadow: inset 3px 0 0 var(--herd-accent);
}

/* Body content */
.cl-herd-single__content {
	max-width: 72ch;
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
	font-size: 1.0625rem;
	line-height: 1.7;
}
.cl-herd-single__content img { border-radius: var(--herd-radius); height: auto; }
.cl-herd-single__content .wp-block-gallery { max-width: none; }

/* Pager */
.cl-herd-single__pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 2rem;
	border-top: 1px solid var(--herd-line);
}
.cl-herd-single__pager-link {
	display: grid;
	gap: .25rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--herd-line);
	border-radius: var(--herd-radius);
	color: var(--herd-ink);
	text-decoration: none;
	transition: border-color .2s, transform .2s;
}
.cl-herd-single__pager-link:hover { border-color: var(--herd-accent); transform: translateY(-2px); }
.cl-herd-single__pager-link small { color: var(--herd-muted); font-size: .8125rem; }
.cl-herd-single__pager-link span { font-weight: 700; }
.cl-herd-single__pager-link--next { grid-column: 2; text-align: right; }

/* Related */
.cl-herd-single__related { margin-top: clamp(3rem, 6vw, 5rem); }
.cl-herd-single__related-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.cl-herd-single__related-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cl-herd-single__related-head a {
	color: var(--herd-accent);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.cl-herd-single__related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem);
}
.cl-herd-single__card {
	display: grid;
	gap: .375rem;
	color: var(--herd-ink);
	text-decoration: none;
}
.cl-herd-single__card-media {
	display: block;
	aspect-ratio: 4 / 3;
	margin-bottom: .5rem;
	border-radius: var(--herd-radius);
	overflow: hidden;
	background: var(--herd-surface);
}
.cl-herd-single__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.cl-herd-single__card:hover img { transform: scale(1.04); }
.cl-herd-single__card-title { font-size: 1.125rem; font-weight: 700; }
.cl-herd-single__card-meta { font-size: .875rem; color: var(--herd-muted); }

/* Focus */
.cl-herd-single a:focus-visible {
	outline: 2px solid var(--herd-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
	.cl-herd-single__hero { grid-template-columns: 1fr; }
	.cl-herd-single__panel { position: static; }
	.cl-herd-single__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.cl-herd-single__related-grid,
	.cl-herd-single__pager { grid-template-columns: 1fr; }
	.cl-herd-single__pager-link--next { grid-column: auto; }
	.cl-herd-single__pedigree-tree { grid-template-columns: 1fr; }
	.cl-herd-single__pedigree-parents::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.cl-herd-single * { transition: none !important; }
}

.footer-logo a {
	text-align:center;
}
.wpcf7-spinner {
	display:block !important;
}
label {
	width:100% !important;
}
.wpcf7-submit {
	border:none !important;
	background: #0A2240 !important;
	color: white;
	text-transform:uppercase;
	padding: 10px 40px !important;
	border-radius:5px !important;
}

.hero-image {
	min-width:100% !important;
height:auto;
margin-bottom:0;
padding-bottom:0;
}
.hero-image img {
		min-width:100% !important;

}

/* ACCESSIBLITY */
.offscreen {
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip-path: inset(1px 1px 1px 1px);
	clip-path: inset(1px, 1px, 1px, 1px);
}

.skip-to-content.offscreen:focus {
	position: relative;
	display: inline-block;
	height: auto;
	width: auto;
	padding: 0.625em 1.25em;
	background-color: #002e5e;
	color: #fff;
	overflow: visible;
	clip-path: none;
	text-decoration: none;
}

html {
	font-size: 16px;
}

body {
	width: 100%;
	overflow-x: hidden !important;
	font-family: 'Playfair Display', serif;
}
.wp-block-button a {
	font-family: 'Smooch Sans', sans-serif !important;
	height:60px;
	padding: 0 48px !important;
	min-width:195px;
	font-size:30px;
	font-weight: 500;
	letter-spacing: 1.5px;
}
.wp-block-button__link.has-blue-background-color:hover {
	background-color: #A18529 !important;
	text-decoration: none;
	transition: all .2s;
}
.wp-block-button__link.has-gold-background-color:hover {
	background-color: #0A2240 !important;
	text-decoration: none;
	transition: all .2s;
}
/* TYPOGRAPHY */


/* GUTENBERG EDITOR COLORS */

.has-blue-background-color {
	background-color: #0A2240;
}


.has-blue-color {
	color: #0A2240;
}

.has-gold-background-color {
	background-color: #A18529;
}

.has-gold-color {
	color: #A18529;
}

.has-cream-background-color {
	background-color: #F1EDE3;
}

.has-cream-color {
	color: #F1EDE3;
}
.has-dark-background-color {
	background-color:#272727;
}
.has-dark-color {
	color:#272727;
}
.quorom a {
	text-decoration: none;
}
.quorom a:hover {
	color: #A18529;
}

/* NAVIGATION */
.site-header {
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	-o-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
	z-index: 1000;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	-o-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
	padding:32px;
	display: flex;
	justify-content: space-between;
	background: #F1EDE3;
	align-items: center;

}
.site-branding img {
	height: auto;
	width:400px;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	-o-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

.main-navigation ul {
	margin-bottom:0;
	display: flex;
	align-items:center;
	list-style: none;
}
.site-header a {
	font-family: 'Quorum Std' !important;
	font-weight:500 !important;
}
h1,h2,h3, .quorom {
		font-family: 'Quorum Std' !important;
		font-weight:500 !important;


}
.site-footer {
background: linear-gradient(90deg, #0A2240 0%, #264062 100%);}
.site-footer ul {
list-style: none;
display: flex;
justify-content: space-between;
}
.site-footer ul li a {
	color: white;
	text-transform: uppercase;
	font-family: 'Quorom Std', serif;
	text-decoration: none;
}

.site-footer ul li a:hover {

	color: #A18529;
}

/* Reveal animations — .appear and .sequenced
   Hidden state only applies when JS is running (html.js), so content never stays hidden without JS. */

:root {
  --reveal-duration: 800ms;
  --reveal-distance: 1.25rem;
  --reveal-blur: 4px;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .appear,
html.js .sequenced > * {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    filter var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.js .appear.is-visible,
html.js .sequenced.is-visible > * {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html.js .appear,
  html.js .sequenced > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
@media only screen and (max-width: 1227px) {
	a.mega-menu-link {
		font-size:16px !important;
	}
	
}

@media only screen and (max-width: 990px) {
	.site-branding img {
		width:300px !important;
	}
	
}
@media only screen and (max-width: 768px) {
	html {
		font-size: 15px;
	}
		.site-branding img {
		width:280px !important;
	}
	.hero-image-container h1 {
		font-size:30px !important;
		width: 90%;
	}
	ul.wp-block-page-list {
		display:block !important;
		text-align:center;
		padding-left:0;
	}
	.footer-logo img {
		max-width:70%;
		margin:0 auto;
	}
	.footer-logo figure {
				margin:0 auto;
		display:flex !important;
		justify-content:center;

	}
}

@media only screen and (max-width: 480px) {
	html {
		font-size: 14px;
	}
	.site-branding img {
		width:240px !important;
	}
	p {
		font-size:20px !important;
	}
	.wp-block-getwid-section__wrapper {
		padding-left:32px;
		padding-right:32px;
	}
}