* {
    margin: 0;
}

body {
    font-family: 'Titillium Web', "Helvetica Neue", sans-serif;
    font-size-adjust: 0.46;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 3rem 0;
}

.container {
    max-width: 80vw;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    position: relative;
    background-color: #fff; /* Optional: Change background if needed */
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.hero-title {
    font-size: 2em; /* Reduced from 3em */
    font-weight: 700;
}

.hero-text {
    font-size: 1em;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.cta-button {
    background-color: #0071bb;
    color: #fff !important;
    padding: 10px 20px; /* Reduced padding */
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduced shadow */
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.9em; /* Reduced font size */
    display: inline-block;
    margin: 0.5rem 0;
}

.cta-button:hover {
    background-color: #005f99;
    transform: translateY(-1px); /* Slightly reduced transform */
}

.article-header {
    padding: 1rem 0;
}

/* Main Content */
main {
    background-color: #fff;
}

.article {
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.5em;
    padding: 0;
    color: #2c3e50;
    text-align: center
}

.byline {
    font-size: 0.95em;
    color: #4a4a4a;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 1rem;
    text-align: center
}

.byline a {
    color: #0071bb;
    text-decoration: underline;
    font-weight: 600
}

.byline a:hover {
    text-decoration: underline
}

.trading-plans h2 {
    font-size: 1.8em;
    color: #0071bb;
    display: inline-block;
    padding: 0.5rem 0;
}

.trading-plans ul {
    list-style-type: disc;
}

.trading-plans p {
    font-size: 1em;
    color: #555
}

p {
    line-height: 1.8;
    color: #555
}

h2 {
    font-size: 1.5em;
    color: #2c3e50;
    position: relative
}

.ratings-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0;
}

.ratings-table th, .ratings-table td {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: center;
}

.ratings-table th {
    background-color: #0071bb;
    color: #fff;
    font-weight: 600
}

.ratings-table tr:nth-child(even) {
    background-color: #f9f9f9
}

.ratings-table tr:hover {
    background-color: #f1c40f33
}

.trigger-section {
    background-color: #fff;
    padding: 0.5rem 0;
    border-radius: 6px;
    text-align: center;
}

.chart-section p {
    font-style: italic;
    color: #555
}

.trigger-section p {
    font-size: 1.1em;
    color: #0071bb;
    margin-bottom: 0.5rem;
}

.trigger-section .cta-button {
    background-color: #0071bb;
    margin: 0
}

.trigger-section .cta-button:hover {
    background-color: #005f99
}

.chart-section {
    text-align: center;
    padding: 0.5rem 0;
}

.chart-section h2 {
    font-size: 1.8em;
    color: #2c3e50;
}

.chart-section picture {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    margin: 0 0.5rem;
}

.chart-section p {
    font-style: italic;
    color: #555
}

picture img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto
}

/* Links */
a {
    color: #0071bb;
    text-decoration: none;
    transition: color 0.3s ease
}

a:hover {
    color: #005f99
}

/* Buttons */
button, .cta-button {
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    border: none;
    outline: none
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .hero {
        padding-top: 0;
    }

    .container {
        max-width: 100vw;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-text {
        font-size: 1em
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1em
    }

    .article-header h1 {
        font-size: 2em
    }

    section h2 {
        font-size: 1.5em
    }

    .ratings-table th, .ratings-table td {
        padding: 12px
    }

    .hero-content img {
        width: 90vw !important;
    }
}

.hero-content img {
    width: 50vw;
    height: auto;
    aspect-ratio: 1016 / 352;
}

.summary {
    padding: 0.5rem 0;
}

.bg-strong {
    color: #ffffff;
    background-color: #1D632C; /* Light green */
}

.bg-weak {
    color: white;
    background-color: #b63c45; /* Light red */
}

.bg-neutral {
    color: #333;
    background-color: #ece6dc; /* Light yellow */
}

.bg-secondary {
    background-color: #e2e3e5; /* Light gray */
}

/* Recent Articles Section */
.recent-articles {
    background-color: #fff; /* Match the main content area */
    padding: 2rem; /* Add padding around the section */
    margin-top: 2rem; /* Add some space above */
    border-radius: 8px; /* Rounded corners for consistency */
}

.recent-articles h2 {
    font-size: 2rem; /* Title size */
    color: #0071bb; /* Match link color */
    margin-bottom: 1rem; /* Space below the title */
}

.recent-articles ul {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.recent-articles li {
    margin-bottom: 1rem; /* Space between articles */
    padding-bottom: 0.5rem; /* Add padding at the bottom */
    border-bottom: 1px solid #ecf0f1; /* Light separator between items */
}

.recent-articles li:last-child {
    border-bottom: none; /* Remove separator for the last item */
}

.recent-articles a {
    font-weight: 600; /* Make links bold */
    color: #0071bb; /* Match link color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color change on hover */
    font-size: 1.2rem;
}

.recent-articles a:hover {
    color: #005f99; /* Darker color on hover */
}

.recent-articles small {
    display: block; /* Place date on a new line */
    color: #555; /* Subtle color for the date */
    font-size: 1.1rem; /* Slightly smaller font size */
    margin-top: 0.2rem; /* Add space above the date */
}

