/* Magazine Theme CSS - Kentucky Red */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
    color: #333;
}

/* Magazine Container */
.magazine-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Magazine Header */
.magazine-header {
    background: #fff;
    border-bottom: 3px solid #1a1a1a;
    padding: 1.5rem 0 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: opacity 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 2rem;
}

.issue-info {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.header-logo {
    text-align: center;
    justify-self: center;
}

.magazine-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0;
    color: #1a1a1a;
}

.magazine-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin: 0;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    margin: 0 2rem;
}

.nav-item {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #c9a96e;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a96e;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Cover Story Section */
.cover-story {
    padding: 4rem 0;
    background: #f8f9fa;
}

.cover-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cover-main {
    position: relative;
}

.cover-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.cover-image img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
}

.cover-tag {
    display: inline-block;
    background: #c9a96e;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cover-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cover-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.cover-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sidebar-item:hover {
    transform: translateY(-5px);
}

.sidebar-item.featured {
    border-left: 4px solid #c9a96e;
}

.sidebar-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 0.5rem;
}

.sidebar-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.sidebar-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Feature Story Section */
.feature-story {
    padding: 5rem 0;
    background: white;
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-category {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.story-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.story-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.story-column {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.drop-cap::first-letter {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 3rem;
    padding-right: 8px;
    margin-top: 4px;
    color: #c9a96e;
    font-weight: 700;
}

.pull-quote {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #c9a96e;
    border-radius: 4px;
}

.pull-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
}

.story-images {
    margin-top: -5;
}

.image-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.main-image {
    position: relative;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-images img {
    width: 100%;
    height: 195px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.story-sidebar {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.sidebar-box {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    flex: 1;
}

.sidebar-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.sidebar-box li:last-child {
    border-bottom: none;
}

.sidebar-box p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Editorial Section */
.editorial-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.editorial-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    background: #c9a96e;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.editorial-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.editorial-article {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.editorial-article:hover {
    transform: translateY(-5px);
}

.editorial-article.large {
    grid-row: span 2;
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.editorial-article.large .article-image img {
    height: 400px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
}

.editorial-article:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-category {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.editorial-article.large .article-title {
    font-size: 1.8rem;
}

.article-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #c9a96e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1a1a1a;
}

.editorial-cta {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Color Group Styling */
.color-group {
    margin-bottom: 4rem;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.color-group:last-child {
    border-bottom: none;
}

.group-header {
    text-align: center;
    margin-bottom: 2rem;
}

.group-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #c9a96e;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.group-description {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

.group-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Legacy gallery layout for compatibility */
.gallery-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.featured-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
}

.image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem;
}

.image-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.image-info p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(201,169,110,0.7));
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-number {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

.item-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.item-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.gallery-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.gallery-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a96e;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design for Color Groups */
@media (max-width: 768px) {
    .group-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .group-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .color-group {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }
    
    .group-header {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .group-gallery {
        gap: 1rem;
    }
    
    .group-title {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-item p,
.detail-item a {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    text-decoration: none;
}

.detail-item a:hover {
    color: #c9a96e;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.magazine-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #c9a96e;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.magazine-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.magazine-button:hover {
    background: #c9a96e;
    transform: translateY(-2px);
}

.magazine-button.outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.magazine-button.outline:hover {
    background: #1a1a1a;
    color: white;
}

/* Footer */
.magazine-footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #c9a96e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
}

.footer-nav h4,
.footer-connect h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-connect a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-connect a:hover {
    color: #c9a96e;
}

.footer-connect p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-line {
    height: 1px;
    background: #333;
    margin-bottom: 2rem;
}

.footer-credits {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .magazine-container {
        padding: 0 1.5rem;
    }
    
    .magazine-title {
        font-size: 2.5rem;
    }
    
    .story-title,
    .gallery-title,
    .editorial-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 968px) {
    .magazine-header {
        padding: 0.8rem 0;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .issue-info {
        display: flex;
        flex-direction: column;
        font-size: 0.7rem;
        text-align: left;
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-logo {
        text-align: center;
        order: 2;
        flex: 1;
    }
    
    .magazine-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
        margin: 0;
    }
    
    .magazine-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
        margin: 0;
    }
    
    .header-nav {
        order: 3;
        flex: 0 0 auto;
        position: relative;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 1.2rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        flex-direction: column;
        gap: 1rem;
        min-width: 160px;
        z-index: 1001;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-item {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .cover-layout,
    .story-content,
    .gallery-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-columns {
        grid-template-columns: 1fr;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    
    .image-layout {
        grid-template-columns: 1fr;
    }
    
    .side-images {
        flex-direction: row;
    }
    
    .gallery-footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-credits {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .magazine-container {
        padding: 0 1rem;
        text-align: center;
    }
    
    .magazine-header {
        padding: 0.7rem 0;
    }
    
    .header-top {
        padding: 0 1rem;
        gap: 0.8rem;
    }
    
    .issue-info {
        font-size: 0.65rem;
        gap: 0.3rem;
    }
    
    .magazine-title {
        font-size: 1.9rem;
        letter-spacing: 1.5px;
    }
    
    .magazine-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.8px;
    }
    
    .main-nav {
        min-width: 150px;
        padding: 1rem;
        border-radius: 10px;
        top: calc(100% + 8px);
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-item {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .cover-headline {
        font-size: 2rem;
    }
    
    .story-title,
    .gallery-title,
    .editorial-title,
    .contact-title {
        font-size: 2rem;
    }
    
    /* Featured/Cover Story Section Mobile Styles */
    .cover-story {
        padding: 8rem 0 3rem 0; /* Added extra top padding for mobile spacing */
    }
    
    .cover-layout {
        gap: 2rem;
    }
    
    .cover-image img {
        height: 400px;
        object-fit: contain;
    }
    
    .cover-overlay {
        padding: 2rem;
    }
    
    .cover-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }
    
    .cover-headline {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .cover-excerpt {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .cover-sidebar {
        gap: 1.5rem;
        order: 2;
    }
    
    .sidebar-item {
        padding: 1.5rem;
    }
    
    .sidebar-label {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .sidebar-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .sidebar-item p {
        font-size: 0.9rem;
    }
    
    /* Editorial/Services Section Mobile Styles */
    .editorial-section {
        padding: 3rem 0;
    }
    
    .editorial-header {
        margin-bottom: 2.5rem;
    }
    
    .editorial-title {
        font-size: 2.2rem;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .editorial-article {
        display: flex;
        flex-direction: column;
    }
    
    .editorial-article.large {
        grid-row: span 1;
    }
    
    .article-image {
        order: 1;
    }
    
    .article-image img {
        height: 250px;
        object-fit: contain;
    }
    
    .editorial-article.large .article-image img {
        height: 300px;
    }
    
    .article-content {
        order: 2;
        padding: 1.5rem;
    }
    
    .article-category {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .article-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .editorial-article.large .article-title {
        font-size: 1.4rem;
    }
    
    .article-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .read-more {
        font-size: 0.85rem;
    }
    
    .editorial-cta {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Gallery Section Mobile Styles */
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-header {
        margin-bottom: 2.5rem;
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-layout {
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .featured-image {
        order: 1;
    }
    
    .featured-image img {
        height: 400px;
        object-fit: contain;
    }
    
    .image-info {
        padding: 2rem;
    }
    
    .image-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .image-info p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        order: 2;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .item-overlay {
        padding: 1rem;
    }
    
    .item-overlay h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .item-overlay p {
        font-size: 0.85rem;
    }
    
    .gallery-footer {
        padding: 2rem;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .gallery-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Contact Section Mobile Styles */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-layout {
        gap: 3rem;
    }
    
    .contact-info {
        text-align: center;
        order: 1;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .contact-details {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .detail-item {
        text-align: center;
    }
    
    .detail-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .detail-item p,
    .detail-item a {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
        order: 2;
    }
    
    .magazine-form {
        gap: 1.2rem;
    }
    
    .form-field label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .magazine-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    /* Feature Story Mobile Styles */
    .feature-story {
        padding: 3rem 0;
    }
    
    .story-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .story-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .story-columns {
        gap: 0.5rem;
    }
    
    .story-column {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
    
    .drop-cap::first-letter {
        font-size: 3rem;
        line-height: 2.5rem;
        padding-right: 6px;
    }
    
    .story-images {
         margin-top: 0;
     }
    
    .main-image img {
        height: 300px;
    }
    
    .side-images img {
        height: 140px;
    }
    
    .story-sidebar {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .sidebar-box {
        padding: 1.5rem;
        text-align: left;
    }
    
    .pull-quote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .pull-quote blockquote {
        font-size: 1.1rem;
    }
    
    .cover-overlay,
    .image-info {
        padding: 2rem;
    }
    
    .sidebar-item {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .magazine-container {
        text-align: center;
        padding: 0 0.8rem;
    }
    
    .magazine-header {
        padding: 0.5rem 0;
    }
    
    .header-top {
        gap: 0.5rem;
        padding: 0 0.8rem;
        flex-wrap: nowrap;
    }
    
    .issue-info {
        font-size: 0.6rem;
        gap: 0.2rem;
        min-width: 60px;
    }
    
    .header-logo {
        flex: 1;
        min-width: 0;
    }
    
    .magazine-title {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .magazine-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-nav {
        min-width: 44px;
    }
    
    .main-nav {
        min-width: 130px;
        padding: 0.8rem;
        gap: 0.8rem;
        right: -5px;
        border-radius: 8px;
    }
    
    .nav-item {
        font-size: 0.8rem;
        padding: 0.4rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
    }
    
    .cover-headline {
        font-size: 1.5rem;
    }
    
    .story-title,
    .gallery-title,
    .editorial-title,
    .contact-title {
        font-size: 1.8rem;
    }
    
    /* Featured/Cover Story Section Small Mobile Styles */
    .cover-story {
        padding: 6rem 0 2rem 0;
    }
    
    .cover-layout {
        gap: 1.5rem;
    }
    
    .cover-image img {
        height: 400px;
        object-fit: contain;
    }
    
    .cover-overlay {
        padding: 1.5rem;
    }
    
    .cover-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .cover-headline {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .cover-excerpt {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cover-sidebar {
        gap: 1rem;
    }
    
    .sidebar-item {
        padding: 1.2rem;
    }
    
    .sidebar-label {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
    }
    
    .sidebar-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .sidebar-item p {
        font-size: 0.85rem;
    }
    
    /* Editorial/Services Section Small Mobile Styles */
    .editorial-section {
        padding: 2rem 0;
    }
    
    .editorial-header {
        margin-bottom: 2rem;
    }
    
    .editorial-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .editorial-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .article-image img {
        height: 200px;
    }
    
    .editorial-article.large .article-image img {
        height: 220px;
    }
    
    .article-content {
        padding: 1.2rem;
    }
    
    .article-category {
        padding: 0.2rem 0.5rem;
        font-size: 0.6rem;
    }
    
    .article-title {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .editorial-article.large .article-title {
        font-size: 1.2rem;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .read-more {
        font-size: 0.8rem;
    }
    
    .editorial-cta {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    /* Gallery Section Small Mobile Styles */
    .gallery-section {
        padding: 2rem 0;
    }
    
    .gallery-header {
        margin-bottom: 2rem;
    }
    
    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
    }
    
    .gallery-layout {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .featured-image img {
        height: 300px;
    }
    
    .image-info {
        padding: 1.5rem;
    }
    
    .image-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .image-info p {
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .item-overlay {
        padding: 1rem;
    }
    
    .item-overlay h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .item-overlay p {
        font-size: 0.8rem;
    }
    
    .item-number {
        font-size: 0.7rem;
    }
    
    .gallery-footer {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .gallery-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Contact Section Small Mobile Styles */
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-layout {
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .detail-item h4 {
        font-size: 0.8rem;
    }
    
    .detail-item p,
    .detail-item a {
        font-size: 0.9rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .magazine-form {
        gap: 1rem;
    }
    
    .form-field label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-field textarea {
        min-height: 100px;
    }
    
    .magazine-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
    }
    
    /* Feature Story Small Mobile Styles */
    .feature-story {
        padding: 2rem 0;
    }
    
    .story-header {
        margin-bottom: 1.5rem;
    }
    
    .story-category {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }
    
    .story-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .story-columns {
        gap: 0.3rem;
    }
    
    .story-column {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .drop-cap::first-letter {
        font-size: 2.5rem;
        line-height: 2rem;
        padding-right: 4px;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .side-images img {
        height: 120px;
    }
    
    .story-images {
         margin-top: -80px;
     }
     
     .story-sidebar {
         gap: 1rem;
         margin-top: 1.5rem;
     }
    
    .sidebar-box {
        padding: 1rem;
    }
    
    .sidebar-box h4 {
        font-size: 1rem;
    }
    
    .pull-quote {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .pull-quote blockquote {
        font-size: 1rem;
    }
    
    .cover-overlay,
    .image-info {
        padding: 1.5rem;
    }
    
    .sidebar-item,
    .contact-form-wrapper,
    .editorial-cta {
        padding: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .magazine-header,
    .magazine-footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .magazine-container {
        max-width: none;
        padding: 0;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}