.xblog-page-wrap {
    background: #ffffff;
    padding: 30px 0 70px 0;
}

.xblog-page-head {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #efefef;
    overflow: hidden;
}

.xblog-page-head-left {
    float: left;
}

.xblog-page-head-right {
    float: right;
    padding-top: 18px;
}

.xblog-page-title {
    margin: 0 0 8px 0;
    font-size: 42px;
    line-height: 46px;
    font-weight: 700;
    color: #222222;
    letter-spacing: 0.5px;
}

.xblog-page-subtitle {
    font-size: 15px;
    line-height: 24px;
    color: #7a7a7a;
}

.xblog-page-count {
    font-size: 14px;
    color: #666666;
}

.xblog-main-row {
    margin-top: 10px;
}

.xblog-sidebar-box {
    margin-bottom: 30px;
}

.xblog-side-card {
    border: 1px solid #ececec;
    background: #ffffff;
    padding: 24px 22px;
    margin-bottom: 22px;
}

.xblog-side-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
}

.xblog-side-text {
    font-size: 14px;
    line-height: 24px;
    color: #666666;
}

.xblog-side-list {
    margin: 0;
    padding-left: 18px;
}

.xblog-side-list li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 22px;
    color: #555555;
}

.xblog-grid-row {
    margin-left: -10px;
    margin-right: -10px;
}

.xblog-card-col {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 25px;
}

.xblog-card-item {
    border: 1px solid #ececec;
    background: #ffffff;
    min-height: 100%;
    transition: all 0.25s ease;
}

.xblog-card-item:hover {
    border-color: #dddddd;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.xblog-card-image-link {
    display: block;
    text-decoration: none;
}

.xblog-card-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
    background: #f7f7f7;
    border-bottom: 1px solid #ececec;
}

.xblog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.xblog-card-body {
    padding: 22px 22px 24px 22px;
}

