/* Magazine Style History Page - Harvard Inspired */

/* Typography & Variables */
:root {
    --mag-font-serif: var(--font-serif);
    --mag-font-sans: var(--font-sans);
    --mag-color-text: #1f2937;
    --mag-color-accent: #bc9c22;
    --mag-color-muted: #6b7280;
    --mag-max-width: 800px;
}

/* Page Layout */
body.page-template-page-history {
    overflow-x: hidden;
    background-color: #f9f9f9;
}

.history-article-container {
    background: #fff;
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.history-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background-color: #000;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.history-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Keep opacity for History Page */
}

.history-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    color: #fff;
    text-align: center;
}

/* Existing Styles for History Page */
.history-eyebrow {
    font-family: var(--mag-font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: block;
}

.history-title {
    font-family: var(--mag-font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.history-subtitle {
    font-family: var(--mag-font-serif);
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Article Body */
.history-body {
    max-width: var(--mag-max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem;
    font-family: var(--mag-font-serif);
    color: var(--mag-color-text);
    font-size: 1.5rem;
    line-height: 1.8;
}

/* Drop Cap */
.drop-cap {
    float: left;
    font-size: 5.5rem;
    line-height: 0.8;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    color: var(--theme-primary);
    font-family: var(--mag-font-serif);
    font-weight: 700;
}

/* Section Headings */
.history-chapter {
    margin-top: 5rem;
    margin-bottom: 2rem;
    position: relative;
}

.chapter-marker {
    display: block;
    font-family: var(--mag-font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--mag-color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.history-chapter h2 {
    font-family: var(--mag-font-serif);
    font-size: 3rem;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

/* Content Elements */
.history-body p {
    margin-bottom: 1.5rem;
}

.pull-quote {
    font-family: var(--mag-font-serif);
    font-size: 2.5rem;
    line-height: 1.4;
    font-style: italic;
    color: #111;
    border-top: 2px solid var(--theme-primary);
    border-bottom: 2px solid var(--theme-primary);
    padding: 2rem 0;
    margin: 3rem 0;
    text-align: center;
}

.pull-quote cite {
    display: block;
    font-family: var(--mag-font-sans);
    font-size: 1rem;
    font-style: normal;
    color: var(--mag-color-muted);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Images */
.inline-image {
    margin: 3rem 0;
}

.inline-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.image-caption {
    display: block;
    font-family: var(--mag-font-sans);
    font-size: 1rem;
    color: var(--mag-color-muted);
    margin-top: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

/* Full Width Breakout */
.breakout-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Directress Message */
.directress-message {
    background-color: #f9f9f9;
    padding: 6rem 0;
    margin-top: 6rem;
    border-top: 1px solid #e5e7eb;
}

.message-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.message-content {
    position: relative;
}

.quote-mark {
    font-family: var(--mag-font-serif);
    font-size: 10rem;
    line-height: 1;
    color: rgba(188, 156, 34, 0.2); /* Accent color transparent */
    position: absolute;
    top: -4rem;
    left: -2rem;
    z-index: 0;
}

.directress-quote {
    position: relative;
    z-index: 1;
    font-family: var(--mag-font-serif);
    font-size: 1.75rem;
    line-height: 1.6;
    color: var(--mag-color-text);
    margin: 0 0 2rem 0;
    font-style: italic;
}

.directress-info {
    position: relative;
    z-index: 1;
}

.directress-role {
    display: block;
    font-family: var(--mag-font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mag-color-muted);
    margin-bottom: 0.5rem;
}

.directress-name {
    font-family: var(--mag-font-serif);
    font-size: 1.5rem;
    color: #111;
    margin: 0;
}

.message-image-wrapper {
    position: relative;
}

.directress-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .history-title {
        font-size: 3rem;
    }
    
    .history-body {
        font-size: 1.25rem;
        padding: 3rem 1.5rem;
    }
    
    .message-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .message-image-wrapper {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}
