/* =========================================================
   PORTAL NEWS - CSS COMPLETO
   Visual moderno / profissional / responsivo
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;

    --dark: #0f172a;
    --dark-2: #1e293b;

    --text: #172033;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    --white: #ffffff;
    --background: #f8fafc;
    --border: #e2e8f0;

    --success: #16a34a;
    --success-bg: #f0fdf4;

    --danger: #dc2626;
    --danger-bg: #fef2f2;

    --warning: #d97706;
    --warning-bg: #fffbeb;

    --radius: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .04);
    --shadow: 0 8px 30px rgba(15, 23, 42, .07);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.5;
}

body,
input,
textarea,
select,
button {
    font-family: 'Inter', Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    outline: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   HEADER DO SITE
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(226, 232, 240, .8);
}

.nav {
    min-height: 74px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;

    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;

    white-space: nowrap;
}

.logo span {
    color: var(--primary);
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 20px;

    flex: 1;
}

.nav nav a {
    position: relative;

    color: #64748b;
    font-size: 13px;
    font-weight: 600;

    transition: .2s;
}

.nav nav a:hover {
    color: var(--primary);
}

.nav nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--primary);
    border-radius: 10px;

    transition: .2s;
}

.nav nav a:hover::after {
    width: 100%;
}


/* =========================================================
   BUSCA
   ========================================================= */

.search {
    display: flex;
    align-items: center;

    background: #f8fafc;
    border: 1px solid var(--border);

    border-radius: 10px;
    overflow: hidden;

    transition: .2s;
}

.search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.search input {
    width: 160px;

    border: 0;
    background: transparent;

    padding: 10px 12px;

    color: var(--text);
    font-size: 13px;
}

.search input::placeholder {
    color: #94a3b8;
}

.search button {
    height: 38px;

    border: 0;
    padding: 0 15px;

    background: var(--primary);
    color: white;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.search button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    margin: 38px 0 32px;

    padding: 65px 55px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(96, 165, 250, .4),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 55%,
            #2563eb 100%
        );

    color: white;

    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -130px;

    border-radius: 50%;

    border: 50px solid rgba(255,255,255,.05);
}

.hero > div {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;

    padding: 7px 11px;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;

    background: rgba(255,255,255,.08);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;

    color: #dbeafe;
}

.hero h1 {
    max-width: 700px;

    margin: 18px 0 12px;

    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hero p {
    max-width: 600px;

    margin: 0;

    color: rgba(255,255,255,.76);

    font-size: 16px;
}


/* =========================================================
   GRID DE NOTÍCIAS
   ========================================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    padding-bottom: 65px;
}

.news-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);

    border-color: #d5deeb;

    box-shadow: var(--shadow);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    position: relative;

    display: block;

    height: 225px;

    overflow: hidden;

    background: #e2e8f0;
}

.news-card.featured .news-image {
    height: 350px;
}

.news-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.news-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.25),
        transparent 45%
    );

    pointer-events: none;
}

.no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-image .tag {
    position: absolute;
    left: 16px;
    top: 16px;

    z-index: 2;
}

.tag {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(239,246,255,.95);

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .4px;
}

.news-body {
    padding: 21px;
}

.news-body h2 {
    margin: 0 0 10px;

    font-family: 'Manrope', sans-serif;

    font-size: 20px;
    line-height: 1.3;

    letter-spacing: -.4px;
}

.news-body h2 a {
    transition: color .2s;
}

.news-body h2 a:hover {
    color: var(--primary);
}

.news-body p {
    margin: 0 0 17px;

    color: var(--text-light);

    font-size: 13px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.meta {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   PÁGINA DA NOTÍCIA
   ========================================================= */

.article-page {
    max-width: 960px;

    padding-top: 55px;
    padding-bottom: 80px;
}

.article-head {
    margin-bottom: 35px;
}

.article-head h1 {
    max-width: 900px;

    margin: 17px 0;

    font-family: 'Manrope', sans-serif;

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;

    letter-spacing: -1.8px;
}

.lead {
    max-width: 820px;

    margin: 0 0 20px;

    color: #64748b;

    font-size: 19px;
    line-height: 1.65;
}

.article-head .meta {
    font-size: 12px;
}


/* =========================================================
   GALERIA DE MÍDIAS
   ========================================================= */

.media-gallery {
    margin: 35px 0 40px;
}

.media-item {
    overflow: hidden;

    margin: 0 0 25px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: var(--shadow-sm);
}

.media-item img {
    display: block;

    width: 100%;
    max-height: 700px;

    object-fit: contain;

    background: #0f172a;
}

.media-item video {
    display: block;

    width: 100%;
    max-height: 700px;

    background: #020617;
}

.media-item figcaption {
    padding: 13px 17px;

    color: var(--text-light);

    font-size: 12px;

    border-top: 1px solid var(--border);
}

.file-media {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;
    padding: 17px 20px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 13px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 600;
}

.article-content {
    padding: 35px 38px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    font-size: 17px;
    line-height: 1.9;

    color: #334155;
}

.article-content::first-letter {
    font-size: 45px;
    font-weight: 800;
    float: left;

    margin: 5px 8px 0 0;

    color: var(--primary);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-top: 20px;

    padding: 35px 20px;

    background: #0f172a;

    color: #94a3b8;

    text-align: center;

    font-size: 12px;
}


/* =========================================================
   LOGIN ADMIN
   ========================================================= */

.admin-body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(37,99,235,.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(59,130,246,.09),
            transparent 30%
        ),
        #f1f5f9;
}

