\
:root {
    --site-max: 1280px;
    --wine-1: #300000;
    --wine-2: #5a0000;
    --wine-3: #830000;
    --red: #a10000;
    --gold: #d3cc19;
    --olive: #6d6810;
    --paper: #f7f5ef;
    --ink: #222;
    --sidebar: #292929;
    --sidebar-border: #444;
    --shadow: 0 7px 24px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,.07), transparent 24%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 2px, transparent 2px 5px),
        linear-gradient(90deg, #730000 0, #a50000 10%, #780000 50%, #a50000 90%, #730000 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: #8f0000; }
a:hover { color: #c40000; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    z-index: 10000;
    background: white;
    color: black;
    padding: .7rem 1rem;
    border: 2px solid black;
}

.site-header {
    color: white;
    background:
        linear-gradient(rgba(48,0,0,.97), rgba(89,0,0,.97)),
        repeating-linear-gradient(45deg, transparent 0 7px, rgba(255,255,255,.018) 7px 9px);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    min-height: 120px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.brand-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    background: #08601e;
    border: 2px solid rgba(255,255,255,.28);
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.brand-copy {
    min-width: 0;
    text-align: center;
}
.brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2.1vw, 1.95rem);
    font-weight: 700;
    line-height: 1.12;
    text-transform: uppercase;
    text-shadow: 0 2px 2px #000;
}
.brand-subtitle {
    margin-top: .3rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(.85rem, 1.55vw, 1.18rem);
    font-weight: 700;
    letter-spacing: .04em;
}
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}
.contact-block {
    font-size: .9rem;
    line-height: 1.45;
}
.contact-block a { color: white; }
.facebook-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 54px;
    color: white;
    background: #b01616;
    font: 700 2rem Arial, sans-serif;
    text-decoration: none;
}
.search-position { min-width: 230px; }
.search-position form { display: flex; }
.search-position input {
    width: 100%;
    min-width: 0;
    padding: .72rem;
    border: 1px solid #aaa;
}
.search-position button,
.search-position .btn {
    border: 0;
    padding: .72rem .95rem;
    color: #111;
    background: linear-gradient(#eee835, #bdb500);
}

.main-menu {
    background: linear-gradient(#690000, #3a0000);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 3px solid #940000;
}
.menu-inner {
    max-width: var(--site-max);
    margin: 0 auto;
}
.main-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-menu li { position: relative; }
.main-menu a {
    display: block;
    padding: 15px 19px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 900;
    text-shadow: 0 1px 1px #000;
    border-right: 1px solid rgba(255,255,255,.06);
}
.main-menu a:hover,
.main-menu .active > a,
.main-menu .current > a {
    color: #111;
    background: linear-gradient(#e8e331, #bbb400);
    text-shadow: none;
}
.main-menu ul ul {
    display: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #480000;
    box-shadow: var(--shadow);
}
.main-menu li:hover > ul,
.main-menu li:focus-within > ul { display: block; }
.main-menu ul ul a { padding: 11px 14px; }
.menu-toggle { display: none; }

.hero {
    background: #760000;
}
.hero-inner {
    position: relative;
    max-width: var(--site-max);
    min-height: 280px;
    margin: 0 auto;
    background:
        linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.08)),
        url("../images/hero-default.svg") center/cover no-repeat;
}
.hero-inner::after {
    content: "";
    position: absolute;
    inset: auto 4% 9px 4%;
    height: 22px;
    background: rgba(0,0,0,.35);
    filter: blur(12px);
}

.page-shell {
    max-width: var(--site-max);
    margin: 0 auto;
    background: #efeee9;
    border-left: 4px solid white;
    border-right: 4px solid white;
    box-shadow: var(--shadow);
}
.breadcrumbs {
    padding: 9px 18px;
    background: #f3f1ec;
    border-bottom: 1px solid #d6d3cd;
    font-size: .9rem;
}
.breadcrumbs ol,
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.content-grid {
    display: grid;
    gap: 0;
    align-items: start;
    background: white;
}
.content-grid.layout-three { grid-template-columns: 215px minmax(0,1fr) 225px; }
.content-grid.layout-left { grid-template-columns: 215px minmax(0,1fr); }
.content-grid.layout-right { grid-template-columns: minmax(0,1fr) 225px; }
.content-grid.layout-main-only { grid-template-columns: minmax(0,1fr); }

.sidebar {
    min-height: 100%;
    padding: 8px;
    color: white;
    background: var(--sidebar);
}
.sidebar-left { border-right: 5px solid white; }
.sidebar-right { border-left: 5px solid white; }

.module-card {
    margin: 0 0 9px;
    color: white;
    background: #333;
    border: 1px solid var(--sidebar-border);
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.module-title {
    margin: 0;
    padding: 8px 12px;
    color: white;
    background: linear-gradient(#c01919, #6e0000);
    border-radius: 4px 4px 0 0;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
}
.module-title span::before {
    content: "◆";
    margin-right: .45rem;
    color: #e7a626;
    font-size: .7em;
}
.module-body { padding: 9px; }
.module-body a {
    color: #ded829;
    text-decoration: none;
}
.module-body a:hover { color: white; }
.module-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.module-body li {
    padding: .34rem 0;
    border-bottom: 1px dotted #555;
}
.module-body img {
    display: block;
    margin: .45rem auto;
}

.main-content {
    min-width: 0;
    background: white;
}
.article-area {
    padding: 18px 22px 30px;
    background: white;
}
.main-top,
.main-bottom { padding: 12px 18px; }

.article-area h1,
.article-area .page-header h1,
.article-area .page-header h2,
.article-area h2 {
    font-family: Arial, Helvetica, sans-serif;
}
.article-area h1,
.article-area .page-header h1 {
    color: #950000;
    font-size: 1.82rem;
}
.article-area h2,
.article-area .page-header h2 {
    color: var(--olive);
    font-size: 1.48rem;
}
.article-info {
    color: #666;
    font-size: .85rem;
}
.article-area table {
    width: 100%;
    border-collapse: collapse;
}
.article-area th,
.article-area td {
    padding: .38rem .48rem;
    vertical-align: top;
    border: 1px solid #aaa;
}
.article-area th {
    color: #d00000;
    background: #f7f2e9;
    font-style: italic;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: 1rem;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: .42rem .65rem;
    text-decoration: none;
    background: #eee;
    border: 1px solid #bbb;
}
.pagination .active span {
    color: #111;
    background: #d2ca16;
}

.site-footer {
    color: white;
    background: linear-gradient(#520000, #2d0000);
    border-top: 3px solid #d0c900;
}
.footer-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 22px;
    text-align: center;
}
.footer-copy { font-size: .9rem; }

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    width: 54px;
    height: 54px;
    color: white;
    background: #587d00;
    border: 3px solid white;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: .2s;
    cursor: pointer;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.component-only {
    padding: 1rem;
    background: white;
}
.error-page,
.offline-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #680000;
}
.error-card,
.offline-card {
    width: min(92vw, 600px);
    padding: 2rem;
    text-align: center;
    background: white;
    box-shadow: var(--shadow);
}
.error-code {
    color: #900;
    font-size: 5rem;
    font-weight: 900;
}
.button {
    display: inline-block;
    padding: .7rem 1rem;
    color: white;
    background: #970000;
    text-decoration: none;
}

@media (max-width: 1060px) {
    .header-inner { align-items: flex-start; }
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .content-grid.layout-three {
        grid-template-columns: 190px minmax(0,1fr);
    }
    .content-grid.layout-three .sidebar-right {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 5px solid white;
    }
    .content-grid.layout-three .sidebar-right .module-card {
        display: inline-block;
        width: calc(33.333% - 12px);
        margin: 5px;
        vertical-align: top;
    }
}

@media (max-width: 820px) {
    .header-inner {
        display: block;
        text-align: center;
    }
    .brand { justify-content: center; }
    .header-actions {
        justify-content: center;
        margin-top: 14px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .55rem;
        width: 100%;
        padding: .85rem;
        color: white;
        background: #3b0000;
        border: 0;
        font-weight: 800;
        text-transform: uppercase;
    }
    .main-menu { display: none; }
    .main-menu.is-open { display: block; }
    .main-menu ul { display: block; }
    .main-menu ul ul {
        display: block;
        position: static;
        padding-left: 1rem;
        box-shadow: none;
    }

    .content-grid,
    .content-grid.layout-three,
    .content-grid.layout-left,
    .content-grid.layout-right {
        grid-template-columns: 1fr;
    }
    .sidebar-left,
    .sidebar-right {
        border: 0;
        border-bottom: 5px solid white;
    }
    .content-grid.layout-three .sidebar-right .module-card {
        display: block;
        width: auto;
        margin: 0 0 9px;
    }
    .hero-inner { min-height: 190px; }
}

@media (max-width: 560px) {
    .brand-logo {
        width: 60px;
        height: 60px;
    }
    .brand-title { font-size: 1rem; }
    .brand-subtitle { font-size: .78rem; }
    .header-actions { display: block; }
    .facebook-button { margin: .7rem auto; }
    .search-position { min-width: 0; }
    .article-area { padding: 14px 12px 24px; }
    .article-area table { font-size: .78rem; }
    .article-area th,
    .article-area td { padding: .25rem; }
}


/* Joomla 5 mod_menu compatibility */
.main-menu .mod-menu,
.main-menu .mod-list,
.main-menu ul.mod-menu,
.main-menu ul.mod-list {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-menu .mod-menu > li,
.main-menu .mod-list > li {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}
.main-menu .mod-menu > li > a,
.main-menu .mod-list > li > a,
.main-menu .mod-menu > li > span,
.main-menu .mod-list > li > span {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    white-space: nowrap;
    line-height: 1.15;
}
.main-menu .mod-menu li + li,
.main-menu .mod-list li + li {
    margin-left: 0;
}
.main-menu .mod-menu .nav-header,
.main-menu .mod-list .nav-header {
    color: white;
}

/* Side module compatibility and visibility */
.sidebar:empty {
    display: none;
}
.sidebar .moduletable,
.sidebar .mod-custom,
.sidebar .mod-menu,
.sidebar .mod-list,
.sidebar .mod-articleslatest,
.sidebar .mod-articlesnews,
.sidebar .mod-banners {
    display: block;
    width: 100%;
}
.sidebar .moduletable {
    margin-bottom: 10px;
}
.sidebar .moduletable > h3,
.sidebar .moduletable > h4 {
    margin: 0;
    padding: 8px 12px;
    color: white;
    background: linear-gradient(#c01919, #6e0000);
    border-radius: 4px 4px 0 0;
    font-size: .95rem;
    text-transform: uppercase;
}
.sidebar .moduletable > div,
.sidebar .moduletable > ul {
    padding: 9px;
}
.sidebar .mod-menu,
.sidebar .mod-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar .mod-menu li,
.sidebar .mod-list li {
    border-bottom: 1px dotted #555;
}
.sidebar .mod-menu a,
.sidebar .mod-list a {
    display: block;
    padding: .42rem .2rem;
    color: #ded829;
    text-decoration: none;
}
.sidebar .mod-menu a:hover,
.sidebar .mod-list a:hover {
    color: white;
}


@media (max-width: 820px) {
    .main-menu .mod-menu,
    .main-menu .mod-list,
    .main-menu ul.mod-menu,
    .main-menu ul.mod-list {
        display: block !important;
    }
    .main-menu .mod-menu > li,
    .main-menu .mod-list > li {
        display: block;
        width: 100%;
    }
    .main-menu .mod-menu > li > a,
    .main-menu .mod-list > li > a,
    .main-menu .mod-menu > li > span,
    .main-menu .mod-list > li > span {
        min-height: 44px;
        width: 100%;
    }
}
