/* Media Page Styles */

/* Variables */
:root {
    --media-primary: #0a3d62; /* Dark navy blue */
    --media-secondary: #3498db; /* Bright blue for accents */
    --media-dark: #1a1a2e; /* Nearly black blue for text */
    --media-light: #f8f9fa; /* Light gray background */
    --media-accent: #e74c3c; /* Red accent for important elements */
    --media-border: #e0e0e0; /* Border color */
    --media-hover: #ecf0f1; /* Hover background color */
    --media-gradient: linear-gradient(135deg, #0a3d62, #3498db);
}

/* Base Styles */
body {
    color: var(--media-dark);
    background-color: #fff;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--media-primary);
    color: white;
    box-shadow: 0 2px 10px rgba(10, 61, 98, 0.2);
}

.btn-primary:hover {
    background-color: #0c4b7a;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3);
}

.btn-secondary {
    background-color: var(--media-secondary);
    color: white;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
}

.btn-secondary:hover {
    background-color: #2980b9;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--media-primary);
    color: var(--media-primary);
}

.btn-outline:hover {
    background-color: var(--media-primary);
    color: white;
}

/* Hero Section */
.media-hero {
    background: var(--media-gradient);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.media-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('../images/wave-divider-blue.svg') no-repeat center bottom;
    background-size: cover;
}

.media-hero .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s ease-out;
}

.media-hero .tagline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Quick Links Section */
.quick-links {
    padding: 40px 0;
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.links-grid {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--media-dark);
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background-color: var(--media-hover);
    transform: translateY(-3px);
}

