/* 1. GLOBAL & BACKGROUND (The Studio Desk Aesthetic) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,900;1,900&family=Lora:ital,wght@0,400;0,700;1,400&display=swap');

body {
    background-color: #d1d1d1; 
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    margin: 0;
    padding: 0;
}

.newspaper-wrapper {
    background-color: #f4f1ea;
    color: #1a1a1a;
    font-family: 'Lora', serif;
    padding: 40px 60px;
    border: 1px solid #baada3;
    max-width: 1100px;
    margin: 60px auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 15px 12px rgba(0,0,0,0.1);
    position: relative;
}

/* 2. HEADER & MASTHEAD */
.masthead {
    text-align: center;
    border-bottom: 5px double #000;
    margin-bottom: 20px;
}

.edition-info {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    margin-bottom: 10px;
}

.info-top {
    display: flex !important;
    justify-content: center !important;
    padding: 12px 0 8px 0;
    border-bottom: 1px solid #dcdcdc;
}

.language-switcher {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 20px;
    font-weight: bold;
    font-size: 12px; 
    text-transform: uppercase;
    letter-spacing: 2px;
}

.language-switcher li:not(:last-child):after {
    content: "/";
    margin-left: 20px;
    color: #ccc;
}

.language-switcher a { 
    text-decoration: none !important; 
    color: #000; 
}

.info-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 8px 0;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
}

.meta-left { text-align: left !important; flex: 1; }
.meta-right { text-align: right !important; flex: 1; }
.meta-right a { text-decoration: none; color: #000; }

/* 3. LOGO & NAVIGATION */
.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(45px, 8vw, 95px);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 15px 0 5px 0;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.news-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.nav-btn {
    text-decoration: none;
    color: #000;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 16px;
    padding: 6px 12px;
    transition: 0.3s;
    text-transform: uppercase;
    display: inline-block;
}

.nav-btn:hover {
    background-color: #000;
    color: #f4f1ea;
    transform: rotate(-2deg);
}

.tagline {
    font-size: 16px;
    font-weight: bold;
    padding: 12px 0;
    border-top: 2px solid #000;
    text-align: center;
}

/* 4. THE GRID & BYLINE */
.main-news-grid {
    display: grid !important;
    grid-template-columns: 1.8fr 1fr;
    gap: 35px;
    margin-top: 25px;
    align-items: start;
}

.lead-headline {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 10px 0;
    text-align: left;
}

.byline {
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    margin-bottom: 15px;
    display: inline-block;
}

.column p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-img-frame { 
    border: 1px solid #000; 
    padding: 0; 
    background: transparent; 
    margin-bottom: 5px;
    display: block;
    width: 100%;
}

.news-img-frame img { 
    width: 100%; 
    height: auto;
    display: block; 
    mix-blend-mode: multiply; 
}

.caption {
    font-size: 11px;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 15px;
    display: block;
    color: #444;
}

.section-divider { border: 0; border-top: 1px solid #000; margin: 15px 0; }

.learn-more-small {
    font-size: 14px !important;
    padding: 6px 12px !important;
    margin-top: 5px !important;
    border: 1px solid #000;
    display: inline-block;
    text-decoration: none;
    color: #000;
}

/* 5. CONTACT FORM: CLASSIFIED AD STYLE */
.contact-classified-box {
    border: 2px solid #000;
    padding: 30px;
    background-color: #fff;
    margin: 0 auto 10px auto;
    max-width: 850px;
    clear: both;
}

.classified-header {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 24px;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
    text-align: center;
}

.classified-sub {
    font-size: 12px;
    text-align: center;
    font-style: italic;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-row { display: flex; gap: 20px; }
.form-group { flex: 1; margin-bottom: 20px; }

.newspaper-form input, .newspaper-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #000;
    background: #fdfdfd;
    font-family: 'Lora', serif;
    font-size: 14px;
    border-radius: 0;
}

.submit-btn {
    width: 100%;
    background: #000;
    color: #f4f1ea;
    border: none;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    padding: 15px;
    cursor: pointer;
}

/* 6. FOOTER STYLING */
.newspaper-footer {
    margin-top: 10px;
    text-align: center;
    padding-bottom: 20px;
}

.footer-content p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 5px 0;
    color: #666;
}

/* 7. WORDPRESS GAP VACUUM */
.edition-info + p,
.masthead + p,
.tagline + p,
.main-news-grid + p,
.column + p,
.contact-classified-box + p,
.newspaper-wrapper > p:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 8. RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .newspaper-wrapper { padding: 20px; margin: 10px; }
    .main-news-grid { grid-template-columns: 1fr; }
    .info-bottom { flex-direction: column !important; gap: 5px; }
}

/* ================================================= */
/* 8. INTERNAL PAGES (Feature Articles & Portfolios) */
/* ================================================= */

/* Keep the navigation highlighted for the current page */
.news-nav a[href="#about"] {
    background-color: #000;
    color: #f4f1ea;
    pointer-events: none; /* Prevents re-clicking the current page */
}

.about-feature {
    padding: 20px 0;
}

/* Internal Page Feature Headings */
.feature-content h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #000;
}

/* INTERNAL ARTICLE BODY TEXT */
.feature-content p {
    font-size: 19px; /* Slightly larger for easier long-form reading */
    margin-bottom: 25px;
    color: #333;
}

/* Kill the Wordpress 'Ghost' Paragraph on internal pages */
.about-feature + p {
    display: none !important;
}

/* 9. SERVICES PAGE SPECIFIC */

.services-grid {
    margin-top: 20px;
}

.service-column p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
    padding-left: 5px;
}

.service-column strong {
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    display: block; /* Makes the title of each service sit on its own line */
    margin-bottom: 3px;
    font-size: 17px;
}

/* Add a vertical "Rule Line" between columns on desktop */
@media (min-width: 769px) {
    .service-column:first-of-type {
        border-right: 1px solid #000;
        padding-right: 30px;
    }
}

/* Responsive fix for mobile: stack the columns */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    .service-column {
        border-right: none !important;
        padding-right: 0 !important;
    }
}

/* 11. INCOMING PAGE / AD STYLING */

.incoming-bulletin {
    background-color: rgba(0,0,0,0.01);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.02);
    animation: fadeIn 1.5s ease-in-out;
}

.social-ad-links a:hover {
    background: #000;
    color: #f4f1ea !important;
    transform: skewX(-5deg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Force CF7 to match the Newspaper aesthetic */
.wpcf7-form .custom-input, 
.wpcf7-form .custom-select, 
.wpcf7-form .custom-textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-family: 'Lora', serif !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    margin-bottom: 5px !important;
}

.wpcf7-form .submit-btn {
    width: 100% !important;
    background: #000 !important;
    color: #f4f1ea !important;
    padding: 15px !important;
    border: none !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
}

.wpcf7-form .submit-btn:hover {
    background: #333 !important;
}

/* Fix for the dropdown height */
.wpcf7-form .custom-select {
    height: 45px !important;
}

/* Hide the spinning loader that CF7 adds so it doesn't shift the layout */
.wpcf7 .ajax-loader {
    display: none !important;
}