/* TRECATOR_SINGLE_V10 */

body.single-post .tr-single-breadcrumbs {
    display: block;
    margin: 0 0 12px;
    padding: 0 0 9px;
    border-bottom: 1px solid #e3e8e5;
    color: #78827c;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

body.single-post .tr-single-breadcrumbs a {
    color: #315c4e;
    text-decoration: none;
}

body.single-post .tr-single-breadcrumbs a:hover {
    text-decoration: underline;
}

body.single-post .tr-single-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 8px 0 16px;
    padding: 0;
}

body.single-post .tr-single-categories a {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 9px;
    background: #edf3ef;
    color: #315c4e;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body.single-post .tr-single-categories a:hover {
    background: #315c4e;
    color: #fff;
}

/* Adaptare pentru telefon. */

@media (max-width: 700px) {

    body.single-post .tr-single-breadcrumbs {
        font-size: 12px;
        margin-bottom: 9px;
        padding-bottom: 7px;
    }

    body.single-post .tr-single-categories {
        gap: 4px;
        margin: 6px 0 12px;
    }

    body.single-post .tr-single-categories a {
        font-size: 12px;
        padding: 5px 7px;
    }
}

/* TRECATOR_SINGLE_RELATED_V11 */

/* Desktop: articol 60%, recomandari 40%. */

body.single-post .tr-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

body.single-post .tr-single-main {
    min-width: 0;
    max-width: 100%;
}

body.single-post .tr-single-main > .content {
    float: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

/* Daca nu exista recomandari, pastram o latime confortabila. */

body.single-post .tr-single-no-related {
    grid-template-columns: minmax(0, 1fr);
}

body.single-post .tr-single-no-related .tr-single-main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Zona de explorare turistica. */

body.single-post .tr-single-related {
    min-width: 0;
    box-sizing: border-box;
    padding: 24px 20px 24px 0;
}

.tr-single-related h2 {
    color: #303b34;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 4px;
    padding: 0;
}

.tr-related-location {
    display: inline-block;
    color: #315c4e;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.tr-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
}

.tr-related-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e5e2;
    border-radius: 5px;
}

.tr-related-main {
    display: block;
    color: #303b34;
}

.tr-related-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0;
}

.tr-related-main h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    padding: 9px 9px 4px;
    overflow-wrap: anywhere;
}

.tr-related-main:hover h3 {
    color: #315c4e;
}

.tr-related-category {
    display: block;
    color: #315c4e;
    font-size: 11px;
    line-height: 1.4;
    margin: auto 9px 8px;
}

.tr-related-more {
    display: block;
    margin-top: 12px;
    color: #315c4e;
    font-size: 13px;
    font-weight: 600;
}

/* Tabletă si mobil: recomandari dupa articol. */

@media (max-width: 1000px) {

    body.single-post .tr-single-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.single-post .tr-single-related {
        padding: 15px 20px 25px;
    }

    .tr-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    body.single-post .tr-single-related {
        padding: 12px 12px 20px;
    }

    .tr-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tr-single-related h2 {
        font-size: 19px;
    }

    .tr-related-main h3 {
        font-size: 13px;
    }
}


/* TRECATOR_SINGLE_STICKY_V114 */

