/* 
 * Sanders Outdoors - Bootstrap 5 Custom Styles
 * Migrated from legacy Bootstrap 3 theme (style.css, theme-colors.css, responsive.css)
 * All Bootstrap 3 selectors converted to Bootstrap 5 equivalents
 */

/* ============================
   FONTS
   ============================ */
@font-face {
    font-family: "Spectral";
    src: url(/fonts/Spectral-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Open-Sans";
    src: url(/fonts/OpenSans-Regular.ttf) format("truetype");
}

/* ============================
   BASE STYLES
   ============================ */
html {
    font-size: 62.5%;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 1em;
    font-family: 'Open-Sans', sans-serif;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #222222;
    background-color: #f7f7f7;
    background: #f7f7f7 url('/img/background.png') repeat center top;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

label {
    font-weight: bold;
}

h1 {
    font-size: 3.6rem;
    line-height: 4.4rem;
    font-weight: 700;
}

a {
    color: #006224;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: #009336;
    transition: all 0.3s ease-in-out;
}

.container a {
    color: rgb(0, 98, 36);
}

.container a:hover {
    color: rgb(0, 147, 54);
}

/* ============================
   TYPOGRAPHY
   ============================ */
h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

.heading-title {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #efefef;
    text-align: center;
}

.heading-title h2 {
    margin: 0;
    position: relative;
    display: inline-block;
    font-weight: 800;
    text-transform: uppercase;
}

.heading-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -16px;
    width: 100%;
    background-color: #8cc152;
    height: 2px;
}

.heading-title h2 small {
    display: block;
    margin: 10px auto;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.single-cat-title {
    margin-bottom: 20px;
    padding-top: 15px;
}

.single-cat-title h4 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 700;
}

.label-title {
    display: block;
    padding: 0;
    margin: 0 0 15px;
}

.label-title h3 {
    display: inline-block;
    margin-top: 0;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 600;
    color: #434a54;
    border-bottom: 3px double #ddd;
}

.first-paragraph {
    display: block;
    float: left;
    margin: 10px 10px 5px 0;
    padding: 5px 14px;
    background-color: #434a54;
    color: #fff;
    border-radius: 2px;
}

.text-secondary {
    color: #8cc152;
}

blockquote {
    border-left-color: #8cc152;
    background-color: #f5f5f5;
    padding: 30px;
    line-height: 30px;
}

.marg-20-top {
    margin-top: 20px;
}

.marg-30-top {
    margin-top: 30px;
}

.marg-25-bottom {
    margin-bottom: 25px;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    border-radius: 3px;
}

.btn-secondary {
    color: #fff;
    background-color: #a0d468;
    border-color: #8cc152;
    border-radius: 2px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
    color: #fff;
    background-color: #8cc152;
    border-color: #8cc152;
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    background-color: #a0d468;
    border-color: #8cc152;
}

.btn-secondary .badge {
    color: #a0d468;
    background-color: #fff;
}

.btn-primary {
    color: #fff !important;
    background-color: #a0d468 !important;
    border-color: #8cc152 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: #fff !important;
    background-color: #8cc152 !important;
    border-color: #7ab042 !important;
}
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #a0d468 !important;
    border-color: #8cc152 !important;
    opacity: 0.65;
}

/* ============================
   LINK COLOR: Bootstrap 5 defaults to blue (#0d6efd); the site theme uses
   green. Override the CSS custom properties so every component that derives
   its link color from --bs-link-color (pagination, dropdown items, etc.)
   inherits the site green. (T-255)
   ============================ */
:root {
    --bs-link-color: rgb(0, 98, 36);
    --bs-link-hover-color: rgb(0, 147, 54);
}

/* ============================
   SITE-GREEN ACTION BUTTONS
   Right-column feedback / broken-link buttons use the darker site green
   (rgb(0, 98, 36)) instead of the default light green (.btn-primary). (T-264)
   ============================ */
.suggest-modification.btn-primary,
.report-broken-link.btn-primary {
    background-color: rgb(0, 98, 36) !important;
    border-color: rgb(0, 98, 36) !important;
}

.suggest-modification.btn-primary:hover,
.suggest-modification.btn-primary:focus,
.suggest-modification.btn-primary:active,
.suggest-modification.btn-primary.active,
.report-broken-link.btn-primary:hover,
.report-broken-link.btn-primary:focus,
.report-broken-link.btn-primary:active,
.report-broken-link.btn-primary.active {
    background-color: rgb(0, 74, 27) !important;
    border-color: rgb(0, 74, 27) !important;
}

.btn-success {
    color: #fff !important;
    background-color: #a0d468 !important;
    border-color: #8cc152 !important;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
    color: #fff !important;
    background-color: #8cc152 !important;
    border-color: #7ab042 !important;
}
.btn-success:disabled,
.btn-success.disabled {
    background-color: #a0d468 !important;
    border-color: #8cc152 !important;
    opacity: 0.65;
}

