/* Park Hills adjustments to Porto's index-classic.html composition. */
.parkhills-classic-header .header-body { border-top: 0; }
.parkhills-classic-header .header-logo { margin: 0; }
.parkhills-classic-header .parkhills-brand-name { color: var(--dark); display: none; font-size: 1.05rem; max-width: 10rem; }
.parkhills-classic-header .header-nav-top { font-size: .8rem; }

.parkhills-classic-hero { background-position: center 38%; background-size: cover; height: 670px; }
.parkhills-classic-hero > .container { height: 670px !important; }
.parkhills-title-rule { border-top: 1px solid rgba(255, 255, 255, .55); display: inline-block; margin: 0 1rem; vertical-align: middle; width: 52px; }
.parkhills-classic-content > .umb-block-grid > .umb-block-grid__layout-container { display: block; }
.parkhills-classic-content .umb-block-grid__layout-item { width: 100%; }
.parkhills-classic-content .section { border: 0; margin: 0; padding: 4.5rem 0 !important; }
.parkhills-classic-content h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1.25rem; }
.parkhills-classic-content h3 { font-weight: 700; }

/* Structured homepage sections are styled by their curated semantic variant,
   never by their position in Block Grid. Editors can safely reorder them. */
.parkhills-home-section__heading { margin: 0 auto 3rem; max-width: 920px; }
.parkhills-home-section__heading > :last-child { margin-bottom: 0; }
.parkhills-home-items { display: grid; gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.parkhills-home-item { min-width: 0; }
.parkhills-home-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.parkhills-home-item__icon { display: block; font-size: 2.35rem; margin-bottom: 1rem; }
.parkhills-home-item__image { height: 180px; margin: 0 auto 1rem; object-fit: cover; width: 180px; }
.parkhills-home-item__subtitle { font-weight: 600; margin-bottom: .35rem; }

.parkhills-home-section--civicIntro { background: #ececec; border-bottom: 1px solid #ddd; padding: 2.5rem 0 !important; }
.parkhills-home-section--civicIntro h2 { color: #3b3b3b; font-size: 1.8rem; margin-bottom: .4rem; }
.parkhills-home-section--civicIntro p { color: #666; margin-bottom: 0; }

.parkhills-home-section--visit { background: #fff; padding-bottom: 0 !important; }
.parkhills-home-section--visit .parkhills-home-section__heading { padding: 0 1.5rem; }
.parkhills-home-visit-image { display: block; height: 350px; object-fit: cover; width: 100%; }

.parkhills-home-section--whyChoose { background: var(--primary); color: #fff; }
.parkhills-home-section--whyChoose h2,
.parkhills-home-section--whyChoose h3,
.parkhills-home-section--whyChoose p,
.parkhills-home-section--whyChoose .parkhills-home-item__icon { color: #fff; }
.parkhills-home-section--whyChoose .parkhills-home-item { display: grid; grid-template-columns: 54px 1fr; }
.parkhills-home-section--whyChoose .parkhills-home-item__icon { grid-row: 1; margin: .1rem 1rem 0 0; }
.parkhills-home-section--whyChoose .parkhills-home-item__body { grid-column: 2; }

.parkhills-home-section--explore,
.parkhills-home-section--facts { background-attachment: fixed; background-position: center; background-size: cover; position: relative; }
.parkhills-home-section--explore { background-image: linear-gradient(rgba(12, 23, 28, .82), rgba(12, 23, 28, .82)), var(--parkhills-section-image); color: #fff; }
.parkhills-home-section--explore h2,
.parkhills-home-section--explore h3,
.parkhills-home-section--explore p { color: #fff; }
.parkhills-home-section--explore .parkhills-home-item { text-align: center; }
.parkhills-home-section--explore .parkhills-home-item__icon { color: var(--primary--300); }

.parkhills-home-section--officials { background: #f1f1f1; }
.parkhills-home-section--officials .parkhills-home-items { display: flex; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.parkhills-home-section--officials .parkhills-home-item { flex: 0 0 calc(33.333% - 1.34rem); scroll-snap-align: start; text-align: center; }
.parkhills-home-section--officials .parkhills-home-item__image { border: 5px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgba(0, 0, 0, .2); }

.parkhills-home-section--facts { background-image: linear-gradient(rgba(39, 130, 155, .88), rgba(39, 130, 155, .88)), var(--parkhills-section-image); }
.parkhills-home-section--facts h2,
.parkhills-home-section--facts .parkhills-home-section__heading p { color: #fff; }
.parkhills-home-section--facts .parkhills-home-item { background: rgba(255, 255, 255, .94); padding: 1.75rem; }

/* Purpose-built homepage blocks. Explicit editor choices are emitted as safe
   modifier classes, keeping arbitrary colors and CSS out of content. */
section.parkhills-home-civic { background: #ececec; border-bottom: 1px solid #ddd; padding: 2.5rem 0 !important; }
.parkhills-home-civic h2 { color: #3b3b3b; font-size: 1.8rem; margin-bottom: .4rem; }
.parkhills-home-civic p { margin-bottom: 0; }
.parkhills-classic-content section.parkhills-home-visit { background: #fff; padding-bottom: 0 !important; }
section.parkhills-home-card-section { background-position: center; background-size: cover; }
.parkhills-home-card-section .parkhills-home-items { grid-template-columns: repeat(var(--parkhills-card-columns, 3), minmax(0, 1fr)); }
section.parkhills-bg--white { background-color: #fff; }
section.parkhills-bg--gray { background-color: #f1f1f1; }
section.parkhills-bg--teal { background-color: var(--primary); }
section.parkhills-bg--dark { background-color: #17262c; }
section.parkhills-bg--image { background-attachment: fixed; background-image: linear-gradient(rgba(12, 23, 28, .82), rgba(12, 23, 28, .82)), var(--parkhills-card-background); }
.parkhills-text--light,
.parkhills-text--light h2,
.parkhills-text--light h3,
.parkhills-text--light p,
.parkhills-text--light a { color: #fff; }
.parkhills-text--dark,
.parkhills-text--dark h2,
.parkhills-text--dark h3,
.parkhills-text--dark p { color: #333; }
.parkhills-icons--white .parkhills-home-item__icon { color: #fff; }
.parkhills-icons--teal .parkhills-home-item__icon { color: var(--primary); }
.parkhills-icons--dark .parkhills-home-item__icon { color: #17262c; }
.parkhills-icons--gold .parkhills-home-item__icon { color: #d7a928; }
.parkhills-icons--lightTeal .parkhills-home-item__icon { color: var(--primary--300); }
.parkhills-home-card-section .parkhills-home-item { display: grid; grid-template-columns: 54px 1fr; }
.parkhills-home-card-section .parkhills-home-item__icon { grid-row: 1; margin: .1rem 1rem 0 0; }
.parkhills-home-card-section .parkhills-home-item__body { grid-column: 2; }
section.parkhills-home-officials { background: #f1f1f1; }
.parkhills-home-officials .parkhills-home-items { display: flex; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.parkhills-home-officials .parkhills-home-item { flex: 0 0 calc(33.333% - 1.34rem); scroll-snap-align: start; text-align: center; }
.parkhills-home-officials .parkhills-home-item__image { border: 5px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgba(0, 0, 0, .2); }

/* Match the legacy Park Hills footer and keep it flush with the final block. */
#footer.parkhills-footer { background: #27829b; border-top: 0; color: #fff; display: flow-root; margin-top: 0; }
#footer.parkhills-footer h5,
#footer.parkhills-footer p,
#footer.parkhills-footer a:not(.btn):not(.no-footer-css) { color: #fff; }
#footer.parkhills-footer a:not(.btn):not(.no-footer-css):hover { color: rgba(255, 255, 255, .75); }
#footer.parkhills-footer .parkhills-footer-logo { display: block; height: auto; max-width: 255px; width: 100%; }
#footer.parkhills-footer .footer-copyright { background: #27829b; border-top: 1px solid rgba(255, 255, 255, .3); }

.parkhills-global-sidebar { display: grid; gap: 2.5rem; }
.parkhills-sidebar-panel { border: 1px solid #e4e4e4; padding: 2rem; }
.parkhills-sidebar-panel h2 { color: #222; font-size: 1.75rem; font-weight: 700; margin: 0 0 1.75rem; padding-bottom: 1rem; position: relative; }
.parkhills-sidebar-panel h2::after { background: #27829b; bottom: 0; content: ""; height: 4px; left: 0; position: absolute; width: 48px; }
.parkhills-sidebar-panel ul { list-style: none; margin: 0; padding: 0; }
.parkhills-sidebar-panel li + li { margin-top: .85rem; }
.parkhills-sidebar-panel li a { color: #222; font-size: 1.15rem; text-decoration: none; }
.parkhills-sidebar-panel li a:hover { color: #27829b; }
.parkhills-sidebar-search { align-items: center; border: 2px solid #eee; display: flex; }
.parkhills-sidebar-search input { border: 0; font-size: 1.1rem; min-width: 0; padding: .9rem 1rem; width: 100%; }
.parkhills-sidebar-search button { background: transparent; border: 0; color: #08c878; font-size: 1.35rem; padding: .75rem 1rem; }
.parkhills-sidebar-news article { align-items: center; display: flex; gap: 1rem; }
.parkhills-sidebar-news article + article { border-top: 1px solid #eee; margin-top: 1rem; padding-top: 1rem; }
.parkhills-sidebar-news img { height: 64px; object-fit: cover; width: 64px; }
.parkhills-sidebar-news h3 { font-size: 1rem; margin: 0 0 .25rem; }
.parkhills-sidebar-news time { color: #777; font-size: .85rem; }

@media (max-width: 991.98px) {
    .parkhills-classic-header .parkhills-brand-name { display: inline; }
    .parkhills-classic-hero { height: 560px; }
    .parkhills-classic-hero > .container { height: 560px !important; }
    .parkhills-title-rule { display: none; }
    .parkhills-home-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .parkhills-home-section--officials .parkhills-home-item { flex-basis: calc(50% - 1rem); }
    .parkhills-home-card-section .parkhills-home-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .parkhills-home-officials .parkhills-home-item { flex-basis: calc(50% - 1rem); }
}

@media (max-width: 767.98px) {
    .parkhills-home-items { grid-template-columns: 1fr; }
    .parkhills-home-section--officials .parkhills-home-item { flex-basis: 88%; }
    .parkhills-home-section--explore,
    .parkhills-home-section--facts { background-attachment: scroll; }
    .parkhills-home-card-section .parkhills-home-items { grid-template-columns: 1fr; }
    .parkhills-bg--image { background-attachment: scroll; }
    .parkhills-home-officials .parkhills-home-item { flex-basis: 88%; }
}