@media (min-width: 1001px) {

    /* Eliminam containerele de scroll artificiale Hueman. */

    body.single-post #wrapper,
    body.single-post #page,
    body.single-post #page > .container-inner,
    body.single-post .main,
    body.single-post .main-inner,
    body.single-post .tr-single-layout {

        overflow: visible !important;
    }

    /* Pozitionare sticky nativa, fara JavaScript. */

    body.single-post .tr-single-related {

        position: sticky !important;
        align-self: start !important;
        top: 16px !important;

        transform: none;
        transition: none;
        animation: none;

        max-height: calc(100vh - 32px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        scrollbar-width: thin;
    }

    /* Bara WordPress pentru administrator. */

    body.single-post.admin-bar .tr-single-related {

        top: 48px !important;
        max-height: calc(100vh - 64px) !important;
    }

}

@media (max-width: 1000px) {

    body.single-post .tr-single-related {

        position: static;
        top: auto;
        transform: none;
        max-height: none;
        overflow: visible;
    }

}


/* TRECATOR_READING_WIDTH_V12 */

/* Pagini statice: latime confortabila pentru lectura. */

body.page:not(.home) .main-inner > .content {
    float: none !important;
    width: 100% !important;
    max-width: 850px;
    min-width: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Pe mobil utilizam intreaga latime disponibila. */

@media (max-width: 850px) {

    body.page:not(.home) .main-inner > .content {
        max-width: 100%;
    }

}

/* TRECATOR_VIDEO_SPACING_V261 */

body.single-post .entry-inner .video-container {
    margin-bottom: 24px;
}



/* TRECATOR_VIDEO_LABEL_V262 */

body.single-post .entry-inner .tr-local-video-label {
    margin: 0 0 10px;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}



/* TRECATOR_READABILITY_V300 */

/*
 * Tipografie editoriala.
 * Pastreaza fontul configurat in tema.
 * Nu modifica imaginile, galeriile sau playerele.
 */

@supports selector(p:has(img)) {

    body.single-post .entry-inner
    > p:not(:where(
        .wp-caption-text,
        .tr-local-video-label,
        .trvv-counter,
        .adsbygoogle,
        [role="advertisement"],
        :has(
            img,picture,iframe,video,audio,
            object,embed,canvas,svg,ins,
            .adsbygoogle,.plyr,.gallery,
            .tiled-gallery,.video-container,
            [role="advertisement"]
        )
    )) {
        font-size: 18px;
        line-height: 1.75;
        max-inline-size: 74ch;
        margin-inline-start: 0;
        margin-inline-end: auto;
        margin-block-end: 1.25em;
        text-align: start;
        overflow-wrap: break-word;
    }

    /* Listele editoriale */

    body.single-post .entry-inner
    > :is(ul,ol):not(:where(
        .gallery,
        .adsbygoogle,
        :has(img,iframe,video,ins,.adsbygoogle)
    )) {
        font-size: 18px;
        line-height: 1.75;
        margin-block-end: 1.25em;
    }

    /* Subtitlurile existente */

    body.single-post .entry-inner
    > :is(h2,h3,h4,h5,h6) {
        line-height: 1.4;
        margin-block-start: 1.4em;
        margin-block-end: .6em;
    }

}



/* TRECATOR_NETWORK_LINKS_V303 */

body.single-post .entry-inner .tr-object-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 10px 0;
    border-bottom: 1px solid #dce5df;
    font: 14px/1.5 Arial, sans-serif;
}

.tr-object-links-caption {
    font-weight: 600;
    margin-inline-end: 4px;
}

body.single-post .entry-inner .tr-object-links a,
.tr-object-links .tr-object-link-active {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    box-sizing: border-box;
    padding: 6px 12px;
    border: 1px solid #729387;
    border-radius: 5px;
    color: #315c4e;
    background: transparent;
    text-decoration: none;
    font-weight: 600;
}

body.single-post .entry-inner .tr-object-links a:hover,
.tr-object-links .tr-object-link-active {
    background: #315c4e;
    color: #fff;
}

html.tr-theme-dark body.single-post
.entry-inner .tr-object-links {
    border-color: var(--tr-dm-border);
}

html.tr-theme-dark body.single-post
.entry-inner .tr-object-links a {
    color: var(--tr-dm-text);
}

html:is(.tr-a11y-dark,.tr-a11y-yellow)
body.single-post .entry-inner .tr-object-links a {
    color: inherit;
    border-color: currentColor;
}

html:is(.tr-a11y-contrast,.tr-a11y-dark,.tr-a11y-yellow)
.tr-object-links .tr-object-link-active {
    background: transparent;
    color: inherit;
    border: 2px solid currentColor;
    text-decoration: underline;
}

html.tr-a11y-links
body.single-post .entry-inner .tr-object-links a {
    text-decoration: underline;
}

@media (max-width: 767px) {

    .tr-object-links-caption {
        flex-basis: 100%;
    }

    body.single-post .entry-inner .tr-object-links a,
    .tr-object-links .tr-object-link-active {
        min-height: 44px;
    }
}