.btn-default {
    color: #555 !important;
    background-color: #e6e9ed !important;
    border-color: #ccd1d9 !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
    color: #555 !important;
    background-color: #ccd1d9 !important;
    border-color: #aab2bd !important;
}
.btn-default:disabled,
.btn-default.disabled {
    background-color: #e6e9ed !important;
    border-color: #ccd1d9 !important;
    opacity: 0.65;
}

.bg-secondary {
    color: #fff;
    background-color: #a0d468;
}

a.bg-secondary:hover {
    background-color: #8cc152;
}

/* ============================
   Preview Cards
   ============================ */
.preview-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.preview-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.preview-card-img {
    height: 200px;
    object-fit: cover;
}

.preview-card-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #006224 0%, #a0d468 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.preview-card .card-title {
    font-size: 1.6rem;
    font-weight: 700;
}

.card-meta {
    margin-bottom: 0.75rem;
}

.badge-county {
    background-color: #006224;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

.badge-type {
    background-color: #e8f5e9;
    color: #006224;
    font-weight: 500;
    font-size: 1.1rem;
    margin-left: 4px;
}

.subscriber-badge {
    background-color: rgb(176, 139, 0);
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.35em 0.65em;
}

.btn-preview,
a.btn-preview,
a.btn-preview:link,
a.btn-preview:visited,
a.btn-preview:hover,
a.btn-preview:active,
a.btn-preview:focus-visible {
    background-color: #006224 !important;
    border-color: #006224 !important;
    color: #fff !important;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 0.5rem 1.25rem;
}

a.btn-preview:hover {
    background-color: #004a1b !important;
    border-color: #004a1b !important;
}

.callout-register {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #333;
}

.callout-register a {
    font-weight: 700;
    color: #006224;
    text-decoration: underline;
}

/* ============================
   HEADER & LOGO
   ============================ */
.header.container {
    padding-top: 25px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 8px;
    color: #222222;
}

.header.container::after {
    content: '';
    display: table;
    clear: both;
}

.header .title-container {
    border-bottom: 3px solid rgb(176, 139, 0);
    width: calc(100% - 230px);
    display: inline-block;
    padding-bottom: 5px;
}

.header .title-container a {
    font-size: 60px;
    font-family: 'Spectral', cursive;
    color: rgb(0, 98, 36);
    text-decoration: none;
}

.header .title-container a:hover {
    color: rgb(0, 98, 36);
    text-decoration: none;
}

.header img {
    margin-top: -23px;
    margin-right: 43px;
    margin-bottom: 15px;
    float: right;
    width: 155px;
    height: 128px;
}

.secondary-nav-text {
    font-size: 13px;
    text-align: center;
    line-height: 34px;
}

/* ============================
   NAVBAR (Bootstrap 5 migration)
   ============================ */
.nav-container {
    margin-bottom: 0;
    padding: 0;
    border-radius: 5px;
}

.nav-container .navbar {
    background: transparent;
    position: relative;
    top: -50px;
    margin-bottom: -50px;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    padding: 15px 0;
}

.navbar-brand > img {
    display: inline-block;
}

/* Bootstrap 5: .navbar-light replaces .navbar-default */
.navbar-light {
    background: transparent;
    background-image: none !important;
    min-height: 50px;
}

.navbar-light .navbar-brand {
    font-size: 50px;
    font-family: 'Spectral', cursive;
}

.navbar-light .navbar-brand:hover {
    color: #006224;
}

.navbar-light .navbar-brand img {
    margin-top: -15px;
}

/* Bootstrap 5: .nav-item and .nav-link structure */
.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 0.75em 1.5em;
    background-color: transparent;
    color: #006224;
    font-weight: 700;
    border-radius: 5px 5px 0 0 !important;
    transition: all 0.3s ease-in-out;
}

.navbar-light .navbar-nav .nav-item .nav-link:hover {
    color: #009336;
    background-color: transparent;
}

/* Bootstrap 5: .active class on nav-item */
.navbar-light .navbar-nav .nav-item.active .nav-link,
.navbar-light .navbar-nav .nav-item .nav-link.active {
    background-color: #006224;
    color: #fff;
    border-radius: 2px;
}

/* Bootstrap 5: .show replaces .open for dropdowns */
.navbar-light .navbar-nav .nav-item.dropdown.show .nav-link {
    background-color: #006224;
    color: #fff;
    border-radius: 2px 2px 0 0;
}

.nav-container .navbar-nav .nav-item {
    background-color: #fff;
    margin: 0 5px;
    border-radius: 5px 5px 0 0;
}

