/* markmumma template - original CSS for Mark W Mumma (Joomla 6). (C) 2026 WebGuy Communications */

@font-face {
    font-family: "PT Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ptserif-400.woff2") format("woff2");
}

@font-face {
    font-family: "PT Serif";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/ptserif-700.woff2") format("woff2");
}

:root {
    --teal: #22555d;
    --teal-light: #30747f;
    --paper: #fafafa;
    --ink: #333;
    --yellow: #d9c964;
    --orange: #f47d43;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: "PT Serif", Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.6;
}

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

.visually-hidden, .sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mod-menu__toggle-sub { display: none; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }

#wrap {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--paper);
}

/* ---------- header ---------- */
#header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 70px;
    min-height: 146px;
    padding: 10px 0;
    background: var(--paper);
    border-top: 6px dashed var(--teal);
    border-bottom: 6px dashed var(--teal);
    box-shadow: inset 0 0 1px 0 var(--teal);
    margin-bottom: 1px;
}

#logo { grid-column: 2; grid-row: 1; display: block; line-height: 0; }
#logo img { display: block; width: auto; max-width: 232px; max-height: 100px; }

#menus { display: contents; }
#menus .menu-left { grid-column: 1; grid-row: 1; justify-self: end; }
#menus .menu-right { grid-column: 3; grid-row: 1; justify-self: start; }

.menu ul, .menu .mod-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

.menu li { position: relative; margin: 0; padding: 0; }

.menu li > a,
.menu li > span {
    display: block;
    padding: 8px 17px;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu li > a:hover { color: var(--teal-light); }
.menu li.active > a, .menu li.current > a, .menu li.active > span { color: var(--teal); }

.menu li > ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 20;
    min-width: 150px;
    flex-direction: column;
    background: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .24);
}

