/* BORNA_ENDNOTE_REFERENCES_FLAGSHIP_CSS_V2 */

.borna-endnote-references-flagship{
    --erf-ink:#172421;
    --erf-muted:#61716d;
    --erf-green:#123f37;
    --erf-mint:#e9f4f0;
    --erf-line:#dce7e3;
    --erf-shadow:0 18px 54px rgba(18,63,55,.08);
}

.borna-endnote-references-flagship .erf{
    direction:rtl;
    color:var(--erf-ink);
}

.borna-endnote-references-flagship .erf *{
    box-sizing:border-box;
}

.borna-endnote-references-flagship .erf-progress{
    position:fixed;
    top:0;
    right:0;
    left:0;
    height:3px;
    z-index:999;
}

.borna-endnote-references-flagship .erf-progress span{
    display:block;
    width:0;
    height:100%;
    background:#35a486;
}

.borna-endnote-references-flagship .erf-hero{
    padding:42px;
    border-radius:29px;
    background:linear-gradient(135deg,#112f35,#123f37 65%,#214844);
    color:#fff;
    box-shadow:0 28px 70px rgba(13,48,43,.18);
}

.borna-endnote-references-flagship .erf-kickers{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:15px;
}

.borna-endnote-references-flagship .erf-kickers span{
    padding:7px 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.2);
    background:rgba(255,255,255,.06);
    font-size:11px;
    font-weight:900;
}

.borna-endnote-references-flagship h1{
    margin:0;
    color:#fff!important;
    font-size:clamp(32px,3vw,46px);
    line-height:1.5;
}

.borna-endnote-references-flagship .erf-lead{
    margin-top:15px;
    color:#e3f0ec!important;
    line-height:2;
}

.borna-endnote-references-flagship .erf-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.borna-endnote-references-flagship .erf-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    border-radius:12px;
    text-decoration:none!important;
    font-weight:900;
}

.borna-endnote-references-flagship .erf-btn-primary{
    background:#fff;
    color:#153c35!important;
}

.borna-endnote-references-flagship .erf-btn-ghost{
    border:1px solid rgba(255,255,255,.25);
    color:#fff!important;
}

.borna-endnote-references-flagship .erf-trust{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:18px;
    color:#cce3dc;
    font-size:11px;
}

.borna-endnote-references-flagship .erf-nav{
    display:flex;
    gap:8px;
    overflow:auto;
    margin:18px 0;
}

.borna-endnote-references-flagship .erf-nav a{
    padding:8px 14px;
    border-radius:999px;
    background:#f4f8f7;
    border:1px solid var(--erf-line);
    color:#36534d!important;
    text-decoration:none!important;
    font-size:12px;
    font-weight:900;
}

.borna-endnote-references-flagship .erf-section,
.borna-endnote-references-flagship .erf-final-cta{
    margin:22px 0;
    padding:30px;
    border-radius:23px;
    background:#fff;
    border:1px solid var(--erf-line);
    box-shadow:var(--erf-shadow);
}

.borna-endnote-references-flagship .erf-head{
    display:flex;
    gap:12px;
    align-items:center;
}

.borna-endnote-references-flagship .erf-head span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:12px;
    background:var(--erf-green);
    color:#fff;
    font-weight:900;
}

.borna-endnote-references-flagship .erf-head h2{
    margin:0;
    font-size:26px;
}

.borna-endnote-references-flagship .erf-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:20px;
}

.borna-endnote-references-flagship .erf-grid article{
    padding:18px;
    border-radius:16px;
    background:#fbfdfc;
    border:1px solid var(--erf-line);
}

.borna-endnote-references-flagship .erf-final-cta{
    text-align:center;
    background:#123f37;
    color:#fff;
}

.borna-endnote-references-flagship .erf-final-cta a{
    display:inline-block;
    margin-top:15px;
    padding:12px 20px;
    border-radius:12px;
    background:#fff;
    color:#123f37!important;
    text-decoration:none!important;
    font-weight:900;
}

@media(max-width:768px){
    .borna-endnote-references-flagship .erf-hero{
        padding:25px;
    }

    .borna-endnote-references-flagship .erf-grid{
        grid-template-columns:1fr;
    }
}

