/* =========================================================
   SIMPLE TMNF HERO SLIDER
   Clean desktop + mobile layout
   ========================================================= */

.tmnf-simple-hero {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #0b0d12;
}

/* Remove spacing between the header and slider */
header + .tmnf-simple-hero,
.site-header + .tmnf-simple-hero,
#masthead + .tmnf-simple-hero,
.site-content > .tmnf-simple-hero:first-child,
main > .tmnf-simple-hero:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Main slider size */
.tmnf-simple-hero__swiper {
    position: relative;
    width: 100%;
    height: 340px;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0b0d12;
}

.tmnf-simple-hero__swiper,
.tmnf-simple-hero__swiper .swiper-wrapper,
.tmnf-simple-hero__swiper .swiper-slide {
    box-sizing: border-box;
}

/* Slide */
.tmnf-simple-hero__slide {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 340px;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #12151c;
}

/* Background image wrapper */
.tmnf-simple-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Background image */
.tmnf-simple-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 5s ease;
}

.tmnf-simple-hero__slide.swiper-slide-active
.tmnf-simple-hero__image {
    transform: scale(1);
}

/* Placeholder image */
.tmnf-simple-hero__placeholder {
    background:
        radial-gradient(
            circle at 25% 35%,
            rgba(0, 212, 200, 0.2),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #171b25,
            #0b0d12
        );
}

/* Readability overlay */
.tmnf-simple-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(4, 6, 9, 0.92) 0%,
            rgba(4, 6, 9, 0.76) 38%,
            rgba(4, 6, 9, 0.36) 70%,
            rgba(4, 6, 9, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 6, 9, 0.78) 0%,
            rgba(4, 6, 9, 0.12) 65%
        );
}

/* Content container */
.tmnf-simple-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 28px 72px;
    box-sizing: border-box;
}

/* Content block */
.tmnf-simple-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(700px, 72%);
    max-width: 700px;
    margin: 0;
    padding: 0;
}

/* Category badge */
.tmnf-simple-hero__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 0 0 12px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: #32ddd5;
    color: #04100f;
    font-family: "Exo 2", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-sizing: border-box;
}

.tmnf-simple-hero__category:hover {
    background: #63f4ed;
    color: #04100f;
}

/* Title */
.tmnf-simple-hero__title {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    font-family: "Exo 2", Arial, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.95),
        0 10px 28px rgba(0, 0, 0, 0.75);
}

.tmnf-simple-hero__title a {
    color: inherit;
    text-decoration: none;
}

.tmnf-simple-hero__title a:hover {
    color: #63f4ed;
}

/* Excerpt */
.tmnf-simple-hero__excerpt {
    display: -webkit-box;
    max-width: 58ch;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.55;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Date + button row */
.tmnf-simple-hero__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Date */
.tmnf-simple-hero__date {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Exo 2", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

/* Read-more button */
.tmnf-simple-hero__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #0a0c10;
    font-family: "Exo 2", Arial, sans-serif;
    font-size: 0.83rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.tmnf-simple-hero__button:hover {
    background: #63f4ed;
    color: #07100f;
    transform: translateY(-1px);
}

.tmnf-simple-hero__button svg {
    flex: 0 0 auto;
}

/* Navigation buttons */
.tmnf-simple-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(7, 9, 13, 0.7);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.tmnf-simple-hero__arrow:hover {
    border-color: rgba(99, 244, 237, 0.75);
    background: rgba(0, 212, 200, 0.88);
    color: #04100f;
}

.tmnf-simple-hero__arrow::after {
    display: none !important;
    content: none !important;
}

.tmnf-simple-hero__arrow--prev {
    left: 18px;
}

.tmnf-simple-hero__arrow--next {
    right: 18px;
}

/* Pagination */
.tmnf-simple-hero__pagination {
    right: 20px;
    bottom: 13px !important;
    left: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 10px;
    line-height: 1;
}

.tmnf-simple-hero__pagination
.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 4px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
    transition:
        width 180ms ease,
        border-radius 180ms ease,
        background-color 180ms ease;
}

.tmnf-simple-hero__pagination
.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: #48e6df;
}

/* Keyboard focus */
.tmnf-simple-hero__category:focus-visible,
.tmnf-simple-hero__title a:focus-visible,
.tmnf-simple-hero__button:focus-visible,
.tmnf-simple-hero__arrow:focus-visible {
    outline: 3px solid #63f4ed;
    outline-offset: 3px;
}

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

