/* Split Theme - Original Layout Recreation */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body {
    background: #ffffff;
    color: #333333;
    overflow-x: hidden;
}

/* Variables */
:root {
    --ghost-accent-color: #e9631a;
    --split-white: #ffffff;
    --split-black: #000000;
    --split-gray-600: #4b5563;
    --split-gray-400: #9ca3af;
    --split-gray-100: #f3f4f6;
    --split-gray-50: #f9fafb;
    --split-radius: 1rem;
    --split-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Hide old navigation */
.gh-navigation,
.gh-footer {
    display: none !important;
}

/* Split Layout - Grid 2 Colunas */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

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

/* Coluna Esquerda - Hero Sticky */
.split-hero-column {
    position: relative;
    color: var(--split-white);
}

.split-hero-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.split-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.split-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.split-hero-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 3rem 1.5rem;
}

@media (min-width: 640px) {
    .split-hero-content {
        padding: 3rem;
    }
}

/* Header */
.split-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.split-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.split-menu-btn {
    background: none;
    border: none;
    color: var(--split-white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: opacity 0.2s;
}

.split-menu-btn:hover {
    opacity: 0.8;
}

/* Animação do ícone do menu quando ativo */
.split-menu-btn svg {
    transition: transform 0.3s ease;
}

.split-menu-btn.active svg {
    transform: rotate(90deg);
}

/* Menu Overlay */
.split-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
}

.split-mobile-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
}

.split-menu-overlay.active .split-mobile-menu-content {
    transform: translateX(0);
}

.split-mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.split-mobile-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.split-mobile-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.split-mobile-close svg {
    width: 24px;
    height: 24px;
}

.split-mobile-menu-main {
    margin-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
}

.split-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.split-mobile-nav a {
    color: #1f2937 !important;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-20px);
}

.split-menu-overlay.active .split-mobile-nav a {
    opacity: 1;
    transform: translateX(0);
}

.split-mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
.split-mobile-nav a:nth-child(2) { transition-delay: 0.15s; }
.split-mobile-nav a:nth-child(3) { transition-delay: 0.2s; }
.split-mobile-nav a:nth-child(4) { transition-delay: 0.25s; }
.split-mobile-nav a:nth-child(5) { transition-delay: 0.3s; }

.split-mobile-nav a:hover {
    color: var(--ghost-accent-color) !important;
    transform: translateX(5px);
}

.split-mobile-menu-tags {
    margin-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.35s;
}

.split-menu-overlay.active .split-mobile-menu-tags {
    opacity: 1;
    transform: translateX(0);
}

.split-mobile-menu-tags h4 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.split-mobile-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.split-mobile-tag {
    color: #1f2937;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.split-mobile-tag:hover {
    color: var(--ghost-accent-color);
    border-color: var(--ghost-accent-color);
    background: #fff;
}

.split-mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.4s;
}

.split-menu-overlay.active .split-mobile-menu-actions {
    opacity: 1;
    transform: translateX(0);
}

/* Estilo dos botões igual ao newsletter signup */
.split-mobile-signin,
.split-mobile-signup,
.split-mobile-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--ghost-accent-color);
    color: var(--split-white);
    border: none;
    border-radius: 0.375rem;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.split-mobile-signin {
    background: #f9fafb;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

.split-mobile-signin:hover {
    background: #f3f4f6;
}

.split-mobile-signup:hover,
.split-mobile-account:hover {
    background: #d97706;
}

.split-mobile-signup svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.split-logo a {
    color: var(--split-white);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.875rem;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.split-logo img {
    max-width: 100px;
    height: auto;
}

.split-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.split-signin-btn {
    background: var(--ghost-accent-color);
    color: var(--split-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.split-signin-btn:hover {
    background: #d97706;
}

.split-search-btn {
    background: none;
    border: none;
    color: var(--split-white);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.2s;
}

.split-search-btn:hover {
    opacity: 0.8;
}

.split-search-btn span {
    display: none;
}

@media (min-width: 440px) {
    .split-search-btn span {
        display: block;
    }
}

/* Hero Main Content - Container para agrupar título + categorias + footer */
.split-hero-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

/* Wrapper para agrupar título + categorias + footer */
.split-hero-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.split-hero-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.015rem;
}

@media (min-width: 640px) {
    .split-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

.split-hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--split-gray-300);
    opacity: 0.9;
}

@media (min-width: 640px) {
    .split-hero-description {
        font-size: 1.25rem;
    }
}

.split-secondary-nav {
    max-width: 100%;
}

.split-secondary-nav a {
    color: var(--split-gray-400);
    text-decoration: none;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    font-weight: 400;
    transition: color 0.2s;
    font-size: 1.25rem;
}

.split-secondary-nav a:hover {
    color: var(--ghost-accent-color);
}

/* Post Meta na Coluna Esquerda - Fica na parte de baixo */
.split-post-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.split-post-tags {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.split-post-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--split-white);
    margin: 0;
}

@media (min-width: 640px) {
    .split-post-title {
        font-size: 2.5rem;
    }
}

.split-post-author-info {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
}

.split-post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--split-white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.split-post-author:hover {
    opacity: 0.8;
}

.split-post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.split-post-author-name {
    font-weight: 500;
    font-size: 1rem;
}

.split-post-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Hero Footer */
.split-hero-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.split-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.split-footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 380px) {
    .split-footer-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
}

.split-copyright {
    font-size: 0.875rem;
    order: 2;
}

@media (min-width: 380px) {
    .split-copyright {
        order: 1;
    }
}

.split-copyright a {
    color: var(--split-white);
    text-decoration: underline;
}

.split-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    order: 1;
}

@media (min-width: 380px) {
    .split-social {
        order: 2;
    }
}