/* Bootstrap 5: navbar-toggler replaces navbar-toggle */
.navbar-light .navbar-toggler {
    color: #fff;
    background-color: rgb(0, 98, 36);
    border-color: #fff;
    float: none !important;
    padding: 0.8rem 1rem;
    min-width: 44px;
    min-height: 44px;
}

.navbar-light .navbar-toggler-icon {
    color: #fff;
    filter: invert(100%);
    width: 2rem;
    height: 2rem;
}

/* Fix: override BS5 default 1rem dropdown font-size to match body (1.4rem = 14px) */
.dropdown-menu {
    --bs-dropdown-font-size: 1.4rem;
}

/* Bootstrap 5: dropdown-item replaces li > a in dropdown-menu */
.dropdown-menu .dropdown-item {
    position: relative;
    z-index: 2;
    padding: 10px 22px;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    background-color: #8cc152;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover::before,
.dropdown-menu .dropdown-item:focus::before,
.dropdown-menu .dropdown-item.active::before {
    width: 3px;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f5f5f5;
    color: #006224;
}

.dropdown-menu .dropdown-item.active {
    background-color: #f5f5f5;
    color: #8cc152;
}

.navbar-secondary {
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.navbar-secondary.navbar-secondary-hide {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.facebookLogo {
    height: 2em;
    width: 2em;
}

/* ============================
   CONTENT
   ============================ */
.content-wrapper {
    background-color: #fff;
    border-radius: 0;
    position: relative;
    margin-top: -10px;
    overflow: hidden;
    flex: 1;
    padding: 25px;
}

.content-body {
    background-color: #fff;
}

.content-article {
    padding: 20px;
}

.content-main-body .alert {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.content-main-body .alert span {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.main-body {
    padding: 0 20px 50px 20px;
}

/* ============================
   FORMS
   ============================ */
.form-control {
    border-radius: 3px;
}

.form-control:focus {
    border-color: #bbb;
    box-shadow: none;
}

input[type="text"],
input[type="password"],
input[type="search"],
input[type="file"],
textarea,
select {
    background: #fff;
    border: 1px solid #ddd;
    font-size: 100%;
}

select {
    font-size: 100%;
}

/* Override Bootstrap 5 form-select to match legacy Bootstrap 3 look */
.form-select {
    height: 3.4rem;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.form-select:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* ============================
   MAP
   ============================ */
#map {
    width: 100%;
    height: 360px;
    margin-bottom: 20px;
    border: 8px solid #fff;
    border-radius: 3px;
    box-shadow: 0 0 1px 0 #6b6e80;
    box-sizing: border-box;
}

#map img {
    max-width: none;
}

.map-infowindow {
    padding: 10px;
}

.map-infowindow h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 800;
    color: #8cc152;
}

.map-infowindow span {
    display: block;
    font-size: 14px;
    line-height: 20px;
}

#map-header {
    margin-top: 0;
}

#map-size-toggle {
    margin-top: 0.5em;
}

#map-size-toggle .columns {
    column-count: 2;
    width: 450px;
    height: 260px;
    overflow: auto;
}

#map-size-toggle .dropdown-menu .dropdown-item::before {
    display: none;
}

/* ============================
   BREADCRUMBS
   ============================ */
.breadcrumbs {
    background-color: rgb(176, 139, 0);
    font-style: italic;
    padding: 2px 0 2px 10px;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.breadcrumbs a {
    color: white;
    font-weight: bold;
}

.breadcrumbs a:hover {
    color: white;
    font-weight: bold;
}

.breadcrumb-current {
    color: white;
}

.breadcrumb {
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
    text-align: right;
}

.breadcrumb .active {
    color: #6b6e80;
}

/* Temporary: hide breadcrumbs sitewide */
.breadcrumbs,
.breadcrumb {
    display: none;
}

/* ============================
   PAGINATION
   ============================ */
/* Legacy btn-group pagination (admin pages) */
.pagination-btn-group {
    float: right;
}
.pagination-btn-group .btn {
    background: #fff;
    border-radius: 3px;
    margin-right: 1px;
}
.pagination-btn-group .btn:hover {
    background: #e6e6e6;
}
.pagination-btn-group .btn.current-page,
.pagination-btn-group .btn.disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    color: #333;
    pointer-events: none;
}

/* Bootstrap 5 default pagination (public pages) */
.pagination .page-link {
    color: #8cc152;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #8cc152;
}

