/* =============== shared =============== */
.row {
    max-width: 1000px;
}
a, a:visited {
    color: #3073A7;
}
a:hover {
    color: #70A438;
}
a:focus {
    outline: none;
}
a.light {
    color: #fff;
}
a.light:hover {
    color: #70A438;
}
.side-nav li a, .side-nav li a:hover {
    font-size: 1.0rem;
    color: #3073a7;
}
.side-nav li a:hover {
    color: #70A438;
}
.panel {
    border-radius: 6px;
}
.show {
    display: block;
}

/* Primary CTA */
a.button1,
button.button1,
input.button1,
.button1,
a.button-primary,
button.button-primary,
input.button-primary,
.button-primary,
a.button1:focus,
a.button1:hover,
button.button1:focus,
button.button1:hover,
input.button1:focus,
input.button1:hover,
.button1:focus,
.button1:hover,
a.button-primary:focus,
a.button-primary:hover,
button.button-primary:focus,
button.button-primary:hover,
input.button-primary:focus,
input.button-primary:hover,
.button-primary:focus,
.button-primary:hover {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -moz-box-shadow:inset 0px 1px 0px 0px #a4e271;
    -webkit-box-shadow:inset 0px 1px 0px 0px #a4e271;
    box-shadow:inset 0px 1px 0px 0px #a4e271;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #70a438), color-stop(1, #4a8a1e)) !important;
    background:-moz-linear-gradient(top, #70a438 5%, #4a8a1e 100%) !important;
    background:-webkit-linear-gradient(top, #70a438 5%, #4a8a1e 100%) !important;
    background:-o-linear-gradient(top, #70a438 5%, #4a8a1e 100%) !important;
    background:-ms-linear-gradient(top, #70a438 5%, #4a8a1e 100%) !important;
    background:linear-gradient(to bottom, #70a438 5%, #4a8a1e 100%) !important;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#70a438', endColorstr='#4a8a1e',GradientType=0) !important;
    background-color:#70a438 !important;
    border: 0;
    border-radius:4px;
    display:inline-block !important;
    cursor:pointer;
    color:#ffffff !important;
    font-size:1.1rem !important;
    font-weight:bold !important;
    line-height:1.4 !important;
    margin-bottom: 0;
    padding:6px 24px !important;
    text-decoration:none;
    text-shadow:0px 1px 0px #204602;
}

/* Secondary CTA */
a.button2,
button.button2,
input.button2,
.button2,
a.button2:focus,
a.button2:hover,
a.button2:visited,
button.button2:focus,
button.button2:hover,
input.button2:focus,
input.button2:hover,
.button2:focus,
.button2:hover,
.button2:visited,
.button2-arrow-box {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    text-align: center;
    background-color: #F8F8F8;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border: 1px solid #DDDAD6;
    border-radius:4px;
    display:inline-block;
    cursor:pointer;
    /*color:#70A438;*/
    color: #3073a7;
    font-size:1.0rem;
    font-weight:bold;
    line-height:1.4;
    margin: 2px;
    margin-bottom: 0;
    padding:3px 10px;
    text-decoration:none;
}
.button2:hover {
    color: #70A438;
}
.button2-arrow-box {
    background-color: #ffffff;
    position: relative;
    color: #696969;
    font-weight: normal;
    margin-left: 5px;
    cursor: default;
    padding: 1px 7px;
}
.button2-arrow-box:before, .button2-arrow-box:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.button2-arrow-box:after {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: #ffffff;
    border-width: 5px;
    margin-top: -5px;
}
.button2-arrow-box:before {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: #DDDAD6;
    border-width: 6px;
    margin-top: -6px;
}
.button2.dropdown {
    font-weight: normal;
    padding-right: 1.5rem;
}
.button2.dropdown:before {
    border-width: 0.375rem;
    margin-top: -0.15625rem;
    position: absolute;
    top: 50%;
    right: 0.40625rem;
    content: "";
    width: 0px;
    height: 0px;
    display: block;
    border-style: solid;
    border-color: #3073a7 transparent transparent;
}
h1 {
    font-size: 2.25rem;
    font-weight: 500;
}
h2 {
    font-size: 1.9rem;
    font-weight: 400;
}
h3 {
    font-size: 1.6rem;
    font-weight: 300;
}
.yard-owner {
    font-size: 0.8rem;
}
.yard-comment {
    font-size: 1.0rem;
}
.yard-comment i {
    font-size: 0.9rem;
    color: #828282;
    vertical-align: top;
}

/* =============== comment cards (home) =============== */
.recent-comments > li {
    padding: 0 0.5rem;
    margin-bottom: 0.75rem;
}
.comment-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
    border-left: 3px solid #70A438;
}
.comment-card-thumb {
    flex-shrink: 0;
}
.comment-card-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.comment-card-body {
    flex: 1;
    min-width: 0;
}
.comment-card-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0 0 6px;
    font-style: italic;
}
.comment-card-meta {
    font-size: 0.78rem;
    color: #999;
}
.comment-card-meta a {
    color: #3073A7;
    text-decoration: none;
}
.comment-card-meta a:hover {
    color: #70A438;
}
.comment-card-user {
    font-weight: 600;
    color: #555;
}

.crumbs {
    margin: 0 0 15px 0;
    padding: 0;
    overflow: hidden;
    clear: both;
}
.crumbs li {
    list-style-type: none;
    float: left;
    line-height: 1.5rem;
    color:#777;
    margin: 0;
    padding: 0 0 0 .75rem;
}
.crumbs li.first {
    padding-left: 0;
}
.crumbs li a {
    background: url(/img/crumbs.gif) no-repeat right center;
    display: block;
    padding: 0 15px 0 0;
    font-size: 0.8rem;
}
.crumbs li.current a {
    background: none;
    text-decoration: none;
    color: #4d4d4d;
}
.more-link {
    margin-left: 0 !important;
    background-color: transparent !important;
    border: none !important;
}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
    border-radius: 3px;
    height: 2.1rem;
}
.label, a.label, a.label:hover, a.label:visited {
    color: #ffffff;
    font-size: 0.9rem;
    background-color: #70A438;
}
a.label.secondary, a.label.secondary:hover, a.label.secondary:visited {
    background-color: #e9e9e9;
    color: #333;
}
a.label.secondary:hover {
    color: #ffffff;
    background-color: #70A438;
}
.action-box {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin: 10px 0;
    background-color: #E1EFD1;
}
.action-box.secondary {
    border-radius: 6px;
    text-align: center;
    margin: 10px 0;
    background-color: #e1e1e1;
}
form {
    margin: 0;
}
span.error, small.error {
    background-color: #c6272f;
    font-size: 0.85rem;
}
input.error, select.error, textarea.error {
    border: 1px solid #c6272f;
}
.alert-box.alert {
    background-color: #c6272f;
}
.alert-box.success {
    background-color: #6aa200;
}
.favorite i.active, .vote i.active {
    color: red;
}
ul.pagination {
    margin-bottom: 15px;
}
ul.pagination li a {
    font-size: 1.1rem;
    color: #3073a7;
}
ul.pagination li a:hover {
    font-size: 1.1rem;
    color: #FFFFFF;
    background: none repeat scroll 0% 0% #70A438;
}
ul.pagination li.current a, ul.pagination li.current a:hover {
    background: none repeat scroll 0% 0% #3073a7;
    cursor: default;
    color: #FFFFFF;
}
div.pagination {
    margin-bottom: 10px;
}
/* =============== body =============== */
body {
	color: #000;
	font: 14px/20px "Open Sans", "open-sans", Arial, "Helvetica Neue", sans-serif;
	background: #fff;
	min-width: 320px;
}

/* =============== header =============== */
header {
    background-color: #fff;
    margin-top: 5px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    position: relative;
}
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 62.5rem;
    height: 3px;
    background: #70A438;
}
#home header::after {
    display: none;
}

