:root {
    --hove-green: #8ea521;
    --hove-green-dark: #6f8615;
    --hove-orange: #ed8b00;
    --hove-ink: #17242b;
    --hove-muted: #667178;
    --hove-line: #dfe4e6;
    --hove-surface: #ffffff;
    --hove-soft: #f4f6f6;
    --hove-crop: #fff8df;
    --hove-width: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--hove-ink);
    background: #f2f4f4;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: #08729c;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--hove-green-dark);
    text-decoration: underline;
}

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

.skip-link {
    position: fixed;
    z-index: 9999;
    left: 1rem;
    top: -5rem;
    padding: .7rem 1rem;
    color: #fff;
    background: #000;
}

.skip-link:focus {
    top: 1rem;
}

.site-shell {
    width: min(calc(100% - 32px), var(--hove-width));
    margin: 0 auto;
    background: var(--hove-surface);
    box-shadow: 0 0 28px rgba(24, 36, 43, .08);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 125px;
    padding: 24px 32px 18px;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--hove-ink);
    line-height: 1;
    text-decoration: none;
}

.site-brand:hover,
.site-brand:focus {
    color: var(--hove-ink);
    text-decoration: none;
}

.site-brand-main {
    color: #111;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 700;
    letter-spacing: .04em;
}

.site-brand-sub {
    margin-top: .18em;
    color: var(--hove-green-dark);
    font-size: clamp(.75rem, 1.25vw, 1.05rem);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-slogan {
    margin-left: auto;
    text-align: right;
}

.site-slogan .hove-module,
.site-slogan p {
    margin: 0;
}

.site-slogan img {
    width: 250px;
    max-width: 100%;
}

.site-navigation {
    position: relative;
    z-index: 50;
    min-height: 58px;
    border-top: 1px solid var(--hove-line);
    border-bottom: 4px solid var(--hove-green);
    background: #fff;
}

.menu-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 15px 20px;
    color: #fff;
    background: var(--hove-green-dark);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.menu-panel .hove-module,
.menu-panel .module-content {
    margin: 0;
}

.menu-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-panel > .hove-module > .module-content > ul {
    display: flex;
    align-items: stretch;
    padding: 0 20px;
}

.menu-panel li {
    position: relative;
    margin: 0;
}

.menu-panel li > a,
.menu-panel li > span {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 15px;
    color: #26343b;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.menu-panel li.active > a,
.menu-panel li.current > a,
.menu-panel li > a:hover,
.menu-panel li > a:focus {
    color: #fff;
    background: var(--hove-green);
    text-decoration: none;
}

.menu-panel li ul {
    display: none;
    position: absolute;
    z-index: 60;
    left: 0;
    top: 100%;
    width: 250px;
    border: 1px solid var(--hove-line);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.menu-panel li:hover > ul,
.menu-panel li:focus-within > ul {
    display: block;
}

.menu-panel li ul a {
    min-height: auto;
    padding: 11px 14px;
    font-size: .82rem;
    text-transform: none;
}

.homepage-content,
.inner-layout,
.pre-footer {
    padding: 24px 26px;
}

.homepage-modules {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: start;
}

.homepage-modules > .hove-module {
    min-width: 0;
}

/* Recovered home module placement. */
.homepage-modules #mod-87 {
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
}

.homepage-modules #mod-99 {
    grid-column: 2;
    grid-row: 1;
}

.homepage-modules #mod-118 {
    grid-column: 1 / -1;
    grid-row: 2;
}

.homepage-modules #mod-97 {
    grid-column: 1;
    grid-row: 3;
}

.homepage-modules #mod-109 {
    grid-column: 2;
    grid-row: 3;
}

/* The clean template uses module 90 as the menu; hide old duplicate module 1. */
.homepage-modules #mod-1 {
    display: none;
}

#mod-87,
#mod-118,
#mod-97,
#mod-99,
#mod-109 {
    border: 1px solid var(--hove-line);
    background: #fff;
}

#mod-87 .module-content,
#mod-87 p {
    margin: 0;
}

#mod-87 img {
    display: block;
    width: 100%;
}

#mod-118,
#mod-97 {
    padding: 20px;
}

