@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

body.thought-category-page,
body.editorial-list-page {
    background: #FDFDFD;
}

body.thought-category-page #sf-main-content,
body.editorial-list-page #sf-main-content {
    background: #FDFDFD;
    color: #171511;
    font-family: 'Inter', Arial, sans-serif;
}

body.thought-category-page .whats-news-area,
body.editorial-list-page .whats-news-area {
    padding: clamp(34px, 5vw, 66px) 0 clamp(70px, 8vw, 118px) !important;
    background: #FDFDFD;
}

body.thought-category-page .whats-news-area .container,
body.editorial-list-page .whats-news-area .container {
    max-width: 1360px;
}

body.thought-category-page .whats-news-area .row,
body.thought-category-page .whats-news-area [class*="col-"],
body.editorial-list-page .whats-news-area .row,
body.editorial-list-page .whats-news-area [class*="col-"] {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.thought-category-page .blog_left_sidebar,
body.editorial-list-page .blog_left_sidebar {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: clamp(48px, 6vw, 86px);
    align-items: stretch;
    width: min(1220px, calc(100vw - 96px));
    margin: 0 auto;
}

.thought-feature {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(300px, 0.58fr);
    gap: clamp(42px, 6vw, 80px);
    align-items: center;
}

.thought-feature--reverse {
    grid-template-columns: minmax(300px, 0.58fr) minmax(240px, 0.42fr);
}

.thought-feature .thought-feature__content {
    order: 1;
}

.thought-feature .thought-feature__media {
    order: 2;
}

.thought-feature--reverse .thought-feature__media {
    order: 1;
}

.thought-feature--reverse .thought-feature__content {
    order: 2;
}

.thought-feature__media {
    display: block;
    aspect-ratio: 1.75;
    margin: 0;
    overflow: hidden;
    background: #dedbd4;
    border: 1px solid rgba(23, 21, 17, 0.1);
}

.thought-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    transition: transform 0.6s ease;
}

.thought-feature:hover .thought-feature__media img {
    transform: scale(1.025);
}

.thought-feature__content {
    max-width: 370px;
}

.thought-feature__content h2 {
    margin: 0;
    color: #171511;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(38px, 3.7vw, 58px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: 0;
}

.thought-feature__content h2 a {
    color: inherit;
}

.thought-feature__content p {
    margin: 26px 0 0;
    color: #625d56;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.68;
}

.thought-feature__link {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    margin-top: 30px;
    color: #77716a;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.thought-feature__link span:first-child {
    border-bottom: 1px solid rgba(23, 21, 17, 0.18);
}

.thought-feature__link span:last-child {
    color: #302d28;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 28px;
    transition: transform 0.2s ease;
}

.thought-feature__link:hover {
    color: #171511;
}

.thought-feature__link:hover span:last-child {
    transform: translateX(4px);
}

body.thought-category-page .pagination-area,
body.editorial-list-page .pagination-area {
    padding-bottom: 110px !important;
    background: #FDFDFD;
}

body.thought-category-page .pagination-dynamic-container,
body.editorial-list-page .pagination-dynamic-container {
    width: min(1220px, calc(100vw - 96px));
    margin: 0 auto;
}

body.thought-category-page .pagination .page-link,
body.editorial-list-page .pagination .page-link {
    border: 0;
    color: #625d56;
    background: transparent;
    font-weight: 600;
}

body.thought-category-page .pagination .page-item.active .page-link,
body.editorial-list-page .pagination .page-item.active .page-link {
    color: #171511;
    background: transparent;
    border-bottom: 1px solid rgba(23, 21, 17, 0.28);
}

.thought-skeleton {
    width: min(1220px, calc(100vw - 96px));
    margin: 0 auto;
}

.thought-skeleton__row {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(460px, 0.58fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(48px, 6vw, 86px);
}

.thought-skeleton__text,
.thought-skeleton__image {
    min-height: 220px;
    background: linear-gradient(90deg, #eeeeec 25%, #f8f8f7 50%, #eeeeec 75%);
    background-size: 900px 100%;
    animation: thought-shimmer 1.5s infinite linear;
}

.thought-skeleton__image {
    aspect-ratio: 1.72;
}

@keyframes thought-shimmer {
    0% { background-position: -900px 0; }
    100% { background-position: 900px 0; }
}

@media (max-width: 991px) {
    body.thought-category-page .blog_left_sidebar,
    body.thought-category-page .pagination-dynamic-container,
    body.editorial-list-page .blog_left_sidebar,
    body.editorial-list-page .pagination-dynamic-container,
    .thought-skeleton {
        width: min(680px, calc(100vw - 40px));
    }

    .thought-feature,
    .thought-feature--reverse,
    .thought-skeleton__row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .thought-feature .thought-feature__media,
    .thought-feature .thought-feature__content,
    .thought-feature--reverse .thought-feature__media,
    .thought-feature--reverse .thought-feature__content {
        order: initial;
    }

    .thought-feature__media {
        aspect-ratio: 1.34;
    }

    .thought-feature__content {
        max-width: none;
    }
}

@media (max-width: 575px) {
    body.thought-category-page .whats-news-area,
    body.editorial-list-page .whats-news-area {
        padding-top: 28px !important;
    }

    .thought-feature__content h2 {
        font-size: 36px;
    }

    .thought-feature__content p {
        font-size: 15px;
    }

    .thought-feature__link {
        font-size: 19px;
    }
}