header .logo {
	float: left;
	/*background: url(/img/logo.png) no-repeat scroll;*/
    background: url("/img/logo.png") no-repeat scroll 0px center / contain transparent !important;
	width: 180px;
    background-size: contain;
	margin: 0 10px 0 2px;
    text-indent: -9999px;
    display: block;
    height: 90%;
    background-position: 0;
}

header .top-bar {
	margin: 7px auto 0;
    background-color: #fff;
	padding: 0 5px;
}
.top-bar.expanded .title-area {
    background-color: #fff;
    border-bottom: 1px solid #ede9eb;
}
header .top-bar-section li:not(.has-form) a:not(.button) {
    padding: 0px 8px;
}
header .top-bar.expanded .toggle-topbar a span {
    box-shadow: none;
}
header .top-bar .toggle-topbar.menu-icon a:focus {
    border: 0;
}

header .top-bar-section a:not(.button) {
    background-color: #fff !important;
    color: #3073A7 !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
}
header .top-bar-section a:not(.button):hover {
    color: #70A438 !important;
}
header .top-bar-section ul li {
    background: none;
}
.nav-actions {
    background: none;
}
.nav-share-button,
.nav-user-button {
    top: 0 !important;
    height: auto !important;
}
.nav-share-button {
    white-space: nowrap;
}
.nav-user-item {
    padding: 1px 6px 1px 4px;
}
.nav-user-button,
.nav-user-button:hover,
.nav-user-button:focus {
    padding: 3px 10px;
    margin: 2px;
}

header .top-bar .toggle-topbar.menu-icon a {
    color: #3073A7;
}
.top-bar .toggle-topbar.menu-icon a span::after {
    /*box-shadow: 0px 10px 0px 1px #3073a7, 0px 16px 0px 1px #3073a7, 0px 22px 0px 1px #3073a7;*/
    box-shadow: 0 0 0 1px #3073a7,0 7px 0 1px #3073a7,0 14px 0 1px #3073a7;
}
/*
.top-bar a.user-menu, .top-bar a.user-menu:hover {
    padding-right: 15px !important;
    font-size: 1.35rem;
}
.top-bar .user-menu i {
}
.top-bar .has-dropdown > a::after {
    content: none;
}
*/
.top-bar a.user-menu i {
    font-size: 1.2rem;
}