/* BORNA_ENDNOTE_HOTFIX_V1 */
.borna-endnote-references-flagship .erf-hero{
    padding:30px 34px;
    min-height:auto;
}

.borna-endnote-references-flagship .erf-hero-copy{
    max-width:760px;
}

.borna-endnote-references-flagship .erf-lead{
    max-width:760px;
    margin-bottom:0;
}

.borna-endnote-references-flagship .erf-final-cta,
.borna-endnote-references-flagship .erf-final-cta h2,
.borna-endnote-references-flagship .erf-final-cta p{
    color:#fff !important;
}

.borna-endnote-references-flagship .erf-final-cta h2{
    margin:0 0 12px;
}

@media(max-width:768px){
    .borna-endnote-references-flagship .erf-hero{
        padding:22px;
    }
}

/* BORNA_ENDNOTE_V31_VISUAL */

.borna-endnote-references-flagship .erf-hero{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
    gap:30px;
    align-items:center;
}

.borna-endnote-references-flagship .erf-visual{
    display:flex;
    justify-content:center;
}

.borna-endnote-references-flagship .erf-library-card{
    width:100%;
    max-width:330px;
    padding:24px;
    border-radius:22px;
    background:rgba(255,255,255,.96);
    color:#172421;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.borna-endnote-references-flagship .erf-library-card span{
    display:block;
    font-size:10px;
    font-weight:900;
    color:#61716d;
    margin-bottom:8px;
    letter-spacing:.5px;
}

.borna-endnote-references-flagship .erf-library-card strong{
    display:block;
    font-size:18px;
    margin-bottom:18px;
}

.borna-endnote-references-flagship .erf-flow{
    display:grid;
    gap:8px;
}

.borna-endnote-references-flagship .erf-flow div{
    padding:10px 12px;
    border-radius:12px;
    background:#f4f8f7;
    border:1px solid #dce7e3;
    text-align:center;
    font-size:12px;
    font-weight:800;
}

.borna-endnote-references-flagship .erf-flow div:nth-child(even){
    background:transparent;
    border:0;
    padding:2px;
    color:#35a486;
}

@media(max-width:900px){

    .borna-endnote-references-flagship .erf-hero{
        grid-template-columns:1fr;
    }

    .borna-endnote-references-flagship .erf-visual{
        margin-top:20px;
    }

}

/* BORNA_ENDNOTE_WORKFLOW_POLISH */

.borna-endnote-references-flagship .erf-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
}

.borna-endnote-references-flagship .erf-grid article{
    min-height:150px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

@media(max-width:1100px){
    .borna-endnote-references-flagship .erf-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .borna-endnote-references-flagship .erf-grid{
        grid-template-columns:1fr;
    }
}


/* BORNA_ENDNOTE_COMPARISON_FIX */

.borna-endnote-references-flagship #erf-comparison .erf-grid{
    grid-template-columns:repeat(3,minmax(220px,1fr));
    gap:18px;
}

.borna-endnote-references-flagship #erf-comparison .erf-grid article{
    min-height:220px;
    padding:22px;
}

.borna-endnote-references-flagship #erf-comparison .erf-grid article strong{
    display:block;
    margin-bottom:15px;
    font-size:16px;
}

.borna-endnote-references-flagship #erf-comparison .erf-grid article p{
    line-height:2;
}


@media(max-width:900px){
    .borna-endnote-references-flagship #erf-comparison .erf-grid{
        grid-template-columns:1fr;
    }
}


/* BORNA_ENDNOTE_COMMENT_WIDTH_FIX */

.borna-endnote-references-flagship .comment-main-box{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
}

.borna-endnote-references-flagship .comment-form,
.borna-endnote-references-flagship .comment-placeholder{
    width:100%;
}

.borna-endnote-references-flagship .comment-content{
    width:100%;
    min-height:130px;
}

.borna-endnote-references-flagship .comment-main-box .row{
    margin-left:0;
    margin-right:0;
}

@media(max-width:768px){
    .borna-endnote-references-flagship .comment-content{
        min-height:110px;
    }
}


/* BORNA_ENDNOTE_COMMENT_FULL_WIDTH_V2 */

