/*
Theme Name: Gidroelka 
Theme URI: #
Author: @ermann90
Author URI: https://wordpress.org
Description: designed by @ermann90 especially for WebIT
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/



:root {
    /* colors */
    --color-headings: #30557d;
    --color-text: #333333;
    --color-white: #ffffff;
    --color-accent: #d7102d;
    --color-btn-hover: #ac0d24;
    --color-grey-section: #f8f8f8;
    --color-footer-bg: #eaeef2;
    --color-border: #cccccc;
    --color-placeholder: #8399b1;
    --color-navy: #1d334b;

    /* paddings */
    --padding-section: 72px;

    /* margins */
    --margin-1: 13.5px;
    --margin-2: 27px;
    --margin-3: 9px;
    --margin-4: 45px;

    /* containers */
    --main-container: 1316px;
    --container-small: 776px;
}

.white-bg {
    background-color: var(--color-white);
}

.grey-bg {
    background-color: var(--color-grey-section);
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body * {
    box-sizing: border-box;
    font-family: 'Roboto', Helvetica, sans-serif;
}

.container {
    max-width: var(--main-container);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.container-narrow {
    max-width: 776px;
}

@media (max-width: 1472px) {
    .container {
        padding: 0 16px;
    }
}

.row, .d-flex {
    display: flex;
}

.jc-end {
    justify-content: flex-end;
}

.ai-centered,
.a-center {
    align-items: center;
}

.jc-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.centered {
    text-align: center;
}

.main-color {
    color: var(--color-text);
}

.white {
    color: var(--color-white);
}

.icon {
    font-family: "hansa-flex-icons";
}

.website-author,
.homepage-link {
    color: #ffffff;
}

.button {
    display: flex;
    border-radius: 5px;
    max-width: max-content;
    padding: 7px 12px;
    background-color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    border: none;
    color: var(--color-accent);
    font-size: 16px;
    width: 100%;
}

.button:hover {
    opacity: 0.8;
    cursor: pointer;
}

.grid{
    display: grid;
}

.grid-3 {
    grid-template-columns: 1fr;
    grid-gap: 1.5rem 1.5rem;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 990px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.col {
    flex-direction: column;
}

.col-50 {
    width: calc(50% - 27px/2);
}

@media (max-width: 990px) {
    .col-50 {
        width: 100%;
    }

    .aligner {
        flex-wrap: wrap;
    }
}

.gap-27 {
    gap: 27px;
}

.gap-36 {
    gap: 36px;
}

.mb-27 {
    margin-bottom: 27px;
}

.mb-72 {
    margin-bottom: 72px;
}

.mb-0 {
    margin-bottom: 0;
}

.m-b-045 {
    margin-bottom: 4.5px;
}

.button.red {
    background-color: var(--color-accent);
    color: var(--color-white);
    text-transform: uppercase;
    font-family: "Outfit", sans-serif;
    font-size: 14.4px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding-block: 13.5px;
    padding-inline: 36px;
}

.button.red:hover {
    background-color: var(--color-btn-hover);
}

.pagination {
    display: flex;
    justify-content: center;
    padding-block: 32px 0px;
    gap: 15px;
}

.page-numbers.current {
    border: 1px solid var(--color-headings);
}

.page-numbers:not(.next) {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--color-headings);
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-menu li a {
    color: var(--color-headings);
    font-family: "Roboto-Light", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 21px;
    padding-block: 12px;
    display: block;
}

.custom-logo {
    max-height: 30px;
    width: auto;
}

ul.top-nav {
    gap: 32px;
}

ul.top-nav li a {
    color: var(--color-headings);
    font-family: "Roboto-Light", sans-serif;
    font-size: 12px;
}

ul.top-nav li a:before {
    font-family: "hansa-flex-icons";
    color: var(--color-headings);
    font-size: 13.5px;
    margin-right: 9px;
}

.language-trigger:before {
    content: "\f1b1";
}

.branch-trigger:before {
    content: "\f1c4";
}

.contact-trigger:before {
    content: "\f186";
}

.post-item {
    background-color: var(--color-white);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
}

.post-item:hover {
    box-shadow: 0 1px 6px 0 rgba(0,0,0,0.4);;
}

.post-item-content {
    padding: 27px;
}

.post-item h2,
.excerpt  {
    margin-bottom: 18px;
}

.post-item .post-date {
    font-size: 14.4px;
    line-height: 1;
    font-weight: 300;
    font-style: normal;
    font-family: "Roboto", sans-serif;
    color: #666666;
}

.learn-more-btn {
    color: var(--color-accent);
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 31.5px
}

.learn-more-btn:hover,
.learn-more-btn:hover:after {
    color: var(--color-btn-hover);
}

.learn-more-btn:after,
.prev:after,
.next:after {
    font-family: 'hansa-flex-icons';
    color: var(--color-accent);
    font-size: 13.5px;
    line-height: 13.5px;
    margin-left: 9px;
}

.learn-more-btn:after,
.next:after {
    content: "\f180";
}

.prev:after {
    content: "\f17f";
}

.next:after,
.prev:after {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);
    border-radius: 50%;
}

button {
    background-color: transparent;
    border: none;
}

.ic-list {
    list-style: none;
    padding-left: 0;
    gap: 14px;
    display: flex;
    flex-direction: column;
}

.ic-list li:before {
    font-family: "hansa-flex-icons" !important;
    line-height: 1;
    margin-right: 0.75rem;
    color: var(--color-accent);
    font-size: 1rem;
    content: "\f18e";
}