/* =========================================================
   EICHENREICH24 – HOLZBLOG ARCHIV V1
========================================================= */

body.er24-holzblog-archive {
    --er-blue:#5878B5;
    --er-blue-dark:#45659F;
    --er-blue-soft:#EDF3FC;
    --er-text:#202938;
    --er-muted:#667286;
    --er-line:#DCE4EF;
    --er-light:#F7F9FC;
}

body.er24-holzblog-archive .site-main,
body.er24-holzblog-archive main.site-main {
    max-width:none !important;
}

.er24hb-main {
    width:min(1360px, calc(100% - 50px));
    margin:0 auto;
    padding:34px 0 82px;
}

.er24hb-breadcrumb {
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:26px;
    color:var(--er-muted);
    font-size:12px;
    line-height:1.4;
}

.er24hb-breadcrumb a {
    color:var(--er-blue);
    text-decoration:none;
}

.er24hb-head {
    margin-bottom:40px;
}

.er24hb-head-grid {
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
    gap:70px;
    align-items:end;
}

.er24hb-kicker {
    margin-bottom:10px;
    color:var(--er-blue);
    font-size:12px;
    line-height:1.3;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.er24hb-head h1 {
    max-width:850px;
    margin:0;
    color:var(--er-text);
    font-size:clamp(40px,4vw,58px);
    line-height:1.04;
    font-weight:560;
    letter-spacing:-.045em;
}

.er24hb-intro {
    max-width:520px;
    padding-bottom:5px;
    color:var(--er-muted);
    font-size:16px;
    line-height:1.7;
}

/* Grid */
.er24hb-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

/* Card */
.er24hb-card {
    min-width:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    margin:0 !important;
    border:1px solid var(--er-line);
    border-radius:8px;
    background:#fff;
    box-shadow:0 6px 22px rgba(32,41,56,.045);
    transform:none !important;
    transition:border-color .2s ease,box-shadow .2s ease;
}

.er24hb-card:hover {
    border-color:#C8D4E5;
    box-shadow:0 12px 30px rgba(32,41,56,.075);
    transform:none !important;
}

.er24hb-image-link {
    display:block;
    overflow:hidden;
    background:var(--er-light);
    text-decoration:none !important;
}

.er24hb-card-image,
.er24hb-card-placeholder {
    width:100%;
    aspect-ratio:16 / 10;
    display:block;
}

.er24hb-card-image {
    height:auto !important;
    object-fit:cover;
    object-position:center;
    margin:0 !important;
    transition:transform .45s ease;
}

.er24hb-card:hover .er24hb-card-image {
    transform:scale(1.025);
}

.er24hb-card-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        linear-gradient(145deg,#F7F9FC,#EDF3FC);
    color:var(--er-blue);
    font-size:15px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.er24hb-card-body {
    flex:1;
    display:flex;
    flex-direction:column;
    padding:20px;
}

.er24hb-meta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:11px;
}

.er24hb-label {
    color:var(--er-blue);
    font-size:10px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.er24hb-date {
    color:#8A95A5;
    font-size:11px;
    line-height:1.2;
}

.er24hb-title {
    margin:0 0 11px !important;
    padding:0 !important;
    color:var(--er-text) !important;
    font-size:22px !important;
    line-height:1.25 !important;
    font-weight:560 !important;
    letter-spacing:-.025em;
}

.er24hb-title a {
    color:inherit !important;
    text-decoration:none !important;
}

.er24hb-excerpt {
    margin:0 0 20px !important;
    color:var(--er-muted);
    font-size:14px;
    line-height:1.65;
}

.er24hb-read {
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:7px;
    width:max-content;
    color:var(--er-blue) !important;
    font-size:13px;
    font-weight:650;
    text-decoration:none !important;
}

.er24hb-read span {
    display:inline-block;
    transition:transform .2s ease;
}

.er24hb-read:hover {
    color:var(--er-blue-dark) !important;
}

.er24hb-read:hover span {
    transform:translateX(3px);
}

/* Pagination */
.er24hb-pagination {
    margin-top:46px;
}

.er24hb-pagination .page-numbers {
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin:0;
    padding:0;
}

.er24hb-pagination .page-numbers li {
    margin:0;
}

.er24hb-pagination a,
.er24hb-pagination span {
    min-width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 11px;
    border:1px solid var(--er-line);
    border-radius:5px;
    background:#fff;
    color:var(--er-text);
    font-size:13px;
    font-weight:600;
    text-decoration:none !important;
}

.er24hb-pagination .current {
    border-color:var(--er-blue);
    background:var(--er-blue);
    color:#fff;
}

.er24hb-pagination a:hover {
    border-color:var(--er-blue);
    color:var(--er-blue);
}

.er24hb-empty {
    padding:34px;
    border:1px solid var(--er-line);
    border-radius:7px;
    background:var(--er-light);
    color:var(--er-muted);
    text-align:center;
}

/* Tablet */
@media (max-width:1099px) {
    .er24hb-main {
        width:calc(100% - 32px);
        padding-top:28px;
    }

    .er24hb-head-grid {
        grid-template-columns:1fr;
        gap:20px;
    }

    .er24hb-intro {
        max-width:760px;
    }

    .er24hb-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* Mobile */
@media (max-width:767px) {
    .er24hb-main {
        padding-top:22px;
        padding-bottom:58px;
    }

    .er24hb-head {
        margin-bottom:28px;
    }

    .er24hb-head h1 {
        font-size:38px;
    }

    .er24hb-intro {
        font-size:15px;
    }

    .er24hb-grid {
        grid-template-columns:1fr;
        gap:16px;
    }

    .er24hb-card-body {
        padding:18px;
    }

    .er24hb-title {
        font-size:21px !important;
    }
}


/* =========================================================
   ER24 HOLZBLOG DETAILSEITE V1.1
========================================================= */

body.er24-holzblog-single {
    --er-blue:#5878B5;
    --er-blue-dark:#45659F;
    --er-text:#202938;
    --er-muted:#667286;
    --er-line:#DCE4EF;
    --er-light:#F7F9FC;
}


/* =========================================================
   BEITRAGSBILD
========================================================= */

body.er24-holzblog-single
.er24hb-single-hero {

    width:100%;

    margin:
        0
        0
        34px !important;

    padding:0;

    overflow:hidden;

    border:1px solid var(--er-line);
    border-radius:8px;

    background:var(--er-light);
}


body.er24-holzblog-single
.er24hb-single-image {

    display:block;

    width:100% !important;
    height:auto !important;

    max-width:100% !important;
    max-height:720px;

    margin:0 !important;

    object-fit:cover;
    object-position:center;
}


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

@media (max-width:767px) {

    body.er24-holzblog-single
    .er24hb-single-hero {

        margin-bottom:
            24px !important;

        border-radius:
            6px;
    }

}



/* =========================================================
   ER24 HOLZBLOG SINGLE V1.1.1
   ABSTÄNDE + ORIGINALBILD OHNE CROPPING
========================================================= */

body.er24-holzblog-single article,
body.er24-holzblog-single .site-main article,
body.er24-holzblog-single .entry-content {
    overflow: visible;
}


body.er24-holzblog-single
.er24hb-single-hero {

    margin:
        34px
        0
        34px !important;

    padding: 0 !important;

    border: 1px solid var(--er-line);
    border-radius: 8px;

    background: var(--er-light);

    overflow: hidden;
}


body.er24-holzblog-single
.er24hb-single-image {

    display: block;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

    margin: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;
}


body.er24-holzblog-single
.entry-content > *:last-child {
    margin-bottom: 38px !important;
}


@media (max-width: 767px) {

    body.er24-holzblog-single
    .er24hb-single-hero {

        margin:
            24px
            0
            24px !important;

        border-radius: 6px;
    }

}

