/*
Theme Name: Hello Elementor Child
Theme URI: https://hypoxi.bg/
Description: Child theme for the HYPOXI website
Author: HYPOXI
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/


/* =========================================================
   HYPOXI — SINGLE POST ONLY
   ========================================================= */


/* PAGE WRAPPER
--------------------------------------------------------- */

body.single-post .hypoxi-single {
    width: 100%;
    margin: 0;
    padding: 60px 20px 80px;
}


/* MAIN ARTICLE — 1140px
--------------------------------------------------------- */

body.single-post .hypoxi-article {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}


/* POST HEADER
--------------------------------------------------------- */

body.single-post .hypoxi-post-hero {
    width: 100%;
    margin: 0 0 40px;
}


/* CATEGORY
--------------------------------------------------------- */

body.single-post .hypoxi-post-category {
    margin: 0 0 12px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #ed1c24;
}

body.single-post .hypoxi-post-category a {
    color: #ed1c24 !important;
    text-decoration: none;
}

body.single-post .hypoxi-post-category a:hover {
    color: #666666 !important;
}


/* POST TITLE
--------------------------------------------------------- */

body.single-post .hypoxi-single .hypoxi-post-title {
    margin: 0 0 25px 0;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 40px !important;
    font-weight: 300 !important;
    line-height: 1.1 !important;

    text-transform: uppercase !important;

    color: #E01F31 !important;
}

/* POST CONTENT
--------------------------------------------------------- */

body.single-post .hypoxi-post-content {
    width: 100%;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;

    color: #666666 !important;
}


/* PARAGRAPHS
--------------------------------------------------------- */

body.single-post .hypoxi-post-content p {
    margin: 0 0 24px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;

    color: #666666 !important;
}


/* HEADINGS INSIDE POSTS
--------------------------------------------------------- */

body.single-post .hypoxi-post-content h2,
body.single-post .hypoxi-post-content h3,
body.single-post .hypoxi-post-content h4,
body.single-post .hypoxi-post-content h5,
body.single-post .hypoxi-post-content h6 {
    font-family: "Roboto Condensed", sans-serif !important;
    color: #666666 !important;

    margin-top: 40px;
    margin-bottom: 18px;

    line-height: 1.2 !important;
}

body.single-post .hypoxi-post-content h2 {
    font-size: 34px !important;
    font-weight: 700 !important;
}

body.single-post .hypoxi-post-content h3 {
    font-size: 28px !important;
    font-weight: 600 !important;
}

body.single-post .hypoxi-post-content h4 {
    font-size: 24px !important;
    font-weight: 600 !important;
}

body.single-post .hypoxi-post-content h5 {
    font-size: 20px !important;
    font-weight: 500 !important;
}

body.single-post .hypoxi-post-content h6 {
    font-size: 18px !important;
    font-weight: 500 !important;
}


/* LINKS
--------------------------------------------------------- */

body.single-post .hypoxi-post-content a {
    color: #ed1c24 !important;
    text-decoration: none;
}

body.single-post .hypoxi-post-content a:hover {
    text-decoration: underline;
}


/* IMAGES
--------------------------------------------------------- */

body.single-post .hypoxi-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* FIGURES
--------------------------------------------------------- */

body.single-post .hypoxi-post-content figure {
    max-width: 100%;
    margin: 35px 0;
}

body.single-post .hypoxi-post-content figcaption {
    margin-top: 8px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;

    color: #999999 !important;
}


/* LISTS
--------------------------------------------------------- */

body.single-post .hypoxi-post-content ul,
body.single-post .hypoxi-post-content ol {
    margin: 0 0 25px;
    padding-left: 25px;
}

body.single-post .hypoxi-post-content li {
    margin-bottom: 8px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;

    color: #666666 !important;
}


/* BLOCKQUOTE
--------------------------------------------------------- */

body.single-post .hypoxi-post-content blockquote {
    margin: 40px 0;
    padding: 20px 30px;

    border-left: 4px solid #ed1c24;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    font-style: italic;

    color: #666666 !important;
}


/* VIDEO / EMBEDS
--------------------------------------------------------- */

body.single-post .hypoxi-post-content iframe,
body.single-post .hypoxi-post-content video {
    max-width: 100%;
}


/* TABLES
--------------------------------------------------------- */

