/* =========================================================
   TIGERLOG BLOG
   Visual editorial inspirado na organização mostrada pelo
   usuário, adaptado à identidade TigerLog.
========================================================= */

.tiger-blog-filters-wrap,
.tiger-blog-results {
    --tiger-red: #FF0A00;
    --tiger-black: #050505;
    --tiger-surface: #0E0E0E;
    --tiger-text: #F7F7F7;
    --tiger-muted: #8D929A;
    --tiger-border: #292929;
    --tiger-soft: #151515;
    --tiger-white: #FFFFFF;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* FILTROS */
.tiger-blog-filters-wrap {
    width: 100%;
}

.tiger-blog-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tiger-blog-filters::-webkit-scrollbar {
    display: none;
}

.tiger-blog-filter {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid var(--tiger-red);
    border-radius: 999px;
    background: transparent;
    color: var(--tiger-red);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.tiger-blog-filter:hover {
    background: rgba(255, 10, 0, .06);
}

.tiger-blog-filter.is-active {
    background: var(--tiger-red);
    border-color: var(--tiger-red);
    color: #fff;
}

.tiger-blog-filter:focus-visible,
.tiger-blog-page-number:focus-visible,
.tiger-blog-page-arrow:focus-visible,
.tiger-blog-card-category:focus-visible {
    outline: 2px solid var(--tiger-red);
    outline-offset: 3px;
}

/* RESULTADOS */
.tiger-blog-results {
    position: relative;
    width: 100%;
}

.tiger-blog-results [hidden] {
    display: none !important;
}

/* GRID */
.tiger-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(30px, 4vw, 56px);
    row-gap: clamp(48px, 6vw, 72px);
    width: 100%;
}

.tiger-blog-card {
    min-width: 0;
    margin: 0;
}

.tiger-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 28px;
    margin-bottom: 20px;
}