.login-box {
    width: min(430px, 100%);

    padding: 38px;

    background: rgba(255,255,255,.98);

    border: 1px solid var(--border);
    border-radius: 22px;

    box-shadow: var(--shadow-lg);
}

.login-box.wide {
    width: min(500px, 100%);
}

.login-box .logo {
    display: flex;
    justify-content: center;

    margin-bottom: 28px;
}

.login-box h1 {
    margin: 0 0 8px;

    text-align: center;

    font-family: 'Manrope', sans-serif;
    font-size: 25px;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-box label,
.news-form > label {
    margin-top: 13px;

    color: #334155;

    font-size: 12px;
    font-weight: 700;
}

.login-box input,
.news-form input,
.news-form textarea,
.news-form select {
    width: 100%;

    padding: 12px 14px;

    background: white;

    border: 1px solid #dbe2ea;
    border-radius: 10px;

    color: var(--text);

    font-size: 13px;

    transition: .2s;
}

.login-box input:hover,
.news-form input:hover,
.news-form textarea:hover,
.news-form select:hover {
    border-color: #cbd5e1;
}

.login-box input:focus,
.news-form input:focus,
.news-form textarea:focus,
.news-form select:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

.login-box textarea,
.news-form textarea {
    resize: vertical;
}

.muted {
    margin: 0 0 24px;

    text-align: center;

    color: var(--text-light);

    font-size: 13px;
}


/* =========================================================
   BOTÕES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 40px;

    padding: 10px 16px;

    border: 0;
    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s,
        transform .2s,
        box-shadow .2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--primary);
    color: white;

    box-shadow: 0 5px 15px rgba(37,99,235,.2);
}

.btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(37,99,235,.25);
}

.btn.secondary {
    background: #f1f5f9;
    color: #334155;
}

.btn.secondary:hover {
    background: #e2e8f0;
}

.btn.full {
    width: 100%;
    margin-top: 15px;
}

.btn.big {
    min-height: 46px;

    padding: 13px 22px;

    font-size: 13px;
}


/* =========================================================
   ALERTAS
   ========================================================= */

.alert {
    display: flex;
    align-items: center;

    min-height: 45px;

    margin-bottom: 20px;
    padding: 12px 14px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 600;
}

.alert.error {
    background: var(--danger-bg);
    color: var(--danger);

    border: 1px solid #fecaca;
}

.alert.success {
    background: var(--success-bg);
    color: var(--success);

    border: 1px solid #bbf7d0;
}

.security-warning {
    margin-top: 20px;
    padding: 13px;

    background: var(--warning-bg);
    color: var(--warning);

    border: 1px solid #fde68a;
    border-radius: 10px;

    font-size: 11px;
    line-height: 1.5;
}

.small-link {
    display: block;

    margin-top: 20px;

    color: var(--primary);

    text-align: center;

    font-size: 12px;
    font-weight: 600;
}

.small-link:hover {
    text-decoration: underline;
}


/* =========================================================
   ADMIN HEADER
   ========================================================= */

.dashboard-body {
    min-height: 100vh;

    background: #f8fafc;
}

.admin-top {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255,255,255,.95);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.admin-nav {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-nav > div {
    display: flex;
    align-items: center;
    gap: 16px;

    color: #64748b;

    font-size: 12px;
}

.logout {
    display: inline-flex;
    align-items: center;

    padding: 8px 11px;

    background: var(--danger-bg);
    color: var(--danger);

    border-radius: 8px;

    font-weight: 700;

    transition: .2s;
}

.logout:hover {
    background: #fee2e2;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard {
    padding-top: 42px;
    padding-bottom: 70px;
}

.dashboard-head,
.form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.dashboard h1,
.form-head h1 {
    margin: 0 0 5px;

    font-family: 'Manrope', sans-serif;

    font-size: 29px;
    letter-spacing: -.8px;
}

.dashboard-head p,
.form-head p {
    margin: 0;

    color: var(--text-light);

    font-size: 13px;
}

.head-actions {
    display: flex;
    gap: 10px;
}


/* =========================================================
   CARDS DE ESTATÍSTICAS
   ========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 17px;

    margin-bottom: 25px;
}

.stat {
    position: relative;
    overflow: hidden;

    padding: 21px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 15px;

    box-shadow: var(--shadow-sm);
}

.stat::after {
    content: "";

    position: absolute;

    right: -30px;
    bottom: -45px;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background: var(--primary-light);
}

.stat span,
.stat strong {
    position: relative;
    z-index: 2;
}

.stat span {
    display: block;

    color: var(--text-light);

    font-size: 11px;
    font-weight: 600;
}

.stat strong {
    display: block;

    margin-top: 6px;

    font-family: 'Manrope', sans-serif;

    color: var(--dark);

    font-size: 29px;
}


/* =========================================================
   TABELA
   ========================================================= */

.table-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow-sm);
}

