/* =========================================================
   PÁGINA DA POSTAGEM — single.php
   Arquivo: style-single.css (exclusivo desta página)
   ========================================================= */

/* =========================================================
   HERO DA POSTAGEM (diferente do serie-hero e pagina-hero)
   - Capa vertical flutuante à esquerda
   - Info + botões de ação à direita
   - Gradiente diagonal mais "editorial"
   ========================================================= */
.single-hero {
    position: relative;
    width: 100%;
    min-height: 640px;
    padding: 120px 48px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.single-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(0.45) saturate(1.1) blur(3px);
    transform: scale(1.1);
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(120deg,
            rgba(22, 24, 37, 1) 0%,
            rgba(22, 24, 37, 0.9) 40%,
            rgba(22, 24, 37, 0.5) 70%,
            rgba(22, 24, 37, 0.9) 100%),
        linear-gradient(180deg,
            rgba(22, 24, 37, 0.4) 0%,
            rgba(22, 24, 37, 0.1) 40%,
            rgba(22, 24, 37, 0.98) 100%);
    pointer-events: none;
}

.single-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Capa vertical flutuante */
.single-hero-cover {
    flex: 0 0 auto;
    width: 300px;
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 80px rgba(229, 9, 20, 0.15);
    transform: translateY(-20px) rotate(-1.5deg);
    transition: transform 0.5s cubic-bezier(.2,.9,.3,1.2);
}

.single-hero-cover:hover {
    transform: translateY(-28px) rotate(0deg) scale(1.03);
}

.single-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Coluna de info */
.single-hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 10px;
    max-width: 720px;
}

.single-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.5);
    color: #ff5259;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 100px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.single-hero-title {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 3.4em;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.single-hero-desc {
    color: #d1d3dd;
    font-family: Arial, sans-serif;
    font-size: 1em;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9a9caa;
    font-family: Arial, sans-serif;
    font-size: 0.92em;
    font-weight: 600;
}

.single-hero-meta strong {
    color: #fff;
    font-weight: 800;
}

/* Botões de ação */
.single-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.single-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: none;
}

.single-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
}

/* Botão principal (LER) */
.single-btn-primary {
    background: linear-gradient(135deg, #e50914, #ff3d47);
    color: #fff;
    box-shadow: 0 10px 24px rgba(229, 9, 20, 0.4);
}

.single-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(229, 9, 20, 0.6);
    background: linear-gradient(135deg, #ff3d47, #ff5259);
}

/* Botão secundário (lista) */
.single-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.single-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   CONTEÚDO — 3 séries aleatórias
   ========================================================= */
.single-content {
    width: 100%;
    padding: 20px 48px 60px;
    position: relative;
    z-index: 3;
}

/* Grid dos 3 quadros grandes */
.destaques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    padding: 8px 0 32px;
}

.destaque-card {
    text-decoration: none;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #0e0b14;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(.2,.9,.3,1.2),
                box-shadow 0.4s ease;
}

.destaque-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.85),
                0 0 0 2px rgba(229, 9, 20, 0.6);
}

.destaque-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.destaque-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.destaque-card:hover .destaque-cover img {
    transform: scale(1.08);
}

.destaque-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.45) 68%,
        rgba(0,0,0,0.94) 100%);
    pointer-events: none;
    z-index: 1;
}

.destaque-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 22px 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.destaque-info h3 {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0,0,0,0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destaque-cta {
    color: #ff4d55;
    font-family: Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.destaque-card:hover .destaque-cta {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1399px) {
    .single-hero         { padding: 110px 36px 50px; min-height: 580px; }
    .single-hero-cover   { width: 260px; }
    .single-hero-title   { font-size: 3.1em; }
    .single-hero-inner   { gap: 36px; }
    .single-content      { padding: 20px 36px 50px; }

    .destaques-grid      { gap: 18px; }
    .destaque-info h3    { font-size: 1.35em; }
}

@media (max-width: 1099px) {
    .single-hero         { padding: 100px 28px 40px; min-height: 520px; }
    .single-hero-cover   { width: 220px; }
    .single-hero-title   { font-size: 2.5em; }
    .single-hero-desc    { font-size: 0.95em; -webkit-line-clamp: 5; }
    .single-hero-inner   { gap: 28px; }
    .single-btn          { padding: 14px 26px; font-size: 0.95em; }
    .single-content      { padding: 20px 28px 40px; }

    .destaques-grid      { gap: 16px; }
    .destaque-info       { padding: 16px 18px 18px; }
    .destaque-info h3    { font-size: 1.2em; }
    .destaque-cover      { aspect-ratio: 16 / 11; }
}

@media (max-width: 767px) {
    .single-hero         { padding: 90px 20px 40px; min-height: auto; }
    .single-hero-inner   {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
    .single-hero-cover   {
        width: 180px;
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }
    .single-hero-cover:hover { transform: scale(1.02); }
    .single-hero-info    {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    .single-hero-tags    { justify-content: center; }
    .single-hero-title   { font-size: 2em; letter-spacing: -0.5px; }
    .single-hero-desc    { font-size: 0.9em; -webkit-line-clamp: 5; }
    .single-hero-meta    { justify-content: center; font-size: 0.85em; }
    .single-hero-actions {
        justify-content: center;
        width: 100%;
    }
    .single-btn          {
        padding: 13px 22px;
        font-size: 0.9em;
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }

    .single-content      { padding: 16px 18px 40px; }

    .destaques-grid      {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .destaque-cover      { aspect-ratio: 16 / 9; }
    .destaque-info h3    { font-size: 1.15em; }
    .destaque-cta        { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
    .single-hero-cover   { width: 155px; }
    .single-hero-title   { font-size: 1.7em; }
    .single-hero-desc    { font-size: 0.85em; }
    .single-hero-inner   { gap: 18px; }
    .single-btn          { padding: 12px 18px; font-size: 0.85em; }
    .single-content      { padding: 12px 12px 32px; }
    .destaque-info       { padding: 14px 16px 16px; }
    .destaque-info h3    { font-size: 1.05em; }
    .destaque-cta        { font-size: 0.78em; }
}