/* Blog Page Specific Styling - Exact Match to Original main.css.backup */



/* Accent Class for Hero Title Highlights */
.accent {
    color: #FF9F1C;
    font-weight: 800;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 159, 28, 0.3);
    position: relative;
    display: inline-block;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #FF9F1C 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0.7;
}

/* Featured Article Section - Clean and simple */
.featured-article {
    background: var(--white);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
    position: relative;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23004D40" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--white);
    border-radius: 20px;
    padding: var(--space-6);        /* 48px - larger card for readability */
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(23, 104, 212, 0.08);
    position: relative;
    z-index: 2;
}

.featured-image {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.featured-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-title {
    font-size: 2rem;
    color: var(--deep-atlantic-blue);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.featured-excerpt {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(23, 104, 212, 0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    font-size: 0.95rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Author Link Styling */
.author-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
    border-radius: 8px;
    padding: 0.25rem;
    margin: -0.25rem;
}

.author-link:hover {
    background: rgba(23, 104, 212, 0.05);
    transform: translateY(-1px);
}

.author-link:hover .author-name {
    color: var(--deep-atlantic-blue);
}

.author-link:hover .author-role {
    color: var(--primary-blue);
}

/* Author Image Link Styling */
.author-image-link {
    display: inline-block;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.author-image-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 104, 212, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.author-image-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(23, 104, 212, 0.2);
}

.author-image-link:hover::before {
    opacity: 1;
}

.author-image-link img {
    display: block;
    transition: var(--transition);
}

/* Blog Filters - Simple and clean */
.blog-filters {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid rgba(14, 58, 116, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.blog-filters.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.blog-filters.visible {
    transform: translateY(0);
    opacity: 1;
}

.blog-filters .container {
    position: relative;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 50px;
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(23, 104, 212, 0.1), transparent);
    transition: left 0.5s;
}

.filter-tab:hover::before {
    left: 100%;
}

.filter-tab:hover {
    color: var(--royal-wave-blue);
    border-color: rgba(23, 104, 212, 0.2);
    transform: translateY(-1px);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--royal-wave-blue);
    box-shadow: var(--shadow-light);
}

.filter-tab.active:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Articles Grid - Clean background */
.articles-grid {
    background: var(--mist-grey);
    padding: 4rem 0;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(23, 104, 212, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(23, 104, 212, 0.2);
}

.article-card:hover::before {
    opacity: 1;
}

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

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--royal-wave-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(23, 104, 212, 0.2);
}

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-title {
    font-size: 1.25rem;
    color: var(--deep-atlantic-blue);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--royal-wave-blue);
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(23, 104, 212, 0.1);
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Multiple authors container - side by side layout */
.article-authors-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.article-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(23, 104, 212, 0.1);
}

.article-date {
    font-weight: 500;
}

.article-read-time {
    color: var(--text-light);
    font-size: 0.8rem;
}

.article-link {
    color: var(--royal-wave-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: 1rem;
    display: inline-block;
}

.article-link:hover {
    color: var(--deep-atlantic-blue);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(23, 104, 212, 0.1);
}

/* Blog Carousel Styling */
.blog-carousel-section {
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
    background: var(--white);
    position: relative;
}

.blog-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    background: var(--white);
}

.blog-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 0;
}

.blog-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.blog-slide {
    width: 25%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.blog-slide.active {
    opacity: 1;
}

.blog-slide-content {
    display: flex;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.blog-slide-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.blog-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-slide:hover .blog-slide-image img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.blog-slide-text {
    flex: 1;
    padding: var(--space-6);        /* 48px - larger card for readability */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-slide-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-atlantic-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-slide-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-slide-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-slide-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-carousel-container .blog-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    margin: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(14, 58, 116, 0.08);
    box-shadow: none;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out 0.3s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-carousel-container .blog-carousel-nav:hover {
    background: linear-gradient(135deg, rgba(247, 250, 252, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border-top-color: rgba(14, 58, 116, 0.12);
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--white) 0%, rgba(247, 250, 252, 0.9) 100%);
    color: var(--deep-atlantic-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(14, 58, 116, 0.15);
    border: 2px solid rgba(14, 58, 116, 0.08);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.carousel-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(14, 58, 116, 0.25);
    border-color: rgba(23, 104, 212, 0.2);
}

.carousel-btn:hover::before {
    opacity: 1;
}

.carousel-btn:hover svg {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.carousel-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.carousel-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(23, 104, 212, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.indicator:hover {
    background: rgba(23, 104, 212, 0.4);
    transform: scale(1.1);
}

.indicator.active {
    background: var(--deep-atlantic-blue);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(14, 58, 116, 0.3);
}

.indicator.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(23, 104, 212, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Newsletter Section - Clean blue with smooth transition */
.newsletter {
    background: linear-gradient(135deg, var(--deep-atlantic-blue) 0%, var(--royal-wave-blue) 100%);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
    position: relative;
    overflow: hidden;
}

/* Smooth transition from previous section to newsletter */
.newsletter::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(247, 250, 252, 0.8) 30%,
        rgba(59, 130, 246, 0.3) 70%,
        rgba(14, 58, 116, 0.8) 100%);
    z-index: 1;
}

/* Original newsletter background */
.newsletter .newsletter-original::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 159, 28, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.newsletter-text {
    flex: 1;
}

.newsletter-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

/* Blog-specific responsive adjustments */
@media (max-width: 768px) {
    .accent {
        font-weight: 700;
    }

    .accent::after {
        height: 2px;
        bottom: -3px;
    }
    
    .featured-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .featured-image {
        width: 100%;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    
    .featured-article {
        padding: 3rem 0;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.3rem;
    }
    
    .filter-tabs {
        gap: 0.25rem;
    }
    
    .filter-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
    
    .newsletter {
        padding: 3rem 0;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    /* Blog Carousel Responsive */
    .blog-carousel {
        height: 500px;
    }
    
    .blog-slide-content {
        flex-direction: column;
    }
    
    .blog-slide-image {
        height: 250px;
    }
    
    .blog-slide-text {
        padding: 2rem;
    }
    
    .blog-slide-title {
        font-size: 1.5rem;
    }
    
    .blog-carousel-container .blog-carousel-nav {
        padding: 1rem;
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-indicators {
        gap: 0.5rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
} 