@media (max-width: 900px) {
    .tmnf-simple-hero__swiper,
    .tmnf-simple-hero__slide {
        height: 300px;
    }

    .tmnf-simple-hero__inner {
        padding: 24px 62px;
    }

    .tmnf-simple-hero__content {
        width: min(620px, 82%);
    }

    .tmnf-simple-hero__title {
        font-size: clamp(1.6rem, 4vw, 2.25rem);
    }
}

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

@media (max-width: 640px) {
    .tmnf-simple-hero {
        margin: 0 !important;
        padding: 0 !important;
    }

    .tmnf-simple-hero__swiper,
    .tmnf-simple-hero__slide {
        width: 100%;
        height: 250px;
        min-height: 0;
        max-height: 250px;
    }

    .tmnf-simple-hero__slide {
        align-items: center;
    }

    .tmnf-simple-hero__image {
        object-position: center;
        transform: none;
    }

    .tmnf-simple-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(4, 6, 9, 0.82) 0%,
                rgba(4, 6, 9, 0.62) 70%,
                rgba(4, 6, 9, 0.32) 100%
            ),
            linear-gradient(
                0deg,
                rgba(4, 6, 9, 0.92) 0%,
                rgba(4, 6, 9, 0.48) 62%,
                rgba(4, 6, 9, 0.24) 100%
            );
    }

    .tmnf-simple-hero__inner {
        display: flex;
        align-items: center !important;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 16px 16px 26px;
        box-sizing: border-box;
    }

    .tmnf-simple-hero__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .tmnf-simple-hero__category {
        min-height: auto;
        margin: 0 0 8px;
        padding: 4px 9px;
        font-size: 9px;
        line-height: 1;
    }

    .tmnf-simple-hero__title {
        display: -webkit-box;
        width: 100%;
        margin: 0 0 11px;
        padding: 0;
        overflow: hidden;
        font-size: clamp(1.18rem, 5.4vw, 1.5rem);
        line-height: 1.12;
        letter-spacing: -0.02em;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .tmnf-simple-hero__excerpt {
        display: none;
    }

    .tmnf-simple-hero__footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
        margin: 0;
    }

    .tmnf-simple-hero__date {
        display: inline-block;
        flex: 0 0 auto;
        margin: 0;
        font-size: 0.71rem;
        white-space: nowrap;
    }

    .tmnf-simple-hero__button {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 33px;
        margin: 0;
        padding: 7px 11px;
        border-radius: 7px;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .tmnf-simple-hero__button svg {
        width: 14px;
        height: 14px;
    }

    .tmnf-simple-hero__arrow {
        display: none !important;
    }

    .tmnf-simple-hero__pagination {
        right: 16px;
        bottom: 8px !important;
        left: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto !important;
        height: 8px;
    }

    .tmnf-simple-hero__pagination
    .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 4px !important;
    }

    .tmnf-simple-hero__pagination
    .swiper-pagination-bullet-active {
        width: 22px;
    }
}

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

@media (max-width: 390px) {
    .tmnf-simple-hero__swiper,
    .tmnf-simple-hero__slide {
        height: 230px;
        max-height: 230px;
    }

    .tmnf-simple-hero__inner {
        padding: 14px 14px 24px;
    }

    .tmnf-simple-hero__category {
        margin-bottom: 7px;
        padding: 4px 8px;
        font-size: 8.5px;
    }

    .tmnf-simple-hero__title {
        margin-bottom: 9px;
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .tmnf-simple-hero__footer {
        gap: 9px;
    }

    .tmnf-simple-hero__date {
        font-size: 0.65rem;
    }

    .tmnf-simple-hero__button {
        min-height: 30px;
        padding: 6px 9px;
        font-size: 0.66rem;
    }
}

/* =========================================================
   VERY NARROW PHONES
   ========================================================= */

@media (max-width: 340px) {
    .tmnf-simple-hero__swiper,
    .tmnf-simple-hero__slide {
        height: 215px;
        max-height: 215px;
    }

    .tmnf-simple-hero__date {
        display: none;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .tmnf-simple-hero__image,
    .tmnf-simple-hero__button,
    .tmnf-simple-hero__arrow {
        transition: none;
    }
}
