/*!
Theme Name: WHR
Theme URI: http://westernhorsereview.com/
Author: Talie
Author URI: http://have-dog.com/
Description: A magazine about western horsemanship, culture and style.
Version: 1.0.0
Text Domain: whr
Tags: (add tags)
*/


/* div { border: 1px solid #ff00ff;}



/* =====================================
   HEADER 
======================================= */

/* Desktop Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    background: #fff;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    transform: translateZ(0); /* prevents flicker */
}

.sticky-header.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.site-header {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

.site-header.shrink-nav {
    padding: 6px 0;
}

/* Header top row: socials / logo / search/cart */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Nav row */
.header-nav {
    width: 100%;
}

/* Shrink header on scroll */
.site-header.shrink-nav {
    padding: 6px 10px; /* gentle compression */
}

/* Hide sticky header on mobile (width <= 767px) */
@media (max-width: 767px) {
    .sticky-header {
        display: none !important;
    }
}

/* Optionally hide desktop header masthead ad on mobile */
@media (max-width: 767px) {
    .desktop-header {
        display: none !important;
    }
}

/* ========================
   LEFT: Social Icons
======================== */
.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    margin-left: 25px;
    transition: margin 0.75s ease-out;
}

.header-left .social-icons {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-left .social-icon {
    font-size: 20px;
    color: #888;
    transition: color 0.3s;
}

.header-left .social-icon:hover {
    color: #9d1730;
}

/* ========================
   CENTER: Logo
======================== */
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    text-align: center;
    max-width: 46%;
    transition: all 0.75s ease-out;
}

.header-center .logo img {
    max-width: 100%;
    height: auto;
    transition: max-width 0.75s ease-out, transform 0.75s ease-out;
}

/* Shrink logo smoothly on scroll */
.site-header.shrink-nav .header-center .logo img {
    max-width: 65%;           /* adjust as needed */
    transform: scale(0.95);   /* gentle shrink effect */
}

/* normal nav height */
#masthead .main-navigation {
    transition: padding 0.25s ease;
}

/* shrink on scroll */
#masthead.shrink-nav .main-navigation {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

/* ========================
   RIGHT: Search + User + Cart
======================== */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 15px;
    margin-right: 35px;
    transition: margin 0.75s ease-out;
}

/* ========================
   SEARCH
======================== */
.header-search {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.header-search form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.header-search .search-field {
    width: 100%;           /* take full available width of container */
    max-width: 200px;      /* optional: cap the max width */
    min-width: 50px;       /* optional: don't shrink too small */
    padding: 4px 6px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 12px;
    flex: 1 1 auto;        /* flex-grow + flex-shrink + flex-basis */
    box-sizing: border-box; /* include padding/border in width */
}

.header-search .search-submit {
    background-color: #fff;
    border: none;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
    color: #888;
    flex-shrink: 0;
}

.header-search .search-submit:hover {
    color: #9d1730;
}

/* ==========================
   SEARCH RESULT CATEGORIES
========================== */

.search-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.search-cat {
	font-family: "Montserrat", sans-serif;
	font-weight: 600 !important;
    background-color: #777;
    color: #fff !important;
    padding: 2px 4px;
    font-size: 0.5rem;
    line-height: 0.5rem;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: none !important;
    border-radius: 0;
    transition: all 0.2s ease;
    display: inline-block;
}

.search-cat:hover {
    background-color: #9d1730;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* ========================
   USER ICON
======================== */
.header-user .social-icon i,
.header-login .social-icon i {
    color: #888;
    transition: color 0.3s ease-in-out;
}

.header-user .social-icon:hover i,
.header-login .social-icon:hover i {
    color: #9d1730;
}

/* ========================
   WOOCOMMERCE CART
======================== */
.header-cart .cart-contents {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 18px;
    text-decoration: none;
}

.header-cart .cart-contents:hover {
    color: #9d1730;
}

/* Cart count badge */
.header-cart .cart-count {
    position: absolute;
    top: -15px;
    right: -10px;
    background-color: #9d1730;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
}

.header-cart .cart-contents:hover .cart-count {
    background-color: #121212;
}

/* =====================================
   NAVIGATION STYLES
=======================================*/

/* Main Navigation */
.main-navigation {
    position: relative;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: padding 0.3s ease-in-out;
}

/* Navbar Items */
.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
    flex-direction: row;
}

/* Navbar List Items */
.navbar-nav li {
    list-style-type: none;
    margin: 0 15px;
    position: relative;
}

/* Navbar Links */
.navbar-nav li a {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    padding: 5px 0;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease, border-top 0.3s ease;
}

/* Hover Effect - Top Border Animation */
.navbar-nav li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #9d1730;
    transition: width 0.25s ease, left 0.25s ease;
    z-index: 1;
}

/* Hover State - Expands Top Border */
.navbar-nav li a:hover::after {
    width: 100%;
    left: 0;
}

/* Hover Color Change */
.navbar-nav li a:hover {
    color: #9d1730;
}

/* Active & Current Link Styling */
.navbar-nav li.current-menu-item > a,
.navbar-nav li.current_page_item > a,
.navbar-nav li.current_page_parent > a,
.navbar-nav li.current-menu-ancestor > a,
.navbar-nav li.active > a,
.navbar-nav li > a[aria-current="page"] {
    color: #121212;
}

.navbar-nav li.current-menu-item > a::before,
.navbar-nav li.current_page_item > a::before,
.navbar-nav li.current_page_parent > a::before,
.navbar-nav li.current-menu-ancestor > a::before,
.navbar-nav li.active > a::before,
.navbar-nav li > a[aria-current="page"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #9d1730;
    z-index: 2;
}

/* =====================================
   DROPDOWN STYLES (For Submenu)
=======================================*/

/* Submenu container */
.navbar-nav li.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background-color: #484848;
    border: 1px solid #3a3a3a;

    min-width: 200px;

    padding: 0;
    margin: 0;
    list-style: none;

    z-index: 300;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* Show submenu */
.navbar-nav li.menu-item-has-children:hover .sub-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Remove main nav spacing from dropdown items */
.sub-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #5a5a5a;
}

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

/* Remove animated red bar */
.sub-menu li a::after,
.sub-menu li a::before {
    display: none !important;
    content: none !important;
}

