/* =========================================================
   TRITTAU ONLINE
   Single Post
   Theme: Hello Elementor + convi Child Theme
   File: /assets/css/single.css

   Design direction:
   - clean white / blue editorial SaaS
   - uses tokens from global.css
   - resilient against Elementor wrapper markup
   - responsive: desktop / tablet / mobile
   ========================================================= */


/* =========================================================
   1. SINGLE PAGE ROOT
   ========================================================= */

.to-single {
    width: 100%;
    min-width: 0;
    overflow: clip;
    background: var(--to-bg);
    color: var(--to-text);
}

/* =========================================================
   2. HERO
   ========================================================= */

.to-single .to-single-hero {
    width: 100%;
    padding-block: 38px 36px;
    background: var(--to-surface);
    border-bottom: 1px solid var(--to-border);
}

.to-single .to-single-hero > .to-container {
    width: 100%;
}

.to-single .to-single-hero__inner {
    width: 100%;
    max-width: 940px;
    margin-inline: auto;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 10px;
}


/* =========================================================
   3. BREADCRUMBS
   ========================================================= */

.to-single .to-single-breadcrumbs {
    order: 1;

    width: 100%;
    margin: 0 !important;
}

.to-single .to-single-breadcrumbs .elementor-widget-container,
.to-single .to-single-breadcrumbs .elementor-shortcode,
.to-single .to-single-breadcrumbs .rank-math-breadcrumb,
.to-single .to-single-breadcrumbs .rank-math-breadcrumb p {
    width: 100%;
    margin: 0 !important;
}

.to-single .to-single-breadcrumbs .rank-math-breadcrumb p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;

    color: var(--to-text-muted) !important;
    font-size: 12px !important;
    line-height: 1.45;
    font-weight: 520;
}

.to-single .to-single-breadcrumbs a,
.to-single .to-single-breadcrumbs .last,
.to-single .to-single-breadcrumbs .separator {
    color: var(--to-text-muted) !important;
    font-size: inherit !important;
    line-height: inherit;
}

.to-single .to-single-breadcrumbs a {
    transition: color var(--to-transition);
}

.to-single .to-single-breadcrumbs a:hover {
    color: var(--to-blue) !important;
}

.to-single .to-single-breadcrumbs .separator {
    padding-inline: 2px;
    color: var(--to-border-dark) !important;
}