.table-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 20px;

    border-bottom: 1px solid var(--border);
}

.table-title h2 {
    margin: 0;

    font-family: 'Manrope', sans-serif;

    font-size: 17px;
}

.table-wrap {
    width: 100%;

    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;

    font-size: 12px;
}

th {
    padding: 13px 15px;

    background: #f8fafc;

    color: #64748b;

    border-bottom: 1px solid var(--border);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .5px;

    text-align: left;
}

td {
    padding: 15px;

    color: #475569;

    border-bottom: 1px solid #eef2f7;

    white-space: nowrap;
}

tbody tr {
    transition: .15s;
}

tbody tr:hover {
    background: #f8fbff;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.actions a {
    color: var(--primary);
    font-weight: 600;
}

.actions a:hover {
    text-decoration: underline;
}

.actions a:nth-child(2) {
    color: var(--danger);
}

.status {
    display: inline-flex;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}

.status.publicada {
    background: #dcfce7;
    color: #15803d;
}

.status.rascunho {
    background: #fef3c7;
    color: #a16207;
}


/* =========================================================
   FORMULÁRIO DE NOTÍCIA
   ========================================================= */

.form-page {
    max-width: 1050px;

    padding-top: 42px;
    padding-bottom: 70px;
}

.news-form {
    padding: 28px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: var(--shadow-sm);
}

.news-form > label {
    display: block;

    margin-bottom: 7px;
}

.news-form > input,
.news-form > textarea,
.news-form > select {
    margin-bottom: 4px;
}


/* =========================================================
   ÁREA DE MÍDIAS
   ========================================================= */

.media-upload-box,
.existing-media {
    margin: 28px 0;
    padding: 21px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #f1f6ff
        );

    border: 1px solid #dbe7fa;
    border-radius: 16px;
}

.media-upload-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 16px;

    border-bottom: 1px solid #dce6f4;
}

.media-upload-head h2,
.existing-media h2 {
    margin: 0 0 5px;

    font-family: 'Manrope', sans-serif;

    font-size: 17px;
}

.media-upload-head p,
.existing-media > p {
    margin: 0;

    color: #718096;

    font-size: 11px;
}

.file-button {
    position: relative;

    overflow: hidden;

    flex-shrink: 0;
}

.file-button input {
    position: absolute;

    inset: 0;

    opacity: 0;

    cursor: pointer;
}

