/* ==========================================================================
   Feriados - Conteudo editorial central
   Cobertura para tabelas semanticas, callouts e blocos ricos de paginas
   de evento e hubs editoriais.
   ========================================================================== */

body.tool-datas .event-page-container .what-is-section,
body.tool-datas .event-page-container .article-body,
body.tool-datas .event-page-container .future-dates-section {
    background: var(--card-bg);
    border: 1px solid color-mix(in srgb, var(--border-color) 78%, #d7e2f0 22%);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.tool-datas .event-page-container .what-is-section,
body.tool-datas .event-page-container .article-body {
    padding: 28px;
}

body.tool-datas .event-page-container .section-title-border {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 12px;
    font-size: 1.55rem;
    line-height: 1.25;
}

body.tool-datas .event-page-container .section-title-border::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #5ab2ff 100%);
}

body.tool-datas .event-page-container .rich-content-section {
    color: var(--text-color);
    line-height: 1.78;
    font-size: 1.04rem;
}

body.tool-datas .event-page-container .rich-content-section > *:first-child {
    margin-top: 0;
}

body.tool-datas .event-page-container .rich-content-section p,
body.tool-datas .event-page-container .rich-content-section ul,
body.tool-datas .event-page-container .rich-content-section ol,
body.tool-datas .event-page-container .rich-content-section table,
body.tool-datas .event-page-container .rich-content-section blockquote {
    margin-bottom: 1.15rem;
}

body.tool-datas .event-page-container .rich-content-section h2,
body.tool-datas .event-page-container .rich-content-section h3,
body.tool-datas .event-page-container .rich-content-section h4 {
    color: #10243f;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.tool-datas .event-page-container .rich-content-section h2 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    font-size: 1.42rem;
}

body.tool-datas .event-page-container .rich-content-section h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
}

body.tool-datas .event-page-container .rich-content-section ul,
body.tool-datas .event-page-container .rich-content-section ol {
    padding-left: 1.3rem;
}

body.tool-datas .event-page-container .rich-content-section li {
    margin-bottom: 0.55rem;
}

body.tool-datas .event-page-container .rich-content-section strong {
    color: #10243f;
}