/* =============== yard cards =============== */
ul:has(.yard-card) {
    display: flex;
    flex-wrap: wrap;
}
ul:has(.yard-card) > li {
    display: flex;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1.25rem;
}
.yard-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid #e2e5e9;
    padding-bottom: 1rem;
}
.yard-card .yard-photo {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.yard-card .yard-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.yard-chips {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.yard-chip {
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.yard-chip-count {
    background: rgba(44, 62, 80, 0.85);
    color: #fff;
}
.yard-chip-zone {
    background: #e8f5d8;
    color: #2c3e50;
}
.yard-card-body {
    padding: 10px 2px 0;
    flex: 1;
}
.yard-card .yard-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yard-card .yard-name a {
    color: #2c3e50;
    text-decoration: none;
}
.yard-card .yard-name a:hover {
    color: #4a8a1e;
}
.yard-card .yard-owner {
    font-size: 0.78rem;
    color: #5a6570;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.yard-card .yard-owner a {
    color: #5a6570;
    text-decoration: none;
}
.yard-card .yard-owner a:hover {
    color: #2c3e50;
}
.yard-card .yard-descr {
    font-size: 0.82rem;
    color: #5a6570;
    margin: 4px 0 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============== home =============== */
.showcase {
    background-color: transparent;
    background-repeat: no-repeat no-repeat;
    background-size: cover;
    background-position: center;
    max-width: 62.5rem;
    margin-left: auto;
    margin-right: auto;
    height: 400px;
    position: relative;
    z-index: 0;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.showcase-content {
    background: none repeat scroll 0px 0px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    position: absolute;
    top: 25%;
    left: 20%;
    right: 20%;
    width: 60%;
    padding: 20px;
}

.showcase h2 {
    font-weight: 500;
    font-size: 2.5rem;
    color: #ffffff;
}

.showcase h1 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
}

#home header {
    margin-bottom: 0px;
}
#home .intro {
    font-size: 1.1rem;
}
.home-more-link {
    margin-top: 1.15rem;
}
.ys-ad-block {
    display: block;
    /* Reserve the responsive slot's height so a filled ad does not push
       content down (issue #19 unit 9). 100px covers the common full-width
       renders (728x90 desktop, 320x100 mobile). */
    min-height: 100px;
}
ins.ys-ad-block[data-ad-status="unfilled"] {
    /* An unfilled slot collapses instead of leaving a blank band. */
    min-height: 0;
}
.stats-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0 1.25rem;
    margin-bottom: 1.25rem;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}
@media only screen and (max-width: 40em) {
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 1rem;
        justify-items: center;
    }
}
.stat {
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-icon {
    font-size: 1.3rem;
}
.stat-yards .stat-icon { color: #4a8a1e; }
.stat-photos .stat-icon { color: #3073A7; }
.stat-comments .stat-icon { color: #d4851f; }
.stat-members .stat-icon { color: #1a9e8f; }
.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.stat-yards .stat-number { color: #4a8a1e; }
.stat-photos .stat-number { color: #3073A7; }
.stat-comments .stat-number { color: #d4851f; }
.stat-members .stat-number { color: #1a9e8f; }
.stat-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.home-cta {
    text-align: center;
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    margin: 1rem 0 1.5rem;
}
.home-cta h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 0.5rem;
}
.home-cta p {
    color: #5a6570;
    max-width: 36rem;
    margin: 0 auto 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
#home .fbshare {
    min-height: 200px;
    margin-left: -15px;
    text-align: right;
}
#home ul.browse-features {
    margin-left: 0.1rem;
}
#home .browse-features li {
    padding: 0 0.3rem 0.5rem;
}
#home .action-box .addthis_default_style, #home .action-box .at4-icon {
    /*float: none !important;*/
    float: none;
    display: inline-block;
}
/* =============== browse =============== */
.browse-hero {
    margin-bottom: 1rem;
}
.browse-hero p {
    margin-bottom: 0;
}
#browse .action-box {
    text-align: left;
    padding: 1rem 1.1rem 0.9rem;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid #d9e3eb;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(31, 54, 80, 0.07);
}
#browse .action-box .button2 {
    background: #fff;
    border: 1px solid #d0d5db;
    border-radius: 6px;
    color: #3c4a57;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
#browse .action-box .button2.dropdown {
    padding-right: 1.5rem;
}
#browse .action-box .button2:hover {
    border-color: #70A438;
    color: #4a8a1e;
    box-shadow: 0 1px 4px rgba(112,164,56,0.15);
}
#browse .filters {
    padding-top: 0;
    margin-left: 0;
}
#browse .filter {
    margin: 0 4px 10px;
    line-height: 1.2;
    border-radius: 20px;
    padding: 5px 10px;
    background: #e8f5d8;
    border: 1px solid #c5dfa8;
    color: #3a6e14;
    font-size: 0.85rem;
}
#browse .filter i {
    font-size: 1.0rem;
    padding-left: .3rem;
    opacity: 0.7;
}
#browse .filter:hover {
    background: #d6ecc0;
    border-color: #a9cf82;
}
.browse-menu ul {
    margin-bottom: 0.5rem;
}
.browse-menu div.content {
    padding: 0.2rem 1.0rem 1.0rem 1.0rem;
}
.browse-menu .content li {
    list-style-type: disc;
    margin-left: 1.0rem;
}
.browse-menu .content li:hover {
    background: none;
}
.browse-menu .content li a {
    padding: 0.1rem;
    color: #3073A7;
}
.browse-menu .content li a.active {
    font-weight: bold;
}
.browse-menu .content li a:hover {
    color: #70A438;
}
.browse-menu .content h3 {
    font-size: 1.2rem;
}
#browse .browse-menu,
#browse .search {
    margin-bottom: 0;
}
#browse .search {
    text-align: right;
}
#browse .search form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    margin: 0;
}
#browse .search input {
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    border: 1px solid #d0d5db;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#browse .search input:focus {
    border-color: #70A438;
    box-shadow: 0 0 0 2px rgba(112,164,56,0.15);
    outline: none;
}
#browse .search .button-primary {
    flex: 0 0 auto;
    margin: 0;
}
.browse-top-ad {
    margin-bottom: 1rem;
}
ul.browse-results-grid > li {
    margin-bottom: 0.8rem;
}
.browse-about-section {
    margin-top: 1.5rem;
}
.browse-yard .yard-preview img {
    border: 4px solid #ffffff;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    min-width: 120px;
}
.browse-yard h3 {
    font-size: 1.0rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.browse-yard .yard-name {
    padding: 0 0;
}
#browse h1 {
    color: #243746;
    font-size: 2.45rem;
    line-height: 1.08;
    margin-bottom: 0.55rem;
}

/* =============== yard =============== */
#yard h1 {
    margin-bottom: 4px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}