.borna-endnote-references-flagship + .comment-main-box,
.borna-endnote-references-flagship .comment-main-box{
    width:100%!important;
    max-width:none!important;
}

.borna-endnote-references-flagship .comment-main-box{
    margin-top:30px!important;
}

.borna-endnote-references-flagship .comment-form,
.borna-endnote-references-flagship .comment-placeholder{
    width:100%!important;
}

.borna-endnote-references-flagship .comment-content{
    width:100%!important;
}


/* BORNA_ENDNOTE_COMMENT_FULL_FINAL */

.borna-endnote-comment-full{
    width:calc(100vw - 80px)!important;
    max-width:none!important;
    margin-left:calc((100vw - 100%)/-2)!important;
    margin-right:calc((100vw - 100%)/-2)!important;
}

.borna-endnote-comment-full .comment-form,
.borna-endnote-comment-full .comment-placeholder{
    width:100%!important;
}

@media(max-width:768px){
    .borna-endnote-comment-full{
        width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
    }
}


/* ROLLBACK ENDNOTE COMMENT WIDTH */
.borna-endnote-comment-full{
    width:auto!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
}


/* BORNA_ENDNOTE_COMMENT_REDESIGN */

.borna-endnote-references-flagship + .comment-main-box,
.borna-endnote-comment-full,
.borna-endnote-references-flagship .comment-main-box{
    background:#fff;
    border:1px solid #e5ece9;
    border-radius:24px;
    padding:24px;
    box-shadow:0 10px 35px rgba(18,63,55,.06);
    margin-top:35px!important;
}


.borna-endnote-comment-full .comment-content,
.borna-endnote-references-flagship .comment-content{
    height:120px;
    min-height:120px;
    border-radius:18px;
    border:1px solid #dce7e3;
    padding:18px;
}


.borna-endnote-comment-full .comment-name,
.borna-endnote-comment-full .comment-email,
.borna-endnote-references-flagship .comment-name,
.borna-endnote-references-flagship .comment-email{
    height:48px;
    border-radius:14px;
}


.borna-endnote-comment-full .submit-comment,
.borna-endnote-references-flagship .submit-comment{
    height:48px;
    border-radius:14px;
}


.borna-endnote-comment-full .row,
.borna-endnote-references-flagship .row{
    align-items:center;
}


.borna-endnote-comment-full .comment-placeholder,
.borna-endnote-references-flagship .comment-placeholder{
    margin-top:25px!important;
}


@media(max-width:768px){
    .borna-endnote-comment-full,
    .borna-endnote-references-flagship .comment-main-box{
        padding:16px;
    }
}


/* BORNA_ENDNOTE_COMMENT_RESET_FINAL */