.pagination .page-item:first-child .page-link {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pagination .page-item:last-child .page-link {
    margin-right: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pagination .page-item.active .page-link {
    background-color: #8cc152;
    border-color: #8cc152;
    color: #fff;
}

/* ============================
   SIDEBAR WIDGETS
   ============================ */
.widget-sidebar {
    margin-bottom: 30px;
}

.widget-sidebar .widget-title {
    display: block;
    margin-bottom: 25px;
}

.widget-sidebar .widget-title h3 {
    position: relative;
    margin-top: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.widget-sidebar .widget-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 1px;
    width: 40px;
    background-color: #8cc152;
}

.widget-sidebar ul {
    padding: 0;
    list-style-type: none;
}

.widget-sidebar ul > li > a {
    position: relative;
    display: block;
    padding: 4px 0;
    color: #6b6e80;
    border-bottom: 1px solid #efefef;
}

.widget-sidebar ul > li > a:hover {
    text-decoration: none;
    color: #8cc152;
}

/* ============================
   FOOTER
   ============================ */
.bottomArea {
    background-color: rgb(0, 98, 36);
    border-radius: 0;
    border-top: 3px solid rgb(176, 139, 0);
    color: #fff;
    font-size: 18px;
    padding: 25px;
}

.bottomArea a {
    text-decoration: none;
    color: #fff;
}

.bottomArea a:hover {
    color: rgb(176, 139, 0);
}

.footer-brand {
    font-family: 'Spectral', cursive;
    font-size: 22px;
}

/* Universal button sizing — enlarge to compensate for 62.5% root font */
.btn {
    font-size: 1.4rem;
    padding: 0.6rem 1.8rem;
}

.footer {
    width: 100%;
    margin-top: 30px;
    padding: 60px 0 40px;
    background-color: #434a54;
    color: #eee;
    border-bottom: 1px solid #212121;
}

.footer .widget-footer {
    display: block;
    margin-bottom: 30px;
}

.footer .widget-footer h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 800;
}

.footer .widget-footer h2 span {
    color: #8cc152;
}

.footer .widget-footer .widget-title {
    color: #fff;
    margin-bottom: 25px;
}

.footer .widget-footer .widget-title h3 {
    position: relative;
    margin-top: 0;
    font-size: 22px;
    line-height: 28px;
}

.footer .widget-footer .widget-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 1px;
    background-color: #8cc152;
}

.footer .widget-footer ul {
    padding: 0;
    list-style-type: none;
}

.footer .widget-footer ul > li > a {
    display: block;
    padding: 4px 0;
    border-bottom: 1px dotted #6b6e80;
}

.footer .widget-footer ul > li > a:hover {
    color: #ccc;
    text-decoration: none;
}

.footer .widget-footer .social-icon {
    padding: 0;
    list-style-type: none;
}

.footer .widget-footer .social-icon > li {
    display: inline-block;
}

.footer .widget-footer .social-icon > li > a {
    position: relative;
    width: 40px;
    height: 40px;
    display: block;
    border-bottom: none;
    background-color: #212121;
    border-radius: 3px;
    text-align: center;
}

.footer .widget-footer .social-icon > li > a:hover {
    color: #fff;
    background-color: #8cc152;
}

.footer .widget-footer .social-icon > li > a .fa {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
}

.copyright {
    position: relative;
    width: 100%;
    padding: 30px 0 15px;
    background-color: #212121;
    color: #eee;
    border-top: 1px solid #434a54;
}

.copyright a:hover {
    text-decoration: none;
}

/* ============================
   SOCIAL ICONS
   ============================ */
.socialIcon {
    font-size: 2em;
}

.social-icon {
    display: block;
    margin: 10px 0 0;
    padding: 0;
}

.social-icon > li {
    display: inline-block;
}

.social-icon > li > a {
    position: relative;
    width: 40px;
    height: 40px;
    display: block;
    color: #6b6e80;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 100%;
    text-align: center;
}

.social-icon > li > a:hover,
.social-icon > li > a:focus {
    color: #fff;
    background-color: #8cc152;
    border-color: #8cc152;
}

.social-icon > li > a .fa {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
}

/* ============================
   CAROUSEL / SLIDER
   ============================ */
#home-slider {
    position: relative;
    margin-bottom: 30px;
}

/* Remove Bootstrap container/gutter padding around carousel on mobile */
@media (max-width: 576px) {
    .home-content .content-article {
        padding: 0;
    }

    #home-slider {
        margin-bottom: 15px;
    }

    #home-slider .carousel-title h3 {
        font-size: 12px;
        line-height: 16px;
        left: 0;
        bottom: 24px;
    }

    #home-slider .carousel-indicators {
        bottom: 28px;
    }
}

#home-slider .carousel-control-prev,
#home-slider .carousel-control-next {
    background-image: none;
    text-shadow: none;
}

#home-slider .carousel-indicators {
    bottom: 40px;
}

#home-slider .carousel-indicators button {
    margin: 0;
    height: 8px;
    width: 8px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

#home-slider .carousel-indicators button.active {
    background-color: #fff;
}