#yard .yard-owner {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
}
#yard .yard-owner a {
    color: #3073A7;
    text-decoration: none;
    font-weight: 500;
}
#yard .yard-owner a:hover {
    color: #70A438;
}
#yard .yard-info-card {
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 20px 24px;
    margin-bottom: 16px;
}
#yard .yard-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
#yard .yard-info-copy {
    min-width: 0;
    flex: 1 1 auto;
}
#yard .yard-actions {
    flex-shrink: 0;
    white-space: nowrap;
}
#yard .yard-descr {
    font-size: 1.0rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 14px;
}
#yard .yard-tags {
    margin-bottom: 16px;
}
#yard .yard-ad {
    margin: 0 -24px;
    padding: 12px 24px;
}
#yard .yard-photos-row {
    margin: 0 -24px;
    padding: 16px 24px 0;
}
#yard .label.secondary {
    border-radius: 20px;
    padding: 5px 12px;
    background: #e8f5d8;
    border: 1px solid #c5dfa8;
    color: #3a6e14;
    font-size: 0.82rem;
    margin-bottom: 6px;
}
#yard .label.secondary:hover {
    background: #d6ecc0;
    border-color: #a9cf82;
}
.ys-ad-rectangle {
    display: inline-block;
    width: 300px;
    height: 250px;
}
.comments-more-hidden {
    display: none;
}
.yard-bottom-ad-box {
    margin: 0 0 15px;
}
#yard .action {
    white-space: nowrap;
}
#yard .social {
    height: 22px;
}
.slick-slide img {
    margin: 0px auto;
}
.photo-thumbs {
    overflow-y:auto;
    height:225px;
    padding:10px;
    border:1px solid #e2e5e9;
    background:#f7f8f9;
    border-radius: 8px;
    margin:0 0 15px !important;
}
.photo-thumb {
    height:auto;
    overflow:hidden;
	text-align:center;
	margin:0 5px 5px;
	border:none;
	padding:0;
    border-radius: 6px;
}
.blog-post .content img {
    border-radius: 6px;
}
.photo-gallery {
    margin-left: -15px !important;
}
.photo-thumb img {
    display:inline-block;
    min-height:59px;
}
#photos .photo-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 15px;
}
#photos .photo {
    min-height: 458px;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}
