/*
Theme Name: ImoAds V2
Theme URI: https://imoads.com.br
Author: ImoAds
Author URI: https://imoads.com.br
Description: Tema WordPress da landing page ImoAds.
Version: 2.0.0
Text Domain: imoads-v2
*/

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f6f6f8;
    color: #111318;
}

.imoads-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 20px 48px;
}

.imoads-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.imoads-layout--full {
    grid-template-columns: minmax(0, 1fr);
}

.imoads-main {
    min-width: 0;
    padding-top: 70px;
}

.imoads-sidebar {
    position: sticky;
    top: 24px;
}

.imoads-post-card,
.imoads-single,
.imoads-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.imoads-blog-hero {
    margin-bottom: 28px;
}

.imoads-post-title,
.imoads-single-title,
.imoads-widget-title,
.imoads-page-title {
    margin: 0;
    line-height: 1.2;
}

.imoads-page-title {
    font-size: clamp(1.85rem, 3.3vw, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
    max-width: 780px;
}

.imoads-page-subtitle {
    margin: 0 0 18px;
    color: #6b7280;
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.65;
}

.imoads-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.imoads-filter {
    text-decoration: none;
    color: #111318;
    background: #ffffff;
    border: 1px solid #d8dee8;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.imoads-filter.is-active,
.imoads-filter:hover {
    color: #fff;
    background: #0e7ae7;
    border-color: #0e7ae7;
    box-shadow: 0 6px 14px rgba(14, 122, 231, 0.25);
}

.imoads-post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.imoads-post-card {
    overflow: hidden;
    box-shadow: 0 10px 28px -20px rgba(17, 24, 39, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imoads-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -20px rgba(17, 24, 39, 0.45);
}

.imoads-post-title a {
    color: inherit;
    text-decoration: none;
}

.imoads-post-title {
    margin: 0 0 10px;
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.imoads-post-thumb,
.imoads-single-thumb {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.imoads-post-thumb img,
.imoads-single-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.imoads-post-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: #0e7ae7;
    border-radius: 999px;
    padding: 4px 9px;
}

.imoads-post-content {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    min-height: 212px;
}

.imoads-post-excerpt {
    margin: 0;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.6;
}

.imoads-post-meta,
.imoads-single-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
}

.imoads-readmore {
    display: inline-block;
    margin-top: auto;
    padding-top: 14px;
    color: #0e7ae7;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
}

.imoads-single,
.imoads-widget {
    padding: 20px;
}

.imoads-single-page {
    max-width: 1400px;
}

.imoads-single-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.imoads-single-aside {
    position: sticky;
    top: 24px;
}

.imoads-author-card,
.imoads-side-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.imoads-side-block {
    margin-top: 16px;
}

.imoads-author-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: block;
}

.imoads-author-name {
    margin: 12px 0 4px;
    font-size: 1.2rem;
    line-height: 1.25;
}

.imoads-author-role {
    margin: 0 0 12px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    font-weight: 700;
}

.imoads-author-bio {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.imoads-author-btn {
    display: block;
    margin-top: 14px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    background: #e9f3ff;
    color: #0e7ae7;
    border: 1px solid #cfe5ff;
    font-weight: 700;
    padding: 10px 12px;
}

.imoads-side-title {
    margin: 0 0 12px;
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
}

.imoads-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.imoads-side-label {
    display: block;
    color: #0e7ae7;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.imoads-side-list a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
}

.imoads-side-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.imoads-side-tags a,
.imoads-single-topics a {
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #d8dee8;
    color: #111318;
    padding: 6px 11px;
    font-size: 0.82rem;
    font-weight: 600;
}

.imoads-single-main {
    min-width: 0;
}

.imoads-single-article {
    padding: 0;
    border: none;
    background: transparent;
}

.imoads-single-hero {
    border-radius: 14px;
    margin-bottom: 20px;
}

.imoads-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    color: #64748b;
    font-weight: 600;
}

.imoads-single-title {
    font-size: clamp(2rem, 5.1vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.imoads-single-lead {
    margin: 0 0 20px;
    color: #7c8aa0;
    font-size: 1.65rem;
    line-height: 1.45;
    font-style: italic;
    max-width: 920px;
}

.imoads-single-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.imoads-article-body {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
}

.imoads-article-body > *:first-child {
    margin-top: 0;
}

.imoads-article-body p {
    font-size: 1.22rem;
    line-height: 1.85;
    color: #1f2937;
}

.imoads-article-body p:first-of-type::first-letter {
    xfloat: left;
    xfont-size: 4.25rem;
    xline-height: 0.9;
    xpadding-right: 10px;
    xmargin-top: 6px;
    xfont-weight: 800;
    xcolor: #0e7ae7;
}

.imoads-article-body h2,
.imoads-article-body h3,
.imoads-article-body h4 {
    line-height: 1.25;
    margin-top: 28px;
    margin-bottom: 12px;
}

.imoads-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.imoads-widget + .imoads-widget {
    margin-top: 16px;
}

.imoads-widget-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.imoads-pagination {
    margin-top: 28px;
}

.imoads-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.imoads-pagination a,
.imoads-pagination span {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111318;
    font-size: 0.84rem;
    font-weight: 600;
}

.imoads-pagination .current {
    color: #fff;
    background: #0e7ae7;
    border-color: #0e7ae7;
}

.imoads-empty {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}

@media (max-width: 900px) {
    .imoads-layout {
        grid-template-columns: 1fr;
    }

    .imoads-sidebar {
        position: static;
    }

    .imoads-single-layout {
        grid-template-columns: 1fr;
    }

    .imoads-single-aside {
        position: static;
    }

    .imoads-single-lead {
        font-size: 1.2rem;
    }

    .imoads-article-body {
        padding: 20px;
    }

    .imoads-article-body p {
        font-size: 1.08rem;
    }
}

@media (min-width: 760px) {
    .imoads-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .imoads-post-title {
        font-size: 2rem;
    }
}

@media (min-width: 1280px) {
    .imoads-post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .imoads-post-title {
        font-size: 2.1rem;
    }
}


.imoads-article-body p{
    font-size: 1.22rem;
    line-height: 1.9;
    color: #1f2937;
    padding-bottom: 10px;
}