.xblog-card-date {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 16px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.xblog-card-title {
    margin: 0 0 14px 0;
    min-height: 60px;
    font-size: 24px;
    line-height: 40px;
    font-weight: 700;
    color: #222222;
}

.xblog-card-title a {
    color: #222222;
    text-decoration: none;
}

.xblog-card-title a:hover {
    color: #d4145a;
    text-decoration: none;
}

.xblog-card-excerpt {
    min-height: 72px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 24px;
    color: #666666;
}

.xblog-card-footer {
    margin-top: 10px;
}

.xblog-readmore-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #d4145a;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 16px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}

.xblog-readmore-btn:hover {
    background: #b90f4d;
    color: #ffffff !important;
    text-decoration: none !important;
}

.xblog-pager-wrap {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #efefef;
    text-align: center;
}

.xblog-pager-wrap .pagination,
.xblog-pager-wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xblog-pager-wrap .pagination li,
.xblog-pager-wrap ul li {
    display: inline-block;
    margin: 0 3px;
}

.xblog-pager-wrap .pagination li a,
.xblog-pager-wrap .pagination li span,
.xblog-pager-wrap ul li a,
.xblog-pager-wrap ul li span {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    padding: 10px 8px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #555555;
    text-decoration: none;
    line-height: 18px;
}

.xblog-pager-wrap .pagination li.active a,
.xblog-pager-wrap .pagination li.active span,
.xblog-pager-wrap ul li.active a,
.xblog-pager-wrap ul li.active span {
    background: #d4145a;
    border-color: #d4145a;
    color: #ffffff;
}

.xblog-empty-box {
    border: 1px solid #ececec;
    background: #ffffff;
    padding: 60px 30px;
    text-align: center;
}

.xblog-empty-title {
    margin: 0 0 12px 0;
    font-size: 30px;
    line-height: 34px;
    font-weight: 700;
    color: #222222;
}

.xblog-empty-text {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 24px;
    color: #666666;
}

.xblog-empty-btn {
    display: inline-block;
    padding: 12px 22px;
    background: #d4145a;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.xblog-empty-btn:hover {
    background: #b90f4d;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .xblog-page-head-left,
    .xblog-page-head-right {
        float: none;
    }

    .xblog-page-head-right {
        padding-top: 8px;
    }

    .xblog-page-title {
        font-size: 34px;
        line-height: 38px;
    }

    .xblog-side-title {
        font-size: 22px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    .xblog-page-wrap {
        padding: 20px 0 45px 0;
    }

    .xblog-page-title {
        font-size: 28px;
        line-height: 32px;
    }

    .xblog-card-title {
        min-height: auto;
        font-size: 22px;
        line-height: 26px;
    }

    .xblog-card-excerpt {
        min-height: auto;
    }

    .xblog-side-card {
        padding: 18px 16px;
    }

    .xblog-card-body {
        padding: 18px 16px 20px 16px;
    }
}


.xblog-post-row {
    margin-top: 10px;
}

.xblog-post-article {
    border: 1px solid #ececec;
    background: #ffffff;
}

.xblog-post-hero {
    border-bottom: 1px solid #ececec;
    background: #f8f8f8;
}

.xblog-post-hero-image {
    display: block;
    width: 100%;
    height: auto !important;
}

.xblog-post-main {
    padding: 34px 34px 38px 34px;
}

.xblog-post-date {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 16px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.xblog-post-content h1{
    font-size: 42px !important;
    line-height: 48px;
}

.xblog-post-title {
    margin: 0 0 20px 0;
    font-size: 42px !important;
    line-height: 48px;
    font-weight: 700;
    color: #222222;
}

.xblog-post-lead {
    margin-bottom: 26px;
    padding-left: 18px;
    border-left: 4px solid #d4145a;
    font-size: 18px;
    line-height: 31px;
    color: #555555;
}

.xblog-post-tags {
    margin-bottom: 28px;
}

.xblog-side-tags {
    margin-top: 5px;
}

.xblog-tag-pill {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 8px 12px;
    background: #f6f6f6;
    border: 1px solid #e5e5e5;
    color: #555555;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.xblog-tag-pill-side {
    background: #ffffff;
}

.xblog-post-content {
    font-size: 16px;
    line-height: 30px;
    color: #444444;
}

.xblog-post-content p {
    margin: 0 0 20px 0;
}

.xblog-post-content h2,
.xblog-post-content h3,
.xblog-post-content h4 {
    margin-top: 30px;
    margin-bottom: 16px;
    color: #222222;
    font-weight: 700;
}

.xblog-post-content h2 {
    font-size: 30px;
    line-height: 36px;
}

.xblog-post-content h3 {
    font-size: 24px;
    line-height: 30px;
}

.xblog-post-content h4 {
    font-size: 20px;
    line-height: 26px;
}

.xblog-post-content ul,
.xblog-post-content ol {
    margin: 0 0 20px 20px;
}

.xblog-post-content li {
    margin-bottom: 8px;
}

.xblog-post-content img {
    max-width: 100%;
    height: auto !important;
}

.xblog-post-content a {
    color: #d4145a;
    text-decoration: underline;
}

.xblog-post-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 4px solid #d4145a;
    background: #fafafa;
    color: #555555;
    font-style: italic;
}

.xblog-post-sidebar {
    margin-top: 0;
}

.xblog-latest-list {
    margin-top: 6px;
}

.xblog-latest-item {
    overflow: hidden;
    padding: 0 0 16px 0;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #efefef;
}

.xblog-latest-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.xblog-latest-image-link {
    display: block;
    float: left;
    width: 90px;
    margin-right: 14px;
}

.xblog-latest-image {
    width: 100%;
    height: auto !important;
    display: block;
}

.xblog-latest-body {
    overflow: hidden;
}

.xblog-latest-title {
    display: block;
    font-size: 15px;
    line-height: 22px;
    color: #222222;
    font-weight: 700;
    text-decoration: none;
}

.xblog-latest-title:hover {
    color: #d4145a;
    text-decoration: none;
}

@media (max-width: 991px) {
    .xblog-post-title {
        font-size: 34px;
        line-height: 40px;
    }

    .xblog-post-main {
        padding: 26px 24px 30px 24px;
    }

    .xblog-post-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .xblog-post-title {
        font-size: 28px;
        line-height: 34px;
    }

    .xblog-post-main {
        padding: 20px 16px 24px 16px;
    }

    .xblog-post-lead {
        font-size: 16px;
        line-height: 28px;
        padding-left: 14px;
    }

    .xblog-post-content {
        font-size: 15px;
        line-height: 28px;
    }

    .xblog-latest-image-link {
        width: 80px;
        margin-right: 12px;
    }
}

.xblog-pager-wrap {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #efefef;
    text-align: center;
}

.xblog-pager-wrap .pagination,
.xblog-pager-wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.xblog-pager-wrap .pagination li,
.xblog-pager-wrap ul li {
    display: inline-block;
    margin: 0 4px;
    padding: 0;
    vertical-align: top;
}

.xblog-pager-wrap .pagination li a,
.xblog-pager-wrap .pagination li span,
.xblog-pager-wrap ul li a,
.xblog-pager-wrap ul li span {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    margin: 0;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #555555;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    box-sizing: border-box;
    vertical-align: top;
}

.xblog-pager-wrap .pagination li.active a,
.xblog-pager-wrap .pagination li.active span,
.xblog-pager-wrap ul li.active a,
.xblog-pager-wrap ul li.active span {
    background: #d4145a;
    border-color: #d4145a;
    color: #ffffff;
}

.xblog-pager-wrap .pagination li a:hover,
.xblog-pager-wrap ul li a:hover {
    background: #f8f8f8;
    color: #d4145a;
    text-decoration: none;
}


.xblog-grid-row {
    display: flex;
    flex-wrap: wrap;
}

.xblog-card-col {
    display: flex;
}

.xblog-card-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


.xblog-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* vagy 4/3 ha jobban tetszik */
    overflow: hidden;
}

.xblog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xblog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.xblog-card-excerpt {
    flex-grow: 1;
}

.xblog-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xblog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