.borna-endnote-comment-full{
    width:auto!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

.borna-endnote-references-flagship + .comment-main-box,
.borna-endnote-references-flagship .comment-main-box{
    width:100%;
}

.borna-endnote-comment-full .comment-content{
    height:auto;
    min-height:unset;
}


/* BORNA_ENDNOTE_READINESS_SCORE_V1 */

.borna-endnote-references-flagship .erf-score-box{
display:grid;
grid-template-columns:220px 1fr;
gap:30px;
align-items:center;
padding:35px;
border-radius:28px;
background:#f7faf9;
border:1px solid #dce7e3;
}

.borna-endnote-references-flagship .erf-score-circle{
width:170px;
height:170px;
border-radius:50%;
background:#123f37;
color:#fff;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
margin:auto;
}

.borna-endnote-references-flagship .erf-score-circle strong{
font-size:42px;
}

.borna-endnote-references-flagship .erf-score-items{
display:grid;
gap:14px;
}

.borna-endnote-references-flagship .erf-score-items label{
background:#fff;
padding:16px;
border-radius:14px;
border:1px solid #dce7e3;
font-weight:700;
}

@media(max-width:768px){
.borna-endnote-references-flagship .erf-score-box{
grid-template-columns:1fr;
}
}


/* BORNA_ENDNOTE_SCORE_POLISH */

.borna-endnote-references-flagship .erf-score-section{
    margin-top:40px;
}

.borna-endnote-references-flagship .erf-score-box{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:35px;
    align-items:center;
    background:#fff;
    border:1px solid #dce7e3;
    border-radius:28px;
    padding:35px;
    box-shadow:0 10px 35px rgba(18,63,55,.06);
}

.borna-endnote-references-flagship .erf-score-circle{
    width:180px;
    height:180px;
    border-radius:50%;
    background:#123f37;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    margin:auto;
}

.borna-endnote-references-flagship .erf-score-circle strong{
    font-size:42px;
    line-height:1;
}

.borna-endnote-references-flagship .erf-score-circle span{
    margin-top:10px;
    font-size:14px;
}

.borna-endnote-references-flagship .erf-score-items{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.borna-endnote-references-flagship .erf-score-items label{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:65px;
    background:#f8fbfa;
    border:1px solid #dce7e3;
    border-radius:16px;
    padding:15px;
    font-size:14px;
}

@media(max-width:768px){

.borna-endnote-references-flagship .erf-score-box{
    grid-template-columns:1fr;
}

.borna-endnote-references-flagship .erf-score-items{
    grid-template-columns:1fr;
}

}


/* SCORE FORCE FIX */

.erf-score-section{
    margin-top:40px!important;
}

.erf-score-box{
    display:grid!important;
    grid-template-columns:220px 1fr!important;
    gap:30px!important;
    padding:35px!important;
    background:#fff!important;
    border:1px solid #dce7e3!important;
    border-radius:28px!important;
    box-shadow:0 10px 35px rgba(18,63,55,.08)!important;
}

.erf-score-circle{
    width:170px!important;
    height:170px!important;
    border-radius:50%!important;
    background:#123f37!important;
    color:#fff!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
}

.erf-score-circle strong{
    font-size:42px!important;
}

.erf-score-items{
    display:grid!important;
    grid-template-columns:repeat(2,1fr)!important;
    gap:15px!important;
}

.erf-score-items label{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:18px!important;
    background:#f7faf9!important;
    border:1px solid #dce7e3!important;
    border-radius:16px!important;
}

@media(max-width:768px){
.erf-score-box{
    grid-template-columns:1fr!important;
}
.erf-score-items{
    grid-template-columns:1fr!important;
}
}


/* BORNA_ENDNOTE_SCORE_THEME_FIX */

.erf-score-section .erf-head h2{
    font-size:28px;
    font-weight:800;
    color:#172421;
}

.erf-score-section .erf-section-lead{
    font-size:16px;
    line-height:2;
    color:#61716d;
}

.erf-score-box{
    background:#fff!important;
    border-radius:24px!important;
    padding:30px!important;
}

.erf-score-items label{
    font-size:14px!important;
    line-height:2!important;
    color:#30433f!important;
    font-weight:600!important;
}

.erf-score-items input{
    accent-color:#123f37;
    width:18px;
    height:18px;
}

.erf-score-circle{
    box-shadow:0 15px 35px rgba(18,63,55,.18);
}

.erf-score-circle strong{
    font-size:36px!important;
    font-weight:900;
}

.erf-score-circle span{
    font-size:13px!important;
    opacity:.9;
}

@media(max-width:768px){

.erf-score-section .erf-head h2{
    font-size:22px;
}

.erf-score-box{
    padding:20px!important;
}

}


/* BORNA_ENDNOTE_SCORE_FINAL_LAYOUT */

.erf-score-box{
    display:flex!important;
    direction:ltr;
    align-items:center;
    gap:50px;
    padding:40px!important;
}

.erf-score-circle{
    flex:0 0 180px;
}

.erf-score-items{
    flex:1;
    display:grid!important;
    grid-template-columns:repeat(2,1fr)!important;
    gap:16px!important;
}

.erf-score-items article{
    display:block!important;
}

.erf-score-items label{
    display:flex!important;
    direction:rtl;
    justify-content:flex-start;
    align-items:center;
    gap:12px;
    min-height:70px;
    padding:18px!important;
    font-size:15px!important;
    line-height:1.8!important;
    background:#fff!important;
    border:1px solid #dce7e3!important;
    border-radius:18px!important;
}

.erf-score-items input{
    margin:0!important;
}

@media(max-width:768px){

.erf-score-box{
    flex-direction:column;
}

.erf-score-items{
    grid-template-columns:1fr!important;
    width:100%;
}

}


/* BORNA_ENDNOTE_SECTION_SPACING_POLISH */

.borna-endnote-references-flagship .erf-section{
    padding:24px;
}

.borna-endnote-references-flagship .erf-grid article{
    min-height:auto;
}

.borna-endnote-references-flagship #erf-errors-submit,
.borna-endnote-references-flagship #erf-checklist{
    margin-bottom:18px;
}

.borna-endnote-references-flagship #erf-errors-submit .erf-grid,
.borna-endnote-references-flagship #erf-checklist .erf-grid{
    margin-top:16px;
}