#photos .photo img.photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#photos p.descr {
    background-color: #2c3e50;
    color: #fff;
    padding: 8px 12px;
    font-size: 0.85rem;
    margin: 0;
}
.photo a.pinit {
    background-image: url("https://s-passets.pinimg.com/images/pidgets/pinit_bg_en_rect_gray_28_1.png");
    background-size: 56px 84px;
    background-position: 0px -28px;
    cursor: pointer;
    display: inline-block;
    height: 28px;
    width: 56px;
    padding: 0px;
    margin: 3px;
    vertical-align: baseline;
    text-decoration: none;
    position: absolute;
    top: 0px;
}
.photo a.magnify {
    font-size: 1.6rem;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    padding: 6px;
    margin: 0;
    text-decoration: none;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 9px;
    margin: 3px;
}
.slick-prev, .slick-next {
    position: absolute;
    top: 210px;
    width: 39px;
    height: 55px;
    z-index: 500;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-radius: 9px;
}
.slick-prev {
    left: 16px;
    background-image: url('../img/arrow-left.png');
}
.slick-next {
    right: 16px;
    background-image: url('../img/arrow-right.png');
}
.slick-prev:hover, .slick-next:hover {
    background-color: rgba(112, 164, 56, 0.7);
}
.comment {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
    border-left: 3px solid #70A438;
}
.comment p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin: 0 0 6px;
}
.comment .comment-meta {
    font-size: 0.78rem;
    color: #999;
}
.comment .username {
    font-weight: 600;
    color: #555;
}
.comment .username a {
    color: #3073A7;
    text-decoration: none;
}
.comment .username a:hover {
    color: #70A438;
}
.comment-add-box {
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px;
}
.comment-add-box h4 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: #2c3e50;
}
.comment-add-box textarea {
    border: 1px solid #d0d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.comment-add-box textarea:focus {
    border-color: #70A438;
    box-shadow: 0 0 0 2px rgba(112,164,56,0.15);
    outline: none;
}
/* =============== blog =============== */
.blog-preview {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-preview:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.blog-preview-image {
    flex-shrink: 0;
    width: 180px;
    overflow: hidden;
}
.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.blog-preview:hover .blog-preview-image img {
    transform: scale(1.03);
}
.blog-preview-list {
    display: flex;
    flex-wrap: wrap;
}
.blog-preview-list > li {
    display: flex;
}
.blog-preview-body {
    padding: 14px 18px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.blog-preview h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 6px;
    color: #2c3e50;
    line-height: 1.3;
}
.blog-preview p {
    font-size: 0.88rem;
    color: #5a6570;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-preview-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #70A438;
    margin-top: auto;
}
.blog-preview:hover .blog-preview-link {
    color: #4a8a1e;
}
.blog-preview .meta, .blog-post .meta {
    font-size: 0.8rem;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
@media only screen and (max-width: 40em) {
    .blog-preview {
        flex-direction: column;
    }
    .blog-preview-image {
        width: 100%;
        height: 180px;
    }
}
.blog-post h1 {
    font-weight: 600;
    font-size: 2.0rem;
    margin-bottom: 0;
    color: #70A438;
}
.blog-post .content {
}
.blog-post .content img {
    max-width: 75%;
    margin: 10px;
}
.ys-blog-top-ad {
    min-height: 280px;
}
@media only screen and (max-width: 40em) {
    .ys-blog-top-ad {
        min-height: 0;
    }
}
.ys-blog-mid-ad {
    max-height: 0;
    margin: 0;
    overflow: hidden;
}
.ys-blog-mid-ad:has(.adsbygoogle[data-ys-ads-init="staged"]:not([data-ad-status="unfilled"])),
.ys-blog-mid-ad:has(.adsbygoogle[data-ys-ads-init="done"]:not([data-ad-status="unfilled"])) {
    max-height: 40px;
}
.ys-blog-mid-ad:has(.adsbygoogle[data-ad-status="filled"]) {
    max-height: none;
    margin: 1.5rem 0;
    overflow: visible;
}
@media only screen and (max-width: 40em) {
    .ys-blog-bottom-ad .adsbygoogle {
        box-sizing: border-box;
        min-width: 320px;
        width: 100%;
    }
}
.benchmark-citation-box {
    background: #f7fbf2;
    border: 1px solid #d8e8c8;
    border-radius: 6px;
    clear: both;
    margin: 2rem 0 1.5rem;
    padding: 1rem;
}
.benchmark-citation-box h2 {
    color: #4a8a1e;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.benchmark-citation-box p {
    margin-bottom: 0.75rem;
}
.benchmark-citation-source {
    color: #5a6570;
    font-size: 0.9rem;
}
.benchmark-citation-box label {
    color: #2c3e50;
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.benchmark-citation-copy {
    background: #fff;
    border: 1px solid #c7d7bb;
    border-radius: 4px;
    color: #2c3e50;
    display: block;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 0.65rem;
    min-height: 5rem;
    padding: 0.65rem;
    resize: vertical;
    width: 100%;
}
.benchmark-citation-button {
    background: #70A438;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    padding: 0.65rem 0.9rem;
}
.benchmark-citation-button:hover,
.benchmark-citation-button:focus {
    background: #4a8a1e;
}
.benchmark-citation-links {
    font-size: 0.9rem;
    margin-top: 0.85rem;
}
@media only screen and (max-width: 40em) {
    .benchmark-citation-box {
        margin-top: 1.5rem;
        padding: 0.85rem;
    }
    .benchmark-citation-button {
        width: 100%;
    }
}
/* =============== dashboard =============== */
.dashboard-nav {
    background: url(/img/sky-grass-bg.png) no-repeat right center;
    color: #FFFFFF !important;
    border-radius: 6px;
    padding: 1.0rem 1.0rem 4.0rem 1.0rem;
    margin-bottom: 15px;
}
.dashboard-nav h4 {
    color: #FFFFFF;
    margin-bottom: 0;
}
.dashboard-nav li {
    margin: 0;
}
.dashboard-nav a, .dashboard-nav a:hover {
    color: #FFFFFF !important;
    padding: 0 0.5rem;
    margin: 0;
}
.dashboard-nav li.active a {
    background-color: #50a8f0;
    border-radius: 3px;
}
.dashboard-nav a:hover {
    background-color: #70A438;
    border-radius: 3px;
}
#dashboard .yard-preview img {
    max-width: 75px;
    min-width: 50px;
}
#dashboard .yard-comment {
    font-size: 0.95rem;
}
#dashboard .yard-comment .from {
    font-size: 0.8rem;
}
/* =============== my profile =============== */
#my-profile textarea {
    height: 10rem;
}
/* =============== member profile =============== */
#member h1 {
    font-size: 1.8rem;
}
#member h2 {
    font-size: 1.5rem;
}
#member h3.expert {
    padding-top: 7px;
}
#member h3.expert i {
    font-size: 1.5rem;
}
#member ul.expert {
    list-style: none;
}
#member ul.expert i {
    font-size: 1.2rem;
}
#member .panel {
    margin-top: 0.8rem;
}
img.member {
    float: left; 
    min-width: 100px;
    max-width: 150px;
    border: 4px solid #ffffff;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    margin-right: 15px;
}
.member .location {
    font-size: 0.9rem;
    font-color: #707070;
    margin-bottom: 10px;
}
#member .action-box {
    min-height: 58px;
    min-width: 58px;
    margin: 0;
    /*
    float: right;
    width: 180px;
    */
}
/* =============== footer =============== */
footer {
    /*position: fixed;
    bottom: 0;*/
    width: 100%;
    padding-top: 15px;
    padding-bottom: 40px;
    margin-top: 15px;
    border-top: 5px solid #3767a0;
    background-color: #4a7db7;
    color: #ffffff;
}
/* =============== media queries =============== */
/* small */
@media only screen and (max-width: 40em) {
    .showcase {
        border-radius: 0;
        max-width: 100%;
    }
    .browse-hero {
        margin-bottom: 0.75rem;
    }
    #home .showcase h2 {
        font-size: 2rem;
    }
    #home .showcase-content {
        top: 50%;
        left: 5%;
        right: 5%;
        width: 90%;
        padding: 15px;
        transform: translateY(-50%);
    }
    #home .fbshare {
        margin-left: 0;
        text-align: left;
    }
    .browse-hero-featured {
        border-radius: 16px;
        padding: 1rem 1rem 0.95rem;
    }
    .browse-hero-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.7rem;
    }
    .browse-hero-copy {
        width: 100%;
    }
    .browse-hero p {
        font-size: 1rem;
        line-height: 1.72;
    }
    .browse-hero-links {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .browse-hero-stats {
        gap: 0.5rem;
    }
    .browse-hero-stats-side {
        flex: 1 1 auto;
        width: 100%;
    }
    .browse-hero-stat {
        min-width: 0;
        width: 100%;
        padding: 0.65rem 0.75rem;
    }
    .browse-results-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }
    #browse .search {
        text-align: left;
        width: 100%;
        margin-top: 6px;
    }
    #browse .search form {
        justify-content: flex-start;
        gap: 8px;
    }
    #browse .search input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding: 10px 12px;
    }
    #browse .action-box {
        padding: 0.9rem 0.9rem 0.85rem;
        gap: 10px;
        margin-bottom: 0.55rem;
    }
    #browse .action-box .button2 {
        font-size: 0.84rem;
        padding: 6px 10px;
        margin: 1px;
    }
    #browse .action-box .button2.dropdown {
        padding-right: 1.3rem;
    }
    #browse .filter {
        font-size: 0.8rem;
        padding: 4px 8px;
        margin: 0 3px 6px;
    }
    #browse h1 {
        font-size: 2.05rem;
        line-height: 1.08;
    }
    .browse-results-kicker {
        font-size: 0.72rem;
    }
    .browse-results-summary {
        font-size: 0.92rem;
    }
    .browse-results-grid {
        margin-left: 0;
        margin-right: 0;
    }
    ul.browse-results-grid > li {
        width: 100%;
        margin-bottom: 0.85rem;
        padding-left: 0;
        padding-right: 0;
    }
    .yard-card-body {
        padding: 9px 2px 0;
    }
    .yard-card .yard-name {
        font-size: 0.93rem;
        line-height: 1.3;
    }
    .yard-card .yard-owner {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }
    .yard-card .yard-descr {
        font-size: 0.75rem;
        line-height: 1.35;
    }
    .msize:after {
        content: 'small';
    }
    #yard .yard-info-card {
        padding: 16px 16px 18px;
    }
    #yard .yard-info-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 10px;
    }
    #yard .yard-name {
        font-size: 1.7rem;
        line-height: 1.12;
        margin-bottom: 6px;
    }
    #yard .yard-owner {
        margin-bottom: 0;
    }
    #yard .yard-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        width: 100%;
        white-space: normal;
    }
    #yard .yard-actions .button,
    #yard .yard-actions .button2,
    #yard .yard-actions .button2-arrow-box {
        margin: 0;
    }
    #yard .yard-actions #vote,
    #yard .yard-actions #favorite {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
    }
    #yard .yard-actions #vote-count {
        flex: 0 0 auto;
    }
    #yard .yard-ad,
    #yard .yard-photos-row {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .photo-gallery {
        margin-left: 0 !important;
    }
    .member img {
        min-width: 50px;
        max-width: 75px;
    }
}
/* medium */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    #home .showcase h2 {
        font-size: 2rem;
    }
    #home .showcase-content {
        top: 25%;
    }
    #browse .action-box {
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
    }
    #browse .browse-menu {
        flex: 1 1 auto;
        min-width: 0;
    }
    #browse .search {
        flex: 0 0 260px;
        min-width: 260px;
        text-align: left;
    }
    .msize:after {
        content: 'medium';
        color: blue;
    }
}
/* large+ */
@media only screen and (min-width: 60.063em) {
    #browse .action-box {
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
    }
    #browse .browse-menu {
        flex: 1 1 auto;
        min-width: 0;
    }
    #browse .search {
        flex: 0 0 280px;
        min-width: 280px;
    }
    .msize:after {
        content: 'large';
        color: red;
    }
}

