/* ---
   Theme: Bold & Colorful (Comic Book Style)
   Font: Lobster (Headings), Montserrat (Body)
   Primary Color (Accent): #FF007F (Magenta)
   Secondary Color (Accent): #00FFFF (Cyan)
   Text Color: #1E272E (Dark Slate)
   Background Color: #FFFF99 (Canary Yellow)
   Card/Widget Background: #FFFFFF
   Border Color: #1E272E
   --- */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat:wght@400;700&display=swap');

/* --- Base & Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1E272E;
    background-color: #FFFF99;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lobster', cursive;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #FF007F;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; text-shadow: 3px 3px 0 #00FFFF; }
h2 { font-size: 2.75rem; text-shadow: 2px 2px 0 #00FFFF; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.6rem; }
p { margin-bottom: 1.25rem; }

a {
    color: #FF007F;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #00FFFF;
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

/* --- Layout & Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content-area {
    flex: 1;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .grid-layout {
        grid-template-columns: 3fr 1fr;
    }
}

/* --- Header & Navigation --- */
.site-header {
    background-color: #1E272E;
    padding: 1rem 0;
    border-bottom: 5px solid #00FFFF;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-title {
    font-family: 'Lobster', cursive;
    font-size: 2.2rem;
    font-weight: 400;
}

.site-title a {
    color: #FFFF99;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-title a:hover {
    color: #FF007F;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 700;
    color: #FFFFFF;
    font-size: 1rem;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.main-nav a:hover {
    color: #00FFFF;
    border-bottom-color: #FF007F;
    text-decoration: none;
}

/* --- Main Content & Articles --- */
.page-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.page-intro h1 {
    margin-bottom: 1rem;
}

.page-intro p {
    font-size: 1.2rem;
    color: #1E272E;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background-color: #ffffff;
    border: 4px solid #1E272E;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 8px 8px 0 #1E272E;
}

.article-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #FF007F;
}

.card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-top: 0;
    color: #1E272E;
}

.card-content h3 a {
    color: inherit;
}
.card-content h3 a:hover {
    color: #FF007F;
}

.card-content p {
    color: #576574;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background-color: #FF007F;
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 3px solid #1E272E;
    box-shadow: 4px 4px 0 #1E272E;
}

.btn:hover {
    background-color: #00FFFF;
    color: #1E272E;
    text-decoration: none;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #1E272E;
}

/* Article Page Specifics */
.article-full {
    background: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    border: 4px solid #1E272E;
}

.article-header {
    border-bottom: 4px dotted #1E272E;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    text-shadow: 3px 3px 0 #00FFFF;
}

.article-meta {
    color: #576574;
    font-size: 0.9rem;
    margin-top: -1rem;
    font-weight: 700;
}

.article-content h2 {
    color: #1E272E;
    text-shadow: 2px 2px 0 #FF007F;
    margin-top: 2.5rem;
}

.cta-section {
    background-color: #E0F2F1;
    border: 3px dashed #FF007F;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 4px;
    text-align: center;
}

/* --- Sidebar --- */
.sidebar-widget {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 4px solid #1E272E;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.sidebar-widget h4 {
    border-bottom: 3px solid #00FFFF;
    padding-bottom: 0.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 0.75rem;
}

.sidebar-widget ul li a {
    color: #1E272E;
    font-weight: 700;
}

/* --- Footer --- */
.site-footer {
    background-color: #1E272E;
    color: #FFFF99;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 5px solid #FF007F;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #FFFF99;
    font-weight: 700;
}
.footer-links a:hover {
    color: #00FFFF;
}

/* --- Contact & Offers Pages --- */
.page-content-wrapper {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 4px solid #1E272E;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form label {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1E272E;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 3px solid #1E272E;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #1E272E;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FF007F;
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.5);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.offers-list ul {
    list-style-type: none;
    padding-left: 0;
}

.offers-list li {
    padding: 0.5rem;
    border-bottom: 2px dashed #ccc;
}