.borna-endnote-references-flagship #erf-checklist .erf-grid article{
    padding:16px;
}

.borna-endnote-references-flagship .erf-final-cta{
    margin-top:18px;
}

@media(max-width:768px){
    .borna-endnote-references-flagship .erf-section{
        padding:18px;
    }
}


/* BORNA_ENDNOTE_LAYOUT_FINAL_TUNE */

.borna-endnote-references-flagship .erf-section-lead{
    margin:16px 0 0;
    color:#4d6660;
    line-height:2;
}

.borna-endnote-references-flagship #erf-errors .erf-grid,
.borna-endnote-references-flagship #erf-use-cases .erf-grid,
.borna-endnote-references-flagship #erf-errors-submit .erf-grid{
    grid-template-columns:repeat(3,minmax(220px,1fr));
    gap:18px;
}

.borna-endnote-references-flagship #erf-checklist .erf-grid{
    grid-template-columns:repeat(3,minmax(220px,1fr));
    gap:18px;
}

.borna-endnote-references-flagship #erf-errors .erf-grid article,
.borna-endnote-references-flagship #erf-use-cases .erf-grid article,
.borna-endnote-references-flagship #erf-errors-submit .erf-grid article{
    min-height:220px;
    padding:22px;
}

.borna-endnote-references-flagship #erf-checklist .erf-grid article{
    min-height:165px;
    padding:20px;
}

.borna-endnote-references-flagship #erf-errors .erf-grid article strong,
.borna-endnote-references-flagship #erf-use-cases .erf-grid article strong,
.borna-endnote-references-flagship #erf-errors-submit .erf-grid article strong,
.borna-endnote-references-flagship #erf-checklist .erf-grid article strong{
    display:block;
    margin-bottom:12px;
    font-size:16px;
}

.borna-endnote-references-flagship #erf-errors .erf-grid article p,
.borna-endnote-references-flagship #erf-use-cases .erf-grid article p,
.borna-endnote-references-flagship #erf-errors-submit .erf-grid article p,
.borna-endnote-references-flagship #erf-checklist .erf-grid article p{
    margin:0;
    line-height:2;
}

.borna-endnote-references-flagship .erf-final-cta{
    padding:34px;
    text-align:right;
}

.borna-endnote-references-flagship .erf-final-cta-inner{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
}

.borna-endnote-references-flagship .erf-final-cta-copy{
    flex:1 1 auto;
    max-width:780px;
}

.borna-endnote-references-flagship .erf-final-cta h2{
    margin-bottom:14px;
}

.borna-endnote-references-flagship .erf-final-cta p{
    margin:0;
    line-height:2;
}

.borna-endnote-references-flagship .erf-cta-points{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.borna-endnote-references-flagship .erf-cta-points span{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    font-size:13px;
    font-weight:700;
}

.borna-endnote-references-flagship .erf-actions-cta{
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:0 0 260px;
    margin-top:0;
}

.borna-endnote-references-flagship .erf-final-cta .erf-actions-cta a{
    margin-top:0;
    min-width:0;
    width:100%;
    text-align:center;
}

@media(max-width:1100px){
    .borna-endnote-references-flagship #erf-errors .erf-grid,
    .borna-endnote-references-flagship #erf-use-cases .erf-grid,
    .borna-endnote-references-flagship #erf-errors-submit .erf-grid,
    .borna-endnote-references-flagship #erf-checklist .erf-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:768px){
    .borna-endnote-references-flagship .erf-final-cta-inner{
        flex-direction:column;
        align-items:stretch;
    }

    .borna-endnote-references-flagship .erf-actions-cta{
        flex:1 1 auto;
        width:100%;
    }
}

@media(max-width:700px){
    .borna-endnote-references-flagship #erf-errors .erf-grid,
    .borna-endnote-references-flagship #erf-use-cases .erf-grid,
    .borna-endnote-references-flagship #erf-errors-submit .erf-grid,
    .borna-endnote-references-flagship #erf-checklist .erf-grid{
        grid-template-columns:1fr;
    }
}