body.single-post .hypoxi-post-content table {
    width: 100%;
    margin: 30px 0;

    border-collapse: collapse;

    font-family: "Roboto Condensed", sans-serif !important;
    color: #666666 !important;
}

body.single-post .hypoxi-post-content th,
body.single-post .hypoxi-post-content td {
    padding: 12px 15px;

    border: 1px solid #dddddd;

    text-align: left;
}


/* STRONG / BOLD
--------------------------------------------------------- */

body.single-post .hypoxi-post-content strong,
body.single-post .hypoxi-post-content b {
    font-weight: 700 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    body.single-post .hypoxi-single {
        padding: 50px 30px 70px;
    }

    body.single-post .hypoxi-single .hypoxi-post-title {
        font-size: 36px !important;
    }

    body.single-post .hypoxi-post-content,
    body.single-post .hypoxi-post-content p,
    body.single-post .hypoxi-post-content li {
        font-size: 17px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.single-post .hypoxi-single {
        padding: 35px 20px 55px;
    }

    body.single-post .hypoxi-post-hero {
        margin-bottom: 30px;
    }

    body.single-post .hypoxi-post-category {
        font-size: 12px !important;
    }

    body.single-post .hypoxi-single .hypoxi-post-title {
        font-size: 32px !important;
        line-height: 1.1 !important;
    }

    body.single-post .hypoxi-post-content,
    body.single-post .hypoxi-post-content p,
    body.single-post .hypoxi-post-content li {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    body.single-post .hypoxi-post-content h2 {
        font-size: 28px !important;
    }

    body.single-post .hypoxi-post-content h3 {
        font-size: 24px !important;
    }

    body.single-post .hypoxi-post-content h4 {
        font-size: 21px !important;
    }

    body.single-post .hypoxi-post-content h5 {
        font-size: 18px !important;
    }

    body.single-post .hypoxi-post-content h6 {
        font-size: 16px !important;
    }

    body.single-post .hypoxi-post-content blockquote {
        margin: 30px 0;
        padding: 15px 20px;

        font-size: 19px !important;
    }

}
/* =========================================================
   HYPOXI SINGLE POST — TWO COLUMN LAYOUT
   ========================================================= */

body.single-post .hypoxi-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: 60px;
    align-items: start;
}


/* LEFT COLUMN
--------------------------------------------------------- */

body.single-post .hypoxi-post-left {
    min-width: 0;
}


/* RIGHT COLUMN
--------------------------------------------------------- */

body.single-post .hypoxi-post-right {
    min-width: 0;
}


/* FEATURED IMAGE
--------------------------------------------------------- */

body.single-post .hypoxi-post-image {
    width: 100%;
}

body.single-post .hypoxi-post-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

    body.single-post .hypoxi-post-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    body.single-post .hypoxi-post-left {
        order: 1;
    }

    body.single-post .hypoxi-post-right {
        order: 2;
    }

}
/* Hide first image inside old post content */
body.single-post .hypoxi-post-content img:first-of-type {
    display: none !important;
}
/* =========================================================
   HYPOXI — IMAGE BORDER
   ========================================================= */

body.single-post .hypoxi-post-image img,
body.single-post .hypoxi-post-content img {
    border: 10px solid #6dc8d4 !important;
    box-sizing: border-box;
}


/* =========================================================
   HYPOXI — CATEGORY / ARCHIVE LISTING
   ========================================================= */

body.category .hypoxi-archive {
    width: 100%;
    padding: 60px 20px 90px;
}

body.category .hypoxi-archive-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}


/* =========================================================
   ARCHIVE HEADER
   ========================================================= */

body.category .hypoxi-archive-header {
    margin-bottom: 45px;
}

body.category .hypoxi-archive-label {
    display: block;
    margin-bottom: 8px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: #E01F31 !important;
}

body.category .hypoxi-archive-title {
    margin: 0;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 44px !important;
    font-weight: 300 !important;
    line-height: 1.05 !important;

    text-transform: uppercase;

    color: #666666 !important;
}

body.category .hypoxi-archive-description {
    max-width: 760px;
    margin-top: 18px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    color: #666666 !important;
}


/* =========================================================
   POSTS GRID — DESKTOP 3 COLUMNS
   ========================================================= */

body.category .hypoxi-post-grid-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 30px;
}