.link-icon {
    width: 60px;
    height: 60px;
    background-color: var(--media-light);
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.quick-link:hover .link-icon {
    background-color: var(--media-primary);
    background-position: center;
}

.news-icon {
    background-image: url('../images/icon-news.svg');
}

.quick-link:hover .news-icon {
    background-image: url('../images/icon-news-white.svg');
}

.story-icon {
    background-image: url('../images/icon-story.svg');
}

.quick-link:hover .story-icon {
    background-image: url('../images/icon-story-white.svg');
}

.resources-icon {
    background-image: url('../images/icon-resources.svg');
}

.quick-link:hover .resources-icon {
    background-image: url('../images/icon-resources-white.svg');
}

.contact-icon {
    background-image: url('../images/icon-contact.svg');
}

.quick-link:hover .contact-icon {
    background-image: url('../images/icon-contact-white.svg');
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--media-primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.separator {
    height: 3px;
    width: 70px;
    background: var(--media-secondary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
}

/* News Releases Section */
.news-releases {
    padding: 80px 0;
    background-color: var(--media-light);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.search-wrapper {
    display: flex;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--media-border);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    border-color: var(--media-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('../images/icon-search.svg') no-repeat center;
    background-size: contain;
}

.filter-dropdown {
    margin-left: 15px;
}

.filter-dropdown select {
    padding: 12px 35px 12px 15px;
    border: 1px solid var(--media-border);
    border-radius: 4px;
    font-size: 0.95rem;
    background: white url('../images/icon-dropdown.svg') no-repeat calc(100% - 15px) center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown select:focus {
    border-color: var(--media-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-date {
    background: var(--media-primary);
    color: white;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-align: center;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 1rem;
    margin: 5px 0;
    text-transform: uppercase;
    font-weight: 600;
}

.news-date .year {
    font-size: 0.9rem;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--media-dark);
}

.news-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.category {
    background: var(--media-light);
    color: var(--media-primary);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.read-more {
    color: var(--media-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 3px;
    transition: all 0.3s ease;
}

.read-more:hover::after {
    margin-left: 8px;
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

/* Featured Stories Section */
.featured-stories {
    padding: 80px 0;
    background-color: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.main-feature {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    background: var(--media-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

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

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.featured-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-category {
    display: inline-block;
    background: var(--media-secondary);
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.feature-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--media-dark);
}

.feature-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.secondary-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.secondary-features .featured-card {
    background: var(--media-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
}

.secondary-features .featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.secondary-features .feature-image {
    height: 200px;
}

.secondary-features .feature-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.secondary-features .feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.secondary-features .feature-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.all-stories-link {
    text-align: center;
    margin-top: 50px;
}

/* Media Resources Section */
.media-resources {
    padding: 80px 0;
    background-color: var(--media-dark);
    color: white;
}

.media-resources .section-header h2 {
    color: white;
}

.media-resources .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.resource-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.resource-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.resource-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.brand-icon {
    background-image: url('../images/icon-brand.svg');
}

.photo-icon {
    background-image: url('../images/icon-photo.svg');
}

.doc-icon {
    background-image: url('../images/icon-doc.svg');
}

.video-icon {
    background-image: url('../images/icon-video.svg');
}

.audio-icon {
    background-image: url('../images/icon-audio.svg');
}

.resource-info {
    flex-grow: 1;
}

.resource-info h4 {
    margin: 0 0 5px;
    font-weight: 600;
    font-size: 1.05rem;
}

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

.download-info {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--media-secondary);
}

/* Media Contact Section */
.media-contact {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h2 {
    color: var(--media-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-info > p {
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--media-light);
    border-radius: 50%;
    flex-shrink: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.email-icon {
    background-image: url('../images/icon-email.svg');
}

.phone-icon {
    background-image: url('../images/icon-phone.svg');
}

.time-icon {
    background-image: url('../images/icon-clock.svg');
}

.contact-item h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--media-dark);
}

.contact-item p, .contact-item a {
    margin: 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--media-secondary);
}

.press-kit {
    background: var(--media-light);
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.press-kit h3 {
    margin-top: 0;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.press-kit p {
    margin-bottom: 20px;
    color: #555;
}

.contact-form-container {
    background: var(--media-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    color: var(--media-primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--media-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--media-border);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--media-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.form-actions {
    margin-top: 20px;
}

/* Subscribe Section */
.subscribe-section {
    background: var(--media-gradient);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.subscribe-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.subscribe-form input:focus {
    outline: none;
}

.subscribe-form button {
    border-radius: 0 4px 4px 0;
    padding-left: 20px;
    padding-right: 20px;
}

/* PDF Downloads Section */
.pdf-downloads {
    padding: 80px 0;
    background-color: white;
}

.pdf-categories {
    display: grid;
    gap: 50px;
}

.pdf-category {
    background: var(--media-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
}

.pdf-category h3 {
    color: var(--media-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.pdf-category h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: var(--media-secondary);
    border-radius: 2px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.pdf-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--media-border);
}

.pdf-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--media-secondary);
}

.pdf-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.pdf-icon i {
    color: white;
    font-size: 1.5rem;
}

.pdf-content {
    flex: 1;
}

.pdf-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--media-dark);
    line-height: 1.3;
}

.pdf-content p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.pdf-size {
    display: inline-block;
    background: var(--media-light);
    color: var(--media-primary);
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

.download-btn {
    background: var(--media-secondary);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
    flex-shrink: 0;
}

.download-btn:hover {
    background: var(--media-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.download-btn i {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Styles */
@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .main-feature {
        grid-template-columns: 1fr;
    }
    
    .main-feature .feature-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .links-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .quick-link {
        width: 45%;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-wrapper {
        max-width: none;
    }
    
    .filter-dropdown {
        margin-left: 0;
    }
    
    .filter-dropdown select {
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .secondary-features {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .subscribe-form input {
        border-radius: 4px;
    }
    
    .subscribe-form button {
        border-radius: 4px;
        width: 100%;
    }
    
    /* PDF Downloads responsive styles */
    .pdf-grid {
        grid-template-columns: 1fr;
    }
    
    .pdf-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .pdf-content {
        order: 2;
    }
    
    .download-btn {
        order: 3;
        align-self: center;
    }
}

@media (max-width: 500px) {
    .media-hero .page-title {
        font-size: 2.2rem;
    }
    
    .quick-link {
        width: 100%;
    }
    
    /* PDF Downloads smaller screens */
    .pdf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pdf-category {
        padding: 20px;
    }
    
    .pdf-item {
        padding: 15px;
    }
    
    .pdf-icon {
        width: 50px;
        height: 50px;
    }
} 