@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, ul {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    font-size: 18px;
    background-color: #F5F6F5;
}

/* Header */
.header {
    background-color: #F8F8F8;
    width: 100%;
    padding: 8px 0;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 36px;
    height: auto;
    margin-right: 8px;
}

.sitename {
    font-family: 'Poppins', 'Helvetica', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
}

.sitename span {
    margin-right: 4px;
}

.slogan {
    font-size: 16px;
    text-transform: uppercase;
    color: #BD626F;
    padding-right: 24px;
}

h1 {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
}

h1 span {
    color: #fccd41;
}

/* Thumbnail Container */
.thumbnail-container {
    position: relative;
    width: 100%;
    max-width: 1280px; /* YouTube thumbnail width */
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Maintains 1280x720 proportions */
    padding: 0 16px;
}

/* Thumbnail Image */
.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills container without distortion */
    display: block;    
    border-radius: 8px;
    border: 1px solid #666666;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the button */
    width: 120px; /* Button size */
    height: 120px;
    background-color: #D32F2F; /* Vibrant Red from campaign */
    border-radius: 50%; /* Circular button */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite ease-in-out; /* Pulsing animation */
    cursor: pointer; /* Indicates clickability */
}

/* Play Button Triangle (CSS-only) */
.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid #FFFFFF; /* White triangle */
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin-left: 10px; /* Slight offset for centering */
}

/* Pulsing Animation */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1); /* 10% scale increase */
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
}

/* Main Content */

.main {
    width: 100%;
    background-color: #F8F8F8;
}

.title-wrapper {
    background-color: #A45C8C;
    padding: 16px;
    width: 100%;
}

h1 {
    font-size: 40px;
    font-family: 'Poppins', 'Helvetica', sans-serif;
    color: #F5F6F5;
    margin: 0 auto;
    line-height: 1.2;    
    max-width: 800px;    
}

ul {
    margin-bottom: 16px;
}

.article {
    max-width: 800px;
    margin: 24px auto;
}

h3 {
    font-size: 24px;
    color: #333333;
    font-family: 'Poppins', 'Helvetica', sans-serif;
    margin: 16px 0;
    font-weight: 600;
    line-height: 1.5;
    text-transform: capitalize;
}

.metadata {
    display: flex;
    align-items: center;
}

.portrait {
    border-radius: 50%;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
    width: 64px;
    height: auto;
    margin-right: 8px;
}

.byline {
    font-size: 16px;
    color: #666666;
    font-style: italic;
}

.content h2 {
    font-size: 24px;
    margin: 16px 0;
    font-family: 'Poppins', 'Helvetica', sans-serif;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.content strong {
    color: #BD626F;
}

.cta-button {
    display: block;
    background-color: #D32F2F; /* Vibrant Red */
    color: #FFFFFF;
    padding: 16px;
    text-decoration: none;
    font-family: 'Poppins', 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    margin: 24px auto;
    text-align: center;
    transition: background-color 0.3s;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
    width: 60%;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #B71C1C;
    transform: scale(1.1);
}

.cta-subtext {
    font-size: 1.1rem;
    font-style: italic;
    color: #333333;
}

.cta-note {
    font-size: 0.9rem;
    color: #666666;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #4DB6AC;
    padding: 2rem 20px;
    text-align: center;
    color: #FFFFFF;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.disclaimer {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer p {
    font-size: 0.8rem;
}

/* Responsive Design Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .header {
        padding: 16px;
    }

    .slogan {
        padding-right: 0;
    }

    .title-wrapper {
        padding: 24px;
    }

    h1 {
        font-size: 32px;
    }

    .thumbnail-container {
        padding: 24px;
    }

    .article {
        padding: 0 24px;
    }
}

/* Responsive Design Mobile */
@media (max-width: 767px) {
    .header {
        padding: 8px;
    }

    .sitename {
        flex-direction: column;
        align-items: flex-start;
        font-size: 16px;
    }
    
    .sitename span {
        margin-right: 0;
        line-height: 1.1; 
    }

    .slogan {
        font-size: 14px;
        padding-right: 8px;
    }

    .title-wrapper {
        padding: 16px;
    }

    h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    h3 {
        font-size: 18px;
        line-height: 1.5;
    }

    ul {
        padding: 0 16px;
    }

    .article {
        padding: 0 16px;
    }

    .cta-button {
        width: 100%;
    }

    .play-button {
        width: 80px; /* Smaller button for tablets */
        height: 80px;
    }
    .play-button::before {
        border-left: 24px solid #FFFFFF; /* Scale triangle */
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        margin-left: 8px;
    }
}