/* Legacy .carousel-title — bottom-left title overlay with semi-transparent white bg */
#home-slider .carousel-title h3,
#home-slider .carousel-title p {
    position: absolute;
    left: 0px;
    bottom: 30px;
    padding: 4px 6px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    color: #000;
    text-shadow: none;
}

#home-slider .carousel-title h3 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    margin: 0;
}

#home-slider .carousel-title h3 small {
    position: absolute;
    left: -70px;
    top: 0;
    width: 60px;
    height: 100%;
    padding: 10px;
    background-color: rgba(140, 193, 82, 0.8);
    color: #fff;
    text-align: center;
    text-shadow: none;
    display: block;
}

#home-slider .carousel-title h3 small span {
    display: block;
    font-size: 16px;
}

/* Keep BS5 .carousel-caption fallback */
#home-slider .carousel-caption {
    text-align: left;
    padding-bottom: 20px;
}

#home-slider .carousel-caption h3 {
    position: relative;
    display: inline-block;
    padding: 4px 6px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    text-shadow: none;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

#home-slider .carousel-caption h3 small {
    position: absolute;
    left: -70px;
    top: 0;
    width: 60px;
    height: 100%;
    padding: 10px;
    background-color: rgba(140, 193, 82, 0.8);
    color: #fff;
    text-align: center;
    text-shadow: none;
    display: block;
}

#home-slider .carousel-caption h3 small span {
    display: block;
    font-size: 16px;
}

/* ============================
   TAGLINE
   ============================ */
.tagline {
    padding: 20px;
    font-size: 16px;
    line-height: 24px;
    background-color: #f7f7f7;
    background: #f7f7f7 url('/img/background.png') repeat center top;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.tagline h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 800;
    line-height: 26px;
}

/* ============================
   BLOG POSTS
   ============================ */
.blog-post {
    display: block;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 22px;
}

.blog-post .meta-post-date {
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
    color: #999;
}

.blog-post h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 24px;
}

.blog-post .meta-post-author {
    position: relative;
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 20px;
}

.blog-post .meta-post-author::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 1px;
    background-color: #8cc152;
}

.blog-post .meta-post-view {
    margin-top: 5px;
    color: #999;
    font-size: 13px;
}

.blog-post-tags {
    display: block;
    margin: 30px 0;
}

.blog-post-tags .tag-list {
    padding: 0;
    margin: 10px 0 0;
    list-style-type: none;
}

.blog-post-tags .tag-list > li {
    display: inline-block;
}

.blog-post-tags .tag-list > li > a {
    display: block;
    margin: 2px 0;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 18px;
    border: 1px solid #ddd;
    color: #6b6e80;
    border-radius: 3px;
    background-color: #fff;
}

.blog-post-tags .tag-list > li > a:hover,
.blog-post-tags .tag-list > li > a:focus {
    border: 1px solid #8cc152;
    color: #fff;
    background-color: #8cc152;
    text-decoration: none;
}

.blog-post-sharing {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.blog-post-sharing h4 {
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.blog-post-sharing .share-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: right;
}

.blog-post-sharing .share-list > li {
    display: inline-block;
}

.blog-post-sharing .share-list > li > a {
    display: block;
    padding: 2px 12px;
    font-size: 18px;
    line-height: 18px;
    color: #6b6e80;
}

.blog-post-sharing .share-list > li > a:hover,
.blog-post-sharing .share-list > li > a:focus {
    color: #8cc152;
    text-decoration: none;
}

.page-title {
    position: relative;
    padding-left: 60px;
    padding-bottom: 20px;
}

.page-title .blog-post-date {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    width: 45px;
    height: 50px;
    border: 1px solid #ddd;
    padding: 5px;
}

.page-title .blog-post-date::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: -1px;
    bottom: -1px;
    width: 45px;
    height: 4px;
    border-top: 1px solid #ddd;
}

.page-title .blog-post-date span {
    display: block;
    text-align: center;
}

.page-title .blog-post-date span:first-child {
    font-size: 16px;
    line-height: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: #8cc152;
}

.page-title .blog-post-date span:last-child {
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-title h2 {
    margin: 0;
    font-size: 34px;
    line-height: 36px;
    font-weight: 700;
}

.page-title .blog-detail-meta {
    font-size: 13px;
    line-height: 16px;
    color: #999;
}

/* ============================
   COMMENTS
   ============================ */
.comment {
    display: block;
    margin: 40px 0;
}

.comment > h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-top: 0;
    margin-bottom: 30px;
}

.comment ul {
    padding: 0;
    list-style-type: none;
}

.comment ul ul {
    margin-left: 60px;
}

