body {
    background: #ffffff;
    color: #222;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body.blog .site-content,
body.archive .site-content{
    display:initial;
}
body.category-blog .site-content{
}

.trs-container {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}

.trs-blog-page,
.trs-single-page {
    padding: 0 0 80px;
}

.trs-blog-header {
    margin-bottom: 22px;
    padding-top: 28px;
}

.trs-blog-header__top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
}

.trs-blog-title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    font-size: 5rem;
    line-height: .9;
    font-weight: 300;
    letter-spacing: -0.04em;
}

.trs-blog-title a {
    color: #111;
    text-decoration: none;
    left: -5px;
    position: relative;
}

.trs-blog-maincats {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 12px;
    border-bottom: 1px solid #d6ddd8;
    min-height: 60px;
}

.trs-blog-maincats > a,
.trs-blog-more__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 0 14px;
    border: 0;
    background: transparent;
    color: #5b605f;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

.trs-blog-maincats > a:hover,
.trs-blog-maincats > a.is-active,
.trs-blog-more__toggle:hover,
.trs-blog-more__toggle:focus,
.trs-blog-more.is-open .trs-blog-more__toggle {
    color: #013527;
    background-color: transparent;
}
.trs-blog-more.is-open .trs-blog-more__toggle:hover,
.trs-blog-more.is-open .trs-blog-more__toggle:focus {
    color: #013527;
    background-color: transparent;
}

.trs-blog-maincats > a.is-active::after,
.trs-blog-maincats > a:hover::after,
.trs-blog-more.is-open .trs-blog-more__toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 4px;
    background: #8ac5a1;
}

.trs-blog-more {
    position: relative;
    margin-left: auto;
}

.trs-blog-more__toggle {
    gap: 6px;
}

.trs-blog-more__arrow {
    /* font-size: .9em; */
    /* line-height: 1; */
    transition: transform .2s ease;
    border: solid #5b605f;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
}

.trs-blog-more.is-open .trs-blog-more__arrow {
    transform: rotate(-135deg);
}

.trs-blog-more__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #f1f3f0;
    border: 1px solid #d6ddd8;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    padding: 8px 0;
    z-index: 30;
}

.trs-blog-more__menu a {
    display: block;
    padding: 10px 16px;
    color: #2a2d2c;
    text-decoration: none;
    font-size: .98rem;
}

.trs-blog-more__menu a:hover,
.trs-blog-more__menu a.is-active {
    background: #e6ebe6;
    color: #013527;
}

.trs-featured {
    margin-bottom: 36px;
}

.trs-featured-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: stretch;
    border-top: 1px solid #d6ddd8;
    border-bottom: 1px solid #d6ddd8;
    padding-bottom: 30px;
}

.trs-featured-card__content {
    padding-top: 20px;
}

.trs-featured-card__title {
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    /* line-height: .98; */
    letter-spacing: -0.04em;
    font-weight: 400;
}

.trs-featured-card__title a {
    text-decoration: none;
    color: #111;
}

.trs-featured-card__excerpt {
    max-width: 620px;
    margin-bottom: 110px;
    font-size: 1rem;
    line-height: 1.45;
    color: #434846;
}

.trs-featured-card__image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.trs-meta {
    color: #6a716d;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-size: 0.875rem;
    line-height: 1.4;
    /* text-transform: uppercase; */
    letter-spacing: .01em;
    margin-top: auto;
}

.trs-top-three {
    margin-bottom: 34px;
}

.trs-top-three__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.trs-one-big-two-small {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
}
.trs-one-big-two-small .trs-big {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}

.trs-hero-article {
    position: relative;
}

.trs-hero-article__link {
    position: relative;
    display: flex;
    min-height: 340px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #ddd;
}

.trs-hero-article__media,
.trs-hero-article__media img,
.trs-hero-article__overlay {
    position: absolute;
    inset: 0;
}

.trs-hero-article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trs-hero-article__overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.34) 38%,
        rgba(0, 0, 0, 0.68) 100%
    )
}

.trs-hero-article__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 28px 36px 30px;
    display: flex;
    flex-direction: column;
}

.trs-hero-article__meta {
    margin-bottom: 5rem;
    font-size: .875rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
}

.trs-hero-article__title {
    margin: auto 0 18px;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
}

.trs-hero-article__excerpt {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
}


.trs-one-big-two-small .trs-two-small-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}
.trs-one-big-two-small .trs-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}

.trs-card--vertical {
    border-bottom: 1px solid #d6ddd8;
    padding-bottom: 20px;
    display: grid;
    /* align-items: flex-start; */
    /* grid-template-columns: repeat(1, minmax(0, 1fr)); */
    /* grid-template-columns: repeat(2, 1fr); */
    flex-direction: column;
    display: flex;
}
.trs-card--vertical .trs-card__image img {
    width: 100%;
    aspect-ratio: 1.16 / 1;
    object-fit: cover;
    display: block;
    margin-bottom: 14px;
}

.trs-card__title {
    margin: 20px 0 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.28;
    font-weight: 500;
    letter-spacing: -0.02em;
    align-self: flex-start;
}

.trs-card__title a {
    color: #1f2221;
    text-decoration: none;
}

.trs-card__excerpt {
    margin-bottom: 16px;
    color: #4f5552;
    font-size: .95rem;
    line-height: 1.45;
}

.trs-post-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trs-post-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 28px 0;
}