/* Dropdown links */
.sub-menu li a {
    display: block;
    width: 100%;

    padding: 10px 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #fff;
    background-color: #484848;

    text-decoration: none;

    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover */
.sub-menu li a:hover {
    background-color: #fff;
    color: #121212;
}

/* Active */
.sub-menu li.current-menu-item > a,
.sub-menu li.current_page_item > a {
    background-color: #fff;
    color: #9d1730;
}




/* =====================================
   MOBILE STYLES (max-width 767px)
======================================= */

body.menu-open {
    overflow: hidden;
}

@media (max-width: 767px) {

    /* ----------------------------
       Mobile header
    ---------------------------- */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;           /* use full viewport width */
        z-index: 9999;
        background: #1b1b1b;
        display: flex;
        flex-direction: column;  /* header bar + menu stack */
        box-sizing: border-box;
        transition: top 0.2s ease;
    }

    .mobile-header.scrolled {
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    body {
        padding-top: 0;
    }

    /* ----------------------------
       Header bar
    ---------------------------- */
    .mobile-header-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        background: #1b1b1b;
        background-image: url('/wp-content/themes/whr/assets/images/footer_bg.png');
    }

    /* ----------------------------
       Logo
    ---------------------------- */
    .mobile-logo {
        margin: 0;
        max-width: 66%;
        flex-shrink: 1;          /* allows logo to shrink if needed */
    }
    .mobile-logo img {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    /* ----------------------------
       Icons
    ---------------------------- */
    .mobile-icons {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-shrink: 0;          /* do not shrink icons */
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0;
        flex-shrink: 0;
    }

    .mobile-menu-toggle i {
        display: inline-block;
        width: 24px;
        text-align: center;
    }

    .mobile-icons .social-icon i,
    .mobile-icons .mobile-cart > a i,
    .mobile-menu-toggle i {
        color: #fff !important;
        transition: color 0.3s ease-in-out;
    }

    .mobile-icons .header-user a i,
    .mobile-icons .header-login a i {
        font-size: 20px !important;
        color: #fff !important;
        margin-top: 3px;
        transition: color 0.3s ease-in-out;
    }

    .mobile-icons .header-user a:hover i,
    .mobile-icons .header-login a:hover i {
        color: #9d1730 !important;
    }

    /* ----------------------------
       Cart
    ---------------------------- */
    .mobile-cart {
        position: relative;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .mobile-cart > a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px !important;
        color: #fff !important;
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }

    .mobile-cart > a i {
        font-size: 20px !important;
        margin-right: 4px;
    }

    .mobile-cart .cart-count {
        position: absolute;
        top: -10px;         /* adjust for vertical alignment */
        right: -5px;       /* adjust for horizontal alignment */
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: #9d1730 !important;
        color: #fff !important;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
        font-weight: bold;
        pointer-events: none;
    }

    /* ----------------------------
       Mobile menu panel
    ---------------------------- */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;          /* place right under header bar */
        right: 0;
        width: 80%;
        max-width: 100%;
        z-index: 998;
        background: #1b1b1b;
        border-top: 1px solid #3a3a3a;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
    }

    .mobile-menu.active {
        display: flex;
    }

	/* =========================
	   MOBILE NAV BASE
	========================= */
	.mobile-nav {
		list-style: none;
		margin: 0;
		padding: 0;
		width: 100%;
	}
	
	.mobile-nav li {
		border-bottom: 1px solid #333;
		position: relative;
	}
	
	.mobile-nav li a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px 20px;
		color: #fff;
		background-color: #1b1b1b;
		text-transform: uppercase;
		font-size: 13px;
		letter-spacing: 1px;
		text-decoration: none;
		transition: background 0.25s, color 0.25s;
	}
	
	.mobile-nav li a:hover {
		background-color: #fff;
		color: #1b1b1b;
	}
	
	/* =========================
	   SUBMENUS
	========================= */
	.mobile-nav li.menu-item-has-children > .sub-menu {
		display: none; /* hidden by default */
		list-style: none;
		margin: 0;
		padding: 0;
		background-color: #1b1b1b;
		border-top: 1px solid #3a3a3a;
	}
	
	.mobile-nav li.menu-item-has-children.open > .sub-menu {
		display: block;
	}
	
	/* Submenu links */
	.mobile-nav li.menu-item-has-children .sub-menu li a {
		padding: 10px 20px;
		font-size: 13px;
		text-transform: uppercase;
		letter-spacing: 1px;
		color: #fff;
		display: block;
		text-decoration: none;
		transition: background-color 0.25s, color 0.25s;
	}
	
	.mobile-nav li.menu-item-has-children .sub-menu li a:hover {
		background-color: #fff;
		color: #121212;
	}
	
	.mobile-nav li.menu-item-has-children .sub-menu li.current-menu-item > a,
	.mobile-nav li.menu-item-has-children .sub-menu li.current_page_item > a {
		background-color: #fff;
		color: #9d1730;
	}
	
	/* Indent deeper levels */
	.mobile-nav li.menu-item-has-children .sub-menu li.menu-item-has-children > a {
		padding-left: 35px; /* 3rd level */
	}
	
	.mobile-nav li.menu-item-has-children .sub-menu .sub-menu li a {
		padding-left: 50px; /* 4th level */
	}
	
/* =========================
   MOBILE NAV ARROWS & INDENTATION
========================= */