.split-social a {
    color: var(--split-white);
    transition: opacity 0.2s;
}

.split-social a:hover {
    opacity: 0.8;
}

/* Coluna Direita - Posts */
.split-posts-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.split-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1.5rem;
    padding-bottom: 0;
}

@media (min-width: 640px) {
    .split-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1.5rem;
        padding: 2.5rem;
        padding-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .split-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1400px) {
    .split-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Coluna Direita - Conteúdo da Postagem */
.split-post-content-column {
    padding: 1.5rem 1.5rem 2.5rem;
}

@media (min-width: 640px) {
    .split-post-content-column {
        padding: 3rem 2.5rem;
    }
}

/* Breadcrumb */
.split-breadcrumb {
    margin-bottom: 2rem;
}

.split-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
    color: var(--split-gray-600);
}

.split-breadcrumb-item a {
    color: var(--split-gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.split-breadcrumb-item a:hover {
    color: var(--ghost-accent-color);
}

.split-breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--split-gray-400);
}

.split-breadcrumb-current {
    color: var(--split-gray-400);
    font-weight: 500;
}

/* Conteúdo Principal da Postagem */
.split-post-content {
    max-width: 65ch;
    color: var(--split-gray-600);
    line-height: 1.75;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.split-post-content h1,
.split-post-content h2,
.split-post-content h3,
.split-post-content h4,
.split-post-content h5,
.split-post-content h6 {
    color: #1f2937;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.split-post-content h2 {
    font-size: 1.875rem;
}

.split-post-content h3 {
    font-size: 1.5rem;
}

.split-post-content p {
    margin-bottom: 1.25rem;
}

.split-post-content a {
    color: var(--ghost-accent-color);
    text-decoration: underline;
    font-weight: 500;
}

.split-post-content blockquote {
    border-left: 4px solid var(--ghost-accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
    font-size: 1.125rem;
}

.split-post-content img,
.split-post-content figure {
    margin: 2rem 0;
    border-radius: var(--split-radius);
}

.split-post-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--split-gray-500);
    margin-top: 0.5rem;
}

/* Seção de Compartilhamento */
.split-share-section {
    margin-bottom: 3rem;
}

.split-share-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.split-share-buttons {
    display: flex;
    align-items: center;
}

.split-share-btn {
    background: var(--split-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--split-gray-600);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.split-share-btn:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.split-share-btn:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.split-share-btn:hover {
    background: var(--split-gray-100);
}

/* Seção de Comentários */
.split-comments-section {
    margin-bottom: 3rem;
    border: 1px solid var(--split-gray-100);
    border-radius: 12px;
    padding: 3rem;
}

/* Posts Relacionados */
.split-related-section {
    padding: 1.5rem 0;
}

.split-related-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.split-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .split-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .split-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1400px) {
    .split-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Newsletter Signup */
.split-newsletter-signup {
    display: flex;
    background: #f9fafb;
    padding: 3rem 1.5rem;
    text-align: center;
    margin: 0 1.5rem 2.5rem;
    border-radius: var(--split-radius);
    flex-direction: column;
    align-items: center;
}

@media (min-width: 640px) {
    .split-newsletter-signup {
        margin: 0 2.5rem 2.5rem;
    }
}

.split-newsletter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.split-newsletter-description {
    color: var(--split-gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Email Subscription Form */
.gh-subscribe-form {
    display: flex;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .gh-subscribe-form {
        flex-direction: column;
    }
}

.gh-subscribe-form .gh-form-input {
    flex: 1;
    background: var(--split-white);
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.875rem 1rem;
    color: #1f2937;
    font-size: 1.125rem;
}

.gh-subscribe-form .gh-form-input:focus {
    outline: none;
    border-color: var(--ghost-accent-color);
    box-shadow: 0 0 0 3px rgba(233, 99, 26, 0.1);
}

.gh-subscribe-form .gh-button {
    background: var(--ghost-accent-color);
    color: var(--split-white);
    border: none;
    border-radius: 0.375rem;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.gh-subscribe-form .gh-button:hover {
    background: #d97706;
}

/* Post Cards */
.split-post-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.split-card-image {
    position: relative;
    aspect-ratio: 3/2;
    border-radius: var(--split-radius);
    overflow: hidden;
}

.split-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    overflow: hidden;
    display: block;
}

.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--split-radius);
    transition: transform 0.4s ease;
}

.split-card-link:hover .split-image {
    transform: scale(1.03);
}

.split-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.split-card-tags {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.split-tag {
    background: var(--split-gray-100);
    color: var(--split-gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 5rem;
    border: 0.5px solid var(--split-gray-400);
    transition: background-color 0.2s;
}

.split-tag:hover {
    background: var(--split-gray-100);
    color: var(--split-gray-600);
    border: 0.5px solid var(--split-gray-400);
}

/* .split-tag-featured definido em screen.css */

.split-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.split-title-link {
    color: #1f2937;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    transition: color 0.2s;
}

.split-title-link:hover {
    color: var(--ghost-accent-color);
}

.split-arrow {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.split-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--split-gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.split-card-meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.split-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.split-author:hover {
    color: var(--ghost-accent-color);
}

.split-author-avatar {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.split-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-author-name {
    color: var(--split-gray-600);
    font-weight: 500;
}

.split-dot {
    display: flex;
    align-items: center;
    color: var(--split-gray-400);
}

.split-date {
    color: var(--split-gray-600);
}

/* Responsive Mobile */
@media (max-width: 1024px) {
    .split-hero-column {
        order: 1;
    }
    
    .split-posts-column,
    .split-post-content-column {
        order: 2;
    }
    
    .split-hero-sticky {
        position: relative;
    }
} 