.comment .comment-container {
    min-height: 95px;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.comment .comment-container .comment-image {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 20px;
    border-radius: 3px;
    overflow: hidden;
}

.comment .comment-container .comment-image img {
    max-width: 100%;
}

.comment .comment-container .comment-text {
    padding-left: 70px;
    font-size: 14px;
    line-height: 21px;
}

.comment .comment-container .comment-text h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.comment .comment-container .comment-text .comment-meta {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

/* ============================
   SERVICES
   ============================ */
.service-container {
    display: block;
    margin-bottom: 20px;
}

.service-container:hover .service-icon .fa {
    color: #8cc152;
    transition: all 0.2s ease-in-out;
}

.service-container .service-icon {
    float: left;
    width: 40px;
    text-align: left;
}

.service-container .service-icon .fa {
    width: 28px;
    height: 28px;
    font-size: 28px;
    line-height: 28px;
    color: #434a54;
    transition: all 0.2s ease-in-out;
}

.service-container .service-content {
    padding-left: 50px;
    font-size: 14px;
    line-height: 21px;
}

.service-container .service-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #434a54;
}

/* ============================
   UTILITIES
   ============================ */
.link-list {
    margin: 0 0 1em 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.link-list li {
    display: inline;
    margin-right: 8px;
}

.link-list li:last-child {
    margin-right: 0;
}

.link-list form {
    display: inline-block;
}

.fa-pad-left {
    padding-left: 4px;
}

.fa-pad-right {
    padding-right: 4px;
}

.fa-fw.fa-pad-right {
    margin-right: 6px;
}

.spacer {
    border: 1px solid #dddddd;
}

.green {
    color: green;
}

.red {
    color: red;
}

.headerText {
    margin-top: 0;
}

.addedDate {
    font-size: 85%;
}

.btns {
    text-align: right;
    margin-top: 10px;
}

.latlon {
    font-size: 150%;
}

.latlon a {
    text-decoration: none !important;
    font-size: .6em;
    margin: 0 5px 0 10px;
}

.latlon input {
    width: 20px;
    padding: 3px;
    font-size: .6em;
    margin: 0 2px;
}

.Draft {
    color: orange;
    font-style: italic;
}

.Published {
    color: green;
    font-weight: bold;
}

.fake-nest-push-right {
    padding-left: 10px;
}

.row-separator {
    margin-top: 10px;
}

.field-validation-error {
    color: red;
}

.validation-summary-errors ul {
    color: red;
}

.validation-summary-errors span {
    font-weight: bold;
}

.photo-img {
    width: 100%;
    overflow: hidden;
}

/* ============================
   ADMIN GRID TABLES
   ============================ */
.gridHeader {
    background-color: #e8eef4;
    border-top: 0 none;
    border-bottom: 2px solid #ddd;
}

.gridHeader th {
    padding: 8px;
    line-height: 1.42857;
    vertical-align: bottom;
}

.gridHeader a {
    color: #222;
    text-decoration: underline;
}

.gridRow td {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

.gridTable {
    border: 1px solid #e8eef4;
    width: 100%;
}

.gridHidden {
    padding: 0;
}

.gridFooter td {
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
    text-align: right;
}

.gridFooter td a {
    padding: 0 3px;
}

/* ============================
   MAP TOGGLE CONTROLS
   ============================ */
#mapToggleControls {
    text-align: right;
    width: 50%;
    padding: 0;
    list-style-type: none;
    font-size: 90%;
    display: inline-block;
}

#mapToggleControls li {
    display: inline;
    margin-left: 0;
}

#mapToggleControls li ul {
    display: inline;
    margin: 0 0 0 10px;
    padding: 0;
}

#mapToggleControls label {
    color: #333;
}

#mapToggleControls a {
    text-decoration: none;
}

#mapToggleControls a.toggle-map-inactive {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    cursor: default;
}

/* ============================
   RESPONSIVE (Bootstrap 5 breakpoints)
   ============================ */
@media screen and (min-width: 768px) {
    .navbar-collapse {
        padding: 0;
    }
}

@media screen and (max-width: 991px) {
    #map-header {
        margin-top: 0 !important;
    }
}

@media (max-width: 991px) {
    .header .title-container a {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 30px;
    }

    .header .title-container {
        display: block;
        width: 100%;
        padding: 6px;
        text-align: center;
    }

    .header .title-container a {
        font-size: 25px !important;
    }

    .header img {
        padding-left: 0px;
        float: none;
        margin: -30px auto 16px;
        display: block;
    }

    .nav-container .navbar {
        top: 0;
        margin-bottom: 0;
    }

    .content-wrapper {
        padding: 5px;
    }

    /* Fixed hamburger in top-right on mobile */
    .navbar-toggler {
        position: fixed;
        top: 8px;
        right: 8px;
        z-index: 1050;
    }

    /* Expanded menu slides down from top-right */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        position: fixed;
        top: 56px;
        right: 8px;
        left: 8px;
        z-index: 1049;
        background: rgb(234, 231, 225);
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Hide map size toggle on mobile — no effect at narrow widths */
    #map-size-toggle,
    .mapControlsContainer .map-toggle-controls {
        display: none !important;
    }

    .navbar-nav .nav-item {
        background-color: rgb(234, 231, 225);
        z-index: 999;
    }

    /* Mobile nav link sizing — ensure tappable targets */
    .navbar-nav .nav-link {
        padding: 1.2rem 1.5rem;
        font-size: 1.6rem;
    }

    /* Dropdown items in mobile nav */
    .navbar-nav .dropdown-menu {
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 1.2rem 2.2rem;
        font-size: 1.6rem;
    }

    .breadcrumb {
        text-align: left;
    }

    .comment ul ul {
        margin-left: 20px;
    }

    .copyright-left,
    .copyright-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 25px !important;
    }

    /* Reduce article padding on small mobile for carousel and content to breathe */
    .content-article {
        padding: 10px;
    }
}

