/**
 * GVA TO ALPS - Blog Styles
 */

/* Blog Hero */
.blog-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Featured Posts */
.featured-posts {
    padding: 80px 0;
    background: var(--color-bg);
}

.featured-posts h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    min-height: 500px;
}

.featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.featured-large {
    grid-row: span 2;
}

.featured-image {
    position: absolute;
    inset: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.featured-large .featured-content {
    padding: 2.5rem;
}

.post-category {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.featured-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.featured-large .featured-content h3 {
    font-size: 1.75rem;
}

.featured-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-large .featured-content p {
    -webkit-line-clamp: 3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.meta-sep {
    opacity: 0.5;
}

/* All Posts Section */
.all-posts {
    padding: 60px 0 100px;
    background: var(--color-bg);
}

.blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-section h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.25rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.category-list a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--color-text);
}

.category-list a.active {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.category-list .count {
    font-size: 0.8rem;
    opacity: 0.6;
}

.dest-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dest-links li {
    margin-bottom: 0.5rem;
}

.dest-links a {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.dest-links a:hover {
    color: #d4af37;
}

.sidebar-cta {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.sidebar-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.btn-book-full {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #d4af37 0%, #aa8a2c 100%);
    color: #0a0a0a;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-book-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Posts Main */
.posts-main h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-header h2 {
    margin: 0;
}

.clear-filter {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.clear-filter:hover {
    color: #d4af37;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.post-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.post-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.post-content .post-meta {
    color: var(--color-text-muted);
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-muted);
}

.no-posts a {
    color: #d4af37;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.newsletter p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--color-text);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #d4af37;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #d4af37 0%, #aa8a2c 100%);
    color: #0a0a0a;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Header Dark */
.header-dark {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.nav-link.active {
    color: #d4af37;
}

/* Blog Post Page */
.post-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.post-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-hero .post-category {
    margin-bottom: 1rem;
}

.post-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-hero .post-meta {
    font-size: 0.95rem;
}

.post-featured-image {
    max-width: 1000px;
    margin: -30px auto 0;
    padding: 0 20px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.post-body {
    max-width: 750px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.post-body p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text);
    margin: 2.5rem 0 1rem;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-text);
    margin: 2rem 0 0.75rem;
}

.post-body ul, .post-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.post-body li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.post-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #d4af37;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 12px 12px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text);
}

.post-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    text-align: center;
}

.post-cta h3 {
    margin: 0 0 0.5rem !important;
}

.post-cta p {
    margin-bottom: 1.25rem !important;
    font-size: 1rem !important;
}

.post-cta .btn-book-full {
    display: inline-block;
    width: auto;
    padding: 1rem 2.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .featured-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 350px;
    }
    
    .featured-card:not(.featured-large) {
        min-height: 250px;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        order: 1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .posts-main {
        order: 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }
    
    .featured-posts {
        padding: 60px 0;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-column: span 1;
        min-height: 300px;
    }
    
    .featured-card:not(.featured-large) {
        min-height: 220px;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .post-hero {
        padding: 120px 0 40px;
    }
    
    .post-hero h1 {
        font-size: 1.75rem;
    }
    
    .post-body {
        padding: 40px 20px 60px;
    }
    
    .post-body p {
        font-size: 1rem;
    }
}

/* T26 25.11.2026 (same fix as T7 on destination.css): main.css sets .footer-links to display:flex (one row),
   which widened the footer grid columns past the viewport on desktop. Keep the columns stacked and shrinkable. */
.footer-grid > * {
    min-width: 0;
}

.footer-grid .footer-links {
    display: block;
}

.footer-grid .footer-contact a {
    overflow-wrap: anywhere;
}

/* S32 (Sofia 25.11.2026): insigna Google + puncte cheie + buton in hero-ul listei de articole */
.blog-hero-trust { margin-top: 1.75rem; }
.blog-hero-trust .gva-trust { margin-bottom: 1.25rem; }
.blog-hero .blog-hero-cta { display: inline-block; width: auto; padding: 0.875rem 2.25rem; }
/* S32: titlul si textul din hero-urile intunecate (blog + 8 articole) aveau culoarea textului de pe fundal alb (#1a1a1a pe #0a0a0a-#1a1a1a) => invizibile */
.blog-hero h1, .post-hero h1 { color: #fff; }
.blog-hero p { color: rgba(255, 255, 255, 0.75); }
.post-hero .breadcrumb { font-size: 0.85rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.6); }
.post-hero .breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.post-hero .breadcrumb a:hover { color: #d4af37; }
.post-hero .breadcrumb-sep { margin: 0 0.4rem; }

/* T-blogfoot Tudor 26.11.2026 (same fix as S132 in destination.css): --color-text / --color-text-muted are not defined
   anywhere, so on blog-post.php the footer text fell back to the body colour #1a1a1a on the #0a0a0a footer (contrast 1.1,
   footer links, contact and headings practically invisible on the 10 articles EN/FR). Footer only. */
.footer .footer-brand p,
.footer .footer-links a,
.footer .footer-contact a,
.footer .footer-bottom p { color: #a3a3a3; }
.footer .footer-links h4,
.footer .footer-contact h4 { color: #f2f2f2; }
.footer .footer-links a:hover,
.footer .footer-contact a:hover { color: #d4af37; }

/* S149 (Sofia 26.11.2026): gold labels on the light cards/sidebar were #d4af37 on cream (contrast 1.8-2.1); darker gold of the same tone (5.4-6.2). Labels over photos (featured, post hero) keep #d4af37. */
.post-card .post-category,
.category-list a.active,
.no-posts a { color: #7a5c0f; }
