* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #0280ff;
    font-family: 'Nunito', 'Times New Roman';
}

.blog-hero {
    width: 100%;
    padding: 100px 40px 80px;
    position: relative;
    background-color: #f7fdff;
    overflow: hidden;
}

.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    background-size: 1200px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero-content {
    max-width: 900px;
    justify-self: center;
    background-color: #f7fdff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
     box-shadow: 
        0 0 0 50px rgba(247, 253, 255, 0.8),
        0 0 0 100px rgba(247, 253, 255, 0.6),
        0 0 0 150px rgba(247, 253, 255, 0.4),
        0 0 0 200px rgba(247, 253, 255, 0.2),
        0 0 0 250px rgba(247, 253, 255, 0.1);
}

.hero-decoration {
    height: 120px;
    width: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.blog-hero h1 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 64px;
    color: #006ad5;
    letter-spacing: 2px;
}

.blog-hero p {
    font-size: 20px;
    color: #333333;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
}

/* -------------------------- BLOG CONTENT -------------------------- */

.blog-container {
    width: 90%;
    max-width: 1400px;
    margin:120px 80px;
    justify-self: center;
    padding: 60px;
    background-color: #f7fdff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
}

.blog-main-title {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 48px;
    color: #0280ff;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.blog-intro {
    font-size: 18px;
    text-align: center;
    color: #333;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(2, 128, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.article-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h2 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 24px;
    color: #004b97;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-date {
    font-size: 14px;
    color: #69b4ff;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-summary {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more-button {
    align-self: flex-start;
    background-color: #0280ff;
    opacity: 1;
    color: #f7fdff;
    font-weight: 900;
    font-family: 'Nunito', 'Times New Roman';
    font-size: 16px;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease, background-size 0.5s ease;
    display: inline-block;
    
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.read-more-button::after {
    content: '';
    position: absolute;
    background-size: 200px;
    background-repeat: repeat;
    background-blend-mode: overlay;
    background-position: center;
    top: 0;
    left: 0;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
    border-radius: 50px;
    transition: background-size 0.5s ease;
}

.read-more-button::before {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0280ff;
    transition: left 0.5s ease;
}

.read-more-button:hover::before {
    left: 100%;
}

.read-more-button:hover {
    transform: translateY(-3px) scale(1.05);
    background-size: 250px;
}

.read-more-button:active {
    transform: translateY(-1px) scale(1.03);
    background-size: 250px;
}

.read-more-button:hover::after {
    background-size: 250px;
}

.single-article {
    max-width: 900px;
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: #69b4ff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #0280ff;
}

.article-title {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 42px;
    color: #0280ff;
    margin-bottom: 10px;
    line-height: 1.1;
}

.article-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.article-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-body p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.article-body h2 {
    font-family: 'Lilita One', 'Times New Roman';
    font-size: 28px;
    color: #004b97;
    margin-top: 40px;
    margin-bottom: 15px;
}

.article-body strong {
    color: #0280ff;
}

.article-body ul {
    margin: 20px 0;
    padding-left: 40px;
}

.article-body ul li {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.patreon-cta-container,
.website-cta-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.patreon-button,
.website-button {
    background-color: #0280ff;
    opacity: 1;
    color: #f7fdff;
    font-weight: 900;
    font-family: 'Nunito', 'Times New Roman';
    font-size: 18px;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease, background-size 0.5s ease;
    display: inline-block;
    
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.patreon-button::after,
.website-button::after {
    content: '';
    position: absolute;
    background-size: 250px;
    background-repeat: repeat;
    background-blend-mode: overlay;
    background-position: center;
    top: 0;
    left: 0;
    background-image: url('../resources/ui/patterns/pattern_pigeons_black.png');
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
    border-radius: 50px;
    transition: background-size 0.5s ease;
}

.patreon-button::before,
.website-button::before {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0280ff;
    transition: left 0.5s ease;
}

.patreon-button:hover::before,
.website-button:hover::before {
    left: 100%;
}

.patreon-button:hover,
.website-button:hover {
    transform: translateY(-3px) scale(1.05);
    background-size: 300px;
}

.patreon-button:active,
.website-button:active {
    transform: translateY(-1px) scale(1.03);
    background-size: 300px;
}

.patreon-button:hover::after,
.website-button:hover::after {
    background-size: 300px;
}