@media screen and (max-width: 991px) {
    .columns {
        height: 250px;
        overflow-y: scroll;
    }
}

@media screen and (min-width: 992px) {
    .columns {
        column-count: 3;
        width: 700px;
        height: 375px;
    }
}

@media screen {
    .fit-cell,
    .link-cell {
        width: 1%;
        white-space: nowrap;
    }
}

/* ============================
   NIVO LIGHTBOX
   ============================ */
.nivo-lightbox-title-wrap {
    background: black;
    padding: 10px;
}

/* ============================
   CONTENT TITLE
   ============================ */
#content-title {
    margin-bottom: 15px;
    margin-top: 0px;
}

#content-title a {
    color: rgb(0, 98, 36);
    text-decoration: none;
}

#content-title a:hover {
    text-decoration: underline;
}

.side-nav {
    color: rgb(0, 98, 36);
    border-bottom: 3px solid rgb(176, 139, 0);
    padding-bottom: 5px;
}

.title-text {
    color: rgb(0, 98, 36);
    font-family: 'Spectral', cursive;
}

#bs-example-navbar-collapse-1 {
    margin-bottom: -1px;
}

.activelink {
    background-color: #a0d468 !important;
    color: #fff !important;
}

.activelink .nav-link {
    color: #fff !important;
}

/* ============================
   UTILITY STYLES (consolidated)
   ============================ */
.display-6 {
    font-size: 2.5rem;
    font-weight: 300;
}

.card-price {
    color: rgb(0, 98, 36);
    font-weight: bold;
}

.location-photos img,
.resource-maps img {
    cursor: pointer;
    transition: transform 0.2s;
}

.location-photos img:hover,
.resource-maps img:hover {
    transform: scale(1.05);
}

.county-map {
    height: 400px;
    border-radius: 0.375rem;
    overflow: hidden;
}

.county-map.full {
    height: 600px;
}

.sortable-item {
    cursor: grab;
}

.sortable-item:active {
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.4;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 100;
}

.badge-draft {
    background-color: #6c757d;
}

.badge-published {
    background-color: #198754;
}

