/* Listagem do blog — apenas blog.index */

.blog-index-header {
    background: linear-gradient(180deg, #e8f0f8 0%, #f4f7fb 38%, #ffffff 100%);
    border-bottom: 1px solid #e4e9f0;
    padding: 2.75rem 0 3rem;
}
@media (min-width: 768px) {
    .blog-index-header {
        padding: 3.25rem 0 3.5rem;
    }
}
.blog-index-header__content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.blog-index-header__title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #12151a;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}
@media (min-width: 768px) {
    .blog-index-header__title {
        font-size: 2.5rem;
    }
}
.blog-index-header__crumb {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0 0 1.75rem;
    line-height: 1.5;
}
.blog-index-header__crumb a {
    color: #1967d2;
    text-decoration: none;
    font-weight: 500;
}
.blog-index-header__crumb a:hover {
    text-decoration: underline;
}
.blog-index-header__crumb .sep {
    margin: 0 0.45rem;
    color: #c5cad3;
    font-weight: 400;
}
.blog-index-header__crumb .current {
    color: #9ca3af;
    font-weight: 500;
}
.blog-index-search {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}
.blog-index-search input[type="search"],
.blog-index-search input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 3.25rem 0 1.25rem;
    font-size: 0.9375rem;
    color: #374151;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(32, 33, 36, 0.06);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.blog-index-search input::placeholder {
    color: #9ca3af;
}
.blog-index-search input:focus {
    outline: none;
    border-color: #1967d2;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.15);
}
.blog-index-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #1967d2;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.blog-index-search button:hover {
    background: #1558b0;
}
.blog-index-search button .icon {
    font-size: 16px;
    line-height: 1;
    position: static;
}

.blog-mag-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}
.blog-mag-filters .badge-filter {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #3c4043;
}
.blog-mag-filters .btn-clear {
    font-size: 0.875rem;
    color: #1967d2;
    text-decoration: none;
    font-weight: 500;
}
.blog-mag-filters .btn-clear:hover {
    text-decoration: underline;
}
.blog-mag-body {
    padding: 60px 0 80px;
}
.blog-hero {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(32, 33, 36, 0.08);
    border: 1px solid #e8ecf1;
    margin-bottom: 2.5rem;
}
.blog-hero__media {
    display: block;
    position: relative;
    min-height: 240px;
    background: #e8ecf1;
}
@media (min-width: 992px) {
    .blog-hero__media {
        min-height: 100%;
    }
}
.blog-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}
.blog-hero:hover .blog-hero__media img {
    transform: scale(1.03);
}
.blog-hero__body {
    padding: 1.75rem 1.5rem;
    background: #fff;
}
@media (min-width: 992px) {
    .blog-hero__body {
        padding: 2.5rem 2.75rem;
    }
}
.blog-hero__meta {
    font-size: 0.875rem;
    color: #5f6368;
    margin-bottom: 0.75rem;
}
.blog-hero__meta span + span::before {
    content: "·";
    margin: 0 0.5rem;
    opacity: 0.7;
}
.blog-hero__cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1967d2;
    margin-bottom: 0.75rem;
    text-decoration: none;
}
.blog-hero__cat:hover {
    text-decoration: underline;
}
.blog-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #202124;
}
@media (min-width: 992px) {
    .blog-hero__title {
        font-size: 1.85rem;
    }
}
.blog-hero__title a {
    color: inherit;
    text-decoration: none;
}
.blog-hero__title a:hover {
    color: #1967d2;
}
.blog-hero__excerpt {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.blog-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1967d2;
    text-decoration: none;
}
.blog-hero__cta:hover {
    gap: 0.55rem;
}
.blog-editorial-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 12px rgba(32, 33, 36, 0.04);
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-editorial-card:hover {
    box-shadow: 0 10px 40px rgba(32, 33, 36, 0.1);
    border-color: #d0d7de;
}
.blog-editorial-card__media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8ecf1;
}
.blog-editorial-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.blog-editorial-card:hover .blog-editorial-card__media img {
    transform: scale(1.04);
}
.blog-editorial-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-editorial-card__meta {
    font-size: 0.8125rem;
    color: #80868b;
    margin-bottom: 0.5rem;
}
.blog-editorial-card__meta span + span::before {
    content: "·";
    margin: 0 0.4rem;
}
.blog-editorial-card__cat {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1967d2;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
}
.blog-editorial-card__cat:hover {
    text-decoration: underline;
}
.blog-editorial-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}
.blog-editorial-card__title a {
    color: #202124;
    text-decoration: none;
}
.blog-editorial-card__title a:hover {
    color: #1967d2;
}
.blog-editorial-card__excerpt {
    font-size: 0.9375rem;
    color: #5f6368;
    line-height: 1.55;
    flex: 1;
}
.blog-editorial-card__link {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1967d2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.blog-editorial-card__link:hover {
    gap: 0.5rem;
}
.blog-mag-sidebar .sidebar {
    padding-top: 0;
}
.blog-mag-sidebar {
    margin-top: 2rem;
}
@media (min-width: 992px) {
    .blog-mag-sidebar {
        margin-top: 0;
    }
    .blog-mag-sidebar--align-hero {
        padding-top: 35px;
    }
    .blog-mag-sidebar--align-filters {
        padding-top: 3.25rem;
    }
}
.blog-aside-panel {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    padding: 1.35rem 1.25rem 1.5rem;
    box-shadow: 0 4px 24px rgba(32, 33, 36, 0.06);
}
@media (min-width: 992px) {
    .blog-aside-panel {
        position: sticky;
        top: 1rem;
    }
}
.blog-aside-panel .blog-aside-block + .blog-aside-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dde3ea;
}
.blog-aside-panel .blog-aside-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5f6368;
    margin: 0 0 1rem;
}
.blog-aside-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.blog-aside-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #374151;
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s;
}
.blog-aside-nav a:hover {
    background: rgba(25, 103, 210, 0.08);
    color: #1967d2;
}
.blog-aside-post {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 0.35rem;
    border-radius: 10px;
    margin: 0 -0.35rem;
    transition: background 0.15s;
}
.blog-aside-post:hover {
    background: rgba(255, 255, 255, 0.75);
}
.blog-aside-post + .blog-aside-post {
    margin-top: 0.15rem;
}
.blog-aside-post__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8ecf1;
    border: 1px solid #dde3ea;
}
.blog-aside-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-aside-post__body {
    min-width: 0;
}
.blog-aside-post__title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #202124;
    margin: 0 0 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-aside-post:hover .blog-aside-post__title {
    color: #1967d2;
}
.blog-aside-post__date {
    font-size: 0.75rem;
    color: #80868b;
}
.blog-aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.blog-aside-tags a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 999px;
    text-decoration: none;
    transition:
        border-color 0.15s,
        color 0.15s,
        box-shadow 0.15s;
}
.blog-aside-tags a:hover {
    border-color: #1967d2;
    color: #1967d2;
    box-shadow: 0 1px 4px rgba(25, 103, 210, 0.12);
}
.blog-mag-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    background: #f8f9fb;
    border-radius: 12px;
    border: 1px dashed #c6ccd4;
    color: #5f6368;
}
.blog-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #80868b;
    margin-bottom: 1rem;
}
.blog-section-label--hero {
    margin-bottom: 0.75rem;
}