body.tool-datas .event-page-container .rich-content-section a {
    color: var(--primary-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

body.tool-datas .event-page-container .rich-content-section blockquote {
    padding: 16px 18px;
    border-left: 4px solid #79b8ff;
    border-radius: 0 16px 16px 0;
    background: linear-gradient(180deg, #f5faff 0%, #eef6ff 100%);
    color: #27405f;
}

body.tool-datas .event-page-container .rich-content-section table,
body.tool-datas .event-page-container .table-data,
body.tool-datas .event-page-container .table-season,
body.tool-datas .event-page-container .table-climate {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #d9e4f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body.tool-datas .event-page-container .rich-content-section table thead th,
body.tool-datas .event-page-container .table-data thead th,
body.tool-datas .event-page-container .table-season thead th,
body.tool-datas .event-page-container .table-climate thead th {
    background: linear-gradient(180deg, #edf6ff 0%, #dcecff 100%);
    color: #143252;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: left;
    border-bottom: 1px solid #c9dbef;
}

body.tool-datas .event-page-container .rich-content-section table th,
body.tool-datas .event-page-container .rich-content-section table td,
body.tool-datas .event-page-container .table-data th,
body.tool-datas .event-page-container .table-data td,
body.tool-datas .event-page-container .table-season th,
body.tool-datas .event-page-container .table-season td,
body.tool-datas .event-page-container .table-climate th,
body.tool-datas .event-page-container .table-climate td {
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid #e6eef7;
}

body.tool-datas .event-page-container .rich-content-section table tbody tr:nth-child(even),
body.tool-datas .event-page-container .table-data tbody tr:nth-child(even),
body.tool-datas .event-page-container .table-season tbody tr:nth-child(even),
body.tool-datas .event-page-container .table-climate tbody tr:nth-child(even) {
    background: #f9fcff;
}

body.tool-datas .event-page-container .rich-content-section table tbody tr:last-child td,
body.tool-datas .event-page-container .table-data tbody tr:last-child td,
body.tool-datas .event-page-container .table-season tbody tr:last-child td,
body.tool-datas .event-page-container .table-climate tbody tr:last-child td {
    border-bottom: 0;
}

body.tool-datas .event-page-container .info-box {
    margin: 1.2rem 0;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid transparent;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

body.tool-datas .event-page-container .info-box h4 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    font-weight: 800;
}

body.tool-datas .event-page-container .info-box p:last-child,
body.tool-datas .event-page-container .info-box ul:last-child {
    margin-bottom: 0;
}

body.tool-datas .event-page-container .info-box--green {
    background: #edf9f1;
    border-color: #bde6ca;
    color: #154b29;
}

body.tool-datas .event-page-container .info-box--green h4,
body.tool-datas .event-page-container .info-box--green strong {
    color: #0f6d2f;
}

body.tool-datas .event-page-container .info-box--amber {
    background: #fff7e8;
    border-color: #f5d7a6;
    color: #664515;
}

body.tool-datas .event-page-container .info-box--amber h4,
body.tool-datas .event-page-container .info-box--amber strong {
    color: #9a5b00;
}

body.tool-datas .event-page-container .info-box--red {
    background: #fff1f1;
    border-color: #f0c2c2;
    color: #6b1f1f;
}

body.tool-datas .event-page-container .info-box--red h4,
body.tool-datas .event-page-container .info-box--red strong {
    color: #b42318;
}

body.tool-datas .event-page-container .info-box--blue {
    background: #eef5ff;
    border-color: #c5daf8;
    color: #173e72;
}

body.tool-datas .event-page-container .info-box--blue h4,
body.tool-datas .event-page-container .info-box--blue strong {
    color: #0c56c8;
}

body.tool-datas .event-page-container .curiosities-box {
    background: linear-gradient(180deg, #fff8df 0%, #fff2bf 100%);
    border-color: #f0dc88;
    box-shadow: 0 14px 32px rgba(184, 134, 11, 0.10);
}

body.tool-datas .event-page-container .curiosities-box li::marker {
    color: #c28a00;
}

body.tool-datas .event-page-container .future-dates-section {
    padding: 22px;
}

body.tool-datas .event-page-container .future-dates-table-wrap {
    border-radius: 18px;
    overflow: hidden;
}

body.dark-mode.tool-datas .event-page-container .what-is-section,
body.dark-mode.tool-datas .event-page-container .article-body,
body.dark-mode.tool-datas .event-page-container .future-dates-section {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

body.dark-mode.tool-datas .event-page-container .section-title-border::after {
    background: linear-gradient(90deg, #52b0ff 0%, #8fd3ff 100%);
}

body.dark-mode.tool-datas .event-page-container .rich-content-section,
body.dark-mode.tool-datas .event-page-container .rich-content-section strong,
body.dark-mode.tool-datas .event-page-container .rich-content-section h2,
body.dark-mode.tool-datas .event-page-container .rich-content-section h3,
body.dark-mode.tool-datas .event-page-container .rich-content-section h4 {
    color: #e5eef9;
}

body.dark-mode.tool-datas .event-page-container .rich-content-section blockquote {
    background: linear-gradient(180deg, rgba(44, 82, 130, 0.34) 0%, rgba(30, 58, 95, 0.42) 100%);
    border-left-color: #7cc4ff;
    color: #dcecff;
}

body.dark-mode.tool-datas .event-page-container .rich-content-section table,
body.dark-mode.tool-datas .event-page-container .table-data,
body.dark-mode.tool-datas .event-page-container .table-season,
body.dark-mode.tool-datas .event-page-container .table-climate {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.25);
}

body.dark-mode.tool-datas .event-page-container .rich-content-section table thead th,
body.dark-mode.tool-datas .event-page-container .table-data thead th,
body.dark-mode.tool-datas .event-page-container .table-season thead th,
body.dark-mode.tool-datas .event-page-container .table-climate thead th {
    background: linear-gradient(180deg, #153056 0%, #112544 100%);
    color: #e3efff;
    border-bottom-color: rgba(147, 197, 253, 0.25);
}

body.dark-mode.tool-datas .event-page-container .rich-content-section table th,
body.dark-mode.tool-datas .event-page-container .rich-content-section table td,
body.dark-mode.tool-datas .event-page-container .table-data th,
body.dark-mode.tool-datas .event-page-container .table-data td,
body.dark-mode.tool-datas .event-page-container .table-season th,
body.dark-mode.tool-datas .event-page-container .table-season td,
body.dark-mode.tool-datas .event-page-container .table-climate th,
body.dark-mode.tool-datas .event-page-container .table-climate td {
    border-bottom-color: rgba(148, 163, 184, 0.18);
    color: #d7e6f7;
}

body.dark-mode.tool-datas .event-page-container .rich-content-section table tbody tr:nth-child(even),
body.dark-mode.tool-datas .event-page-container .table-data tbody tr:nth-child(even),
body.dark-mode.tool-datas .event-page-container .table-season tbody tr:nth-child(even),
body.dark-mode.tool-datas .event-page-container .table-climate tbody tr:nth-child(even) {
    background: rgba(148, 163, 184, 0.06);
}

body.dark-mode.tool-datas .event-page-container .info-box--green {
    background: rgba(18, 82, 44, 0.28);
    border-color: rgba(95, 196, 125, 0.34);
    color: #d5f5df;
}

body.dark-mode.tool-datas .event-page-container .info-box--amber {
    background: rgba(120, 74, 18, 0.28);
    border-color: rgba(245, 183, 77, 0.34);
    color: #ffe8bf;
}

body.dark-mode.tool-datas .event-page-container .info-box--red {
    background: rgba(121, 36, 36, 0.28);
    border-color: rgba(248, 113, 113, 0.28);
    color: #ffd6d6;
}

body.dark-mode.tool-datas .event-page-container .info-box--blue {
    background: rgba(26, 58, 110, 0.30);
    border-color: rgba(96, 165, 250, 0.30);
    color: #dcecff;
}

@media (max-width: 768px) {
    body.tool-datas .event-page-container .what-is-section,
    body.tool-datas .event-page-container .article-body,
    body.tool-datas .event-page-container .future-dates-section {
        padding: 18px;
        border-radius: 18px;
    }

    body.tool-datas .event-page-container .section-title-border {
        font-size: 1.32rem;
    }

    body.tool-datas .event-page-container .rich-content-section {
        font-size: 0.98rem;
    }

    body.tool-datas .event-page-container .rich-content-section table,
    body.tool-datas .event-page-container .table-data,
    body.tool-datas .event-page-container .table-season,
    body.tool-datas .event-page-container .table-climate {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.tool-datas .event-page-container .rich-content-section table th,
    body.tool-datas .event-page-container .rich-content-section table td,
    body.tool-datas .event-page-container .table-data th,
    body.tool-datas .event-page-container .table-data td,
    body.tool-datas .event-page-container .table-season th,
    body.tool-datas .event-page-container .table-season td,
    body.tool-datas .event-page-container .table-climate th,
    body.tool-datas .event-page-container .table-climate td {
        min-width: 148px;
        padding: 12px 14px;
    }
}