.upload-preview img {
    max-width: 150px;
    max-height: 150px;
    margin: 5px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable text selection site-wide (except admin and form elements) */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.admin-page {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Photo carousel caption — matches #home-slider .carousel-title overlay style */
.photoContainer .photo-caption {
    padding: 4px 6px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

/* Photo carousel BS5 — constrain width like legacy (arrows inside edges) */
#photo-carousel {
    margin-bottom: 20px;
}

/* ── Pages / Blog ── */
.page-card {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.page-card:last-child {
    border-bottom: none;
}

.page-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: 'Spectral', cursive;
    font-size: 28px;
    line-height: 1.25;
}
.page-card-title a {
    color: #006224;
    text-decoration: none;
}
.page-card-title a:hover {
    color: #009336;
}

.page-card-title .subscriber-badge {
    font-size: 1rem;
    display: block;
    margin-top: 6px;
    width: fit-content;
}

.page-detail-title {
    color: #006224;
    font-family: 'Spectral', cursive;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.page-detail hr {
    border-color: #b08b00;
}

.page-card-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 12px;
}
.page-card-meta em {
    font-style: italic;
}
.page-card-meta a {
    color: #666;
    text-decoration: none;
}
.page-card-meta a:hover {
    color: #006224;
    text-decoration: underline;
}

.page-card-snippet {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.page-card-footer {
    text-align: right;
}
.page-read-more {
    font-style: italic;
    color: #006224;
    text-decoration: none;
}
.page-read-more:hover {
    text-decoration: underline;
}

/* ── Blog post content (page-content): responsive images / figures (T-253) ── */
.page-content { line-height: 1.7; }
.page-content img {
    max-width: 100%;
    height: auto;
}
.page-content figure {
    margin: 1.25rem auto;
}
.page-content figure img {
    display: block;
    border-radius: 4px;
}
.page-content figure.aligncenter {
    text-align: center;
}
.page-content figure.aligncenter img {
    display: inline-block;
}
.page-content figure.alignleft {
    float: left;
    max-width: 50%;
    margin: 0.5rem 1rem 0.5rem 0;
}
.page-content figure.alignright {
    float: right;
    max-width: 50%;
    margin: 0.5rem 0 0.5rem 1rem;
}
.page-content figcaption {
    font-size: 13px;
    font-style: italic;
    color: #777;
    text-align: center;
    margin-top: 6px;
    line-height: 1.4;
}
.page-content h2 {
    color: #006224;
    margin-top: 1.5rem;
}

/* ── Recent posts sidebar ── */
.recent-post-item {
    margin-bottom: 10px;
}
.recent-post-item:last-child {
    margin-bottom: 0;
}
.recent-post-item a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}
.recent-post-item a:hover {
    color: #006224;
}
.recent-post-date {
    font-size: 12px;
    color: #999;
    margin-top: 1px;
}

/* ============================
   BLOG SIDEBAR INVITE + MODAL (T-252 follow-up)
   Centered dark-green "Get Started" trigger; larger, centered, two-column
   modal with a marketing pane. Dark green = rgb(0, 98, 36) (same as T-264
   sidebar feedback buttons).
   ============================ */
.btn-site-green {
    color: #fff !important;
    background-color: rgb(0, 98, 36) !important;
    border-color: rgb(0, 98, 36) !important;
}
.btn-site-green:hover,
.btn-site-green:focus,
.btn-site-green:active,
.btn-site-green.active {
    color: #fff !important;
    background-color: rgb(0, 74, 27) !important;
    border-color: rgb(0, 74, 27) !important;
}

.blog-invite-trigger {
    font-weight: 600;
}

/* Larger modal — reuses the site's established photo-enlarge modal pattern
   (_carousel-modal.blade.php): modal-xl centered, capped at 95vw / 90vh so it
   never overflows the viewport. */
#blog-invite-modal .modal-dialog {
    max-width: 95vw;
    max-height: 90vh;
}
#blog-invite-modal .modal-content {
    border: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}
#blog-invite-modal .modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
}
#blog-invite-modal .modal-body .row {
    flex: 1 1 auto;
    margin: 0;
}
#blog-invite-modal .modal-header {
    background-color: rgb(0, 98, 36);
    color: #fff;
    border-bottom: 0;
}
#blog-invite-modal .modal-header .modal-title {
    font-weight: 700;
}
#blog-invite-modal .modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

/* Marketing pane (left) */
.blog-invite-marketing {
    background-color: #f4f9ee;
    border-right: 1px solid #e2ecd6;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.blog-invite-marketing h5 {
    color: rgb(0, 98, 36);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.blog-invite-marketing-lead {
    font-size: 14px;
    color: #555;
}
/* Component-driven marketing copy (bloginvitetext page) uses plain
   editor HTML; style it the same as the hardcoded fallback. Only the
   .blog-invite-marketing-component scope gets ::before icons (the
   fallback markup carries its own <i class="fa fa-check-circle">). */
.blog-invite-marketing-component p {
    font-size: 14px;
    color: #555;
}
.blog-invite-marketing-component ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
    margin-bottom: 0;
}
.blog-invite-marketing-component li {
    margin-bottom: 0.6rem;
    font-size: 14px;
    position: relative;
    padding-left: 26px;
}
.blog-invite-marketing-component li::before {
    font-family: 'Font Awesome 6 Free';
    content: '\f058';
    font-weight: 900;
    color: rgb(0, 98, 36);
    position: absolute;
    left: 0;
    top: 1px;
}
.blog-invite-marketing-list {
    margin-top: 0.75rem;
    margin-bottom: 0;
}
.blog-invite-marketing-list li {
    margin-bottom: 0.6rem;
    font-size: 14px;
}
.blog-invite-marketing-list .fa {
    color: rgb(0, 98, 36);
    margin-right: 0.45rem;
}

/* Action pane (right) */
.blog-invite-actions {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Each of the two action sub-panes (account CTA + newsletter) fills
   half the pane and centers its own content within that half. */
.blog-invite-account,
.blog-invite-newsletter {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.blog-invite-actions hr {
    margin: 1.25rem 0;
}
@media (max-width: 767.98px) {
    .blog-invite-marketing {
        border-right: 0;
        border-bottom: 1px solid #e2ecd6;
    }
}

/* ============================
   BLOG FEED PREVIEW IMAGES (featured image thumbnails on /pages)
   ============================ */
.page-card-thumb-link {
    display: block;
    margin-bottom: 14px;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}
.page-card-thumb {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.page-card-thumb-link:hover .page-card-thumb {
    transform: scale(1.02);
}