.grid-layout {
    display: grid;
    gap: 22px;
    width: 100%;
}

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

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

.grid-col,
.grid-col_inner {
    min-width: 0;
}

.grid-col_inner > a:first-child,
.grid-col_inner > img:first-child {
    display: block;
}

.grid-layout img {
    display: block;
    width: 100%;
    aspect-ratio: 12 / 5;
    object-fit: cover;
}

.grid-layout3 img {
    aspect-ratio: 4 / 3;
}

.link-desc h1,
.link-desc h2,
.grid-col h1 {
    margin: .55rem 0 .35rem;
    color: var(--hove-green-dark);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.link-desc h1 a,
.grid-col h1 a {
    color: inherit;
}

.link-desc p {
    margin: .4rem 0 1rem;
    color: #38464d;
    font-size: .93rem;
}

.button-green,
.link-button {
    display: inline-block;
    border-radius: 3px;
    padding: 9px 14px;
    color: #fff;
    background: var(--hove-green-dark);
    font-weight: 700;
    text-decoration: none;
}

.button-green:hover,
.button-green:focus,
.link-button:hover,
.link-button:focus {
    color: #fff;
    background: #52680b;
    text-decoration: none;
}

#mod-99,
#mod-109 {
    padding: 14px;
}

#mod-99 .module-content > h3,
#mod-99 .module-content > h4 {
    margin: 0 0 11px;
}

#mod-99 .alert {
    border: 1px solid #f0e4b7;
    border-radius: 4px;
    padding: 0;
    background: var(--hove-crop);
    box-shadow: none;
}

#mod-99 .alert a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 8px 10px;
    color: #a46d17;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

#mod-99 .alert:hover {
    border-color: var(--hove-green);
    background: #f7f3d7;
}

.module-title {
    margin: 0 0 14px;
    border-bottom: 3px solid var(--hove-green);
    padding: 0 0 9px;
    color: var(--hove-ink);
    font-size: 1.15rem;
    line-height: 1.2;
    text-transform: uppercase;
}

#mod-109 ul,
.homepage-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mod-109 li,
.homepage-links li {
    border-bottom: 1px solid var(--hove-line);
}

#mod-109 li:last-child,
.homepage-links li:last-child {
    border-bottom: 0;
}

#mod-109 li a,
.homepage-links li a {
    display: block;
    padding: 9px 2px;
}

.homepage-component {
    margin-top: 22px;
    border-top: 5px solid var(--hove-green);
    padding-top: 22px;
}

.homepage-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.homepage-links > div {
    border: 1px solid var(--hove-line);
    padding: 18px;
    background: var(--hove-soft);
}

.inner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    min-height: 520px;
}

.main-column,
.right-column {
    min-width: 0;
}

.right-column .hove-module {
    margin-bottom: 22px;
    border: 1px solid var(--hove-line);
    padding: 16px;
    background: var(--hove-soft);
}

.breadcrumb,
.breadcrumbs {
    margin: 0;
    border-radius: 3px;
    padding: 0;
    background: transparent;
    list-style: none;
}

.breadcrumb li,
.breadcrumbs li {
    display: block;
    margin: 0;
    border-bottom: 1px solid var(--hove-line);
    padding: 8px 2px;
    list-style: none;
}

.breadcrumb li::before,
.breadcrumbs li::before {
    display: none !important;
    content: none !important;
}

.breadcrumb li:first-child,
.breadcrumbs li:first-child {
    padding-top: 0;
    color: var(--hove-muted);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.breadcrumb li:last-child,
.breadcrumbs li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    color: var(--hove-ink);
    font-weight: 700;
}

.item-page,
.blog,
.category-list,
.contact,
.contact-category {
    overflow-wrap: anywhere;
}

.item-page h1,
.item-page h2,
.blog h1,
.blog h2,
.contact h1,
.contact h2 {
    color: var(--hove-ink);
    line-height: 1.2;
}

.category-list table,
.contact table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    border-bottom: 1px solid var(--hove-line);
    padding: 10px;
    text-align: left;
}

input,
textarea,
select,
button {
    max-width: 100%;
    font: inherit;
}