.tiger-blog-card-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.tiger-blog-card-category {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 190px;
    min-height: 26px;
    padding: 5px 13px;
    border: 1px solid #3A3A3A;
    border-radius: 999px;
    background: transparent;
    color: var(--tiger-red);
    font: inherit;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.tiger-blog-card-category:hover {
    border-color: var(--tiger-red);
    background: rgba(255, 10, 0, .04);
}

.tiger-blog-card-date {
    flex: 0 0 auto;
    color: var(--tiger-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.tiger-blog-card-title {
    min-height: 50px;
    max-height: 50px;
    margin: 0 0 20px !important;
    color: #F7F7F7 !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em;
    overflow: hidden !important;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.tiger-blog-results .tiger-blog-card-title a,
.tiger-blog-results .tiger-blog-card-title a:link,
.tiger-blog-results .tiger-blog-card-title a:visited,
.tiger-blog-results .tiger-blog-card-title a:active {
    color: #F7F7F7 !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

.tiger-blog-results .tiger-blog-card-title a:hover {
    color: var(--tiger-red) !important;
}

.tiger-blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: 14px;
    background: #151515;
}

.tiger-blog-card-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
    transform: scale(1.001);
    transition: transform .42s cubic-bezier(.2,.7,.2,1), filter .42s ease;
}

.tiger-blog-card:hover .tiger-blog-card-image img {
    transform: scale(1.025);
}

.tiger-blog-card-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    border: 1px solid #242424;
    color: #444;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
}

.tiger-blog-card-author {
    display: flex;
    align-items: center;
    gap: 13px;
}

.tiger-blog-author-avatar,
.tiger-blog-author-mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
}

.tiger-blog-author-avatar {
    background: #F2F2F2;
}

.tiger-blog-author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tiger-blog-author-mark {
    background: var(--tiger-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.tiger-blog-author-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tiger-blog-author-name {
    color: #F7F7F7;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.tiger-blog-read-time {
    color: #9B9B9B;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}

/* PAGINAÇÃO */
.tiger-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: clamp(56px, 7vw, 88px);
}

.tiger-blog-page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tiger-blog-page-number,
.tiger-blog-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 34px;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #969AA1 !important;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.tiger-blog-page-number {
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.tiger-blog-page-number:hover,
.tiger-blog-page-number.is-active {
    color: var(--tiger-red) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.tiger-blog-page-number.is-active {
    font-weight: 700;
}



.tiger-blog-page-mobile {
    display: none;
}

.tiger-blog-page-mobile-summary {
    display: none;
    color: #F7F7F7;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.tiger-blog-page-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--tiger-red);
}

.tiger-blog-page-arrow {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 26px;
    padding: 0;
    border: 0 !important;
    border-radius: 999px;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: var(--tiger-red) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.tiger-blog-page-arrow:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: var(--tiger-red) !important;
}

.tiger-blog-page-arrow:focus,
.tiger-blog-page-arrow:focus-visible,
.tiger-blog-page-arrow:active {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: var(--tiger-red) !important;
    box-shadow: none !important;
}

.tiger-blog-page-number:hover,
.tiger-blog-page-number:focus,
.tiger-blog-page-number:focus-visible,
.tiger-blog-page-number:active,
.tiger-blog-page-number.is-active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.tiger-blog-page-arrow:disabled {
    opacity: .42;
    cursor: default;
}

.tiger-blog-page-arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tiger-blog-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 30px;
    border: 1px solid #292929;
    border-radius: 14px;
    color: #9B9B9B;
    text-align: center;
}

.tiger-blog-empty p {
    margin: 0;
}

/* TABLET */
@media (max-width: 1024px) {
    .tiger-blog-grid {
        column-gap: 28px;
        row-gap: 52px;
    }

   .tiger-blog-card-title {
        min-height: 72px;
        max-height: 72px;
        font-size: 20px !important;
    }

    .tiger-blog-card-category:nth-child(n+2) {
        display: none;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .tiger-blog-filters {
        gap: 7px;
        padding-right: 18px;
    }

    .tiger-blog-filter {
        min-height: 38px;
        padding: 9px 15px;
        font-size: 12px;
    }

    .tiger-blog-grid {
        grid-template-columns: 1fr;
        row-gap: 46px;
    }

    .tiger-blog-card-meta {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .tiger-blog-card-category {
        max-width: 170px;
        min-height: 24px;
        padding: 5px 11px;
        font-size: 10.5px;
    }

    .tiger-blog-card-date {
        padding-top: 5px;
        font-size: 11.5px;
    }

   .tiger-blog-card-title {
        min-height: 44px;
        max-height: 44px;
        margin-bottom: 17px !important;
        font-size: 19px !important;
        font-weight: 400 !important;
        line-height: 1.16 !important;
        letter-spacing: -0.025em;
        -webkit-line-clamp: 2 !important;
    }

    .tiger-blog-card-image {
        aspect-ratio: 16 / 9;
        margin-bottom: 17px;
        border-radius: 12px;
    }

    .tiger-blog-author-avatar,
    .tiger-blog-author-mark {
        width: 32px;
        height: 32px;
    }

    .tiger-blog-author-name {
        font-size: 13px;
    }

    .tiger-blog-read-time {
        font-size: 11.5px;
    }

    .tiger-blog-results .tiger-blog-pagination:not([hidden]) {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 0;
        margin-top: 44px;
        padding: 8px 0 4px;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    /* No mobile mostramos somente: ‹  Página X de Y  › */
    .tiger-blog-page-numbers,
    .tiger-blog-page-arrows {
        display: none !important;
    }

    .tiger-blog-page-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .tiger-blog-page-mobile-summary {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 104px;
        height: 36px;
        color: #F7F7F7 !important;
        font-family: "Inter", sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        letter-spacing: -0.01em;
        white-space: nowrap;
    }

    .tiger-blog-page-mobile .tiger-blog-page-arrow {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex: 0 0 38px !important;
        padding: 0 !important;
        border: 1px solid #2A2A2A !important;
        border-radius: 999px !important;
        background: #111111 !important;
        background-color: #111111 !important;
        background-image: none !important;
        color: #FFFFFF !important;
        box-shadow: none !important;
        visibility: visible !important;
        opacity: 1;
    }

    .tiger-blog-page-mobile .tiger-blog-page-arrow:hover:not(:disabled),
    .tiger-blog-page-mobile .tiger-blog-page-arrow:focus,
    .tiger-blog-page-mobile .tiger-blog-page-arrow:focus-visible,
    .tiger-blog-page-mobile .tiger-blog-page-arrow:active {
        border-color: var(--tiger-red) !important;
        background: var(--tiger-red) !important;
        background-color: var(--tiger-red) !important;
        background-image: none !important;
        color: #FFFFFF !important;
        box-shadow: none !important;
    }

    .tiger-blog-page-mobile .tiger-blog-page-arrow:disabled {
        opacity: .32 !important;
    }
}

/* =========================================================
   AUTOR DO ARTIGO — [tiger_blog_author]
========================================================= */
.tiger-blog-author-box {
    --tiger-red: #FF0A00;
    --tiger-surface: #0E0E0E;
    --tiger-text: #F7F7F7;
    --tiger-muted: #9B9B9B;
    --tiger-border: #292929;
    width: 100%;
    padding: 22px;
    border: 1px solid var(--tiger-border) !important;
    border-radius: 16px;
    background: var(--tiger-surface) !important;
    color: var(--tiger-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: none !important;
}

.tiger-blog-author-box * {
    box-sizing: border-box;
}

.tiger-blog-author-box-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tiger-blog-author-box-photo {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border: 1px solid #303030;
    border-radius: 50%;
    background: #161616;
}

.tiger-blog-author-box-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.tiger-blog-author-box-photo--fallback {
    display: grid;
    place-items: center;
    border-color: rgba(255, 10, 0, .45);
    background: var(--tiger-red);
    color: #fff;
}

.tiger-blog-author-box-photo--fallback span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.tiger-blog-author-box-identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tiger-blog-author-box-eyebrow {
    color: var(--tiger-red) !important;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tiger-blog-author-box-name {
    color: var(--tiger-text) !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.tiger-blog-author-box-role {
    color: var(--tiger-muted) !important;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.35;
}

.tiger-blog-author-box-bio {
    margin: 17px 0 0 !important;
    color: #B2B2B2 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.tiger-blog-author-box-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 19px;
    padding-top: 17px;
    border-top: 1px solid #252525;
}

.tiger-blog-author-box-meta-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tiger-blog-author-box-meta-item > span {
    color: #747474 !important;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.tiger-blog-author-box-meta-item > strong {
    color: #E8E8E8 !important;
    font-size: 11.5px;
    font-weight: 450;
    line-height: 1.4;
}

.tiger-blog-author-box-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-top: 17px;
}

.tiger-blog-author-box-links a,
.tiger-blog-author-box-links a:visited {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #D8D8D8 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    transition: color .2s ease;
}

.tiger-blog-author-box-links a:hover {
    color: var(--tiger-red) !important;
}

.tiger-blog-author-box-links a span {
    color: var(--tiger-red);
}

.tiger-blog-author-box--preview {
    min-height: 96px;
    display: grid;
    place-items: center;
    color: #777;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 767px) {
    .tiger-blog-author-box {
        padding: 18px;
        border-radius: 14px;
    }

    .tiger-blog-author-box-photo {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .tiger-blog-author-box-name {
        font-size: 14px;
    }

    .tiger-blog-author-box-meta {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   CONTEÚDO DO ARTIGO — [tiger_blog_content]
   Escopo isolado: não altera textos gerais do Elementor.
========================================================= */
.tiger-blog-content {
    width: 100%;
    min-width: 0;
    color: #B5B5B5;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.tiger-blog-content > :first-child { margin-top: 0 !important; }
.tiger-blog-content > :last-child { margin-bottom: 0 !important; }
.tiger-blog-content p { margin: 0 0 18px; }
.tiger-blog-content h2,
.tiger-blog-content h3,
.tiger-blog-content h4 {
    color: #F7F7F7;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    line-height: 1.2;
}
.tiger-blog-content h2 { font-size: 30px; margin: 42px 0 16px; }
.tiger-blog-content h3 { font-size: 23px; margin: 32px 0 14px; }
.tiger-blog-content h4 { font-size: 19px; margin: 26px 0 12px; }
.tiger-blog-content a { color: #FF0A00; text-decoration: none; }
.tiger-blog-content a:hover { text-decoration: underline; }
.tiger-blog-content img { max-width: 100%; height: auto; border-radius: 14px; }
.tiger-blog-content ul,
.tiger-blog-content ol { margin: 0 0 20px; padding-left: 1.35em; }
.tiger-blog-content li { margin-bottom: 8px; }

@media (max-width: 767px) {
    .tiger-blog-content {
        font-size: 16px;
        line-height: 1.68;
    }
    .tiger-blog-content h2 { font-size: 24px; margin-top: 34px; }
    .tiger-blog-content h3 { font-size: 20px; margin-top: 28px; }
}