/* Space for arrow and flex alignment */
.mobile-nav li.menu-item-has-children > a {
    position: relative;
    padding-right: 30px; /* space for arrow */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Font Awesome arrow on the right */
.mobile-nav li.menu-item-has-children > a i {
    margin-left: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Rotate arrow when submenu is open */
.mobile-nav li.menu-item-has-children.open > a i {
    transform: rotate(90deg); /* > becomes V */
}

/* Hide submenus by default */
.mobile-nav li.menu-item-has-children > .sub-menu {
    display: none;
}

/* Show submenu when parent is open */
.mobile-nav li.menu-item-has-children.open > .sub-menu {
    display: block;
}

/* Indent submenus */
.mobile-nav li.menu-item-has-children .sub-menu li a {
    padding-left: 35px; /* 2nd-level items */
}

.mobile-nav li.menu-item-has-children .sub-menu li.menu-item-has-children .sub-menu li a {
    padding-left: 50px; /* 3rd-level items */
}

/* Submenu link styling */
.mobile-nav .sub-menu li a {
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 20px;
    background-color: #1b1b1b;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover and current page states */
.mobile-nav .sub-menu li a:hover,
.mobile-nav .sub-menu li.current-menu-item > a,
.mobile-nav .sub-menu li.current_page_item > a {
    background-color: #fff;
    color: #9d1730;
}

	/* ==============================
	   MOBILE SEARCH UNDER MENU
	================================= */
	
	.mobile-menu .mobile-search {
		width: 100%;
		padding: 10px 20px;
		display: flex;
		align-items: center;
		gap: 8px;                 /* small space between input & button */
		box-sizing: border-box;
		background: #1b1b1b;      /* match menu background */
	}
	
	/* Input text color */
	.mobile-menu .mobile-search input {
		flex: 1;                   
		padding: 4px 6px;
		border: 1px solid #666;    
		border-radius: 4px;
		background: none;           
		color: #fff !important;     /* make sure typed text is white */
		font-family: "Montserrat", sans-serif;
		font-weight: 300;
		font-size: 12px;
		box-sizing: border-box;
	}
	
	/* Placeholder color */
	.mobile-menu .mobile-search input::placeholder {
		color: #aaa;
	}
	
	/* Focus effect */
	.mobile-menu .mobile-search input:focus {
		outline: none;
		border-color: #9d1730;     /* red on focus */
	}
	
	/* Button styling */
	.mobile-menu .mobile-search button {
		background: none;           /* no background */
		border: none;               /* no border */
		color: #fff;                /* icon white */
		padding: 0;
		margin-left: 5px;
		cursor: pointer;
		flex-shrink: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		transition: color 0.25s ease;
	}
	
	/* Button hover */
	.mobile-menu .mobile-search button:hover {
		color: #9d1730;             /* icon turns red */
	}

}

/* =====================================
	MASTHEAD BANNER
=======================================*/
.top-banner-container, .masthead-ad {
	margin: 0;
	padding: 0;
}
.masthead-ad .widget {
    margin: 0;
}


/* =====================================
   BUTTONS - GLOBAL STYLE
===================================== */

/* ---------- CTA BUTTON (EXEMPT) ---------- */
.cta-button {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    padding: 3px 10px 5px 10px;
    border: 3px solid #fff; /* White border */
    color: #fff;             /* White text */
    text-decoration: none;
    text-align: center;
    border-radius: 0;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #fff;  /* White bg on hover */
    color: #9d1730;          /* Red text on hover */
    border-color: #9d1730;   /* Red border on hover */
}

/* ---------- STANDARD BUTTONS ---------- */
.btn-primary,
.btn-primary:visited,
.md-button,
.md-button:link,
.md-button:visited,
.sm-button,
.sm-button:link,
.sm-button:visited,
.comment-form .btn.btn-primary {
    display: inline-block;
    font-family: "Oswald", sans-serif !important;
    font-weight: 500;
    border: 3px solid #9d1730;  /* Red border */
    background-color: #9d1730;  /* Red bg */
    color: #fff;                 /* White text */
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* Font sizes */
.btn-primary       { font-size: 1.5rem !important; padding: 0.5rem 1rem; }
.md-button,
.comment-form .btn.btn-primary { font-size: 1.1rem !important; padding: 0.5rem 1rem; }
.sm-button         { font-size: 0.85rem !important; padding: 0.35rem 0.85rem; }

/* Icon sizes inside buttons */
.md-button i { font-size: 20px; }
.sm-button i { font-size: 11px; }

/* Hover state for all standard buttons */
.btn-primary:hover,
.md-button:hover,
.sm-button:hover,
.comment-form .btn.btn-primary:hover {
    background-color: #fff;   /* White bg on hover */
    color: #9d1730;           /* Red text on hover */
    border-color: #9d1730;    /* Red border on hover */
}


/* =====================================
	GENERAL STYLES
=======================================*/

.page-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    font-size: 4rem;
    line-height: 4rem;
    position: relative; /* required for the pseudo-element */
    display: inline-block; /* keeps the underline tight to the title */
}

.page-title::after {
    content: '';
    display: block;
    width: 200px;          /* width of the line */
    height: 6px;           /* thickness */
    background: #9d1730;   /* color */
    margin: 10px auto 0;   /* auto = centers it */
}

.subtitle {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 2rem;
    padding-top: 10px;
}

/* Default site font */
/* body, .page-body {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
} */

/* Normal links */
.page-body a:not(.btn) {
    color: #121212;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #9d1730;
    transition: color 0.3s ease;
}

.page-body a:not(.btn):visited { 
    color: #9d1730; 
}

.page-body a:not(.btn):hover { 
    color: #9d1730;
    text-decoration: none;
    border-bottom: 1px solid #9d1730;
}

.page-body a:not(.btn):active { 
    color: #9d1730; 
}

.dropshadow { box-shadow: 0 4px 10px rgba(0,0,0,0.4); }

.rounded { border-radius: 12px; }

.nounderline {
	text-decoration: none !important;
    border-bottom: none !important;
}

.small {
	font-family: "Montserrat", sans-serif;
	font-size: 10px;
	font-weight: 200;
}

.tiny {
	font-family: "Oswald", sans-serif;
	font-size: 9px;
	font-weight: 200;
	letter-spacing: 0px;
}

.bg-red {
	background-color: #9d1730;
}
.bg-grey {
	background-color: #121212;
}
.bg-catgrey {
	background-color: #1e1e1e;
}

.row.equal-height {
    display: flex;
    flex-wrap: wrap; /* keeps responsiveness */
}

.row.equal-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}


/* =====================================
	FRONT PAGE 
=======================================*/

/* ------ Hero Carousel ------ */

.hero-carousel {
    position: relative; /* ensure nav positions relative to this */
}

.hero-carousel .hero-slide {
    display: flex;
    gap: 1rem;
}

.hero-card {
    flex: 1 1 50%;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-cat {
	font-family: "Montserrat", sans-serif !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.hero-title {
	font-family: "Oswald", sans-serif !important;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-btn, .hero-btn:visited {
	border-radius: 0 !important;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #fff;
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.hero-card:hover .hero-btn {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn:hover {
    background: #9d1730;
    color: #fff;
}

.hero-slide > .hero-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-carousel.loaded .hero-slide > .hero-card {
    opacity: 1;
    transform: translateY(0);
}

/* Bottom navigation */
.hero-nav {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10; /* make sure it's above slides */
}

.hero-nav button {
	border-radius: 0 !important;
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-bottom: 4px solid #9d1730;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav button:hover {
    background: #9d1730;
    color: #fff;
    border-bottom: 4px solid #9d1730;
}

/* Responsive mobile */
@media (max-width: 767.98px) {

    /* Stack slides vertically and tighten spacing */
    .hero-carousel .hero-slide {
        flex-direction: column;
        gap: 1rem; /* slightly larger for touch spacing */
    }

    /* Make cards full width and maintain aspect ratio */
    .hero-card {
        width: 100%;
        aspect-ratio: 1/1; /* keep square */
    }

    /* Scale titles and text for smaller screens */
    .hero-title {
        font-size: 1.6rem; /* slightly larger for readability */
        line-height: 1.8rem;
    }

    .hero-cat {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    /* Hero button adjustments for touch */
    .hero-btn {
        padding: 0.75rem 1.25rem; /* larger touch area */
        font-size: 0.95rem;
    }

    /* Position nav lower for smaller screens */
    .hero-nav {
        bottom: 15px; /* slightly higher than before */
        gap: 0.5rem;
    }

    .hero-nav button {
        width: 45px;  /* larger for touch */
        height: 45px;
        font-size: 1.1rem;
        border-radius: 0; /* keep consistent style */
    }

    /* Optional: make hover effects accessible on touch */
    .hero-card:hover .hero-btn,
    .hero-card:focus-within .hero-btn {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =====================================
	SIDEBAR 
=======================================*/

/* Categories widget title */
.widget-title-categories {
    font-family: 'Montserrat', sans-serif;
    color: #444;
    font-size: 14px;
    letter-spacing: 0px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px; /* spacing between text and line */
    margin-bottom: 10px;
}

/* Red line after the title */
.widget-title-categories::after {
    content: '';
    flex-grow: 1;
    height: 3px;
    background-color: #9d1730;
    display: inline-block;
}

/* Sidebar Categories Styling */
.widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_categories ul li {
    display: flex;
    justify-content: space-between; /* category name left, count right */
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
    cursor: pointer;
    color: #121212; /* text red by default */
    background-color: #fff; /* default background */
}

.widget_categories ul li a {
    color: inherit;          /* inherit color for links */
    text-decoration: none;
    flex: 1;                 /* link takes full width */
    display: flex;
    justify-content: space-between; /* keep count on the right */
}

.widget_categories ul li:hover,
.widget_categories ul li a:hover {
    background-color: #9d1730; /* red hover background */
    color: #fff;            /* white text on hover */
}

.widget_categories ul li span.count {
    color: inherit;          /* count syncs with text */
    font-weight: 200;
}

.latest-block {
    width: 100%;
    background-color: #9d1730;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: #fff;
    font-weight: 500;
    padding: 6px 0;
    letter-spacing: 0px;
    text-transform: uppercase;
}


.sidebar-advertising img {
    width: 100%;
    height: auto;
    display: block; /* removes extra gap below images */
}

/* Title and subtitle */

.sidebar-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}
.video-thumbnail {
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background-size: cover;
    background-position: center;
    position: relative;
}
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
    pointer-events: none;
}


/* =====================================
	BLOG 
=======================================*/

.blog-title {
	font-family: "Oswald", sans-serif;
	font-size: 52px;
	line-height: 58px;
	font-weight: 200;
    color: #121212;
    letter-spacing: 0px;
	text-transform: uppercase;
}

.byline {
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 200;
    color: #121212;
    letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 4px; /* space before author/photographer */
}

.realauthor,
.photographer {
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight:500;
    color: #121212;
    letter-spacing: 0px;
	text-transform: uppercase;
	margin-bottom: 2px;
}
.date-category {
	font-family: "Oswald", sans-serif;
	font-size: 14px;
	font-weight: 200;
    color: #121212;
    letter-spacing: 2px;
	text-transform: uppercase;
}

.post-nav .nav-prev,
.post-nav .nav-next {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between arrow and text */
}

.post-nav .nav-prev i,
.post-nav .nav-next i {
    font-size: 2rem;
    color: #9d1730;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.post-nav .nav-prev i:hover,
.post-nav .nav-next i:hover {
    color: #000;
}

.post-nav .nav-text {
    display: flex;
    flex-direction: column;
    margin: 0; /* remove default margins */
}

.post-nav a {
    text-decoration: none !important; /* removes underline on the link */
    color: inherit; /* keeps your existing colors */
}

.post-nav a:hover {
    text-decoration: none !important; /* ensures no underline on hover */
}

.nav-label {
	font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #9d1730;
    margin-bottom: 0rem; /* small gap between label and title */
}

.nav-title {
	font-family: "Oswald", sans-serif;
    font-size: 14px;
	line-height: 14px;
    font-weight: 200;
    color: #121212;
}

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

/* Comment Form Container */
.comment-respond {
    margin-top: 2rem;
}

/* Title and subtitle */
.leaveacomment {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.comments-title + .form-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 1.25rem;
}

/* Input fields and textarea */
.comment-form input.form-control,
.comment-form textarea.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Email note */
.comment-form-email + .form-text {
    font-size: 0.75rem;
    color: #999;
    margin-top: -0.25rem;
    margin-bottom: 0.75rem;
}

/* Overall spacing */
.comment-form p {
    margin-bottom: 0.5rem;
}

/* All comment form checkboxes */
.comment-form input[type="checkbox"] {
    width: auto;           /* keeps normal checkbox size */
    height: auto;
    accent-color: #9d1730; /* makes the checkmark red */
    margin-right: 0.5rem;  /* spacing between checkbox and label */
    vertical-align: middle;
}

/* Optional: style the labels consistently */
.comment-form .form-check-label {
    font-size: 0.85rem;
    color: #555;
}

.comments-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.comments-title span {
    font-weight: 400; /* lighter weight for the post name */
}

.comment-author {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 16px;
    font-weight: 600;
    color: #9d1730;
}
.comment-date {
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 14px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.comment-form-wrapper {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #fafafa;
}

.comment-form-wrapper .form-control {
    margin-bottom: 1rem;
}

.comment-form-wrapper .btn-primary {
    border-radius: 4px; /* if you want slightly rounded buttons */
}

.comment-list,
.comment-list ul,
.comment-list ol {
    list-style: none;  /* removes numbers and bullets */
}

/* BLOG CAPTIONS */
.entry-content figure figcaption,
.post-content figure figcaption {
	font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 15px;
    font-weight: 600;
    color: #777;
    
    padding-left: 10px;       /* Space between line and text */
    border-left: 3px solid #9d1730; /* Vertical line on the left */
    margin-top: 5px;          /* Space between image and caption */
}

@media (max-width: 768px) {
    .entry-content figure figcaption {
        font-size: 12px;
        border-left-width: 2px;  /* Thinner line on small screens */
        padding-left: 8px;
    }
}


/* ===========================
   STACK Featured Posts
=========================== */

.featured-side-item{
    display:flex;
    align-items:center;
    margin-bottom:40px;
    position:relative;
}

/* IMAGE SIDE */

.featured-side-img-wrapper{
    width:55%;
    position:relative;
}

.featured-side-img{
    width:100%;
    aspect-ratio:4/3;
    background-size:cover;
    background-position:center;
}

/* TEXT CARD */

.featured-side-body{
    width:55%;
    background:rgba(255,255,255,0.95);
    padding:20px;
    border:1px solid #eee;

    margin-left:-40px;   /* creates the overlap */
    position:relative;
    z-index:2;
}

/* CATEGORY */

/* CATEGORY BADGES: SINGLE BLOCK */
.category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* space between badges */
    margin-top: 5px;
}

/* Badge container (single red block) */
.category-badge {
    font-family: "Montserrat", sans-serif;
    background-color: #9d1730;
    color: #fff !important;        /* force white text */
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    display: inline-block;
    border-radius: 2px;
    transition: background 0.3s;
}

/* Ensure links inside the badge are white and clickable */
.category-badge a {
    color: #fff !important;        /* force white text */
    text-decoration: none;         /* remove underline */
}

.category-badge a:hover {
    text-decoration: underline;    /* optional hover effect */
}

/* Optional: slightly darker red on hover of the entire badge */
.category-badge:hover {
    background-color: #9d1730;
}

/* TITLE */

.featured-side-title {
    line-height: 24px;
}

.featured-side-title a,
.featured-side-title a:visited {
    font-family: "Oswald",sans-serif;
    font-size: 24px;
    color: #121212;
    text-decoration: none;
    text-transform: uppercase;
}

.featured-side-title a:visited {
    color: #555;
}

.featured-side-title a:hover {
    color: #9d1730;
}

/* EXCERPT */

.featured-side-excerpt {
    font-size: 13px;
    margin:0px 0;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width:767px){

.featured-side-item{
    flex-direction:column;
}

.featured-side-img-wrapper{
    width:100%;
}

.featured-side-body{
    width:90%;
    margin-left:0;
    margin-top:-40px; /* overlay like bottom cards */
}

}


/* ===== FEATURED POSTS CARDS ===== */

/* Card wrapper */
.featured-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* JS will equalize row heights */
}

/* Image wrapper */
.featured-img-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1; /* fill the card */
}

/* Featured image */
.featured-img {
    width: 100%;
    aspect-ratio: 4/3; /* keep same ratio */
    background-size: cover;
    background-position: center;
    display: block;
}

/* Category badge */
.category-badge {
    font-family: "Montserrat", sans-serif;
    position: absolute;
    top: 10px;
    left: 0px;
    background-color: #9d1730;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    z-index: 2;
}

/* Overlay text container */
.featured-body {
    display: flex;
    flex-direction: column;
    flex: 1; /* fills remaining space */
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    margin: -30px 20px 0 20px; /* slight overlap on image */
    border: 1px solid #eee;
}

/* Top text section (title, meta, excerpt) */
.featured-top {
    /* stays at the top */
}

/* Button always at bottom */
.featured-body .btn {
    margin-top: auto; /* pushes button to bottom */
}

/* Title & meta */
.featured-title a {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    line-height: 20px;
    color: #121212;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
}

.featured-title a:visited {
    color: #555;
}

.featured-title a:hover {
    color: #9d1730;
}

.featured-meta {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
}

.featured-author {
    font-weight: bold;
    text-transform: uppercase;
}

.featured-excerpt {
    font-size: 13px;
    margin-bottom: 1rem;
}

/* Responsive mobile: stack overlays and resize text */
@media (max-width: 767.98px) {
    .featured-body {
        margin-top: -40px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .category-badge {
        top: 15px;
        left: 0px;
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .featured-title a {
        font-size: 24px;
        line-height: 26px;
    }
    
    .featured-excerpt, .featured-side-excerpt {
    font-size: 16px;
}
}



/* =====================================
   SEARCH THUMBNAILS BESIDE CONTENT
======================================= */
.search-result {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-thumb {
    flex-shrink: 0;
    width: 120px;   /* smaller square */
    height: 120px;  /* smaller square */
}

.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* keeps square shape */
    border-radius: 4px;
}

.search-content {
    flex: 1 1 auto;
    min-width: 0; /* prevent flex overflow */
}

/* =====================================
   SEARCH FILTERS
======================================= */
#search-filters {
    display: flex;
    flex-wrap: wrap; /* wrap on mobile */
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#search-filters select,
#search-filters button {
    min-width: 150px;
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    #search-filters {
        flex-wrap: nowrap; /* single row on desktop */
    }

    #search-filters select,
    #search-filters button {
        display: inline-block;
        width: auto;
        margin-bottom: 0;
    }
}

.search-form-large input {
    height: 48px;
    font-size: 1rem;
    border-radius: 0;
}

.search-form-large button {
    height: 48px;
}

/* =====================================
	SUBSCRIBE 
=======================================*/

/* ----- BASE PRICING CARD ----- */
.pricing-card {
    position: relative;
    border: 1px solid #bbb; /* outline for non-featured */
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    background-color: #fff;  /* card background */
    color: #121212;           /* default text color for non-featured */
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ----- CARD HEADER ----- */
.pricing-card .card-header {
	font-family: "Oswald", sans-serif;
    background: #333; /* default header bg */
    color: #fff;          /* default header text */
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    font-size: 1.25rem;
    line-height: 2.25rem;
    transition: font-size 0.25s ease;
}

/* Featured card header larger */
.pricing-card.featured .card-header {
    font-size: 2rem;
}

/* ----- CARD BODY ----- */
.pricing-card .card-body {
    background: #eee;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* ----- PRICE LINE ----- */
.price-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.price-line span {
	font-family: "Oswald", sans-serif;
    color: inherit;  /* inherit card text color */
}

.old-price, .per-year {
	font-weight: 400;
    font-size: 1.75rem;
    color: #777;
}

.old-price {
    text-decoration: line-through;
}

.new-price {
    font-size: 3rem;
    letter-spacing: -0.1rem;
    margin: 0 0.5rem;
}

.subscription-deets {
	font-family: "Oswald", sans-serif;
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
}

.subscription-deets span {
    display: block;
    padding: 0.25rem 0;
    border-bottom: 1px solid #ccc; /* line below each span */
}

.subscription-deets span:last-child {
    margin-bottom: 0; /* optional: reduce extra space below last line */
}

.subscription-extras {
	font-family: "Oswald", sans-serif;
    font-size: .75rem;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 300;
}

/* ----- FEATURED CARD ----- */
.pricing-card.featured {
    background-color: #9d1730; /* full red */
    color: #fff;                /* all text white */
    border: none;               /* remove outline */
    transform: scale(1.04);
    z-index: 2;
}

.pricing-card.featured .card-header,
.pricing-card.featured .card-body {
    background-color: #9d1730; /* match entire card bg */
    color: #fff;                /* all text white */
}

/* ----- FEATURED BUTTON ----- */
.pricing-card.featured .subscribe-btn,
.pricing-card.featured .subscribe-btn:visited {
    background-color: #fff;
    color: #9d1730;
    border: 3px solid #fff;
}

.pricing-card.featured .subscribe-btn:hover {
    background-color: #000;  /* black background on hover */
    color: #fff;             /* white text on hover */
    border-color: #000;
}

/* ----- RIBBON ----- */
.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 200px;
    padding: 8px 0;
    background: #fff; /* white ribbon */
    color: #000;      /* black text */
    font-weight: 700;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .08em;
    transform: rotate(45deg);
    top: 35px;
    right: -45px;
    box-shadow: 0 5px 12px rgba(0,0,0,.25);
}

/* ----- FLEX TRICKS ----- */
.card-body .flex-grow-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-lg-4.d-flex, .col-lg-6.d-flex {
    display: flex;
}

.col-lg-4.d-flex .pricing-card,
.col-lg-6.d-flex .pricing-card {
    flex: 1 1 auto; /* flex-fill for equal height */
    display: flex;
    flex-direction: column;
}

.icon {
    font-size: 3rem;
}

.gift-title {
	font-family: "Oswald", sans-serif;
    color: #9d1730;          /* default header text */
    font-weight: 500;
    text-transform: uppercase;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: -1px;
}




/* =====================================
	NEWSLETTER 
=======================================*/

/* for SIDEBAR */
#newsletter-response {
    display: none;
    overflow: hidden;
    transition: all 0.3s ease, opacity 0.3s ease;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    opacity: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#newsletter-response.show {
    opacity: 1;
}

#newsletter-response i {
    font-size: 1.2rem;
}

/* Sidebar newsletter consent text */
.sidebar-newsletter .form-check-label {
    font-size: 9px;       /* smaller than default 'small' */
    line-height: 9px;      /* optional, makes it more compact */
    color: #777;           /* optional, subtle gray */
}

.sidebar-newsletter .form-check-input {
    /* hide default checkbox */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #999;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color 0.2s, border-color 0.2s;
}

/* checkmark */
.sidebar-newsletter .form-check-input:checked::after {
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 2px;
}

/* checked background */
.sidebar-newsletter .form-check-input:checked {
    background-color: #9d1730;
    border-color: #9d1730;
}

/* for E-NEWSLETTER PAGE */

.newsletter-section {
    background-image: url('/wp-content/themes/whr/assets/images/outdoor_arena-bg.jpg');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%;
}



/* =====================================
	CONTACT
=======================================*/

.contact-title {
	font-family: "Montserrat", sans-serif;
    color: #9d1730;          /* default header text */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 2px;
}

/* circle around icon */
.contact-icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto; /* centers horizontally */
    border-radius: 50%;
    background-color: #9d1730; /* light gray */
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff; /* brand accent color */
}

/* optional: box styling */
.contact-feature-box {
    background-color: #fff; /* or transparent */
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    transition: transform 0.2s;
}



/* =====================================
	STALLIONS
=======================================*/

/* GRID */

.stallion-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

.stallion-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.stallion-image-link {
    height: 100%; /* portrait height */
    background-size: cover;
    background-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.stallion-card:hover .stallion-image-link {
    transform: scale(1.05);
}

/* Top Info Block (title + stats) */
.stallion-info {
    background: #9d1730;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;              /* this block grows to fill space */
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px dotted #777;
}

.stallion-title,
.stallion-title a,
.stallion-title a:hover,
.stallion-title a:focus,
.stallion-title a:active {
    font-family: "Oswald", sans-serif;
    font-weight: 400 !important;
    font-size: 36px;
    line-height: 36px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    word-wrap: break-word;
}

.grid-stats {
    font-family: "Oswald", sans-serif;
    font-size: 9px;
    line-height: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 5px;
}

.grid-studowner {
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    color: #fff;
    font-weight: 200;
    text-transform: uppercase;
    align-items: center;
    letter-spacing: 1px;
    padding: 2px 0;
    text-align: center;
}

.learnmore-button,
.learnmore-button:visited {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 6px 12px;
    border: 3px solid #fff;
    color: #fff;           /* red text by default */
    background-color: #121212;    /* white bg */
    text-decoration: none;
    text-align: center;
    border-radius: 0;          /* square */
    transition: all 0.3s ease;
    margin: 10px auto 15px auto; /* center at bottom */
}

/* Hover Effect */
.learnmore-button:hover {
    background-color: #fff; /* red fill */
    color: #121212;               /* white text */
    border-color: #fff;     /* red border */
}


/* DETAIL */

.hugename {
    font-family: 'Oswald', sans-serif;
    font-size: 72px;
    line-height: 72px !important;
    font-weight: 500;
    color: #121212; 
    text-transform: uppercase;   
}

.stallion-imgs {
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

.stud-stats {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    line-height: 16px;
    color: #555;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
}

.owner {
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: #555;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
}

.stud-details-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #121212;
}

.studfee {
    font-family: "Oswald", sans-serif;
    font-size: 48px;
    line-height: 48px;
    color: #9d1730;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0px;
}
.studfee-deets {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    line-height: 20px;
    color: #9d1730;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0px;
}
.studfee-smallerdeets {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    line-height: 16px;
    color: #121212;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0px;
}
.studfee-standingat {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    line-height: 18px;
    color: #121212;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0px;
}
.studfee-moredeets {
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    line-height: 13px;
    color: #121212;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0px;
}
.earnings {
    font-size: 24px;
    line-height: 24px;
    color: #121212;
    letter-spacing: 0px;
}

.stud-card-title {
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    line-height: 12px;
    color: #555;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
}
.stud-card-bigtitle {
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    line-height: 24px;
    color: #9d1730;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0px;
}

.stud-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.stud-contact-row i {
    width: 18px; /* keeps icons aligned vertically */
    text-align: center;
}

.contact-owner {
    font-size: 18px;
    line-height: 20px;
    color: #121212;
    font-weight: 600;
    letter-spacing: 0px;
}
.contact-location {
    font-size: 14px;
    line-height: 16px;
    color: #121212;
    font-weight: 400;
    letter-spacing: 0px;
}

.accomplishments-lined {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    padding-top: 3px;
}
.accomplishments-lined:last-child {
    border-bottom: none;
}


/* SUPPORTING PHOTOS */

.supporting-photo {
    position: relative;
    display: flex;           /* make it a flex container */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    overflow: hidden;
}

.supporting-photo img {
    width: auto;   /* maintain aspect ratio */
    max-width: 100%;
    max-height: 100%; 
    display: block;
    transition: filter 0.2s ease;
}

.supporting-photo::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.2s ease;
}

.supporting-photo:hover::after {
    background-color: rgba(0,0,0,0.2);
}


/* PANEL TESTS */

.panel-wrap {
    width: 100%;
    margin: 0;
}

.panel-grid {
    display: grid;
    grid-template-rows: auto auto;
    max-width: 600px; /* adjust as needed */
    width: 100%;
    border: 1px solid #eee; /* outer border */
    border-radius: 4px;
    overflow: hidden;
}

.panel-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
}

/* RESULTS ROW */
.panel-results div {
    font-weight: 400;
    font-size: 1.1rem;
    background: #fff;
    padding: 2px 0;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* remove right border for last column */
.panel-results div:last-child {
    border-right: none;
}

/* LABELS ROW */
.panel-labels div {
	font-family: "Oswald", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #fff;
    background: #9d1730;
    padding: 3px 0;
    border-right: 1px solid #eee;
}

/* remove right border for last column */
.panel-labels div:last-child {
    border-right: none;
}

/* horizontal border between rows */
.panel-results {
    border-bottom: 1px solid #eee;
}


/* PEDIGREE */

.table-pedigree {
    vertical-align: middle; /* vertically centers content */
}
.table-pedigree td {
	width:33%;
	padding: 5px 10px 4px 0px;
    border-bottom: 1px solid #ddd;
}
.pedigree-small {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    line-height: 15px;
    font-weight: 100;
    color: #888 !important;
    letter-spacing: 0px;
    text-transform: uppercase;
}
.pedigree-sire {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    color: #121212;
    letter-spacing: 0px;
    text-transform: uppercase;
}
.pedigree-dam {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    color: #9d1730 !important;
    letter-spacing: 0px;
    text-transform: uppercase;
}


/* INCENTIVES */

.logo-grid {
    display: flex;
    flex-wrap: nowrap;           /* single row on large screens */
    justify-content: center;
    align-items: center;
    gap: 0rem;
    overflow-x: auto;            /* horizontal scroll if too many logos */
    padding: 0rem 0rem;
}

.incentive-item {
    flex: 0 0 auto;              /* fixed size, no shrinking */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;       /* remove underline */
    border-bottom: none !important;         /* remove any border */
    transition: transform 0.2s ease;
}

.incentive-logo {
    max-width: 100px;
    max-height: 70px;
    object-fit: contain;
    display: block;
    margin: auto;
    opacity: 0.85;               /* slightly lighter by default */
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.incentive-item:hover .incentive-logo {
    opacity: 1;                  /* full opacity on hover */
    transform: scale(1.05);      /* subtle zoom */
}

@media (max-width: 768px) {
    .logo-grid {
        flex-wrap: wrap;          /* wrap logos on small screens */
        justify-content: center;
    }
}

/* =====================================
   MEDIA KIT 
======================================= */

.advertise-subline {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    line-height: 14px;
    font-weight: 200;
    color: #121212 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.advertising-counts {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #9d1730;
    letter-spacing: -1px;
}

.advertise-bulletline {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    color: #121212;
    letter-spacing: 0px;
    text-transform: uppercase;
}
.advertise-bulletline .bullet {
    color: #9d1730;
}

@media (max-width: 376px) {
	.advertise-bulletline {
		font-size: 18px;
    	line-height: 18px;
	}
}


/*--------------------------------------------------------------
  CTA
----------------------------------------------------------------*/

/* Full-Width CTA Section */
.cta-section {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #9d1730;  /* Red background for the entire section */
    padding: 10px 0;  /* Adjust the padding to make it narrow */
}

/* Full-Width Red Background for CTA */
.cta-red {
    width: 100%;  /* Make the container stretch full width */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Title Styling */
.cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;  /* Ensure text color is white */
    margin-right: 10px;  /* Space between title and button */
    white-space: nowrap; /* Prevent text from wrapping to next line */
    flex-shrink: 0;  /* Prevent title from shrinking */
}

/* Footer Button Styling */
.cta-button {
    margin-left: 10px; /* Optional: add spacing between title and button */
    flex-shrink: 0;  /* Prevent button from shrinking */
}

/* =====================================
   MOBILE BUTTONS & CTA (max-width 767px)
======================================= */
@media (max-width: 767px) {

    /* Global Button Style */
    .cta-button {
        font-size: 20px;        /* smaller font for mobile */
        padding: 2px 8px 3px 8px; /* reduce padding */
    }

    /* Medium Button */
    .med-button,
    .med-button:link,
    .med-button:visited {
        font-size: 14px;        /* smaller font */
        padding: 2px 8px 3px 8px; /* reduce padding */
    }

    .med-button i {
        font-size: 20px;        /* scale down icon size */
    }

    /* Full-Width CTA Section */
    .cta-section {
        padding: 6px 0;         /* less vertical padding */
    }

    /* Title Styling */
    .cta-title {
        font-size: 20px;        /* smaller font */
        margin-right: 6px;      /* reduce spacing to button */
    }

    /* Footer Button spacing */
    .cta-button {
        margin-left: 6px;       /* reduce spacing between title and button */
    }

    /* Ensure flex doesn't shrink too much */
    .cta-section,
    .cta-red {
        flex-wrap: wrap;        /* allow wrapping on very small screens */
    }
}



/*--------------------------------------------------------------
  FOOTER
----------------------------------------------------------------*/

.footer-main {
    background-color: #1b1b1b;
    background-image: url('/wp-content/themes/whr/assets/images/footer_bg.png');
}

/* Logo */
.footer-logo img {
    width: 90%;
}

/* Titles */
.footer-title {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #bbb;
    letter-spacing: 2px;
}

/* App logo */
.app-logo {
    width: 100px;
    margin-top: 10px;
}

/* Footer Latest Posts */
.footer-latest-posts li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #bbb;
}

.footer-latest-posts img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: cover;
}

.footer-latest-posts a {
    color: #bbb;
    text-decoration: none;
}

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

/* Latest Posts Right Thumbs */
.footer-latest-posts.right-thumbs li {
    flex-direction: row-reverse;
    justify-content: space-between;
}

.footer-latest-posts.right-thumbs img {
    margin-left: 10px;
    margin-right: 0;
}

/* FOOTER CATEGORIES */

.footer-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-category-buttons a {
    flex: 1 1; /* flex-grow = 1, flex-shrink = 1, base width = 150px */
    text-align: center;
    padding: 2px 10px;
    border: 1px dotted rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

/* Hover */
.footer-category-buttons a:hover {
    background: #fff;
    border: 1px solid #fff;
    color: #9d1730;
}


/* FOOTER CATEGORIES - MOBILE */

.footer-categories {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
}

.footer-categories li {
    margin-bottom: 5px;
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-categories li:nth-child(odd) {
    text-align: right;
}

.footer-categories li:nth-child(even) {
    text-align: left;
}

.footer-categories a {
    color: #eee;
    text-decoration: none;
}

.footer-categories a:hover {
    color: #fff;
    border-bottom: 1px solid #9d1730;
}

/* Desktop Category Row - no longer in use */

.footer-categories-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

.footer-categories-row li {
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-categories-row li:not(:last-child)::after {
    content: " ";
    margin-left: 10px;
    color: #555;
}

/* Footer Navigation */
.footer-nav {
    list-style-type: none;
    padding-left: 0;
    text-align: right;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #bbb;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Issue / App Block */
.footer-issue {
    display: flex;
    gap: 30px;
    align-items: stretch; /* equal height columns */
    flex-wrap: wrap;
}

/* Cover */
.cover-wrap {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.cover-wrap img,
.latest-issue-block img {
    width: 100%;
    display: block;
}

/* Issue side (arrow + buttons) */
.issue-side {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* arrow top, buttons bottom */
    position: relative;
}

/* Arrow */
.issue-arrow {
    font-family: "Oswald", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9d1730;
    color: #fff;
    height: 30px;        /* <-- reduce this for "arm" */
    padding: 0 30px;
    font-size: 18px;
    white-space: nowrap;
    position: relative;
    left: -30px;         /* overlaps cover */
}

/* Arrowhead */
.issue-arrow::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 50px;        /* <-- keep tall to match previous */
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-right: 25px solid #9d1730;
}

/* App Buttons */
.issue-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.issue-content a.app-button {
    width: 140px;
    text-align: center;
}

/* Footer App Text */
.footer-app {
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    font-weight: 200;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 1px;
}

/* Branding / Tagline */
.toptag {
    font-family: "Amiri", serif;
    font-size: 13px;
    color: #ccc;
    letter-spacing: 4px;
}

.tagline {
    font-family: "Amiri", serif;
    font-size: 18px;
    font-weight: 200;
    color: #aaa;
}

.tagline .bullet {
    color: #555;
    margin: 0 0px;
    font-size: 1em;
}

/* Mobile Socials */
.footer-socials .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-socials .social-icons a {
    font-size: 30px;
    color: #dedede;
    transition: color 0.3s;
}

.footer-socials .social-icons a:hover {
    color: #9d1730;
}


.app-button i {
    font-size: 20px;
}

.app-button,
.app-button:link,
.app-button:visited {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 3px 10px 5px 10px;
    border: 3px solid #fff;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 0;
    transition: all 0.3s ease;
    width: 100%;
}

.app-button:hover {
    background-color: #fff;
    color: #9d1730;
    border-color: #fff;
}

.mobile-download {
    font-family: "Oswald", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
}

/* Footer Bottom */
.footer-bottom {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 200;
    background-color: #121212;
    color: #bbb;
    letter-spacing: 1px;
}

.footer-links a, .footer-links a:visited {
    color: #bbb;
    text-decoration: none;
    border-bottom: 1px solid #9d1730;
}

.footer-links a:hover {
    color: #fff;
    border-bottom: 1px solid #9d1730;
}

/* Footer Siteby */
.footer-siteby {
    font-family: "Oswald", sans-serif;
    font-size: 8px;
    font-weight: 200;
    text-transform: uppercase;
    background-color: #000;
    color: #bbb;
    letter-spacing: 2px;
}

.footer-siteby a {
    color: #bbb;
    text-decoration: none;
}

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

/*--------------------------------------------------------------
  MOBILE / RESPONSIVE OVERRIDES
----------------------------------------------------------------*/

@media (max-width: 767px) {

    .footer-categories-row {
        display: none;
    }

    /* Keep columns side-by-side on mobile */
    .footer-issue {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .cover-wrap,
    .issue-side {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .issue-side {
        justify-content: space-between; /* arrow top, buttons bottom */
        align-items: flex-start;
    }

    .issue-arrow {
        left: -25px;
        margin-bottom: 10px;
        height: 25px;          /* shorter arm on mobile */
        font-size: 16px;
        padding: 0 20px;
    }

    .issue-arrow::before {
        height: 40px;          /* taller tip relative to arm */
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-right: -20px solid #9d1730;
        right: -15px;
    }

    .issue-content {
        align-items: flex-start;
    }
}



@media (max-width: 480px) {
    .footer-bottom {
        font-size: 9px;
        letter-spacing: 0px;
    }

    .footer-siteby,
    .footer-siteby a {
        font-size: 7px;
        color: #999;
    }
    
    .app-button i {
    font-size: 24px;
	}
	
	.app-button,
	.app-button:link,
	.app-button:visited {
		font-size: 17px;
	}
}

@media (max-width: 340px) {
    .footer-bottom {
        font-size: 7px;
        letter-spacing: 0px;
    }
}


/*--------------------------------------------------------------
  BACK TO TOP
----------------------------------------------------------------*/

/* -----------------------------
   BACK TO TOP BUTTON
------------------------------ */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;                /* circle width */
    height: 50px;               /* circle height */
    background-color: transparent; /* no solid background */
    border: 2px solid #000;     /* 2px outline */
    color: #000;                /* arrow color */
    opacity: 0.3;               /* default transparency */
    border-radius: 50%;         /* makes it round */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-decoration: none;      /* remove underline if it's a link */
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s, transform 0.2s, opacity 0.3s, color 0.3s;
}

#back-to-top:hover {
    background-color: #121212; /* full color on hover */
    color: #fff;               /* arrow turns white */
    opacity: 1;                /* remove transparency */
    transform: scale(1.1);
}

/* -----------------------------
   SALE! / CIRCULAR BADGES
------------------------------ */
.sale-badge, .circular-button {
    width: 50px;           /* fixed width */
    height: 50px;          /* fixed height */
    border-radius: 50%;    /* perfect circle */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;        /* prevents text stretching */
    padding: 0;            /* remove extra padding */
    font-weight: bold;
    font-size: 14px;       /* adjust as needed */
    background-color: #e74c3c; /* example color */
    color: #fff;
}

/* WooCommerce SALE! circular badge */
.onsale {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 1;
    padding: 0 !important;
    text-align: center;
    background-color: #75bc18 !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 14px;

    /* Glow effect */
    box-shadow: 0 0 10px rgba(117, 188, 24, 0.8), /* green glow */
                0 0 20px rgba(117, 188, 24, 0.6),
                0 0 30px rgba(117, 188, 24, 0.4);
}

/* Optional: make responsive */
@media (max-width: 768px) {
    #back-to-top,
    .sale-badge,
    .circular-button {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
}








/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #121212;
}

a:visited {
	color: #777;
}

a:hover,
a:focus,
a:active {
	color: #9d1730;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
