/**
 * Barbet Core Plugin Styles
 * 
 * This stylesheet provides styling for the Barbet Productions custom post type
 * and implements the Analog layout style for project galleries.
 * 
 * Content Organization:
 * The Barbet plugin organizes productions (such as Peppergrass, Gangrene, USA, etc.)
 * through the custom post type system. Each production can be categorized by Media Type
 * (Film, Theatre, Fiction, Non-Fiction) and includes custom metadata like loglines,
 * director/author information, trailer URLs, and awards. This structure allows for
 * flexible content management while maintaining a consistent presentation across
 * different types of media projects.
 */

/* ==========================================================================
   Global Styles
   ========================================================================== */

/* Restore WordPress admin bar so it keeps native black background and white text
   (needed because body color inherits into #wpadminbar despite :not exclusions) */
#wpadminbar,
#wpadminbar * {
    color: #fff !important;
}
#wpadminbar {
    background-color: #1d2327 !important;
}

/* Mobile: prevent horizontal overflow */
html {
    overflow-x: hidden;
}
body.barbet-front-page,
body.barbet-archive-production,
body.barbet-single-production {
    overflow-x: hidden;
    min-width: 0;
}

/* Apply Instrument Serif font family globally (exclude WP admin bar) */
body:not(#wpadminbar):not(#wpadminbar *),
html:not(#wpadminbar):not(#wpadminbar *) {
    font-family: 'Instrument Serif', serif !important;
    color: #1A1A1B !important;
}

/* Force background: off-white paper look dominant (exclude WP admin bar) */
html:not(#wpadminbar):not(#wpadminbar *),
body:not(#wpadminbar):not(#wpadminbar *),
.barbet-home-wrapper:not(#wpadminbar):not(#wpadminbar *) {
    background-color: #e3e3e4 !important;
}

/* Force global text color to Ink Black for all text elements (exclude WP admin bar) */
body:not(#wpadminbar):not(#wpadminbar *),
html:not(#wpadminbar):not(#wpadminbar *),
p:not(#wpadminbar):not(#wpadminbar *),
div:not(#wpadminbar):not(#wpadminbar *),
span:not(#wpadminbar):not(#wpadminbar *),
h1:not(#wpadminbar):not(#wpadminbar *),
h2:not(#wpadminbar):not(#wpadminbar *),
h3:not(#wpadminbar):not(#wpadminbar *),
h4:not(#wpadminbar):not(#wpadminbar *),
h5:not(#wpadminbar):not(#wpadminbar *),
h6:not(#wpadminbar):not(#wpadminbar *),
a:not(#wpadminbar):not(#wpadminbar *),
li:not(#wpadminbar):not(#wpadminbar *),
td:not(#wpadminbar):not(#wpadminbar *),
th:not(#wpadminbar):not(#wpadminbar *),
.barbet-home-blurb:not(#wpadminbar):not(#wpadminbar *),
.barbet-home-blurb p:not(#wpadminbar):not(#wpadminbar *) {
    color: #1A1A1B;
}

/* Bypass Elementor/Theme: remove dark overlays and wrappers */
body.barbet-front-page .elementor-location-single,
body.barbet-front-page .elementor-section-wrap,
body.barbet-front-page .elementor-background-overlay,
body.barbet-front-page .elementor-section,
body.barbet-front-page [data-elementor-type],
body.barbet-front-page .site-header,
body.barbet-front-page .site-footer,
body.barbet-front-page header,
body.barbet-front-page footer,
body.barbet-front-page .wp-block-cover,
body.barbet-front-page .has-background-dark {
    background-color: transparent !important;
    background-image: none !important;
}

body.barbet-front-page .elementor-widget-wrap,
body.barbet-front-page .elementor-container,
body.barbet-front-page .elementor-inner-section {
    background-color: transparent !important;
}

/* Hide theme/Elementor overlays that add dark backgrounds */
body.barbet-front-page .elementor-background-overlay {
    background-color: transparent !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Set textured off-white background with paper grain effect (exclude WP admin bar) */
body:not(#wpadminbar):not(#wpadminbar *) {
    background-color: #e3e3e4 !important;
    background-image: 
        /* Paper grain texture using radial gradients */
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 10% 50%, rgba(0, 0, 0, 0.008) 0%, transparent 50%),
        radial-gradient(circle at 90% 60%, rgba(0, 0, 0, 0.01) 0%, transparent 50%),
        /* Subtle linear texture overlay */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.01) 10px,
            rgba(0, 0, 0, 0.01) 20px
        );
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, auto;
    position: relative;
}

/* Persistent noise overlay using fixed pseudo-element */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: 
        /* Noise grain pattern using multiple radial gradients */
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.15) 1px, transparent 0),
        radial-gradient(circle at 3px 3px, rgba(0, 0, 0, 0.1) 1px, transparent 0),
        radial-gradient(circle at 5px 5px, rgba(0, 0, 0, 0.12) 1px, transparent 0),
        radial-gradient(circle at 7px 7px, rgba(0, 0, 0, 0.08) 1px, transparent 0),
        radial-gradient(circle at 9px 9px, rgba(0, 0, 0, 0.1) 1px, transparent 0);
    background-size: 10px 10px, 12px 12px, 14px 14px, 16px 16px, 18px 18px;
    background-position: 0 0, 2px 2px, 4px 4px, 6px 6px, 8px 8px;
}

/* ==========================================================================
   Front Page Template Styles
   ========================================================================== */

.barbet-front-page {
    margin: 0;
    padding: 0;
}

.barbet-home-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    background-color: #e3e3e4 !important;
}

.barbet-home-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.barbet-home-logo {
    display: block;
    margin: 0 auto 3rem auto;
    max-width: 280px;
    width: 100%;
    line-height: 0;
}

.barbet-home-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.barbet-home-blurb {
    font-family: 'Instrument Serif', serif !important;
    font-size: 1.375rem;
    line-height: 1.9;
    color: #1A1A1B !important;
    margin: 0 auto 4rem auto;
    max-width: 700px;
    font-weight: 600 !important;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

.barbet-home-blurb p {
    margin: 0;
}

.barbet-home-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.barbet-nav-link {
    font-family: 'Instrument Serif', serif !important;
    font-size: 1rem;
    text-transform: lowercase;
    color: #1A1A1B !important;
    text-decoration: none !important;
    letter-spacing: 0.1em;
    font-weight: 500 !important;
    transition: color 0.3s ease, opacity 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0;
    animation: barbet-fade-in 0.8s ease forwards;
}


/* Staggered fade-in animation for navigation links */
.barbet-nav-link:nth-child(1) {
    animation-delay: 0.2s;
}

.barbet-nav-link:nth-child(2) {
    animation-delay: 0.35s;
}

.barbet-nav-link:nth-child(3) {
    animation-delay: 0.5s;
}

.barbet-nav-link:nth-child(4) {
    animation-delay: 0.65s;
}

.barbet-nav-link:nth-child(5) {
    animation-delay: 0.8s;
}

.barbet-nav-link:nth-child(6) {
    animation-delay: 0.95s;
}

@keyframes barbet-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.barbet-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #1A1A1B !important;
    transition: width 0.3s ease;
}

.barbet-nav-link:hover {
    color: #666666 !important;
}

.barbet-nav-link:hover::after {
    background: #666666 !important;
    width: 100%;
}

/* Contact section (front page) */
.barbet-contact-section {
    margin-top: 5rem;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(26, 26, 27, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.barbet-contact-section .barbet-contact-email {
    margin: 0;
    font-family: 'Instrument Serif', serif !important;
    font-size: 1.125rem;
    color: #1A1A1B !important;
}

.barbet-contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.barbet-contact-link {
    font-family: 'Instrument Serif', serif !important;
    font-size: 1rem;
    color: #1A1A1B !important;
    text-decoration: none !important;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
}

.barbet-contact-link:hover {
    color: #666666 !important;
}

#barbet-contact {
    scroll-margin-top: 2rem;
}

/* ==========================================================================
   Archive Production (Media Type) Template Styles
   ========================================================================== */

.barbet-archive-production {
    margin: 0;
    padding: 0;
}

.barbet-archive-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    background-color: #e3e3e4 !important;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(0, 0, 0, 0.012) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.01) 10px,
            rgba(0, 0, 0, 0.01) 20px
        );
    background-size: 100% 100%, 100% 100%, auto;
}

.barbet-archive-site-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.barbet-archive-logo {
    display: block;
    margin: 0 auto 1.5rem auto;
    max-width: 180px;
    width: 100%;
}

.barbet-archive-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.barbet-archive-nav {
    justify-content: center;
}

.barbet-archive-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.5rem;
}

.barbet-archive-title {
    font-family: 'Instrument Serif', serif !important;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    color: #1A1A1B !important;
    letter-spacing: -0.02em;
}

.barbet-archive-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-top: 1rem;
}

.barbet-archive-description p:last-child {
    margin-bottom: 0;
}

.barbet-archive-back {
    font-family: 'Instrument Serif', serif !important;
    font-size: 0.9rem;
    color: #666 !important;
    text-decoration: none !important;
}

.barbet-archive-back:hover {
    color: #1A1A1B !important;
}

/* About page (no date) */
.barbet-about-content {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 0 0.5rem;
}

.barbet-about-title {
    font-family: 'Instrument Serif', serif !important;
    font-size: 2.25rem;
    font-weight: 600;
    color: #1A1A1B !important;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.barbet-about-body {
    font-family: 'Instrument Serif', serif !important;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1A1A1B !important;
}

.barbet-about-body p {
    margin: 0 0 1rem 0;
}

.barbet-about-body p:last-child {
    margin-bottom: 0;
}

.barbet-about-back {
    margin: 2.5rem 0 0 0;
}

/* Grid: analog, literary margins, paper texture */
.barbet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.barbet-grid-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.barbet-grid-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.barbet-grid-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: #e8e8e6;
    margin-bottom: 1rem;
}

.barbet-grid-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.barbet-grid-link:hover .barbet-grid-poster img {
    opacity: 0.15;
    filter: brightness(0.4);
}

.barbet-grid-logline {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 0.35s ease, background 0.35s ease;
    pointer-events: none;
}

.barbet-grid-link:hover .barbet-grid-logline {
    opacity: 1;
    background: rgba(0, 0, 0, 0.75);
}

.barbet-grid-logline span {
    font-family: 'Instrument Serif', serif !important;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff !important;
    text-align: center;
    max-height: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.barbet-grid-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', serif !important;
    font-size: 1rem;
    color: #888 !important;
    text-align: center;
    padding: 1rem;
}

.barbet-grid-title {
    font-family: 'Instrument Serif', serif !important;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #1A1A1B !important;
    transition: color 0.2s ease;
}

.barbet-grid-link:hover .barbet-grid-title {
    color: #1A1A1B !important;
}

.barbet-grid-empty {
    grid-column: 1 / -1;
    font-family: 'Instrument Serif', serif !important;
    color: #666 !important;
    font-size: 1.125rem;
    margin: 2rem 0;
}

@media (max-width: 600px) {
    .barbet-archive-wrapper {
        padding: 2rem 1.25rem;
    }
    .barbet-archive-title {
        font-size: 2.25rem;
    }
    .barbet-archive-site-header {
        margin-bottom: 2rem;
    }
    .barbet-archive-nav {
        flex-direction: column;
        gap: 1rem;
    }
    .barbet-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .barbet-about-content {
        padding: 0 0.25rem;
    }
    .barbet-about-title {
        font-size: 1.875rem;
    }
    .barbet-about-body {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Single Production Template Styles
   ========================================================================== */

.barbet-single-production {
    margin: 0;
    padding: 0;
}

.barbet-production-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #ffffff;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.barbet-production-header {
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 2rem;
}

.barbet-production-media-type {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #f5f5f3;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #666;
}

.barbet-production-main-title {
    font-family: 'Instrument Serif', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #1A1A1B !important;
    letter-spacing: -0.02em;
}

.barbet-production-director-author {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.barbet-production-featured-image {
    margin: 3rem 0;
    width: 100%;
}

.barbet-production-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.barbet-production-content {
    line-height: 1.8;
    color: #1A1A1B !important;
}

.barbet-production-logline-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.barbet-production-logline {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #1A1A1B !important;
    font-style: italic;
    margin: 0;
    text-align: center;
}

.barbet-production-body {
    margin: 3rem 0;
    font-size: 1.125rem;
}

.barbet-production-body p {
    margin-bottom: 1.5rem;
}

.barbet-section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    color: #1A1A1B !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.barbet-production-trailer-section {
    margin: 3rem 0;
}

.barbet-trailer-embed {
    margin-top: 1.5rem;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.barbet-trailer-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.barbet-trailer-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.barbet-trailer-link:hover {
    background: #333;
}

.barbet-production-awards-section {
    margin: 3rem 0;
}

.barbet-production-awards {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
}

.barbet-production-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    margin-left: 0.75rem;
    vertical-align: middle;
}

.barbet-production-badge-upcoming {
    background: rgba(0, 0, 0, 0.08);
    color: #555;
}

.barbet-production-bio-section {
    margin: 2rem 0;
}

.barbet-production-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.barbet-production-bio p {
    margin: 0 0 0.75em 0;
}

.barbet-production-bio p:last-child {
    margin-bottom: 0;
}

.barbet-production-credits-section,
.barbet-production-festivals-section {
    margin: 2rem 0;
}

.barbet-production-credits,
.barbet-production-festivals {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
}

.barbet-production-links-section {
    margin: 2rem 0;
}

.barbet-production-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.barbet-production-links li {
    margin: 0.5rem 0;
}

.barbet-production-links a {
    color: #1A1A1B;
    text-decoration: underline;
}

.barbet-production-links a:hover {
    color: #555;
}

/* ==========================================================================
   Press Quotes Section - High-End Magazine Style
   ========================================================================== */

.barbet-production-press-quotes {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.barbet-press-quotes-container {
    margin-top: 2rem;
}

.barbet-press-quote {
    margin: 2.5rem 0;
    padding: 0;
    border: none;
    position: relative;
}

.barbet-press-quote::before {
    content: '"';
    font-family: 'Instrument Serif', serif;
    font-size: 6rem;
    line-height: 1;
    position: absolute;
    top: -1rem;
    left: -1.5rem;
    color: rgba(0, 0, 0, 0.08);
    font-weight: 700;
    z-index: 0;
}

.barbet-quote-text {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #1A1A1B !important;
    margin: 0 0 1.5rem 0;
    padding-left: 2rem;
    position: relative;
    z-index: 1;
    font-style: italic;
    font-weight: 400;
}

.barbet-quote-cite {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    padding-left: 2rem;
    font-style: normal;
    position: relative;
    z-index: 1;
}

.barbet-quote-cite::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: #666;
    margin-right: 1rem;
    vertical-align: middle;
}

.barbet-production-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.barbet-back-link {
    display: inline-block;
    color: #1A1A1B !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.barbet-back-link:hover {
    color: #666 !important;
}

/* ==========================================================================
   Analog Layout Style for Project Galleries
   ========================================================================== */

/* Container for production galleries */
.barbet-productions-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 1400px;
}

/* Individual production card/item */
.barbet-production-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.barbet-production-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Production thumbnail/image */
.barbet-production-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.barbet-production-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Production title */
.barbet-production-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #1A1A1B !important;
}

.barbet-production-title a {
    color: #1A1A1B !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.barbet-production-title a:hover {
    color: #666 !important;
}

/* Media type badge */
.barbet-media-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    color: #555;
}

/* Logline */
.barbet-production-logline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Director/Author */
.barbet-production-director {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.barbet-production-director strong {
    font-weight: 500;
    color: #333;
}

/* Awards */
.barbet-production-awards {
    font-size: 0.85rem;
    color: #777;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.barbet-production-awards strong {
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 0.25rem;
}

/* Trailer link */
.barbet-production-trailer {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.barbet-production-trailer:hover {
    background: #333;
    color: #ffffff;
}

/* Archive page specific styles */
.post-type-archive-barbet_production .barbet-productions-gallery {
    padding: 2rem 1rem;
}

/* Single production page styles */
.single-barbet_production .entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.single-barbet_production .barbet-production-meta {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

.single-barbet_production .barbet-production-meta h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .barbet-home-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .barbet-home-content {
        max-width: 100%;
        padding: 0 0.25rem;
    }
    
    .barbet-home-logo {
        max-width: 240px;
        margin-bottom: 2rem;
    }
    
    .barbet-home-blurb {
        font-size: 1.125rem;
        line-height: 1.8;
        margin-bottom: 3rem;
        padding: 0 0.25rem;
    }
    
    .barbet-home-navigation {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .barbet-nav-link {
        font-size: 0.95rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .barbet-contact-section {
        padding: 2.5rem 1rem 3rem;
        margin-top: 3rem;
    }
    
    .barbet-production-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .barbet-production-main-title {
        font-size: 2.5rem;
    }
    
    .barbet-production-logline {
        font-size: 1.125rem;
    }
    
    .barbet-quote-text {
        font-size: 1.25rem;
        padding-left: 1.5rem;
    }
    
    .barbet-press-quote::before {
        left: -1rem;
        font-size: 4rem;
    }
    
    .barbet-quote-cite {
        padding-left: 1.5rem;
    }
    
    .barbet-productions-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .barbet-production-item {
        padding: 1.25rem;
    }
    
    .barbet-production-title {
        font-size: 1.25rem;
    }
}

/* Small phones: tighter padding and typography */
@media (max-width: 480px) {
    .barbet-home-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .barbet-home-content {
        padding: 0;
    }
    
    .barbet-home-logo {
        max-width: 200px;
        margin-bottom: 1.5rem;
    }
    
    .barbet-home-blurb {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 2rem;
        padding: 0;
    }
    
    .barbet-home-navigation {
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .barbet-nav-link {
        font-size: 0.9rem;
    }
    
    .barbet-contact-section {
        padding: 2rem 0.75rem 2.5rem;
        margin-top: 2.5rem;
    }
    
    .barbet-archive-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .barbet-archive-site-header {
        margin-bottom: 1.5rem;
    }
    
    .barbet-archive-logo {
        max-width: 160px;
        margin-bottom: 1rem;
    }
    
    .barbet-archive-title {
        font-size: 1.875rem;
    }
    
    .barbet-archive-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .barbet-about-content {
        margin-top: 2rem;
        padding: 0;
    }
    
    .barbet-about-title {
        font-size: 1.625rem;
    }
    
    .barbet-about-body {
        font-size: 0.9375rem;
    }
    
    .barbet-production-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .barbet-production-main-title {
        font-size: 2rem;
    }
    
    .barbet-grid-logline span {
        font-size: 0.875rem;
    }
}

/* Analog aesthetic: subtle textures and vintage feel */
.barbet-production-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.1),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.barbet-production-item:hover::before {
    opacity: 1;
}