.trs-card--horizontal {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid #d6ddd8;
    padding-bottom: 20px;
}
.trs-card__body {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trs-card__thumb img {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    display: block;
}

.trs-card--horizontal .trs-card__title {
    font-size: 1rem;
    margin: 0 0 8px;
}

.trs-card--horizontal .trs-card__excerpt {
    font-size: .92rem;
    margin-bottom: 16px;
}

.trs-news-inline__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
    padding: 28px;
    background: #eef6f0;
    border-left: 4px solid #8ac5a1;
}

.trs-news-inline__inner h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    line-height: 1.05;
    color: #013527;
    letter-spacing: -0.03em;
}

.trs-news-inline__inner p {
    margin: 0 0 16px;
    color: #4f5552;
}

.trs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #8ac5a1;
    color: #013527;
    text-decoration: none;
    font-weight: 700;
    width: fit-content;
    border: 0;
}

.trs-btn:hover {
    background: #013527;
    color: #dcffe0;
}

.trs-load-more {
    margin-top: 34px;
    text-align: center;
}

.trs-load-more .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 4px;
    border: 1px solid #cfd6d1;
    border-radius: 999px;
    text-decoration: none;
    color: #013527;
    background: #fff;
}

.trs-load-more .page-numbers.current,
.trs-load-more .page-numbers:hover {
    background: #dcffe0;
    border-color: #8ac5a1;
}

.trs-archive-intro,
.trs-author-intro {
    margin-bottom: 28px;
}

.trs-archive-intro__title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.05;
    color: #013527;
}

.trs-archive-intro__desc {
    color: #4f5552;
    max-width: 720px;
}

.trs-author-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    align-items: center;
}

.trs-author-card__avatar img {
    border-radius: 50%;
}

.trs-search-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.trs-search-form input {
    flex: 1;
    min-height: 46px;
    border: 1px solid #cfd6d1;
    padding: 0 14px;
    background: #fff;
}

.trs-single-hero {
    margin-bottom: 30px;
}

.trs-single-hero__media img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.trs-single-hero__content {
    padding-top: 18px;
}

.trs-single-hero__title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: .98;
    letter-spacing: -0.04em;
    font-weight: 400;
}

.trs-single-content__inner {
    max-width: 760px;
}

.trs-single-content p,
.trs-single-content li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2b2f2d;
}

.trs-single-content h2,
.trs-single-content h3 {
    color: #013527;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.trs-single-content img {
    max-width: 100%;
    height: auto;
}

.trs-related-posts {
    margin-top: 50px;
}

.trs-related-posts__title {
    margin: 0 0 24px;
    font-size: 2rem;
    color: #013527;
}

/* wrapper definiše visinu */
.trs-card__image {
    display: block;
    width: 100%;
    height: 260px; /* ← ista visina za sve */
    overflow: hidden;
}

/* slika se cropuje */
.trs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trs-card__thumb {
    width: 160px;
    height: 120px; /* ista visina */
    overflow: hidden;
}

.trs-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trs-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.trs-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 1100px) {
    .trs-blog-header__top {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trs-blog-title {
        font-size: 3.8rem;
    }

    .trs-blog-maincats {
        padding-top: 0;
    }

    .trs-blog-more {
        margin-left: 0;
    }

    .trs-featured-card {
        grid-template-columns: 1fr;
    }

    .trs-featured-card__excerpt {
        margin-bottom: 24px;
    }

    .trs-top-three__grid {
        grid-template-columns: 1fr;
    }

    .trs-post-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .trs-container {
        width: min(1140px, calc(100% - 24px));
    }

    .trs-featured .trs-container {
        width:100%;
    }

    .trs-blog-title {
        font-size: 2.8rem;
    }

    .trs-blog-maincats {
        gap: 14px;
    }

    .trs-blog-maincats > a,
    .trs-blog-more__toggle {
        font-size: .95rem;
        padding-bottom: 12px;
    }

    .trs-card--horizontal {
        grid-template-columns: 120px 1fr;
    }

    .trs-news-inline__inner h3 {
        font-size: 1.4rem;
    }

    .trs-featured-card__title,
    .trs-single-hero__title {
        font-size: 2.2rem;
    }

    .trs-search-form {
        flex-direction: column;
    }

    .trs-author-card {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .trs-hero-article__link {
        min-height: 280px;
    }

    .trs-hero-article__content {
        padding: 20px 20px 22px;
    }

    .trs-hero-article__meta {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .trs-hero-article__excerpt {
        font-size: 0.95rem;
    }
}
@media (max-width: 767px) {
    .trs-blog-maincats {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .trs-blog-maincats::-webkit-scrollbar {
        display: none;
    }

    .trs-blog-maincats > a,
    .trs-blog-more {
        flex: 0 0 auto;
    }
}
@media (max-width: 767px) {
    .trs-card--horizontal {
        grid-template-columns: 110px 1fr;
        gap: 12px;
    }

    .trs-card__thumb {
        width: 110px;
        min-width: 110px;
        height: 82px;
    }

    .trs-card--horizontal .trs-card__title {
        font-size: 0.95rem;
        line-height: 1.22;
    }

    .trs-card--horizontal .trs-card__excerpt {
        font-size: 0.88rem;
        line-height: 1.35;
    }
}
.trs-blog-maincats--mobile {
    display: none;
}

@media (max-width: 767px) {
    .trs-blog-maincats--desktop {
        display: none;
    }

    .trs-blog-maincats--mobile {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-top: 0;
        border-bottom: 1px solid #d6ddd8;
        min-height: auto;
    }

    .trs-blog-maincats--mobile::-webkit-scrollbar {
        display: none;
    }

    .trs-blog-maincats--mobile > a {
        flex: 0 0 auto;
    }
}