.benchmark-library-strip {
    background: #f7fbf2;
    border: 1px solid #d8e8c8;
    border-radius: 6px;
    margin: 0 0 1.5rem;
    padding: 1rem;
}
.benchmark-library-kicker {
    color: #5a6570;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}
.benchmark-library-strip h2 {
    color: #4a8a1e;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.45rem;
}
.benchmark-library-intro {
    color: #5a6570;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 0.85rem;
}
.benchmark-library-list {
    display: grid;
    gap: 0.65rem;
}
.benchmark-library-card {
    background: #fff;
    border: 1px solid #e1ead8;
    border-radius: 5px;
    display: block;
    padding: 0.75rem;
}
.benchmark-library-card strong,
.benchmark-library-card span {
    display: block;
}
.benchmark-library-card strong {
    color: #2c3e50;
    font-size: 0.96rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
.benchmark-library-card span {
    color: #5a6570;
    font-size: 0.86rem;
    line-height: 1.4;
}
.benchmark-library-card:hover,
.benchmark-library-card:focus {
    border-color: #70A438;
}
@media only screen and (min-width: 40.063em) {
    .benchmark-library-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 40em) {
    .benchmark-library-strip {
        margin-bottom: 1rem;
        padding: 0.85rem;
    }
}

.benchmark-page-hero {
    margin-bottom: 1.5rem;
}
.benchmark-page-hero h1 {
    color: #2c3e50;
    font-size: 2.15rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.benchmark-page-hero .lead {
    color: #4c5b66;
    font-size: 1.1rem;
    line-height: 1.55;
}
.benchmark-page-section {
    margin-bottom: 1.75rem;
}
.benchmark-page-section h2 {
    color: #4a8a1e;
    font-size: 1.45rem;
    margin-bottom: 0.85rem;
}
.benchmark-page-grid {
    display: grid;
    gap: 1rem;
}
.benchmark-page-card,
.benchmark-page-note {
    background: #fff;
    border: 1px solid #d8e8c8;
    border-radius: 6px;
    padding: 1rem;
}
.benchmark-page-card h3 {
    font-size: 1.18rem;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}
.benchmark-page-card p,
.benchmark-page-note p,
.benchmark-page-list li {
    color: #4c5b66;
    font-size: 0.95rem;
    line-height: 1.5;
}
.benchmark-page-meta {
    color: #66747e;
    font-size: 0.86rem;
}
.benchmark-page-list {
    margin-left: 1.25rem;
}
@media only screen and (min-width: 40.063em) {
    .benchmark-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 40em) {
    .benchmark-page-hero h1 {
        font-size: 1.7rem;
    }
    .benchmark-page-hero .lead {
        font-size: 1rem;
    }
}

.answer-extractability-box {
    margin: 1.5rem 0;
    padding: 1rem 1.125rem;
    border: 1px solid #d9e6dc;
    border-left: 4px solid #4f8f5f;
    background: #f7fbf7;
    color: #1f3324;
}
.answer-extractability-box h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}
.answer-extractability-eyebrow,
.answer-extractability-method,
.answer-extractability-source {
    font-size: 0.92rem;
    color: #415949;
}
.answer-extractability-eyebrow {
    margin: 0 0 0.35rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.answer-extractability-qa {
    margin: 0.75rem 0;
}
.answer-extractability-qa dt {
    margin-top: 0.7rem;
    font-weight: 700;
}
.answer-extractability-qa dd {
    margin: 0.2rem 0 0 0;
}

/* =============== learn reference pages (#47) =============== */
.learn-page .learn-intro {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #374151;
    max-width: 46rem;
}
.learn-hero {
    margin: 0 0 1.25rem;
}
.learn-hero img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.learn-key-panel {
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    padding: 1rem;
    margin: 0 0 1.25rem;
}
.learn-key-panel h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-top: 0;
}
.learn-key-panel ul {
    margin-bottom: 0;
}
.learn-key-panel li {
    line-height: 1.5;
    margin-bottom: 0.5rem;
}
.learn-key-panel li:last-child {
    margin-bottom: 0;
}
.learn-collections {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.learn-collection-card {
    flex: 1 1 280px;
    max-width: 30rem;
    border-bottom: 1px solid #e2e5e9;
    padding-bottom: 1rem;
}
.learn-collection-photo {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.learn-collection-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
/* Learn photo captions (Nov 18, 2026): every editorial photo in
   Learn sits in a figure with a news-style caption, what the
   photo shows and why it belongs, then the attribution. Same
   muted treatment as the Learn map figure captions. */
.learn-collection-figure {
    margin: 0 0 0.75rem;
}
.learn-collection-figure .learn-collection-photo {
    margin-bottom: 0.5rem;
}
.learn-collection-card figcaption {
    color: #5a6570;
    font-size: 0.9rem;
    line-height: 1.5;
}
.learn-collection-card h2 a {
    color: #2c3e50;
    text-decoration: none;
}
.learn-collection-card h2 a:hover {
    color: #4a8a1e;
}
/* Learn zone links: a uniform grid of two-line pills (redesigned
   Nov 17, 2026). The ranged one-line labels wrapped raggedly in the
   old flex row, every pill a different width; the grid gives every
   pill the same size in its cell at every width. */
.learn-zone-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}
.learn-zone-links li {
    display: flex;
}
.learn-zone-links a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    background: #ffffff;
    color: #3073a7;
    text-decoration: none;
}
.learn-zone-links a:hover {
    color: #4a8a1e;
}
.learn-zone-name {
    font-weight: 600;
    line-height: 1.25;
}
.learn-zone-range {
    color: #5a6570;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
}
@media only screen and (min-width: 40.063em) {
    .learn-zone-links {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (min-width: 64.063em) {
    .learn-zone-links {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Learn state cards (states index, Nov 18, 2026): one bordered
   card per state in a responsive grid, replacing the flat
   directory entries whose stats ran in a single dot-joined line.
   The whole card is clickable through the heading link's
   stretched overlay. The spectrum strip positions the state's
   zone range on the full zone 1 to 13 scale: a tint track with a
   blue-to-green fill, both tokens. Stats are labeled blocks,
   never a separator-joined string. Tokens only. */
.learn-state-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.learn-state-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    background: #ffffff;
    padding: 1rem 1.1rem 1.1rem;
}
.learn-state-card:hover {
    border-color: #4a8a1e;
}
.learn-state-card h2 {
    margin: 0 0 0.6rem;
}
.learn-state-card h2 a {
    color: #2c3e50;
    text-decoration: none;
}
.learn-state-card h2 a:hover {
    color: #4a8a1e;
}
.learn-state-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
}
.learn-state-card-link:focus {
    outline: 2px solid #3073a7;
    outline-offset: 2px;
}
.learn-state-spectrum {
    position: relative;
    height: 8px;
    border-radius: 4px;
    background: #e8f5d8;
    margin-bottom: 0.9rem;
}
.learn-state-spectrum-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #3073a7, #70a438);
}
.learn-state-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 0 0 0.8rem;
}
.learn-state-stat dt {
    font-size: 0.78rem;
    color: #5a6570;
    margin: 0;
}
.learn-state-stat dd {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.35;
}
.learn-state-card-more {
    margin: auto 0 0;
}
@media only screen and (min-width: 40.063em) {
    .learn-state-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (min-width: 64.063em) {
    .learn-state-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Learn state links (zone pages, issues #103 to #108): the state
   by state list reuses the zone links grid pill unchanged, state
   name on line one and the state's full zone range on line two.
   The template carries both classes; no separate rules needed. */
/* Learn state ZIP table (state guides, issue #105): one labeled
   filter field matching the ZIP lookup's field treatment, and a
   horizontally scrollable wrapper so the seven-column per-ZIP
   table survives phone widths. Tokens only. */
.learn-zip-filter-row {
    margin: 0 0 0.75rem;
}
.learn-zip-filter-row label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}
.learn-zip-filter {
    width: 100%;
    max-width: 24rem;
    min-height: 44px;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    background: #ffffff;
    color: #2c3e50;
}
.learn-zip-filter:focus {
    outline: 2px solid #3073a7;
    outline-offset: 1px;
}
.learn-zip-table-wrap {
    overflow-x: auto;
    margin: 0 0 1.25rem;
}
.learn-zip-table-wrap .learn-zone-table {
    margin-bottom: 0;
}
.learn-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.learn-tool-card {
    flex: 1 1 280px;
    max-width: 30rem;
    border-bottom: 1px solid #e2e5e9;
    padding-bottom: 1rem;
}
.learn-tool-card h3 {
    margin-top: 0;
}
.learn-tool-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}
.learn-tool-card h3 a:hover {
    color: #4a8a1e;
}
.learn-cta {
    min-height: 44px;
}
.learn-zone-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    background: #ffffff;
}
.learn-zone-table th,
.learn-zone-table td {
    border: 1px solid #e2e5e9;
    padding: 0.5rem 0.65rem;
    text-align: left;
    font-size: 0.95rem;
    color: #374151;
}
.learn-zone-table thead th {
    background: #f7f8f9;
    color: #2c3e50;
}
.learn-zone-table a {
    color: #3073a7;
    font-weight: 600;
}
.learn-prev-next {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin: 1rem 0;
}
.learn-prev-next a {
    color: #3073a7;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.learn-note {
    color: #5a6570;
    font-size: 0.9rem;
    line-height: 1.5;
}
.learn-map {
    margin: 0 0 1.25rem;
}
.learn-map img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
}
.learn-map figcaption {
    color: #5a6570;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}
/* Learn map compare slider (Learn.tpl .learn-compare, added #54): the
   2012 and 2023 national maps stacked in one frame (both 1650x1275),
   the 2012 layer clipped by --pos. The stage itself carries the line
   border and 10px radius, so the stacked images drop the .learn-map
   img border. Without JavaScript the stage rests at the 50 percent
   split, which is the static fallback. Tokens only. */
.learn-compare-stage {
    position: relative;
    --pos: 50%;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    overflow: hidden;
    touch-action: pan-y;
    cursor: ew-resize;
}
.learn-compare-stage img {
    border: none;
    border-radius: 0;
}
.learn-compare-stage .learn-compare-base {
    width: 100%;
    height: auto;
    display: block;
}
.learn-compare-stage .learn-compare-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.learn-compare-tag {
    position: absolute;
    top: 0.5rem;
    padding: 0.15rem 0.6rem;
    background: #2c3e50;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
    pointer-events: none;
}
.learn-compare-tag-left {
    left: 0.5rem;
}
.learn-compare-tag-right {
    right: 0.5rem;
}
.learn-compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: #4a8a1e;
    pointer-events: none;
}
.learn-compare-handle::after {
    content: "\2194";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    background: #70a438;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
}
.learn-compare-range {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0.25rem 0 0;
    padding: 0;
    accent-color: #4a8a1e;
    cursor: ew-resize;
}
.learn-compare-range:focus {
    outline: 2px solid #3073a7;
    outline-offset: 1px;
}
/* Learn zone compare (Learn.tpl .learn-compare-*, added #55): the
   two-zone compare tool. Reuses the Learn ZIP form and zone table;
   the new piece is the pair of labeled selects in a wrapping row,
   each at least 44px tall with the blue focus outline, plus tighter
   table cells at small widths so the three columns stay readable
   at 375px. Tokens only. */
.learn-compare-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}
.learn-compare-field {
    flex: 1 1 10rem;
    max-width: 16rem;
}
.learn-compare-field label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}
.learn-compare-field select {
    width: 100%;
    min-height: 44px;
    margin: 0;
}
.learn-compare-field select:focus {
    outline: 2px solid #3073a7;
    outline-offset: 1px;
}
@media (max-width: 40em) {
    .learn-compare-table th,
    .learn-compare-table td {
        padding: 0.4rem;
        font-size: 0.88rem;
    }
}
/* Learn soil calculators (Learn.tpl .learn-calc-*, added #59): the
   three calculators on one page reuse the Learn ZIP form, the wash
   result panel, and the zone table; the new piece is a wrapping row
   of labeled number fields, each at least 44px tall with the blue
   focus outline, wrapping cleanly at 375px. Tokens only. */