.media-slot {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 11px;
    padding: 11px 13px;

    background: white;

    border: 1px solid #dce5f0;
    border-radius: 11px;

    box-shadow: 0 2px 5px rgba(15,23,42,.02);

    animation: slideIn .2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slot-number {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 8px;

    font-size: 11px;
    font-weight: 800;
}

.slot-main {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.slot-name {
    overflow: hidden;

    color: #334155;

    font-size: 12px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.slot-type {
    color: #94a3b8;

    font-size: 10px;
}

.slot-btn {
    position: relative;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.slot-btn input {
    display: none;
}

.remove-slot {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    border: 0;
    border-radius: 7px;

    background: var(--danger-bg);
    color: var(--danger);

    font-size: 18px;

    cursor: pointer;

    transition: .2s;
}

.remove-slot:hover {
    background: #fee2e2;
}

.add-media {
    margin-top: 14px;

    background: white;

    border: 1px dashed #9bb5df;

    color: var(--primary);
}

.add-media:hover {
    background: var(--primary-light);
}

.selected-info {
    margin-top: 9px;

    color: #7c8ba1;

    font-size: 10px;
}


/* =========================================================
   MÍDIAS EXISTENTES
   ========================================================= */

.existing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-top: 18px;
}

.existing-item {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);
    border-radius: 11px;

    box-shadow: var(--shadow-sm);
}

.existing-item img,
.existing-item video {
    display: block;

    width: 100%;
    height: 135px;

    object-fit: cover;

    background: #0f172a;
}

.file-preview {
    width: 100%;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    background: #f1f5f9;

    color: #475569;

    text-align: center;

    font-size: 11px;
}

.existing-name {
    overflow: hidden;

    padding: 9px 10px 4px;

    color: #475569;

    font-size: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.delete-media {
    display: inline-flex;

    margin: 4px 10px 10px;

    color: var(--danger);

    font-size: 10px;
    font-weight: 700;
}

.delete-media:hover {
    text-decoration: underline;
}

.empty-small {
    margin-top: 15px;

    padding: 20px;

    background: white;

    border: 1px dashed #cbd5e1;
    border-radius: 10px;

    color: #94a3b8;

    text-align: center;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVIDADE - TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .nav {
        gap: 20px;
    }

    .nav nav {
        gap: 13px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .existing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================================
   RESPONSIVIDADE - MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(94%, 1180px);
    }

    .site-header {
        position: relative;
    }

    .nav {
        min-height: 65px;

        flex-wrap: wrap;

        padding: 10px 0;
    }

    .nav nav {
        display: none;
    }

    .search {
        margin-left: auto;
    }

    .search input {
        width: 120px;
    }

    .hero {
        margin-top: 25px;

        padding: 38px 25px;

        border-radius: 18px;
    }

    .hero h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-image,
    .news-image {
        height: 240px;
    }

    .news-body {
        padding: 18px;
    }

    .news-body h2 {
        font-size: 18px;
    }

    .article-page {
        padding-top: 30px;
    }

    .article-head h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 16px;
    }

    .article-content {
        padding: 23px;

        font-size: 16px;
    }

    .dashboard {
        padding-top: 28px;
    }

    .dashboard-head,
    .form-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .head-actions {
        width: 100%;
    }

    .head-actions .btn {
        flex: 1;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .stat {
        padding: 16px;
    }

    .stat strong {
        font-size: 24px;
    }

    .news-form {
        padding: 18px;
    }

    .media-upload-head {
        flex-direction: column;

        align-items: flex-start;
    }

    .file-button {
        width: 100%;
    }

    .file-button.btn {
        width: 100%;
    }

    .media-slot {
        flex-wrap: wrap;
    }

    .slot-main {
        width: calc(100% - 50px);
        flex: none;
    }

    .slot-btn {
        margin-left: 43px;
    }

    .existing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .login-box {
        padding: 28px 22px;
    }

    .admin-nav {
        min-height: 62px;
    }

    .admin-nav > div > span {
        display: none;
    }

    .table-card {
        border-radius: 12px;
    }
}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 430px) {

    .logo {
        font-size: 19px;
    }

    .search input {
        width: 95px;
    }

    .hero {
        padding: 30px 20px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .news-card.featured .news-image,
    .news-image {
        height: 210px;
    }

    .article-head h1 {
        font-size: 29px;
    }

    .article-content {
        padding: 20px;

        font-size: 15px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat span {
        font-size: 10px;
    }

    .stat strong {
        font-size: 21px;
    }

    .existing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .existing-item img,
    .existing-item video,
    .file-preview {
        height: 105px;
    }

    .dashboard h1,
    .form-head h1 {
        font-size: 25px;
    }
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* =========================================================
   SELEÇÃO DE TEXTO
   ========================================================= */

::selection {
    background: #bfdbfe;
    color: #1e3a8a;
}