/* =========================================================
   POST CARD
   ========================================================= */

body.category .hypoxi-post-card {
    min-width: 0;
    margin: 0;
}


/* =========================================================
   POST IMAGE
   ========================================================= */

body.category .hypoxi-post-card-image {
    display: block;
    width: 100%;
    margin-bottom: 24px;

    overflow: hidden;

    /* 100px RIGHT CORNERS — ALL DEVICES */
    border-radius: 0 150px 0 150px;

    text-decoration: none;
}

body.category .hypoxi-post-card-image img {
    display: block;

    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    /* 10px BORDER — ALL DEVICES */
    border: 10px solid #6DC8D4 !important;

    /* 100px RIGHT CORNERS — ALL DEVICES */
    border-radius: 0 150px 0 150px;

    box-sizing: border-box;

    /* NO ZOOM */
    transform: none !important;

    /* ONLY BORDER COLOR ANIMATION */
    transition: border-color 0.25s ease !important;
}


/* IMAGE HOVER */

body.category .hypoxi-post-card-image:hover img {
    border-color: #E01F31 !important;
    transform: none !important;
}


/* =========================================================
   POST CATEGORY
   ========================================================= */

body.category .hypoxi-post-card-category {
    margin: 0 0 10px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}

body.category .hypoxi-post-card-category a {
    color: #E01F31 !important;
    text-decoration: none !important;
}

body.category .hypoxi-post-card-category a:hover {
    color: #666666 !important;
}


/* =========================================================
   POST TITLE
   ========================================================= */

body.category .hypoxi-post-card-title {
    margin: 0 0 16px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    line-height: 1.1 !important;

    text-transform: uppercase;
}

body.category .hypoxi-post-card-title a {
    color: #666666 !important;
    text-decoration: none !important;
}

body.category .hypoxi-post-card-title a:hover {
    color: #E01F31 !important;
}

body.category .hypoxi-archive-header {
    margin-bottom: 45px;
    text-align: center;
}

body.category .hypoxi-archive-title {
    text-align: center !important;
}

body.category .hypoxi-archive-title::after {
    content: "";
    display: block;

    width: 200px;
    height: 2px;

    margin: 25px auto 0;

    background-color: #E01F31;
}

/* =========================================================
   EXCERPT
   ========================================================= */

body.category .hypoxi-post-card-excerpt {
    margin: 0 0 20px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;

    color: #666666 !important;
}

body.category .hypoxi-post-card-excerpt p {
    margin: 0;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;

    color: #666666 !important;
}


/* =========================================================
   READ MORE
   ========================================================= */

body.category .hypoxi-post-card-more {
    display: inline-block;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    letter-spacing: 0.7px;
    text-transform: uppercase;

    color: #E01F31 !important;

    text-decoration: none !important;
}

body.category .hypoxi-post-card-more:hover {
    color: #666666 !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

body.category .hypoxi-pagination {
    margin-top: 65px;
}

body.category .hypoxi-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.category .hypoxi-pagination .page-numbers {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 10px;

    font-family: "Roboto Condensed", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;

    color: #666666 !important;
    background: transparent;

    border: 1px solid #d8d8d8;

    text-decoration: none !important;
}

body.category .hypoxi-pagination .page-numbers.current,
body.category .hypoxi-pagination .page-numbers:hover {
    color: #ffffff !important;

    background: #E01F31 !important;
    border-color: #E01F31 !important;
}


/* =========================================================
   TABLET — 2 COLUMNS
   ========================================================= */

@media (max-width: 1024px) {

    body.category .hypoxi-archive {
        padding: 50px 30px 70px;
    }

    body.category .hypoxi-archive-title {
        font-size: 38px !important;
    }

    body.category .hypoxi-post-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 30px;
    }

    body.category .hypoxi-post-card-title {
        font-size: 27px !important;
    }

}


/* =========================================================
   MOBILE — 1 COLUMN
   ========================================================= */

@media (max-width: 767px) {

    body.category .hypoxi-archive {
        padding: 35px 20px 55px;
    }

    body.category .hypoxi-archive-header {
        margin-bottom: 30px;
    }

    body.category .hypoxi-archive-title {
        font-size: 32px !important;
    }

    body.category .hypoxi-post-grid-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    body.category .hypoxi-post-card-title {
        font-size: 26px !important;
    }

}