.menu li:hover > ul, .menu li:focus-within > ul { display: flex; }
.menu li > ul li > a { color: #fff; font-size: 14px; padding: 9px 17px; }
.menu li > ul li > a:hover { color: #3699a9; }
.menu li > ul li.active > a { color: #f1f1f1; }

#menubtn { display: none; }

/* ---------- home ---------- */
#hero {
    background: #0b1230 url("../images/hero.jpg") center / cover no-repeat;
    box-shadow: 0 5px 11px rgba(50, 50, 50, .41);
    min-height: 618px;
    padding: 232px 48px 40px;
}

.mm-hero {
    position: relative;
    display: flex;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 70px;
    color: #fff;
}

.mm-hero::before, .mm-hero::after {
    position: absolute;
    top: 12px;
    font: 400 200px/1 Arial, sans-serif;
    color: #fff;
}

.mm-hero::before { content: "{"; left: -10px; }
.mm-hero::after { content: "}"; right: -10px; }

.mm-hero-col { flex: 1; }
.mm-hero h2 { color: #fff; font-size: 58px; font-weight: 400; margin: 10px 0 8px; }
.mm-hero p { color: #fff; font-size: 14px; line-height: 1.55; }
.mm-hero h4 { color: #fff; font-size: 20px; font-weight: 400; margin: 22px 0 0; }

.mm-btn {
    display: inline-block;
    margin-left: 6px;
    padding: 6px 12px;
    background: var(--teal);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
}

.mm-btn:hover { background: var(--teal-light); color: #fff; }

#home > #hero + * { margin-top: 0; }

#hip {
    margin-top: 100px;
    min-height: 775px;
    padding: 136px 24px 60px;
    background: var(--paper) url("../images/hip.jpg") top center no-repeat;
    text-align: center;
}

.mm-hip { max-width: 520px; margin: 0 auto; }
.mm-hip h2 { font-size: 70px; font-weight: 400; text-shadow: 0 2px 4px rgba(150, 150, 150, 1); }
.mm-hip-logo { margin: 24px 0; }
.mm-hip-logo img { width: 190px; }
.mm-hip p { font-size: 20.8px; line-height: 1.55; text-shadow: 0 2px 4px rgba(150, 150, 150, 1); }

#home .blog-featured { display: none; }

/* ---------- inner pages ---------- */
#body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 20px 30px 40px;
}

#body.has-side { grid-template-columns: minmax(0, 1fr) 282px; }
#body.no-side #content { max-width: 940px; margin: 0 auto; width: 100%; }

#content { min-width: 0; }

#content h1, .page-header h1 { color: var(--teal); font-size: 62px; text-align: center; margin: 12px 0 24px; }
.com-content-article__body h1, .com-content-article .basecolor_1 { color: var(--teal); font-size: 54px; }
.basecolor_1 { color: var(--teal); }
h3.titlefont { font-size: 30px; font-weight: 400; margin: 0; }
.com-content-article .item-image img { width: 100%; height: auto; }
.com-content-article__body img { max-width: 100%; height: auto; }
.com-content-article { font-size: 14px; }

/* two-column rows inside article bodies (old Bootstrap-style markup) */
.row-fluid { display: flex; gap: 30px; align-items: flex-start; }
.row-fluid > [class*="span"] { min-width: 0; }
.row-fluid > .span6 { flex: 1 1 50%; }
.row-fluid > .span12 { flex: 1 1 100%; }
.row-fluid > .span4 { flex: 1 1 33%; }
.row-fluid > .span8 { flex: 2 1 66%; }
.row-fluid > .span3 { flex: 1 1 25%; }
.row-fluid > .span9 { flex: 3 1 75%; }

/* Food blog: two columns, filled top to bottom */
.com-content-category-blog__items,
.blog-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 0 30px;
}

.blog-item { min-width: 0; margin: 0 0 24px; }
.blog-item .item-content { font-size: 0; line-height: 0; }
.blog-item .item-content > p { display: none; }
.blog-item .item-content .page-header, .blog-item .item-content .tags { line-height: 1.04; }
.blog-item .item-content .tags { line-height: 1.55; }
.blog-item .item-image, .blog-item figure { margin: 0 0 14px; }
.blog-item img { display: block; width: 100%; height: auto; }

.blog-item .page-header h2,
.blog-item h2 { color: var(--teal); font-size: 46px; line-height: 1.04; margin: 0 0 14px; }
.blog-item h2 a { color: var(--teal); }

.tags, ul.tags {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.tags li { margin: 0; }
.tags a, .tags .badge, .tags .btn {
    display: block;
    padding: 0 5px;
    background: #ccc;
    color: #fff;
    font-size: 10px;
    line-height: 1.55;
    border-radius: 2px;
}

.com-content-article .tags { margin-top: 20px; }

/* sidebar boxes */
#sidebar .moduletable { margin: 0 0 24px; padding: 22px 22px 26px; color: #fff; }
#sidebar .moduletable h3 { color: #fff; font-size: 30px; font-weight: 400; margin: 0 0 14px; }
#sidebar .basecolor6 { background: var(--yellow); }
#sidebar .basecolor1 { background: var(--teal); }
#sidebar .orange { background: var(--orange); }

#sidebar input[type="text"], #sidebar input[type="search"], #sidebar .form-control {
    width: 180px;
    max-width: 100%;
    height: 28px;
    padding: 2px 12px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    color: #555;
    font: 12px "PT Serif", Georgia, serif;
}

#sidebar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
#sidebar .mod-finder__search { margin: 0; }
#sidebar .mod-finder__search .btn, #sidebar .mod-finder__search button { display: none; }

#sidebar ul { list-style: none; margin: 0; padding: 0; }
#sidebar li { padding: 8px 0; border-bottom: 1px dotted rgba(255, 255, 255, .7); line-height: 1.15; }
#sidebar li:last-child { border-bottom: 0; }
#sidebar li a { color: #fff; font-size: 14px; font-weight: 700; }
#sidebar li a:hover { color: #d7ecef; }
#sidebar .mod-articlescategory, #sidebar .mod-list { display: block; }
#sidebar img { display: block; width: 100%; height: auto; }
#sidebar .orange img { margin-top: 4px; }

/* contact / appointment form */
#content .com-contact h1, #content .com-contact .page-header h1 { color: var(--ink); font-size: 30px; font-weight: 400; text-align: center; }
.com-contact h2, .com-contact h3, .com-contact legend { display: none; }
.com-contact fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.com-contact legend { color: var(--teal); font-size: 14px; text-transform: uppercase; margin-bottom: 8px; }
.com-contact label, .com-contact .control-label { display: block; margin: 12px 0 4px; font-size: 14px; }
.com-contact input[type="text"], .com-contact input[type="email"], .com-contact textarea, .com-contact select {
    width: 100%;
    max-width: 420px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    background: #fff;
    font: 14px "PT Serif", Georgia, serif;
}
.com-contact textarea { min-height: 150px; }
.com-contact .btn, .com-contact button, .btn {
    padding: 8px 16px;
    background: #ebebeb;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: var(--teal);
    font: 14px "PT Serif", Georgia, serif;
    cursor: pointer;
}
.com-contact .btn:hover, .btn:hover { background: #e0e0e0; }

#system-message-container .alert { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #ccc; background: #fff; }
#system-message-container .alert-heading { display: none; }

/* ---------- 404 ---------- */
.errorbox { text-align: center; }
#content .errorbox h1 { font-size: 40px; margin: 8px 0 0; color: var(--ink); }
.errorbox .bacon { display: block; margin: 0 auto 20px; width: 300px; max-width: 100%; }
.errorbox .lead { font-size: 18px; margin: 10px 0 4px; }
.errorbox .small { font-size: 12px; margin: 0 0 18px; }
.errorbox .errorlinks { font-size: 12px; }
.errorbox .errorlinks span { margin: 0 10px; color: #2a8fbd; }
.foodrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.foodrow img { display: block; width: 100%; border: 3px solid #0a64c8; background: #0a64c8; }

/* ---------- footer ---------- */
#footer { text-align: center; padding: 34px 20px 44px; background: var(--paper); color: #999; }
#footer .powered span { display: block; font-size: 12px; color: #999; }
#footer .powered img { display: inline-block; width: 190px; max-width: 70%; height: auto; }
#footer .copy { font-size: 12px; color: #999; margin-top: 6px; }
#footer a { color: #999; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
    #header { grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 18px; min-height: 90px; }
    #logo { grid-column: 1; }
    #logo img { max-width: 139px; max-height: 60px; }
    #menubtn {
        display: block;
        grid-column: 2;
        grid-row: 1;
        width: 46px;
        height: 40px;
        padding: 8px;
        background: transparent;
        border: 1px solid var(--teal);
        border-radius: 3px;
        cursor: pointer;
    }
    #menubtn span { display: block; height: 3px; margin: 4px 0; background: var(--teal); }
    #menus { display: none; grid-column: 1 / -1; grid-row: 2; }
    #menus.open, #menus.open-static { display: block; }
    #menus .menu-left, #menus .menu-right { justify-self: stretch; }
    .menu ul, .menu .mod-menu { flex-direction: column; }
    .menu li > a { padding: 10px 4px; border-top: 1px solid #e4e4e4; }
    .menu li > ul { display: flex; position: static; background: transparent; box-shadow: none; padding-left: 14px; }
    .menu li > ul li > a { color: var(--teal); }

    #hero { padding: 40px 18px 30px; min-height: 0; }
    .mm-hero { flex-direction: column; gap: 26px; padding: 0; }
    .mm-hero::before, .mm-hero::after { display: none; }
    .mm-hero h2 { font-size: 40px; }

    #hip { min-height: 0; padding: 50px 18px 40px; margin-top: 30px; background-size: cover; background-position: center; }
    .mm-hip h2 { font-size: 38px; }
    .mm-hip p { font-size: 16px; }

    #body, #body.has-side { grid-template-columns: minmax(0, 1fr); padding: 16px 18px 30px; }
    #content h1, .page-header h1 { font-size: 38px; }
    .com-content-category-blog__items, .blog-items { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
    .blog-item h2 { font-size: 32px; }
    .row-fluid { flex-direction: column; gap: 16px; }
}
