/* PrinbsBeauty VERSION 3 - Final Design Implementation */

/* ===== FONTS - Premium Typography ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ===== COLORS ===== */
:root {
    --white: #FFFFFF;
    --cream: #FAF9F7;
    --warm-ivory: #FFF8F3;
    --black: #1A1A1A;
    --charcoal: #2D2D2D;
    --gray: #6B7280;
    --light-gray: #E5E5E5;
    --accent: #D4A8A1;
    --accent-hover: #C4958F;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* ===== HIDE ASTRA DEFAULT HEADER & PAGE TITLE ===== */
body #masthead,
body #ast-desktop-header,
body #ast-mobile-header,
body .ast-primary-header-bar,
body .main-header-bar,
.site-header#masthead,
.ast-site-header#masthead,
header#masthead.site-header,
.entry-header.ast-no-thumbnail,
.entry-header,
.page .entry-header,
.single .entry-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER - CENTERED LAYOUT ===== */
.header-v3 {
    background: var(--white);
    padding: 24px 48px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.logo-v3 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.nav-v3 {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.nav-v3 a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-v3 a:hover {
    color: var(--accent);
}

/* ===== HERO - FULL WIDTH WITH IMAGE ===== */
.hero-v3 {
    position: relative;
    height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

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

.hero-v3-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
}

.category-label-v3 {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-v3 h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-v3 p {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.btn-primary-v3 {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-primary-v3:hover {
    background: transparent;
    color: var(--white);
}

/* ===== SECTION SPACING ===== */
.section-v3 {
    padding: 96px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header-v3 {
    text-align: center;
    margin-bottom: 64px;
}

.section-header-v3 h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header-v3 p {
    color: var(--gray);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== POST GRID WITH CARDS ===== */
.posts-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.post-card-v3 {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.post-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.post-card-v3:hover .post-image-v3 {
    transform: scale(1.05);
}

.post-image-v3 {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.post-content-v3 {
    padding: 28px;
}

.post-category-v3 {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.post-title-v3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-title-v3 a {
    color: inherit;
    text-decoration: none;
}

.post-title-v3 a:hover {
    color: var(--accent);
}

.post-excerpt-v3 {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-meta-v3 {
    color: var(--gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FEATURED POST ===== */
.featured-post-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--cream);
    margin-bottom: 96px;
}

.featured-image-v3 {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
}

.featured-content-v3 {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag-v3 {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.featured-title-v3 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.25;
    margin-bottom: 20px;
}

.featured-excerpt-v3 {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.btn-outline-v3 {
    display: inline-block;
    color: var(--black);
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid var(--black);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-outline-v3:hover {
    background: var(--black);
    color: var(--white);
}

/* ===== NEWSLETTER ===== */
.newsletter-v3 {
    background: var(--warm-ivory);
    padding: 100px 48px;
    text-align: center;
}

.newsletter-v3 h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 16px;
}

.newsletter-v3 p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-v3 {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
}

.newsletter-form-v3 input {
    flex: 1;
    padding: 18px 24px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 15px;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.newsletter-form-v3 input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-form-v3 button {
    padding: 18px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form-v3 button:hover {
    background: var(--accent);
}

/* ===== FOOTER ===== */
.footer-v3 {
    background: var(--charcoal);
    color: var(--white);
    padding: 80px 48px 40px;
}

.footer-grid-v3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-about-v3 h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-about-v3 p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.8;
}

.footer-col-v3 h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
}

.footer-col-v3 a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col-v3 a:hover {
    color: var(--accent);
}

.footer-bottom-v3 {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .posts-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post-v3 {
        grid-template-columns: 1fr;
    }
    
    .hero-v3 h1 {
        font-size: 44px;
    }
    
    .section-v3 {
        padding: 80px 32px;
    }
}

@media (max-width: 768px) {
    .header-v3 {
        padding: 16px 24px;
    }
    
    .nav-v3 {
        gap: 20px;
    }
    
    .hero-v3 {
        height: 600px;
        padding-bottom: 60px;
    }
    
    .hero-v3 h1 {
        font-size: 32px;
    }
    
    .posts-grid-v3 {
        grid-template-columns: 1fr;
    }
    
    .section-v3 {
        padding: 60px 24px;
    }
    
    .footer-grid-v3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-form-v3 {
        flex-direction: column;
    }
}

/* ===== ULTRA AGGRESSIVE - HIDE ALL ASTRA ELEMENTS ===== */
html body .entry-header,
html body .entry-header.ast-no-thumbnail,
html body #primary .entry-header,
html body article .entry-header,
html body.page .entry-header,
html body.single .entry-header,
html body .site-main .entry-header,
html body #main .entry-header,
html body #post-55 .entry-header,
html body.ast-plain-container .entry-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -99999 !important;
    clip: rect(0,0,0,0) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    pointer-events: none !important;
}