﻿/*
Theme Name: SVTBUD v33
Theme URI: https://svtbud.com.ua/
Author: Codex
Description: WordPress theme matching the old Joomla SVTBUD template.
Version: 1.0.33
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: svtbud
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    background: url("assets/images/bg.gif") no-repeat scroll center top #fff;
    color: #222;
    font: 12px/18px Tahoma, Verdana, sans-serif;
    min-height: 100%;
}

a {
    color: #ae3228;
    outline: none;
    text-decoration: underline;
}

a:hover {
    color: #ae3228;
    text-decoration: none;
}

p {
    margin: 0 0 18px;
}

img {
    border: 0;
    height: auto;
    max-width: 100%;
}

ul,
ol {
    margin-left: 18px;
    padding-bottom: 15px;
}

.screen-reader-text,
.skip-link {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.skip-link:focus {
    background: #fff;
    clip: auto;
    color: #ae3228;
    height: auto;
    left: 10px;
    padding: 10px;
    top: 10px;
    width: auto;
    z-index: 1000;
}

#wrapper {
    margin: 0 auto;
    min-height: 100%;
    width: 944px;
}

.clr {
    clear: both;
}

#header {
    height: 368px;
    margin-top: 13px;
    position: relative;
}

#header .bgcontainer {
    left: 0;
    position: absolute;
    top: 83px;
    z-index: 0;
}

#header .bgcontainer img {
    height: 150px;
    width: 940px;
}

#header .logo {
    left: 10px;
    position: absolute;
    top: 70px;
    z-index: 2;
}

#header .logo img {
    width: 195px;
}

.mainmenu {
    min-height: 62px;
    position: relative;
    z-index: 3;
}

.mainmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mainmenu li {
    float: left;
    height: 62px;
    text-align: center;
    width: 114px;
}

.mainmenu a {
    color: #002b87;
    display: block;
    font: 12px/14px Calibri, Arial, sans-serif;
    height: 62px;
    overflow: hidden;
    padding-top: 41px;
    text-decoration: none;
    width: 114px;
}

.mainmenu li:nth-child(1) a { background: url("assets/images/about.jpg") no-repeat center top; }
.mainmenu li:nth-child(1) a:hover,
.mainmenu li:nth-child(1).current-menu-item a { background-image: url("assets/images/about1.jpg"); }
.mainmenu li:nth-child(2) a { background: url("assets/images/contacts.jpg") no-repeat center top; }
.mainmenu li:nth-child(2) a:hover,
.mainmenu li:nth-child(2).current-menu-item a { background-image: url("assets/images/contacts1.jpg"); }
.mainmenu li:nth-child(3) a { background: url("assets/images/news.jpg") no-repeat center top; }
.mainmenu li:nth-child(3) a:hover,
.mainmenu li:nth-child(3).current-menu-item a { background-image: url("assets/images/news1.jpg"); }
.mainmenu li:nth-child(4) a { background: url("assets/images/gallery.jpg") no-repeat center top; }
.mainmenu li:nth-child(4) a:hover,
.mainmenu li:nth-child(4).current-menu-item a { background-image: url("assets/images/gallery1.jpg"); }
.mainmenu li:nth-child(5) a { background: url("assets/images/order.jpg") no-repeat center top; }
.mainmenu li:nth-child(5) a:hover,
.mainmenu li:nth-child(5).current-menu-item a { background-image: url("assets/images/order1.jpg"); }
.mainmenu li:nth-child(6) a { background: url("assets/images/articles.jpg") no-repeat center top; }
.mainmenu li:nth-child(6) a:hover,
.mainmenu li:nth-child(6).current-menu-item a { background-image: url("assets/images/articles1.jpg"); }

.nav-toggle {
    display: none;
}

.iconset {
    height: 30px;
    position: absolute;
    right: 82px;
    top: 5px;
    z-index: 3;
}

.iconset a {
    display: inline-block;
    height: 30px;
    margin-left: 8px;
    padding-left: 0;
    vertical-align: top;
    width: 30px;
}

.iconset img {
    display: block;
    height: 30px;
    width: 30px;
}

.search {
    background: url("assets/images/search_bg.gif") left top no-repeat;
    height: 39px;
    position: absolute;
    right: 0;
    top: 42px;
    width: 203px;
    z-index: 3;
}

.search form {
    height: 39px;
    white-space: nowrap;
}

.search input {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #777;
    font: 12px/38px Tahoma, Verdana, sans-serif;
    height: 38px;
    outline: 0 !important;
    vertical-align: top;
}

.search input.text {
    padding-left: 45px;
    padding-right: 8px;
    width: 151px;
}

.search input::-ms-clear,
.search input::-ms-reveal,
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration {
    display: none;
}

.search input.button {
    cursor: pointer;
    width: 44px;
}

.wisetext {
    background: url("assets/images/wise_bg.png") no-repeat;
    color: #555;
    font: italic 18px Calibri, Arial, sans-serif;
    height: 53px;
    margin-top: 115px;
    overflow: hidden;
    padding-left: 64px;
    padding-right: 75px;
    position: absolute;
    right: 0;
    top: 65px;
    width: 319px;
}

.labelmenu {
    position: absolute;
    top: 245px;
    z-index: 3;
}

.labelmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.labelmenu li {
    float: left;
    height: 96px;
    margin-right: 3px;
    position: relative;
    width: 233px;
}

.labelmenu li span {
    background: url("assets/images/labelmenushadow.png") no-repeat;
    display: block;
    height: 102px;
    left: 0;
    position: absolute;
    top: 0;
    width: 228px;
    z-index: 0;
}

.labelmenu li:hover span {
    display: none;
}

.labelmenu li a {
    color: #000;
    cursor: pointer;
    display: block;
    font: bold 15px "Trebuchet MS", Arial, sans-serif;
    height: 96px;
    padding: 20px 10px 0 80px;
    position: relative;
    text-decoration: none;
    width: 233px;
    z-index: 1;
}

.labelmenu li:nth-child(1) a { background: url("assets/images/label1.png") left top no-repeat; }
.labelmenu li:nth-child(1) a:hover,
.labelmenu li:nth-child(1).current-menu-item a { background-image: url("assets/images/label11.png"); }
.labelmenu li:nth-child(2) a { background: url("assets/images/label2.png") left top no-repeat; }
.labelmenu li:nth-child(2) a:hover,
.labelmenu li:nth-child(2).current-menu-item a { background-image: url("assets/images/label21.png"); }
.labelmenu li:nth-child(3) a { background: url("assets/images/label3.png") left top no-repeat; }
.labelmenu li:nth-child(3) a:hover,
.labelmenu li:nth-child(3).current-menu-item a { background-image: url("assets/images/label31.png"); }
.labelmenu li:nth-child(4) a { background: url("assets/images/label4.png") left top no-repeat; }
.labelmenu li:nth-child(4) a:hover,
.labelmenu li:nth-child(4).current-menu-item a { background-image: url("assets/images/label41.png"); }

#middle {
    height: 1%;
    padding: 0 0 100px;
    position: relative;
    width: 100%;
}

#middle:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

#sideRight {
    float: left;
    padding-bottom: 50px;
    padding-right: 22px;
    position: relative;
    width: 232px;
}

#container {
    float: left;
    overflow: hidden;
    width: 710px;
}

#content {
    padding: 0 0 55px;
    width: 710px;
}

#content h1,
#content h1 span,
h1 {
    color: #ae3228;
    font: italic 23px Calibri, Arial, sans-serif;
    margin: 0 0 23px;
}

#content h2,
h2 {
    color: #ae3228;
    font: italic 18px Calibri, Arial, sans-serif;
    margin: 0 0 8px;
}

#content h3 {
    color: #ae3228;
    font: italic 23px Calibri, Arial, sans-serif;
    margin-bottom: 23px;
}

.breadcrumb {
    background: none;
    font-style: italic;
    margin: 0;
    padding: 0 0 10px;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
}

.rightmenu ul {
    color: #c09759;
    list-style: disc;
    margin-left: 12px;
    padding-bottom: 20px;
}

.rightmenu li {
    line-height: 14px;
    padding-bottom: 8px;
}

.rightmenu a {
    color: #000;
    text-decoration: none;
}

.rightmenu a:hover,
.rightmenu .current-menu-item a {
    color: #666;
    text-decoration: underline;
}

.right-order {
    margin-bottom: 30px;
    text-align: center;
}

.module {
    margin-bottom: 30px;
}

.module.contacts .image {
    float: left;
}

.module.contacts .cont {
    overflow: hidden;
}

.module.contacts p {
    color: #555;
    margin-bottom: 10px;
}

.module.contacts span {
    display: block;
    font-weight: bold;
}

.content-body,
.entry-content {
    text-align: justify;
}

.entry-content table {
    max-width: 100%;
}

.items-leading > div,
.post-list article {
    padding-bottom: 20px;
}

.post-list h2 {
    font-size: 18px;
}

.post-meta {
    color: #777;
    font-size: 11px;
    margin-bottom: 8px;
}

.pagination {
    text-align: center;
    width: 100%;
}

.pagination .nav-links > * {
    display: inline-block;
    padding-right: 10px;
}

.section-post-list article {
    margin-bottom: 18px;
}

.svtbud-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
}

.svtbud-gallery a {
    border: 1px solid #d8c7b5;
    border-radius: 4px;
    box-shadow: 0 5px 12px rgba(60, 40, 20, 0.12);
    display: block;
    overflow: hidden;
}

.svtbud-gallery img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.svtbud-order-form-wrap {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dfd1c0;
    border-radius: 7px;
    box-shadow: 0 6px 16px rgba(70, 48, 24, 0.10);
    margin-top: 8px;
    padding: 18px 20px 16px;
}

.svtbud-order-form p {
    margin: 0 0 12px;
}

.svtbud-order-form label {
    color: #444;
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.svtbud-order-form input,
.svtbud-order-form select,
.svtbud-order-form textarea {
    background: #fff;
    border: 1px solid #cdbda9;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #222;
    font: 13px/18px Tahoma, Verdana, sans-serif;
    padding: 8px 9px;
    width: 100%;
}

.svtbud-order-form textarea {
    min-height: 128px;
    resize: vertical;
}

.svtbud-form-actions {
    margin-top: 16px;
}

.svtbud-form-actions button {
    background: linear-gradient(#c94535, #a82218);
    border: 1px solid #8e1e16;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(120, 45, 32, 0.20);
    color: #fff;
    cursor: pointer;
    font: bold 16px/20px "Trebuchet MS", Arial, sans-serif;
    padding: 9px 28px;
}

.svtbud-form-actions button:hover {
    background: linear-gradient(#d65343, #b42a1f);
}

.svtbud-form-message {
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 14px;
    padding: 10px 12px;
}

.svtbud-form-message.is-success {
    background: #e7f4df;
    border: 1px solid #b7d7a8;
    color: #315d20;
}

.svtbud-form-message.is-error {
    background: #f8e5df;
    border: 1px solid #dcaa9d;
    color: #8b2a1e;
}

.svtbud-hidden-field {
    display: none;
}

#footer {
    height: 100px;
    margin: -100px auto 0;
    position: relative;
    width: 944px;
}

#footer .house {
    left: -95px;
    position: absolute;
    top: -40px;
    z-index: 0;
}

#footer .copyright {
    background: url("assets/images/foot_bg.png") no-repeat;
    background-size: 670px 65px;
    float: right;
    height: 65px;
    line-height: 65px;
    position: relative;
    text-align: center;
    width: 670px;
    z-index: 1;
}

#footer .copyright table {
    height: 100%;
    width: 100%;
}

#footer .copyright td {
    height: 65px;
    line-height: 65px;
    vertical-align: middle;
}

#footer .copyright p {
    display: inline-block;
    line-height: 18px;
    margin-bottom: 0;
    vertical-align: middle;
}

.svtbud-error-page {
    min-height: 310px;
    padding: 42px 34px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(197, 148, 25, 0.28);
    border-radius: 8px;
}

.svtbud-error-code {
    margin-bottom: 4px;
    color: #c12d22;
    font-size: 76px;
    font-weight: 700;
    line-height: 1;
}

.svtbud-error-page h1 {
    margin: 0 0 14px;
    color: #b52d24;
    font-size: 27px;
}

.svtbud-error-page p {
    max-width: 520px;
    margin: 0 auto 26px;
    color: #424242;
    font-size: 16px;
    line-height: 1.55;
}

.svtbud-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: #bd3026;
    border: 1px solid #9e2119;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(92, 24, 18, 0.2);
}

.svtbud-home-button:hover,
.svtbud-home-button:focus {
    color: #fff;
    background: #9f251d;
}

@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .svtbud-error-page {
        min-height: 280px;
        padding: 34px 18px;
    }

    .svtbud-error-code {
        font-size: 64px;
    }

    .svtbud-error-page h1 {
        font-size: 25px;
    }

    body {
        background: #fff url("assets/images/bg.gif") no-repeat center top;
        color: #202020;
        font-family: Tahoma, Arial, sans-serif;
    }

    #wrapper {
        margin: 0 auto;
        max-width: 760px;
        padding: 14px 12px 0;
        width: 100%;
    }

    #header {
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr) 50px;
        align-items: center;
        column-gap: 8px;
        row-gap: 12px;
        height: auto;
        margin: 0;
        padding: 0 0 18px;
        position: relative;
        width: 100%;
    }

    #header .bgcontainer,
    #header .bgcontainer img,
    .iconset,
    #sideRight {
        display: none;
    }

    #header .logo {
        grid-column: 1;
        grid-row: 1;
        left: auto;
        margin: 0;
        position: static;
        top: auto;
        width: 78px;
        z-index: 2;
    }

    #header .logo img {
        display: block;
        filter: drop-shadow(0 5px 8px rgba(81, 55, 20, 0.18));
        height: auto;
        max-width: none;
        width: 74px;
    }

    .search {
        background: #fff;
        border: 1px solid #ded3c5;
        border-radius: 999px;
        box-shadow: 0 7px 18px rgba(70, 52, 34, 0.12);
        grid-column: 2;
        grid-row: 1;
        height: 44px;
        margin: 0;
        overflow: hidden;
        padding-left: 36px;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        z-index: 4;
    }

    .search:before {
        border: 3px solid #8ca6b6;
        border-radius: 50%;
        content: "";
        display: block;
        height: 11px;
        left: 14px;
        position: absolute;
        top: 13px;
        width: 11px;
    }

    .search:after {
        background: #8ca6b6;
        border-radius: 3px;
        content: "";
        display: block;
        height: 10px;
        left: 27px;
        position: absolute;
        top: 25px;
        transform: rotate(-42deg);
        width: 3px;
    }

    .search form,
    .search input,
    .search input.text {
        height: 44px;
        line-height: 44px;
        max-width: 100%;
        width: 100%;
    }

    .search input.text {
        color: #666;
        font: 15px/44px Tahoma, Arial, sans-serif;
        padding: 0 12px 0 0;
    }

    .search input.button {
        display: none;
    }

    .nav-toggle {
        align-items: center;
        background: linear-gradient(#c64537, #a92219);
        border: 1px solid rgba(124, 24, 17, 0.36);
        border-radius: 8px;
        box-shadow: 0 5px 14px rgba(112, 30, 22, 0.23);
        display: flex;
        flex-direction: column;
        gap: 5px;
        grid-column: 3;
        grid-row: 1;
        height: 46px;
        justify-content: center;
        justify-self: end;
        margin: 0;
        padding: 0 12px;
        position: static;
        width: 50px;
        z-index: 10;
    }

    .nav-toggle span {
        background: #fff;
        border-radius: 4px;
        display: block;
        flex: 0 0 auto;
        height: 3px;
        width: 100%;
    }

    .nav-toggle .screen-reader-text {
        display: none;
    }

    .mainmenu {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        height: auto;
        margin: 0;
        min-height: 0;
        position: static;
        width: 100%;
        z-index: 8;
    }

    .mainmenu.is-open {
        display: block;
    }

    .mainmenu ul {
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid #e6d6c2;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(78, 55, 28, 0.12);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        list-style: none;
        margin: 0;
        overflow: hidden;
        padding: 0;
    }

    .mainmenu li {
        border-bottom: 1px solid #eee2d5;
        float: none;
        height: auto;
        text-align: left;
        width: auto;
    }

    .mainmenu li:nth-child(odd) {
        border-right: 1px solid #eee2d5;
    }

    .mainmenu a {
        background-image: none !important;
        color: #0b3478;
        display: block;
        font: 600 15px/18px Arial, sans-serif;
        height: auto;
        padding: 13px 14px;
        text-decoration: none;
        width: auto;
    }

    .labelmenu {
        grid-column: 1 / -1;
        grid-row: 3;
        margin: 0;
        position: static;
        top: auto;
        width: 100%;
    }

    .labelmenu ul {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .labelmenu li {
        border: 1px solid rgba(194, 138, 49, 0.82);
        border-radius: 11px;
        box-shadow: 0 7px 15px rgba(74, 50, 20, 0.14);
        float: none;
        height: auto;
        margin: 0;
        min-height: 74px;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    .labelmenu li span {
        display: none;
    }

    .labelmenu li:nth-child(1) { background: linear-gradient(135deg, #fffde9, #f2edc5); }
    .labelmenu li:nth-child(2) { background: linear-gradient(135deg, #f7dfb9, #edc28a); }
    .labelmenu li:nth-child(3) { background: linear-gradient(135deg, #e8f1dc, #c9ddb9); }
    .labelmenu li:nth-child(4) { background: linear-gradient(135deg, #d9ecf7, #a8cce3); }

    .labelmenu li:before {
        background: rgba(255, 255, 255, 0.52);
        content: "";
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 9px;
        z-index: 0;
    }

    .labelmenu li a,
    .labelmenu li:nth-child(1) a,
    .labelmenu li:nth-child(2) a,
    .labelmenu li:nth-child(3) a,
    .labelmenu li:nth-child(4) a {
        align-items: center;
        background: transparent !important;
        color: #111;
        display: flex;
        font: 700 20px/24px Arial, sans-serif;
        height: auto;
        justify-content: flex-start;
        min-height: 74px;
        padding: 14px 42px 14px 22px;
        position: relative;
        text-decoration: none;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
        white-space: normal;
        width: 100%;
        z-index: 1;
    }

    .labelmenu li a:after {
        color: rgba(105, 70, 24, 0.5);
        content: ">";
        display: block;
        font: 700 24px/1 Arial, sans-serif;
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
    }

    #middle,
    #container,
    #content {
        float: none;
        max-width: 100%;
        overflow: visible;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    #middle {
        padding-bottom: 32px;
    }

    #content h1,
    #content h1 span,
    h1 {
        font-size: 26px;
        line-height: 1.2;
        margin: 22px 0 16px;
    }

    #content p,
    .entry-content p {
        font-size: 18px;
        line-height: 1.56;
        max-width: 100%;
        overflow-wrap: break-word;
        text-align: left;
        white-space: normal;
    }

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

    .svtbud-order-form-wrap {
        border-radius: 10px;
        margin-top: 14px;
        padding: 16px 14px;
    }

    .svtbud-order-form input,
    .svtbud-order-form select,
    .svtbud-order-form textarea {
        font-size: 16px;
        line-height: 22px;
        padding: 11px 10px;
    }

    .svtbud-form-actions button {
        font-size: 18px;
        padding: 12px 20px;
        width: 100%;
    }

    #footer {
        height: auto;
        margin: 20px auto 0;
        max-width: 760px;
        padding: 0 12px 24px;
        width: 100%;
    }

    #footer .house {
        display: none;
    }

    #footer .copyright {
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid #ddd2c6;
        border-radius: 10px;
        box-shadow: 0 5px 13px rgba(70, 52, 34, 0.10);
        float: none;
        height: auto;
        line-height: normal;
        margin: 0;
        padding: 14px 16px;
        width: 100%;
    }

    #footer .copyright table,
    #footer .copyright tbody,
    #footer .copyright tr,
    #footer .copyright td {
        display: block;
        height: auto;
        line-height: normal;
        width: 100%;
    }
}

@media (max-width: 360px) {
    #header {
        grid-template-columns: 64px minmax(0, 1fr) 46px;
        column-gap: 7px;
    }

    #header .logo,
    #header .logo img {
        width: 62px;
    }

    .search {
        padding-left: 32px;
    }

    .search input.text {
        font-size: 14px;
    }

    .nav-toggle {
        width: 46px;
    }
}

@media (max-width: 520px) {
    #wrapper,
    #footer {
        margin-left: 0;
        margin-right: 0;
        max-width: 390px;
    }

    #header {
        grid-template-columns: 66px minmax(0, 1fr) 46px;
        column-gap: 7px;
    }

    #header .logo,
    #header .logo img {
        width: 64px;
    }

    .search {
        height: 42px;
        padding-left: 32px;
    }

    .search:before {
        height: 10px;
        left: 13px;
        top: 12px;
        width: 10px;
    }

    .search:after {
        height: 10px;
        left: 25px;
        top: 24px;
    }

    .search form,
    .search input,
    .search input.text {
        height: 42px;
        line-height: 42px;
    }

    .search input.text {
        font-size: 14px;
    }

    .nav-toggle {
        height: 44px;
        padding-left: 11px;
        padding-right: 11px;
        width: 46px;
    }
}

@media (min-width: 521px) and (max-width: 767px) {
    #wrapper,
    #footer {
        max-width: 920px;
    }

    #header {
        grid-template-columns: 90px minmax(260px, 420px) 54px 1fr;
        row-gap: 12px;
    }

    #header .logo,
    #header .logo img {
        width: 82px;
    }

    .search {
        grid-column: 2;
        grid-row: 1;
    }

    .nav-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .mainmenu {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .labelmenu {
        grid-column: 1 / -1;
        grid-row: 3;
    }

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

    .labelmenu li a,
    .labelmenu li:nth-child(1) a,
    .labelmenu li:nth-child(2) a,
    .labelmenu li:nth-child(3) a,
    .labelmenu li:nth-child(4) a {
        font-size: 18px;
        line-height: 22px;
        min-height: 68px;
    }

    #content h1,
    #content h1 span,
    h1 {
        font-size: 24px;
        margin-top: 16px;
    }

    #content p,
    .entry-content p {
        font-size: 15px;
        line-height: 1.55;
    }
}