/* BORNA_ENDNOTE_RELATED_SECTION_V1 */

.borna-endnote-references-flagship .erf-related{
    margin-top:30px;
}

.borna-endnote-references-flagship .erf-related-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-top:22px;
}

.borna-endnote-references-flagship .erf-related-grid a{
    display:flex;
    flex-direction:column;
    min-height:190px;
    padding:22px;
    border-radius:20px;
    background:#fbfdfc;
    border:1px solid var(--erf-line);
    text-decoration:none!important;
    transition:.25s ease;
}

.borna-endnote-references-flagship .erf-related-grid a:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(18,63,55,.10);
}

.borna-endnote-references-flagship .erf-related-grid span{
    display:inline-flex;
    width:max-content;
    padding:5px 12px;
    border-radius:30px;
    background:#edf6f3;
    color:#123f37;
    font-size:12px;
    font-weight:900;
    margin-bottom:14px;
}

.borna-endnote-references-flagship .erf-related-grid strong{
    color:#123f37;
    font-size:16px;
    line-height:1.8;
    margin-bottom:10px;
}

.borna-endnote-references-flagship .erf-related-grid p{
    margin:0;
    color:#536963;
    font-size:14px;
    line-height:2;
}


@media(max-width:1100px){

    .borna-endnote-references-flagship .erf-related-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


@media(max-width:700px){

    .borna-endnote-references-flagship .erf-related-grid{
        grid-template-columns:1fr;
    }

}



/* BORNA_ENDNOTE_CARD_SPACING_POLISH_V1 */

.borna-endnote-references-flagship #erf-quality-control .erf-grid article{
    min-height:unset;
    padding:20px;
}

.borna-endnote-references-flagship #erf-quality-control .erf-grid article p{
    line-height:1.9;
    margin-bottom:0;
}


.borna-endnote-references-flagship .erf-related-grid a{
    min-height:unset;
    padding:20px;
}

.borna-endnote-references-flagship .erf-related-grid p{
    line-height:1.9;
    margin-bottom:0;
}


@media(max-width:700px){

    .borna-endnote-references-flagship #erf-quality-control .erf-grid article,
    .borna-endnote-references-flagship .erf-related-grid a{
        padding:16px;
    }

}



/* BORNA_ENDNOTE_RELATED_LAYOUT_FINAL */

.borna-endnote-references-flagship .erf-related-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    align-items:start;
}

.borna-endnote-references-flagship .erf-related-grid a{
    min-height:unset;
    height:auto;
    padding:18px;
}

.borna-endnote-references-flagship .erf-related-grid strong{
    line-height:1.7;
}

.borna-endnote-references-flagship .erf-related-grid p{
    line-height:1.8;
}


@media(max-width:1100px){

    .borna-endnote-references-flagship .erf-related-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


@media(max-width:700px){

    .borna-endnote-references-flagship .erf-related-grid{
        grid-template-columns:1fr;
    }

}



/* BORNA_ENDNOTE_FINAL_CARD_LAYOUT */

.borna-endnote-references-flagship #erf-quality-control .erf-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
}

.borna-endnote-references-flagship #erf-quality-control .erf-grid article{
    min-height:0!important;
    height:auto!important;
}


.borna-endnote-references-flagship .erf-related-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:16px!important;
}

.borna-endnote-references-flagship .erf-related-grid a{
    min-height:0!important;
    height:auto!important;
}


@media(max-width:1100px){

.borna-endnote-references-flagship .erf-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}

.borna-endnote-references-flagship #erf-quality-control .erf-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}

}


@media(max-width:700px){

.borna-endnote-references-flagship .erf-related-grid,
.borna-endnote-references-flagship #erf-quality-control .erf-grid{
    grid-template-columns:1fr!important;
}

}

