/*
 Theme Name:   Twenty Twenty-Two Child
 Theme URI:    https://example.com/twentytwentytwo-child
 Description:  A child theme for Twenty Twenty-Two
 Template:     twentytwentytwo
 Version:      1.0.0
 Text Domain:  twentytwentytwo-child
*/

@font-face {
    font-family: "akrobat";
    src: url("./assets/fonts/akrobat-regular-webfont.eot");
    src: url("./assets/fonts/akrobat-regular-webfont.eot?#iefix") format("embedded-opentype"),
    url("./assets/fonts/akrobat-regular-webfont.woff2") format("woff2"),
    url("./assets/fonts/akrobat-regular-webfont.woff") format("woff"),
    url("./assets/fonts/akrobat-regular-webfont.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "akrobat";
    src: url("./assets/fonts/akrobat-bold-webfont.eot");
    src: url("./assets/fonts/akrobat-bold-webfont.eot?#iefix") format("embedded-opentype"),
    url("./assets/fonts/akrobat-bold-webfont.woff2") format("woff2"),
    url("./assets/fonts/akrobat-bold-webfont.woff") format("woff"),
    url("./assets/fonts/akrobat-bold-webfont.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

.rss-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 32px;
    margin-top: 32px;
}
.rss-post {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    grid-gap: 16px;
}
.rss-post-title {
    font-family: "Circe Ro", roboto, serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    margin: 6px 0;
}
.rss-post .rss-post-title a {
    color: #597177 !important;
    font-family: "Circe Ro", roboto, serif;
}
.rss-post-description {
    font-family: "Circe Ro", roboto;
    margin: 0;
    line-height: 1.5em;
    font-size: 14px;
    color: #777;
    font-weight: 400;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
.rss-post-date {
    font-weight: 500;
    line-height: 1.3em;
    font-size: 12px;
    color: #adadad;
    margin: 0;
}
.rss-post-thumbnail img{
    display: flex;
    width: 100%;
    height: 100%;
    /*aspect-ratio: 1 / 1;*/
    object-fit: cover;
    max-height: 150px;
}
.rss-posts .rss-post-button {
    font-size: 12px;
    font-weight: 700;
    color: #FFCB00;
}

/* Map style */
.hart-wrapper svg path {
    stroke: none;
}
#hart-container {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
g.highcharts-series-group {
    position: relative;
}
.hart-wrapper {
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.point-modal {
    visibility: hidden;
    position: absolute;
    padding: 16px;
    background-color: white;
    max-width: 280px;
    width: 280px;
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    z-index: 9999999;
}
.point-modal::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}
.point-modal h5 {
   margin-top: 0;
   margin-bottom: 0;
}
.point-modal p {
    margin-top: 0;
}
.point-modal p.text-gray {
    color: #6f6e6c;
    font-weight: 500;
    margin-top: -3px;
}
.point-modal p:last-child {
    font-size: 14px;
    line-height: 20px;
}
.highcharts-markers {
    cursor: pointer;
}

/* Nav bar */
.projects-panel {
    background-color: #3f4e2f;
    padding: 10px 0;
}

.projects-panel__wrapper {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1122px;
    padding: 0 15px;
}

.projects-panel__items--mobile {
    display: none;
}
.projects-panel__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
}
.projects-panel__item {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #2a2e1f;
    border-radius: 100px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 40px;
    padding: 6px 9px 6px 20px;
}
.projects-panel__logo-img {
    display: block;
}
.projects-panel .projects-panel__title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    margin-left: 22px;
}
.projects-panel .projects-panel__btn-more {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #ffcb00;
    border-radius: 50px;
    color: #2a2e20;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px;
    font-weight: 300;
    height: 22px;
    margin-left: 18px;
    padding: 0 14px;
    position: relative;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.projects-panel__btn-more:hover {
    background-color: #4a8b3b;
    color: #fff;
}
.projects-panel .projects-panel__btn {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #4a8b3b;
    border-radius: 50px;
    color: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px;
    font-weight: 300;
    height: 40px;
    padding: 0 40px 0 20px;
    position: relative;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.projects-panel .projects-panel__btn:hover {
    background-color: #ffcb00;
    color: #2a2e20;
}
.projects-panel .projects-panel__btn:hover::before {
    -webkit-filter: brightness(0) saturate(100%);
    filter: brightness(0) saturate(100%);
}
.projects-panel .projects-panel__btn:before {
    background-image: url('./assets/images/i-panel-user.svg');
    background-repeat: no-repeat;
    content: "";
    display: block;
    height: 16px;
    position: absolute;
    right: 18px;
    width: 16px;
}

@media screen and (max-width: 1200px) {
    .projects-panel .projects-panel__btn-more {
        font-size: 0;
        padding: 0 20px;
    }
    .projects-panel__btn-more:before {
        background-image: url('./assets/images/external-link.svg');
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: cover;
        content: "";
        display: block;
        height: 16px;
        left: calc(50% - 8px);
        position: absolute;
        top: 3px;
        width: 16px;
    }

    .rss-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 1024px) {
    .projects-panel .projects-panel__title {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .point-modal {
        max-width: 220px;
        width: 220px;
    }
    .point-modal h5,
    .point-modal p.text-gray {
        font-size: 16px;
    }

    /* Nav bar */
    .projects-panel__wrapper {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
    }

    .projects-panel__items--mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .projects-panel__items {
        display: none;
    }
    .projects-panel__item {
        background-color: transparent;
        border-radius: 0;
        border-right: 1px solid hsla(0, 0%, 100%, 0.14);
        padding: 0 10px;
    }
   .projects-panel .projects-panel__btn {
        background-position: center right 0;
        background-size: 30% 30%;
        font-size: 11px;
        margin-left: 10px;
        padding: 0 35px 0 15px;
    }

    .rss-posts {
        grid-template-columns: 1fr;
    }
    .rss-post {
        grid-gap: 12px;
    }
}