/* Paradise 6 v2.7 – targeted fixes for legacy page headers.
   Only Ceník menu page and the Cesta k nám module inside article pages.
   Other articles and components retain their 2.6 headings. */

/* Ceník is deliberately excluded from extasy-article-page in index.php,
   so it needs the same outer spacing as articles. */
body.extasy-pricing-page main#main-content.contentrow{
    width:min(1500px,calc(100vw - 52px));
    max-width:none;
    padding-top:65px;
    box-sizing:border-box;
}
body.extasy-pricing-page main#main-content .p6-main{min-width:0;flex:1 1 100%;max-width:100%;}
/* The old Paradise price page renders the heading in .page-header,
   whose background image currently draws a charcoal underline. */
body.extasy-pricing-page main#main-content .page-header h1:not(.shadow),
body.extasy-pricing-page main#main-content .page-header h2:not(.shadow){
    background:none!important;
    font-size:clamp(40px,5vw,67px)!important;
    font-weight:850!important;
    letter-spacing:-.035em!important;
    line-height:1.12!important;
    color:#27323b!important;
    padding:0!important;
    margin:0 0 30px!important;
    border:0!important;
}
body.extasy-pricing-page main#main-content .page-header h1:not(.shadow)::after,
body.extasy-pricing-page main#main-content .page-header h2:not(.shadow)::after{
    content:""!important;
    display:block!important;
    background:#d34360!important;
    width:110px!important;
    height:4px!important;
    margin:23px 0 0!important;
    border:0!important;
    border-radius:0!important;
}
/* Some price layouts have a separate decorative underline element. */
body.extasy-pricing-page main#main-content .page-header .title-line,
body.extasy-pricing-page main#main-content .page-header .heading-line,
body.extasy-pricing-page main#main-content .page-header .title-underline{
    background:#d34360!important;width:110px!important;height:4px!important;
}
/* Cesta k nám header belongs to mod_extasydirections, not com_content.
   Reuse article badge, H1 and rule metrics without touching the route maps. */
body.extasy-article-page .edr{margin-top:0;}
body.extasy-article-page .edr>header .edr-flag{
    display:inline-block!important;
    background:#d34360!important;
    color:#fff!important;
    padding:8px 24px!important;
    margin:0 0 26px!important;
    font-size:16px!important;
    line-height:1.3!important;
    font-weight:700!important;
    transform:skew(-10deg)!important;
    box-shadow:-9px 9px 0 -2px #293640!important;
    border-radius:0!important;
}
body.extasy-article-page .edr>header>h2{
    margin:0 0 30px!important;
    padding:0!important;
    font-size:clamp(40px,5vw,67px)!important;
    font-weight:850!important;
    line-height:1.12!important;
    letter-spacing:-.035em!important;
    color:#27323b!important;
    background:none!important;
}
body.extasy-article-page .edr>header>.edr-line{
    display:block!important;
    width:110px!important;
    height:4px!important;
    background:#d34360!important;
    border:0!important;
    margin:0 0 23px!important;
}
body.extasy-article-page .edr>header>.edr-lead{margin-top:0!important;line-height:1.7;}
@media(max-width:700px){
    body.extasy-pricing-page main#main-content.contentrow{width:calc(100vw - 28px);padding-top:35px;}
}
