/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header styling */
header {
    background-color: #D71F27; /* Professional blue */
    color: white;
    text-align: center;
    padding: 80px 20px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.4em;
}

/* Main container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Talking point sections */
.talking-point {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.talking-point img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

.talking-point .content {
    padding: 30px;
    text-align: center;
}

.talking-point h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #D71F27;
}

.talking-point p {
    font-size: 1.1em;
}

/* Responsive layout - switch to side-by-side on larger screens */
@media (min-width: 768px) {
    .talking-point {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .talking-point:nth-child(even) {
        flex-direction: row-reverse;
    }

    .talking-point img {
        margin: 20px;
    }

    .talking-point .content {
        padding: 40px;
        text-align: left;
        width: 75%;
    }

    .talking-point:nth-child(even) .content {
        text-align: left;
    }
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

footer a {
    color: #007BFF;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Make the header link more obvious and clickable */
.talking-point-header-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.talking-point-header-link h2 {
    transition: color 0.3s ease;
    cursor: pointer;
}

.talking-point-header-link:hover h2 {
    color: #b51920; /* Slightly darker red on hover */
    text-decoration: underline;
}

/* Subtle note telling users to click the header */
.learn-more-note {
    margin: -10px 0 20px 0;
    font-size: 0.95em;
    color: #676767;
    font-style: italic;
}

/* Ensure the whole header area feels clickable */
.talking-point h2 {
    margin-bottom: 5px;
}


/* Detail page specific styles */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.detail-page {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 50px;
}

.detail-header {
    font-size: 2.8em;
    color: #D71F27;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.detail-content .intro {
    font-size: 1.3em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #444;
}

.detail-content h3 {
    font-size: 1.8em;
    color: #D71F27;
    margin: 40px 0 15px 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.detail-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.detail-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.evidence-img {
    width: 100%;
    height: auto;
    object-fit: fill;
}

blockquote {
    background: #f9f9f9;
    border-left: 5px solid #D71F27;
    margin: 30px 0;
    padding: 20px;
    font-style: italic;
    font-size: 1.2em;
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-size: 0.9em;
    color: #666;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sources {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

.sources a {
    color: #D71F27;
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}

.back-button {
    text-align: center;
    margin: 40px 0;
}

.back-button a {
    display: inline-block;
    background: #D71F27;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.back-button a:hover {
    background: #b51920;
}