.to-single .to-single-breadcrumbs .last {
    max-width: min(100%, 520px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   4. CATEGORY PILLS IN HERO
   Elementor Post Info markup supported
   ========================================================= */

.to-single .to-single-categories {
    order: 2;

    width: 100%;
    margin: 1px 0 0 !important;
}

.to-single .to-single-categories .elementor-widget-container,
.to-single .to-single-categories .elementor-post-info,
.to-single .to-single-categories .elementor-icon-list-items,
.to-single .to-single-categories .elementor-icon-list-item,
.to-single .to-single-categories .elementor-post-info__item,
.to-single .to-single-categories .elementor-post-info__terms-list {
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-categories .elementor-post-info,
.to-single .to-single-categories .elementor-icon-list-items,
.to-single .to-single-categories .elementor-icon-list-item,
.to-single .to-single-categories .elementor-post-info__item {
    width: 100%;
}

.to-single .to-single-categories .elementor-post-info__terms-list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    /* Elementor prints comma text nodes between term links.
       Zero font-size hides them; spacing is applied directly to links. */
    gap: 0 !important;
    margin-bottom: -6px !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

.to-single .to-single-categories .elementor-post-info__terms-list-item,
.to-single .to-single-categories .elementor-post-info__terms-list > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 24px;
    margin: 0 7px 6px 0 !important;
    padding: 5px 8px !important;

    background: var(--to-blue-soft) !important;
    border: 1px solid #d6eaff !important;
    border-radius: 6px !important;

    color: var(--to-blue-dark) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 720 !important;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow: none;

    transition:
        background-color var(--to-motion-fast) var(--to-ease),
        border-color var(--to-motion-fast) var(--to-ease),
        color var(--to-motion-fast) var(--to-ease),
        transform var(--to-motion-fast) var(--to-ease);
}

.to-single .to-single-categories .elementor-post-info__terms-list-item:last-child,
.to-single .to-single-categories .elementor-post-info__terms-list > a:last-child {
    margin-right: 0 !important;
}

.to-single .to-single-categories .elementor-post-info__terms-list-item:hover,
.to-single .to-single-categories .elementor-post-info__terms-list > a:hover {
    background: var(--to-blue) !important;
    border-color: var(--to-blue) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* =========================================================
   5. POST TITLE / LEAD
   ========================================================= */

.to-single .to-single-title {
    order: 3;

    width: 100%;
    margin: 2px 0 0 !important;
}

.to-single .to-single-title .elementor-widget-container {
    width: 100%;
}

.to-single .to-single-title .elementor-heading-title,
.to-single .to-single-title h1 {
    max-width: 900px;
    margin: 0 !important;

    color: var(--to-text) !important;

    font-size: clamp(36px, 3.8vw, 52px) !important;
    line-height: 1.04 !important;
    font-weight: 780 !important;
    letter-spacing: -0.045em !important;

    text-wrap: balance;
}

.to-single .to-single-lead {
    order: 4;

    width: 100%;
    max-width: 780px;
    margin: 2px 0 0 !important;

    color: var(--to-text-soft) !important;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 450;
}

.to-single .to-single-lead p {
    margin: 0 !important;
}


/* =========================================================
   6. POST META
   Author + date from Elementor Post Info widgets
   ========================================================= */

.to-single .to-single-meta {
    order: 5;

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

    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;

    gap: 5px !important;

    /* Quiet text, not a chip.

       Author and date sat in a bordered pill with its own surface
       and shadow directly under the H1 - at 390px it stretched the
       full 358px, so the reading order went headline, then a UI
       box, then the image. Metadata is secondary information and
       now reads as such: no surface, no border, no shadow. */

    margin: 10px 0 0 !important;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;

    box-shadow: none;
}

.to-single .to-single-meta__author,
.to-single .to-single-meta__date,
.to-single .to-single-meta__reading {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-meta__author .elementor-widget-container,
.to-single .to-single-meta__date .elementor-widget-container,
.to-single .to-single-meta__reading .elementor-widget-container,
.to-single .to-single-meta__author ul,
.to-single .to-single-meta__date ul,
.to-single .to-single-meta__reading ul,
.to-single .to-single-meta__author li,
.to-single .to-single-meta__date li,
.to-single .to-single-meta__reading li {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-meta__author ul,
.to-single .to-single-meta__date ul,
.to-single .to-single-meta__reading ul,
.to-single .to-single-meta__author li,
.to-single .to-single-meta__date li,
.to-single .to-single-meta__reading li {
    display: inline-flex !important;
    align-items: center !important;
}

.to-single .to-single-meta__author,
.to-single .to-single-meta__date,
.to-single .to-single-meta__reading,
.to-single .to-single-meta__author *,
.to-single .to-single-meta__date *,
.to-single .to-single-meta__reading * {
    color: var(--to-text-muted) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 560 !important;
}

.to-single .to-single-meta__author a:hover {
    color: var(--to-blue) !important;
}

.to-single .to-single-meta__date::before,
.to-single .to-single-meta__reading::before {
    content: "·";
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 5px;

    color: var(--to-border-dark);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================================
   7. FEATURED IMAGE
   ========================================================= */

.to-single .to-single-media {
    width: 100%;
    padding-block: 28px 34px;

    background: var(--to-surface);
    border-bottom: 1px solid rgba(228, 233, 240, .72);
}

.to-single .to-single-media > .to-container {
    max-width: 1040px;
}

.to-single .to-single-image {
    width: 100%;
    margin: 0 !important;
    overflow: hidden;

    background: var(--to-surface-soft);
    border: 1px solid var(--to-border);
    border-radius: var(--to-radius-xl);

    box-shadow: var(--to-shadow-sm);
}

.to-single .to-single-image,
.to-single .to-single-image .elementor-widget-container {
    width: 100%;
}

.to-single .to-single-image img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block;

    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   8. ARTICLE AREA / TWO-COLUMN LAYOUT
   ========================================================= */

.to-single .to-single-content {
    width: 100%;
    padding-block: 56px 64px;
    background: var(--to-bg);
}

.to-single .to-single-layout {
    width: 100%;
    min-width: 0;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;

    gap: 38px;
}

.to-single .to-single-main {
    width: 100%;
    min-width: 0;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    gap: 24px;

    padding: 34px 38px;

    background: var(--to-surface);
    border: 1px solid var(--to-border);
    border-radius: var(--to-radius-xl);

    box-shadow: var(--to-shadow-xs);
}

.to-single .to-single-sidebar {
    width: 100%;
    min-width: 0;

    display: flex !important;
    flex-direction: column !important;

    gap: 18px;
}


/* =========================================================
   9. ARTICLE TYPOGRAPHY
   ========================================================= */

.to-single .to-single-article {
    width: 100%;
    max-width: 760px;
    margin: 0 auto !important;

    color: var(--to-text-soft) !important;

    font-size: 17px;
    line-height: 1.76;
    font-weight: 430;
}

.to-single .to-single-article > *:first-child {
    margin-top: 0 !important;
}

.to-single .to-single-article > *:last-child {
    margin-bottom: 0 !important;
}

.to-single .to-single-article p {
    margin: 0 0 1.45em;
    color: var(--to-text-soft);
}

.to-single .to-single-article h2,
.to-single .to-single-article h3,
.to-single .to-single-article h4 {
    color: var(--to-text) !important;
    font-weight: 760 !important;
    letter-spacing: -0.03em !important;
    text-wrap: balance;
}

.to-single .to-single-article h2 {
    margin: 2.15em 0 .7em;
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.15 !important;
}

.to-single .to-single-article h3 {
    margin: 1.9em 0 .65em;
    font-size: clamp(21px, 2.4vw, 27px) !important;
    line-height: 1.2 !important;
}

.to-single .to-single-article h4 {
    margin: 1.6em 0 .6em;
    font-size: 19px !important;
    line-height: 1.25 !important;
}

.to-single .to-single-article a {
    color: var(--to-blue) !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color var(--to-transition);
}

.to-single .to-single-article a:hover {
    color: var(--to-blue-dark) !important;
}

.to-single .to-single-article strong {
    color: var(--to-text);
    font-weight: 700;
}

.to-single .to-single-article ul,
.to-single .to-single-article ol {
    margin: 0 0 1.45em;
    padding-left: 1.35em;
}

.to-single .to-single-article li + li {
    margin-top: .45em;
}

.to-single .to-single-article blockquote {
    margin: 2em 0;
    padding: 18px 20px;

    background: var(--to-blue-soft-2);
    border: 1px solid #dcecff;
    border-left: 3px solid var(--to-blue);
    border-radius: 0 var(--to-radius-md) var(--to-radius-md) 0;

    color: var(--to-text);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 550;

    box-shadow: var(--to-shadow-xs);
}

.to-single .to-single-article blockquote p:last-child {
    margin-bottom: 0;
}

.to-single .to-single-article figure,
.to-single .to-single-article .wp-block-image {
    margin: 2em 0;
}

.to-single .to-single-article img {
    max-width: 100%;
    height: auto;
    border-radius: var(--to-radius-md);
}

.to-single .to-single-article figcaption {
    margin-top: 8px;
    color: var(--to-text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.to-single .to-single-article table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;

    background: var(--to-surface);
    border: 1px solid var(--to-border);
    border-radius: var(--to-radius-md);
}

.to-single .to-single-article th,
.to-single .to-single-article td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--to-border);
    text-align: left;
    vertical-align: top;
}

.to-single .to-single-article th {
    background: var(--to-surface-soft);
    color: var(--to-text);
    font-weight: 700;
}

.to-single .to-single-article tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   10. SHARE BUTTONS
   Compact SaaS toolbar / Elementor Share Buttons
   ========================================================= */

.to-single-share__heading {
    width: 100%;
    margin: 18px 0 10px;
}

.to-single-share__heading .elementor-heading-title {
    margin: 0;

    color: var(--to-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   SHARE BUTTONS
   ========================================================= */

.to-single-share {
    width: 100%;
    margin: 0;
    padding: 0;
}

.to-single-share .elementor-widget-container {
    width: 100%;
}

.to-single-share .elementor-grid {
    width: 100%;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 8px !important;
}

.to-single-share .elementor-grid-item {
    min-width: 0;
    margin: 0 !important;
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.to-single-share .elementor-share-btn {
    position: relative;

    width: 100%;
    min-width: 0;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 5px 10px 5px 5px;

    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;

    border: 1px solid var(--to-border) !important;
    border-radius: 9px !important;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, .025),
        0 2px 7px rgba(15, 23, 42, .025);

    color: var(--to-text-soft) !important;

    overflow: hidden;

    transition:
        border-color var(--to-transition),
        box-shadow var(--to-transition),
        transform var(--to-transition),
        background-color var(--to-transition);
}


/* Elementor Gradient Skin vollständig neutralisieren */

.to-single-share .elementor-share-btn::before,
.to-single-share .elementor-share-btn::after,
.to-single-share .elementor-share-btn__text::before,
.to-single-share .elementor-share-btn__text::after {
    display: none !important;
    content: none !important;
}

.to-single-share .elementor-share-btn__text {
    min-width: 0;

    display: flex;
    align-items: center;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    color: var(--to-text-soft) !important;
}


/* ---------------------------------------------------------
   ICON CONTAINER
   --------------------------------------------------------- */

.to-single-share .elementor-share-btn__icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 8px 0 0 !important;
    padding: 0 !important;

    border-radius: 7px;

    box-shadow: none !important;

    transition:
        transform var(--to-transition),
        background-color var(--to-transition),
        border-color var(--to-transition);
}

.to-single-share .elementor-share-btn__icon svg {
    width: 14px;
    height: 14px;

    fill: currentColor !important;
}


/* ---------------------------------------------------------
   OFFIZIELLE ICON-FARBEN
   --------------------------------------------------------- */

/* Facebook */

.to-single-share .elementor-share-btn_facebook .elementor-share-btn__icon {
    color: #1877f2 !important;

    background: rgba(24, 119, 242, .08) !important;
    border: 1px solid rgba(24, 119, 242, .16);
}


/* WhatsApp */

.to-single-share .elementor-share-btn_whatsapp .elementor-share-btn__icon {
    color: #25d366 !important;

    background: rgba(37, 211, 102, .08) !important;
    border: 1px solid rgba(37, 211, 102, .17);
}


/* Telegram */

.to-single-share .elementor-share-btn_telegram .elementor-share-btn__icon {
    color: #229ed9 !important;

    background: rgba(34, 158, 217, .08) !important;
    border: 1px solid rgba(34, 158, 217, .17);
}


/* E-Mail – Trittau Online Blau */

.to-single-share .elementor-share-btn_email .elementor-share-btn__icon {
    color: var(--to-blue) !important;

    background: var(--to-blue-soft) !important;
    border: 1px solid #d5e9ff;
}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.to-single-share .elementor-share-btn__title {
    display: block;

    margin: 0;
    padding: 0;

    color: var(--to-text-soft) !important;

    font-family: inherit !important;
    font-size: 10.5px !important;
    line-height: 1.2;
    font-weight: 650 !important;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   SHARE BUTTONS – SUBTILER HOVER
   Außen bleibt vollständig unverändert
   ========================================================= */

/* Gesamter Button: Hover darf Rahmen/Fläche nicht verändern */
.to-single-share .elementor-share-btn:hover,
.to-single-share .elementor-share-btn:focus,
.to-single-share .elementor-share-btn:focus-visible {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;

    border-color: var(--to-border) !important;

    box-shadow:
        0 1px 2px rgba(15, 23, 42, .03),
        0 3px 8px rgba(15, 23, 42, .035) !important;

    transform: none !important;
    outline: none !important;
}


/* Text bleibt ebenfalls ruhig */
.to-single-share .elementor-share-btn:hover .elementor-share-btn__title,
.to-single-share .elementor-share-btn:focus .elementor-share-btn__title {
    color: var(--to-text-soft) !important;
}


/* Icon-Box: einzige sichtbare Hover-Reaktion */
.to-single-share .elementor-share-btn:hover .elementor-share-btn__icon {
    transform: translateY(-1px);
}


/* Facebook */
.to-single-share
.elementor-share-btn_facebook:hover
.elementor-share-btn__icon {
    background: rgba(24, 119, 242, .10) !important;
    border-color: rgba(24, 119, 242, .22) !important;
    color: #1877f2 !important;
}


/* WhatsApp */
.to-single-share
.elementor-share-btn_whatsapp:hover
.elementor-share-btn__icon {
    background: rgba(37, 211, 102, .10) !important;
    border-color: rgba(37, 211, 102, .22) !important;
    color: #25d366 !important;
}


/* Telegram */
.to-single-share
.elementor-share-btn_telegram:hover
.elementor-share-btn__icon {
    background: rgba(34, 158, 217, .10) !important;
    border-color: rgba(34, 158, 217, .22) !important;
    color: #229ed9 !important;
}


/* E-Mail */
.to-single-share
.elementor-share-btn_email:hover
.elementor-share-btn__icon {
    background: rgba(22, 131, 243, .10) !important;
    border-color: rgba(22, 131, 243, .22) !important;
    color: var(--to-blue) !important;
}


/* Klick */
.to-single-share .elementor-share-btn:active {
    background: #fff !important;
    border-color: var(--to-border) !important;
    transform: none !important;
}

.to-single-share .elementor-share-btn:active .elementor-share-btn__icon {
    transform: scale(.97);
}

/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.to-single-share .elementor-share-btn:focus-visible {
    outline: 2px solid rgba(22, 131, 243, .3);
    outline-offset: 2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .to-single-share__heading {
        margin-top: 16px;
        margin-bottom: 9px;
    }

    .to-single-share__heading .elementor-heading-title {
        font-size: 12.5px;
    }

    .to-single-share .elementor-share-btn {
        min-height: 40px;
    }

    .to-single-share .elementor-share-btn__icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;

        margin-right: 7px !important;
    }

    .to-single-share .elementor-share-btn__icon svg {
        width: 13px;
        height: 13px;
    }

    .to-single-share .elementor-share-btn__title {
        font-size: 10px !important;
    }

}


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

@media (max-width: 767px) {

    .to-single-share__heading {
        margin-top: 15px;
        margin-bottom: 8px;
    }

    .to-single-share__heading .elementor-heading-title {
        font-size: 12px;
    }

    .to-single-share .elementor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 7px !important;
    }

    .to-single-share .elementor-share-btn {
        min-height: 40px;

        padding: 5px 8px 5px 5px;
    }

    .to-single-share .elementor-share-btn__icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

}


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

@media (max-width: 480px) {

    .to-single-share .elementor-grid {
        gap: 6px !important;
    }

    .to-single-share .elementor-share-btn {
        min-height: 38px;
    }

    .to-single-share .elementor-share-btn__icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;

        margin-right: 6px !important;
    }

    .to-single-share .elementor-share-btn__icon svg {
        width: 12px;
        height: 12px;
    }

    .to-single-share .elementor-share-btn__title {
        font-size: 9.5px !important;
    }

}


/* =========================================================
   11. TAGS
   ========================================================= */

.to-single .to-single-tags {
    width: 100%;
    max-width: 760px;
    margin: 0 auto !important;
    padding-top: 22px;

    border-top: 1px solid var(--to-border);

    font-size: 0;
}

.to-single .to-single-tags a {
    display: inline-flex;
    align-items: center;

    margin: 0 7px 7px 0;
    padding: 6px 9px;

    background: var(--to-surface);
    border: 1px solid var(--to-border);
    border-radius: var(--to-radius-pill);

    color: var(--to-text-soft) !important;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;

    transition:
        background-color var(--to-transition),
        border-color var(--to-transition),
        color var(--to-transition);
}

.to-single .to-single-tags a:hover {
    background: var(--to-blue-soft);
    border-color: #cfe5ff;
    color: var(--to-blue) !important;
}

.to-single-tags {
    width: 100%;
}

.to-single-tags .elementor-post-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.to-single-tags .elementor-icon-list-item {
    margin: 0 !important;
}

.to-single-tags .elementor-post-info__terms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.to-single-tags .elementor-post-info__terms-list-item {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--to-border);
    border-radius: 7px;
    background: var(--to-bg);
    color: var(--to-text-soft);
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color var(--to-transition),
        background var(--to-transition),
        color var(--to-transition);
}

.to-single-tags .elementor-post-info__terms-list-item:hover {
    border-color: #c7e1ff;
    background: var(--to-blue-soft);
    color: var(--to-blue);
}

/* =========================================================
   12. SIDEBAR LATEST POSTS / LOOP
   Elementor container:
   .to-single-latest.to-sidebar-card

   Loop item:
   .to-sidebar-news.to-clickable-card
   ├── .to-sidebar-news__image
   └── .to-sidebar-news__content
       ├── .to-sidebar-news__title
       └── .to-sidebar-news__date
   ========================================================= */

.to-single .to-single-latest {
    width: 100%;
    min-width: 0;
}

.to-single .to-single-latest:empty {
    display: none !important;
}

.to-single .to-single-latest .elementor-widget-loop-grid,
.to-single .to-single-latest .elementor-widget-loop-grid > .elementor-widget-container {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.to-single .to-single-latest .elementor-loop-container {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.to-single .to-single-latest .e-loop-item {
    width: 100%;
    min-width: 0;
}

.to-single .to-sidebar-news {
    width: 100%;
    min-width: 0;

    display: grid !important;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: stretch;
    gap: 11px;

    padding: 7px;

    background: var(--to-surface);
    border: 1px solid var(--to-border);
    border-radius: 9px;

    box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
    overflow: hidden;

    transition:
        border-color var(--to-motion-fast) var(--to-ease),
        box-shadow var(--to-motion-fast) var(--to-ease),
        transform var(--to-motion-fast) var(--to-ease);
}

.to-single .to-sidebar-news:hover {
    border-color: #cfe5ff;
    box-shadow: var(--to-shadow-sm);
    transform: translateY(-1px);
}

.to-single .to-sidebar-news__image {
    width: 80px !important;
    min-width: 80px;
    height: 64px;
    margin: 0 !important;
    overflow: hidden;

    background: var(--to-surface-soft);
    border-radius: 7px;
}

.to-single .to-sidebar-news__image,
.to-single .to-sidebar-news__image .elementor-widget-container,
.to-single .to-sidebar-news__image a {
    width: 100%;
    height: 100%;
    display: block;
}

.to-single .to-sidebar-news__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block;

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

    transition: transform var(--to-motion-normal) var(--to-ease);
}

.to-single .to-sidebar-news:hover .to-sidebar-news__image img {
    transform: scale(1.035);
}

.to-single .to-sidebar-news__content {
    width: 100%;
    min-width: 0;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px;

    padding: 1px 2px 1px 0;
}

.to-single .to-sidebar-news__title,
.to-single .to-sidebar-news__date {
    width: 100%;
    margin: 0 !important;
}

.to-single .to-sidebar-news__title .elementor-heading-title,
.to-single .to-sidebar-news__title a {
    margin: 0 !important;

    color: var(--to-text) !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    font-weight: 680 !important;
    letter-spacing: -.015em;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;

    transition: color var(--to-transition);
}

.to-single .to-sidebar-news:hover .to-sidebar-news__title .elementor-heading-title,
.to-single .to-sidebar-news:hover .to-sidebar-news__title a {
    color: var(--to-blue) !important;
}

.to-single .to-sidebar-news__date,
.to-single .to-sidebar-news__date * {
    color: var(--to-text-muted) !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    font-weight: 520 !important;
}


/* =========================================================
   13. ARTICLE LEADERBOARD AD
   ========================================================= */

.to-single .to-single-ad {
    width: 100%;
    padding-block: 38px 46px;
    background: var(--to-surface);
    border-top: 1px solid rgba(228, 233, 240, .72);
    border-bottom: 1px solid rgba(228, 233, 240, .72);
}

.to-single .to-single-ad > .to-container {
    display: flex;
    justify-content: center;
}


/* =========================================================
   14. RELATED POSTS SECTION
   Supports both corrected and current Elementor nesting
   ========================================================= */

.to-single .to-single-related {
    width: 100%;
    padding-block: 58px 66px;
    background: var(--to-bg);
}

.to-single .to-single-related > .to-container {
    width: 100%;
}


.to-single .to-single-related .to-single-related-grid,
.to-single .to-single-related .elementor-widget-loop-grid {
    width: 100%;
    margin: 0 !important;
}

.to-single .to-single-related .elementor-widget-loop-grid > .elementor-widget-container,
.to-single .to-single-related .elementor-loop-container {
    width: 100%;
}

.to-single .to-single-related .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.to-single .to-single-related .e-loop-item {
    min-width: 0;
    height: 100%;
}


/* ---------------------------------------------------------
   RELATED TAXONOMY FILTER
   Elementor Taxonomy Filter widget class: .to-related-filter
   --------------------------------------------------------- */

.to-single .to-single-related .to-related-filter {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-related .to-related-filter,
.to-single .to-single-related .to-related-filter .elementor-widget-container {
    width: 100%;
}

.to-single .to-single-related .to-related-filter .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-related .to-related-filter .e-filter {
    width: 100%;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-related .to-related-filter .e-filter-item {
    appearance: none;
    -webkit-appearance: none;

    min-width: 0;
    min-height: 32px;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto;

    margin: 0 !important;
    padding: 7px 11px !important;

    background: var(--to-surface) !important;
    background-color: var(--to-surface) !important;
    background-image: none !important;

    border: 1px solid var(--to-border) !important;
    border-radius: 8px !important;

    box-shadow: none !important;

    color: var(--to-text-soft) !important;

    font-family: inherit !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 620 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color var(--to-motion-fast) var(--to-ease),
        border-color var(--to-motion-fast) var(--to-ease),
        color var(--to-motion-fast) var(--to-ease),
        box-shadow var(--to-motion-fast) var(--to-ease),
        transform var(--to-motion-fast) var(--to-ease);
}

.to-single .to-single-related .to-related-filter .e-filter-item::before,
.to-single .to-single-related .to-related-filter .e-filter-item::after {
    display: none !important;
    content: none !important;
}

.to-single .to-single-related .to-related-filter .e-filter-item:hover {
    background: var(--to-blue-soft-2) !important;
    border-color: #cfe5ff !important;
    color: var(--to-blue-dark) !important;

    box-shadow: 0 1px 3px rgba(15, 23, 42, .035) !important;
    transform: translateY(-1px);
}

.to-single .to-single-related .to-related-filter .e-filter-item[aria-pressed="true"],
.to-single .to-single-related .to-related-filter .e-filter-item[aria-current="true"],
.to-single .to-single-related .to-related-filter .e-filter-item.e-active,
.to-single .to-single-related .to-related-filter .e-filter-item.elementor-active {
    background: var(--to-blue-soft) !important;
    border-color: #bcdcff !important;
    color: var(--to-blue-dark) !important;

    box-shadow:
        inset 0 0 0 1px rgba(22, 131, 243, .035),
        0 1px 3px rgba(15, 23, 42, .025) !important;

    font-weight: 700 !important;
    transform: none;
}

.to-single .to-single-related .to-related-filter .e-filter-item[aria-pressed="true"]:hover,
.to-single .to-single-related .to-related-filter .e-filter-item[aria-current="true"]:hover,
.to-single .to-single-related .to-related-filter .e-filter-item.e-active:hover,
.to-single .to-single-related .to-related-filter .e-filter-item.elementor-active:hover {
    background: #e3f1ff !important;
    border-color: #acd4ff !important;
    color: var(--to-blue-dark) !important;
    transform: none;
}

.to-single .to-single-related .to-related-filter .e-filter-item:focus {
    outline: none !important;
}

.to-single .to-single-related .to-related-filter .e-filter-item:focus-visible {
    outline: 2px solid rgba(22, 131, 243, .28) !important;
    outline-offset: 2px;
}


/* =========================================================
   14.1 INLINE AD + RELATED POSTS INSIDE MAIN COLUMN
   Recommended Elementor structure:
   article -> share -> leaderboard -> related posts
   ========================================================= */

.to-single .to-single-main > .to-single-ad {
    width: 100%;
    margin: 0 !important;
    padding: 2px 0 0 !important;

    background: transparent !important;
    border: 0 !important;
}

.to-single .to-single-main > .to-single-ad > .to-container {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-main > .to-single-ad .to-ad-slot--leaderboard {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

.to-single .to-single-main > .to-single-related {
    width: 100%;
    margin: 2px 0 0 !important;
    padding: 28px 0 0 !important;

    background: transparent !important;
    border-top: 1px solid var(--to-border);
}

.to-single .to-single-main > .to-single-related > .to-container {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.to-single .to-single-main > .to-single-related .to-section-heading {
    gap: 18px;
}

.to-single .to-single-main > .to-single-related .elementor-loop-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.to-single .to-single-main > .to-single-related .to-category-card__content {
    padding: 14px;
}

.to-single .to-single-main > .to-single-related .to-category-card__title .elementor-heading-title,
.to-single .to-single-main > .to-single-related .to-category-card__title a {
    font-size: 14px !important;
}


/* =========================================================
   15. SHARED COMPONENT CONTEXT OVERRIDES
   Shared base styles live in global.css. Only intentional
   Single-Post differences are kept here.
   ========================================================= */


/* Sidebar is slightly tighter inside article layouts */

.to-single .to-sidebar-card {
    min-width: 0;
    gap: 16px;
    margin: 0;
    padding: 20px;
    background: var(--to-surface);

    transition:
        border-color var(--to-motion-normal) var(--to-ease),
        box-shadow var(--to-motion-normal) var(--to-ease),
        transform var(--to-motion-normal) var(--to-ease);
}

.to-single .to-sidebar-card:hover {
    transform: translateY(-1px);
}

.to-single .to-sidebar-card__title {
    padding-bottom: 12px;
}

.to-single .to-sidebar-categories .elementor-icon-list-item {
    min-height: 36px;
    display: flex;
    align-items: center;
    border-radius: 8px;

    transition:
        background-color var(--to-transition),
        color var(--to-transition),
        transform var(--to-transition);
}

.to-single .to-sidebar-categories .elementor-icon-list-item > a,
.to-single .to-sidebar-categories .elementor-icon-list-item > .elementor-icon-list-text {
    min-height: 36px;
    padding: 7px 9px !important;
}

.to-single .to-sidebar-categories .elementor-icon-list-text {
    font-size: 12px !important;
    font-weight: 560 !important;
}


.to-single .to-sidebar-categories .elementor-icon-list-item:hover {
    background: var(--to-blue-soft);
    transform: translateX(2px);
}

.to-single .to-sidebar-categories .elementor-icon-list-item:hover > a,
.to-single .to-sidebar-categories .elementor-icon-list-item:hover > .elementor-icon-list-text {
    color: var(--to-blue) !important;
}


/* Advertising: sizes/placement are Single-Post specific.
   The actual image fill behavior remains centralized in global.css. */

.to-single .to-ad-slot {
    min-width: 0;

    background:
        linear-gradient(
            135deg,
            var(--to-surface) 0%,
            var(--to-blue-soft-2) 100%
        );
}

.to-single .to-ad-slot:hover {
    box-shadow: var(--to-shadow-md);
}

.to-single .to-ad-label {
    top: 8px;
    padding: 4px 7px;

    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(228, 233, 240, .94);
    border-radius: var(--to-radius-pill);

    color: var(--to-text-muted) !important;
    font-size: 8px !important;
    letter-spacing: .06em;

    box-shadow: var(--to-shadow-xs);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.to-single .to-ad-label,
.to-single .to-ad-label *,
.to-single .to-ad-label p,
.to-single .to-ad-label span,
.to-single .to-ad-label .elementor-heading-title {
    color: var(--to-text-muted) !important;
}

.to-single .to-ad-slot--skyscraper {
    max-height: 640px;
}

.to-single .to-ad-slot--leaderboard {
    width: min(100%, 920px);
    margin-inline: auto;
}


/* Related heading: supports the current Elementor nesting where the
   Loop Grid may live inside the same wrapper as the heading. */

.to-single .to-single-related .to-section-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;

    gap: 22px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0;
}

.to-single .to-single-related .to-section-heading::after {
    display: none;
}

.to-single .to-single-related .to-section-heading__title,
.to-single .to-single-related .to-section-heading > .elementor-widget-heading {
    width: 100%;
    position: relative;

    margin: 0 !important;
    padding-bottom: 14px;

    border-bottom: 1px solid var(--to-border);
}

.to-single .to-single-related .to-section-heading__title::after,
.to-single .to-single-related .to-section-heading > .elementor-widget-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 52px;
    height: 2px;

    background: var(--to-blue);
    border-radius: var(--to-radius-pill);
}

.to-single .to-single-related .to-section-heading > .elementor-widget-heading .elementor-heading-title {
    margin: 0 !important;

    color: var(--to-text) !important;

    font-size: clamp(22px, 2vw, 28px) !important;
    line-height: 1.15 !important;
    font-weight: 750 !important;
    letter-spacing: -0.025em !important;
}


/* Related cards: same component, slightly denser in Single Post */

.to-single .to-category-card {
    background: var(--to-surface);
}

.to-single .to-category-card__content {
    padding: 17px;
}

.to-single .to-category-card__category .elementor-heading-title {
    gap: 5px;
    line-height: 1 !important;
}

.to-single .to-category-card__category a {
    min-height: 20px;
    padding: 3px 6px;

    border: 1px solid #dcecff;
    border-radius: 5px;

    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 720;
    letter-spacing: .02em;

    transition:
        background-color var(--to-transition),
        border-color var(--to-transition),
        color var(--to-transition);
}

.to-single .to-category-card__title .elementor-heading-title,
.to-single .to-category-card__title a {
    line-height: 1.23;
    transition: color var(--to-transition);
}

.to-single .to-category-card__meta {
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 2px;

    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
}

.to-single .to-category-card__meta,
.to-single .to-category-card__meta * {
    color: var(--to-text-muted) !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    font-weight: 520 !important;
}

.to-single .to-category-card__meta .elementor-widget {
    width: auto !important;
    margin: 0 !important;
}


/* =========================================================
   16. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .to-single .to-single-hero {
        padding-block: 34px 32px;
    }

    .to-single .to-single-hero__inner {
        max-width: 860px;
        gap: 9px;
    }

    .to-single .to-single-title .elementor-heading-title,
    .to-single .to-single-title h1 {
        font-size: clamp(34px, 5vw, 46px) !important;
    }

    .to-single .to-single-media {
        padding-block: 24px 30px;
    }

    .to-single .to-single-content {
        padding-block: 46px 54px;
    }

    .to-single .to-single-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 26px;
    }

    .to-single .to-single-main {
        padding: 28px;
        border-radius: var(--to-radius-lg);
    }


    .to-single .to-single-sidebar {
        gap: 16px;
    }

    .to-single .to-sidebar-news {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 9px;
    }

    .to-single .to-sidebar-news__image {
        width: 72px !important;
        min-width: 72px;
        height: 60px;
    }

    .to-single .to-sidebar-news__title .elementor-heading-title,
    .to-single .to-sidebar-news__title a {
        font-size: 11.5px !important;
    }

    .to-single .to-single-related {
        padding-block: 50px 56px;
    }

    .to-single .to-single-related .to-related-filter .e-filter {
        gap: 6px !important;
    }

    .to-single .to-single-related .to-related-filter .e-filter-item {
        min-height: 31px;
        padding: 6px 10px !important;
        font-size: 10px !important;
    }

    .to-single .to-single-related .elementor-loop-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}


/* =========================================================
   17. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    /* ---------------------------------------------------------
       Mobile horizontal padding: single source of truth

       Elementor's default 10px container padding stacks on the
       hero section, the hero inner, the content section and the
       layout grid. At 390px that reduced the article column to
       284px (73% of the screen) and the H1 to 318px.

       .to-container keeps the page padding; .to-single-main keeps
       its own card padding. Everything between them adds none.
       No !important needed: these match single.css's own
       .to-single X convention (0,2,0) and win on cascade order.
       --------------------------------------------------------- */

    .to-single .to-single-hero,
    .to-single .to-single-hero__inner,
    .to-single .to-single-content,
    .to-single .to-single-layout,
    .to-single .to-single-sidebar,
    .to-single .to-single-related {
        padding-inline: 0;
    }

    .to-single .to-sidebar-card {
        gap: 14px;
        padding: 17px;
    }


    .to-single .to-sidebar-card__title .elementor-heading-title {
        font-size: 16px !important;
    }

    .to-single .to-sidebar-categories .elementor-icon-list-item,
    .to-single .to-sidebar-categories .elementor-icon-list-item > a,
    .to-single .to-sidebar-categories .elementor-icon-list-item > .elementor-icon-list-text {
        min-height: 34px;
    }

    .to-single .to-sidebar-categories .elementor-icon-list-text {
        font-size: 12px !important;
    }

    .to-single .to-ad-slot--skyscraper {
        width: min(100%, 300px);
        margin-inline: auto;
    }

    .to-single .to-ad-slot--leaderboard {
        min-height: 0;
        border-radius: var(--to-radius-md);
    }

    .to-single .to-ad-label {
        top: 6px;
        left: 7px;
        padding: 3px 6px;
        font-size: 7px !important;
    }

    .to-single .to-single-related .to-section-heading {
        gap: 18px;
    }

    .to-single .to-single-related .to-section-heading__title .elementor-heading-title,
    .to-single .to-single-related .to-section-heading > .elementor-widget-heading .elementor-heading-title {
        font-size: 21px !important;
    }


    .to-single .to-single-related .to-related-filter {
        overflow: hidden;
    }

    .to-single .to-single-related .to-related-filter .e-filter {
        flex-wrap: nowrap !important;

        gap: 6px !important;

        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;

        padding: 1px 1px 3px !important;

        scrollbar-width: none;
    }

    .to-single .to-single-related .to-related-filter .e-filter::-webkit-scrollbar {
        display: none;
    }

    .to-single .to-single-related .to-related-filter .e-filter-item {
        min-height: 30px;
        padding: 6px 9px !important;
        font-size: 10px !important;
    }

    .to-single .to-category-card {
        display: grid !important;
        grid-template-columns: 132px minmax(0, 1fr);
        align-items: stretch;
    }

    .to-single .to-category-card__image {
        height: 100%;
        min-height: 150px;
        aspect-ratio: auto;
    }

    .to-single .to-category-card__content {
        gap: 7px;
        padding: 14px;
    }

    .to-single .to-category-card__category .elementor-heading-title {
        flex-wrap: nowrap;
        overflow: hidden;
        gap: 4px;
    }

    .to-single .to-category-card__category a {
        min-height: 18px;
        padding: 3px 5px;
        font-size: 7px !important;
        white-space: nowrap;
    }

    .to-single .to-category-card__title .elementor-heading-title,
    .to-single .to-category-card__title a {
        font-size: 14px !important;
        line-height: 1.23 !important;
    }


    .to-single .to-category-card__meta,
    .to-single .to-category-card__meta * {
        font-size: 9px !important;
    }


    .to-single .to-single-hero {
        padding-block: 28px 26px;
    }

    .to-single .to-single-hero__inner {
        max-width: none;
        gap: 9px;
    }

    .to-single .to-single-breadcrumbs .rank-math-breadcrumb p {
        font-size: 11px !important;
        gap: 4px;
    }

    .to-single .to-single-breadcrumbs .last {
        max-width: 220px;
    }

    .to-single .to-single-categories .elementor-post-info__terms-list {
        margin-bottom: -5px !important;
    }

    .to-single .to-single-categories .elementor-post-info__terms-list-item,
    .to-single .to-single-categories .elementor-post-info__terms-list > a {
        min-height: 22px;
        margin: 0 5px 5px 0 !important;
        padding: 4px 7px !important;
        font-size: 8px !important;
    }

    .to-single .to-single-title .elementor-heading-title,
    .to-single .to-single-title h1 {
        max-width: none;
        font-size: clamp(31px, 9vw, 42px) !important;
        line-height: 1.055 !important;
        letter-spacing: -0.04em !important;
    }

    .to-single .to-single-lead {
        font-size: 15px;
        line-height: 1.56;
    }

    .to-single .to-single-meta {
        gap: 4px !important;
        padding: 0;
    }

    .to-single .to-single-meta__author,
    .to-single .to-single-meta__date,
    .to-single .to-single-meta__reading,
    .to-single .to-single-meta__author *,
    .to-single .to-single-meta__date *,
    .to-single .to-single-meta__reading * {
        font-size: 10px !important;
    }

    .to-single .to-single-media {
        padding-block: 18px 24px;
    }

    .to-single .to-single-image {
        border-radius: var(--to-radius-lg);
    }

    .to-single .to-single-image img {
        aspect-ratio: 4 / 3;
    }

    .to-single .to-single-content {
        padding-block: 28px 38px;
    }

    .to-single .to-single-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px;
    }

    .to-single .to-single-main {
        gap: 20px;
        padding: 22px 20px;
        border-radius: var(--to-radius-lg);
    }

    .to-single .to-single-article {
        font-size: 16px;
        line-height: 1.72;
    }

    .to-single .to-single-article h2 {
        font-size: 25px !important;
    }

    .to-single .to-single-article h3 {
        font-size: 21px !important;
    }

    .to-single .to-single-article blockquote {
        padding: 16px;
        font-size: 16px;
    }

    .to-single .to-single-main .elementor-widget-share-buttons {
        padding-top: 20px;
    }

    .to-single .to-single-main .elementor-widget-share-buttons .elementor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .to-single .to-single-main .elementor-share-btn {
        min-height: 40px !important;
    }

    .to-single .to-single-main .elementor-share-btn__icon {
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
    }

    .to-single .to-single-main .elementor-share-btn__title {
        font-size: 10.5px !important;
    }

    .to-single .to-single-sidebar {
        gap: 14px;
    }

    .to-single .to-sidebar-news {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 11px;
    }

    .to-single .to-sidebar-news__image {
        width: 84px !important;
        min-width: 84px;
        height: 66px;
    }

    .to-single .to-sidebar-news__title .elementor-heading-title,
    .to-single .to-sidebar-news__title a {
        font-size: 12px !important;
    }


    .to-single .to-single-ad {
        padding-block: 28px 34px;
    }


    .to-single .to-single-related {
        padding-block: 40px 46px;
    }


    .to-single .to-single-related .elementor-loop-container {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .to-single .to-single-main > .to-single-related {
        padding-top: 24px !important;
    }

    .to-single .to-single-main > .to-single-related .elementor-loop-container {
        grid-template-columns: 1fr !important;
    }


}


/* =========================================================
   18. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .to-single .to-single-hero {
        padding-block: 24px 24px;
    }

    .to-single .to-single-title .elementor-heading-title,
    .to-single .to-single-title h1 {
        font-size: 31px !important;
    }

    .to-single .to-single-meta {
        width: auto !important;
    }

    .to-single .to-single-meta__date::before,
    .to-single .to-single-meta__reading::before {
        margin-right: 4px;
    }

    .to-single .to-single-main {
        padding: 18px 16px;
    }

    .to-single .to-single-main .elementor-widget-share-buttons .elementor-grid {
        gap: 8px !important;
    }

    .to-single .to-single-main .elementor-share-btn {
        min-height: 38px !important;
        gap: 7px !important;
        padding: 4px 8px !important;
    }

    .to-single .to-single-main .elementor-share-btn__icon {
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
    }

    .to-single .to-single-main .elementor-share-btn__icon svg {
        width: 13px !important;
        height: 13px !important;
    }

    .to-single .to-single-main .elementor-share-btn__title {
        font-size: 10px !important;
    }


    .to-single .to-single-related .to-related-filter .e-filter {
        gap: 5px !important;
    }

    .to-single .to-single-related .to-related-filter .e-filter-item {
        min-height: 29px;
        padding: 6px 8px !important;
        border-radius: 7px !important;
        font-size: 9.5px !important;
    }


    .to-single .to-category-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .to-single .to-category-card__image {
        min-height: 136px;
    }

    .to-single .to-category-card__content {
        padding: 12px !important;
    }

    .to-single .to-category-card__title .elementor-heading-title,
    .to-single .to-category-card__title a {
        font-size: 13px !important;
    }


}


/* =========================================================
   19. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .to-single .to-single-categories a,
    .to-single .to-single-breadcrumbs a,
    .to-single .to-single-article a,
    .to-single .to-single-tags a,
    .to-single .to-single-related .to-related-filter .e-filter-item,
    .to-single .to-sidebar-card,
    .to-single .to-sidebar-categories .elementor-icon-list-item,
    .to-single .to-ad-slot,
    .to-single .to-ad-banner img,
    .to-single .to-category-card,
    .to-single .to-category-card__image img,
    .to-single .to-single-main .elementor-share-btn {
        transition: none !important;
    }

    .to-single .to-single-categories a:hover,
    .to-single .to-single-related .to-related-filter .e-filter-item:hover,
    .to-single .to-sidebar-card:hover,
    .to-single .to-sidebar-categories .elementor-icon-list-item:hover,
    .to-single .to-ad-slot:hover,
    .to-single .to-category-card:hover,
    .to-single .to-single-main .elementor-share-btn:hover {
        transform: none !important;
    }
}