input[type='text'],
input[type='email'],
input[type='password'],
textarea,
select {
    width: 100%;
    border: 1px solid #bfc8cc;
    border-radius: 3px;
    padding: 9px 10px;
    background: #fff;
}

/* Clean Joomla contact presentation. */
.contact .popover,
.contact .tooltip {
    display: none !important;
}

.contact-address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 24px;
}

.contact-address::before,
.contact-address::after {
    display: none;
    content: none;
}

.contact-address dt,
.contact-address dd,
.contact-address.dl-horizontal dt,
.contact-address.dl-horizontal dd {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

.contact-address dt,
.contact-address .jicons-icons {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.contact-address dd {
    flex: 0 1 auto;
}

.contact-address img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-address .contact-telephone {
    display: inline-block;
    line-height: 1.3;
}

.contact-form {
    margin-top: 22px;
}

.contact-form fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.contact-form legend {
    width: 100%;
    margin: 0 0 18px;
    border-bottom: 2px solid var(--hove-green);
    padding: 0 0 9px;
    color: var(--hove-ink);
    font-size: 1.08rem;
    font-weight: 700;
}

.contact-form .control-group {
    margin: 0 0 16px;
}

.contact-form .control-label {
    margin: 0 0 6px;
}

.contact-form .control-label label {
    display: inline-block;
    margin: 0;
    font-weight: 700;
}

.contact-form .controls {
    margin: 0;
}

.contact-form textarea {
    min-height: 220px;
    resize: vertical;
}

.contact-form .form-actions {
    margin: 18px 0 0;
    border: 0;
    padding: 0;
    background: transparent;
}

.contact-form button,
.contact-form .btn,
.contact-form .btn-primary {
    border: 0;
    border-radius: 3px;
    padding: 10px 18px;
    color: #fff;
    background: var(--hove-green-dark);
    font-weight: 700;
    cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus,
.contact-form .btn:hover,
.contact-form .btn:focus {
    color: #fff;
    background: #52680b;
}

.contact-form .star {
    color: #a62c1f;
}

.pre-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    border-top: 1px solid var(--hove-line);
    background: #f8f9f9;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--hove-line);
    padding: 20px 26px;
    color: #5d686e;
    background: #fff;
    font-size: .86rem;
}

.content-only {
    padding: 1rem;
    background: #fff;
}

.error-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.error-card {
    width: min(100%, 620px);
    border-top: 7px solid var(--hove-green);
    padding: 36px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
}

.error-code {
    margin: 0;
    color: var(--hove-green-dark);
    font-size: 4rem;
    font-weight: 700;
}

@media (max-width: 980px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--hove-width));
    }

    .site-header {
        min-height: auto;
        padding: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-panel {
        display: none;
    }

    .menu-panel.is-open {
        display: block;
    }

    .menu-panel > .hove-module > .module-content > ul {
        display: block;
        padding: 0;
    }

    .menu-panel li > a,
    .menu-panel li > span {
        min-height: auto;
        border-bottom: 1px solid var(--hove-line);
        padding: 12px 18px;
    }

    .menu-panel li ul {
        display: block;
        position: static;
        width: auto;
        border: 0;
        box-shadow: none;
    }

    .menu-panel li ul a {
        padding-left: 36px;
        background: #f7f8f8;
    }

    .homepage-modules {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

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

@media (max-width: 720px) {
    .site-shell {
        width: 100%;
    }

    .site-header {
        display: block;
    }

    .site-brand-main {
        font-size: 3rem;
    }

    .site-slogan {
        margin-top: 16px;
        text-align: left;
    }

    .homepage-content,
    .inner-layout,
    .pre-footer {
        padding: 16px;
    }

    .homepage-modules,
    .grid-layout2,
    .grid-layout3,
    .homepage-links,
    .inner-layout,
    .pre-footer {
        display: block;
    }

    .homepage-modules > .hove-module,
    .homepage-links > div,
    .pre-footer > div {
        margin-bottom: 18px;
    }

    #mod-118,
    #mod-97 {
        padding: 14px;
    }

    .grid-col {
        margin-bottom: 22px;
    }

    .site-footer {
        display: block;
        padding: 18px;
    }
}