.learn-calc-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}
.learn-calc-field {
    flex: 1 1 8rem;
    max-width: 12rem;
}
.learn-calc-field label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}
.learn-calc-field input,
.learn-calc-field select {
    width: 100%;
    min-height: 44px;
    margin: 0;
}
.learn-calc-field input:focus,
.learn-calc-field select:focus {
    outline: 2px solid #3073a7;
    outline-offset: 1px;
}
/* Learn ZIP lookup (Learn.tpl .learn-zip-form, added #53): one labeled
   field and one primary button in a wrapping row, result in a wash
   panel with line border and the Learn 10px radius. Tokens only. */
.learn-zip-form {
    margin: 0 0 1rem;
}
.learn-zip-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}
.learn-zip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
}
.learn-zip-row input {
    flex: 1 1 10rem;
    max-width: 16rem;
    min-height: 44px;
    margin: 0;
}
.learn-zip-row input:focus {
    outline: 2px solid #3073a7;
    outline-offset: 1px;
}
.learn-zip-result {
    background: #f7f8f9;
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    padding: 1rem;
    margin: 0 0 1.25rem;
}
.learn-zip-result .learn-zip-answer {
    font-size: 1.15rem;
    color: #2c3e50;
    margin-top: 0;
}
/* Learn seed calculator (Learn.tpl .learn-seed-*, added #58): reuses
   the ZIP form, wash result panel, and zone table. The plant picker is
   a wrapping set of 44px checkbox labels. Tokens only. */
