/*
Theme Name:   Reguly Társaság
Template:     clean-retina
*/

#site-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

#site-title:before {
    content: '';
    background-image: url('https://www.regulytarsasag.hu/wp-content/uploads/2023/11/Reguly-Tarsasag-logo.png');
    width: 100px;
    height: 100px;
    background-size: cover;
    display: block;
}

#site-logo + a {
/ / display: none;
}

.home .featured-slider {
    display: none;
}

.entry-header {
    display: none;
}

.is-img-side .elementor-posts .elementor-post__card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 400px;
}

.is-img-side .elementor-posts .elementor-post__card .elementor-post__meta-data {
    grid-column: 2/3;
}

.is-img-side .elementor-post__card .elementor-post__thumbnail__link {
    margin-bottom: 0;
    grid-row: 1/3;
}

aside#block-30 {
    display: none;
}

ul.default-wp-page.clearfix {
    display: none !important;
}

a:link, a:visited {
    transition: none !important;
}

@media only screen and (max-width: 767px) {
    #site-logo, #site-logo.clearfix {
        flex-grow: 1;
    }

    .hgroup-wrap > a {
        order: 2;
    }
}

.regulya-home-posts {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 30px;
}

.regulya-home-posts .post {
    box-shadow: 0 0 10px 0px #0000001f;
    background-color: white;
    display: grid;
    color: #555;
    grid-template-rows: 200px auto;
}

.regulya-home-posts .post:first-child {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr;
    min-height: 400px;
}

.regulya-home-posts .post:nth-child(1) {
    grid-area: 1 / 1 / 2 / 7;
}

.regulya-home-posts .post:nth-child(2) {
    grid-area: 2 / 1 / 3 / 4;
}

.regulya-home-posts .post:nth-child(3) {
    grid-area: 2 / 4 / 3 / 7;
}

.regulya-home-posts .post:nth-child(4) {
    grid-area: 3 / 1 / 4 / 3;
}

.regulya-home-posts .post:nth-child(5) {
    grid-area: 3 / 3 / 4 / 5;
}

.regulya-home-posts .post:nth-child(6) {
    grid-area: 3 / 5 / 4 / 7;
}

.regulya-home-posts .post .img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.regulya-home-posts .post .details {
    display: grid;
    grid-auto-flow: row;
    align-content: space-between;
    padding: 10px;
    overflow-wrap: anywhere;
}

.regulya-home-posts .post .details .title {
}

.regulya-home-posts .post .details .lead {
    text-align: justify;
}

.regulya-home-posts .post .details .published {
}

.wp-block-buttons {
    display: flex;
    justify-content: center;
}

#menu-lablec {
    display: flex;
    gap: 10px;
}

.widget_nav_menu {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 767px) {
    .one-column-template .wrapper, .wrapper {
        width: calc(100% - 10px);
    }

    .regulya-home-posts {
        grid-template-columns: repeat(1, 1fr);
    }

    .regulya-home-posts .post {
        grid-area: unset !important;
    }

    .regulya-home-posts .post:first-child {
        grid-template-columns: inherit;
        grid-template-rows: 300px auto;
        min-height: inherit;
    }
}

#branding {
    background: none !important;
}

#colophon {
    background: none !important;
}