.learn-seed-plants {
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    margin: 0 0 1rem;
    padding: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}
.learn-seed-plants legend {
    font-weight: 600;
    color: #2c3e50;
    padding: 0 0.35rem;
}
.learn-seed-plant {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    margin: 0;
    font-weight: 400;
}
.learn-seed-plant input {
    margin: 0;
    min-width: 20px;
    min-height: 20px;
}
.learn-seed-plant input:focus {
    outline: 2px solid #3073a7;
    outline-offset: 1px;
}
.learn-seed-print-head {
    margin: 0;
}
@media print {
    header,
    footer,
    .top-bar,
    .crumbs,
    .learn-zip-form,
    .learn-seed-form,
    .learn-compare-range {
        display: none;
    }
    .learn-zip-result,
    .learn-seed-result {
        border: none;
        background: transparent;
        padding: 0;
    }
    .learn-seed-credit {
        display: block;
    }
}

/* Yard of the Week spotlight (Home.tpl, issue #32): one featured yard on the
   homepage, layout follows the blog preview pattern, tokens only. */
.spotlight-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.spotlight-photo {
    flex-shrink: 0;
    width: 320px;
    max-width: 45%;
}
.spotlight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.spotlight-body {
    padding: 14px 18px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.spotlight-body h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 4px;
    line-height: 1.3;
}
.spotlight-body h3 a {
    color: #2c3e50;
    text-decoration: none;
}
.spotlight-body h3 a:hover {
    color: #4a8a1e;
}
.spotlight-owner {
    font-size: 0.85rem;
    color: #5a6570;
    margin-bottom: 8px;
}
.spotlight-owner a {
    color: #3073a7;
}
.spotlight-quote {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spotlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a8a1e;
    margin-top: auto;
}
.spotlight-link:hover {
    color: #4a8a1e;
    text-decoration: underline;
}
.spotlight-card a:focus-visible {
    outline: 2px solid #3073a7;
    outline-offset: 2px;
}
@media only screen and (max-width: 40em) {
    .spotlight-card {
        flex-direction: column;
    }
    .spotlight-photo {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
}

/* Share row (inc.ShareRow.tpl, issue #31): plain share links, tokens only. */
.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid #e2e5e9;
}
.share-row .share-label {
    color: #5a6570;
    font-size: 0.875rem;
}
.share-row a,
.share-row button.share-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e5e9;
    border-radius: 4px;
    background: #ffffff;
    color: #3073a7;
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
}
.share-row a:hover,
.share-row button.share-copy:hover {
    border-color: #4a8a1e;
    color: #4a8a1e;
}
.share-row a:focus-visible,
.share-row button.share-copy:focus-visible {
    outline: 2px solid #3073a7;
    outline-offset: 2px;
}
