/*
Theme Name: The SKN Report
Description: A professional WordPress theme for independent investigative journalism in St. Kitts & Nevis
Author: The SKN Report Team
Version: 1.0.0
License: GPL v2 or later
Text Domain: sknreport
*/

/* CSS Variables for Brand Colors */
:root {
    --skn-green: #008841;
    --skn-red: #dd1a22;
    --skn-gold: #ffc202;
    --skn-grey: #F5F5F5;
    --skn-white: #ffffff;
    --skn-black: #000000;
    --skn-dark-grey: #333333;
    --skn-light-grey: #e0e0e0;
    --skn-text: #2c2c2c;
    
    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--skn-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 25px; /* Account for fixed header */
    background-color: var(--skn-white);
}

/* Admin bar adjustment */
body.admin-bar {
    padding-top: 20px; /* 85px header + 32px admin bar */
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 131px; /* 85px header + 46px mobile admin bar */
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--skn-green);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--skn-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--skn-red);
}

.footer-bottom a, .footer-bottom a:hover {
    color: var(--skn-white);
}

/* Container and Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Sections */
.content-section {
    padding: 1rem 0;
}

.content-section:nth-child(even) {
    background-color: var(--skn-grey);
}

/* Article Cards */
.post-featured-image {
    margin-top: 25px;
    text-align: center;
}

.post-featured-image img {
    max-width: 600px;
    width: 100%;
    height: 100%;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--skn-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--skn-green);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--skn-green);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 136, 65, 0.15);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--skn-dark-grey);
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--skn-dark-grey);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--skn-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--skn-red);
}

/* Single Post Styles */
.post-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--skn-green);
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--skn-dark-grey);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta strong {
    color: var(--skn-green);
}

/* Post Content */
.post-content {
    max-width: 1300px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--skn-green);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--skn-green);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
}

.post-content h4 {
    font-size: 1.2rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--skn-text);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.post-content blockquote {
    border-left: 4px solid var(--skn-green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--skn-grey);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--skn-text);
}

/* Blog Archive Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 1000px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-card-category {
    background: #008841;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.blog-card-date {
    color: #6c757d;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #008841;
}

.blog-card-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.blog-card-author {
    font-size: 0.85rem;
    color: #6c757d;
}

.blog-card-read-more {
    color: #008841;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.blog-card-read-more:hover {
    color: var(--skn-green);
}

/* Related Posts */
.related-posts {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 2px solid #e9ecef;
}

.related-posts h3 {
    text-align: center;
    color: #008841;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Page Links (Pagination within post) */
.page-links {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.page-links a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background: #008841;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.page-links a:hover {
    background: #006633;
}

.source-disclaimer {
    background: #008841;
    border-left: 4px solid #ffc202;
    padding: 1.5rem;
    margin: 2rem auto;
    border-radius: 8px;
    color: #fff;
    border: 1px solid #008841;
    max-width: 1260px;
}

.source-disclaimer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
        margin-top: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.source-disclaimer p {
    margin: 0;
    line-height: 1.5;
}

.source-disclaimer strong {
    color: #ffffff;
}

/* WordPress Comments Styles */
#comments {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.comments-title {
    color: #008841;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #008841;
    padding-bottom: 0.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #008841;
    position: relative;
}

.comment .children {
    margin-top: 1.5rem;
    margin-left: 2rem;
    border-left: 2px solid #dee2e6;
    padding-left: 1rem;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 2px solid #008841;
}

.comment-author .fn {
    font-weight: bold;
    color: #008841;
    text-decoration: none;
    font-size: 1.1rem;
}

.comment-author .fn:hover {
    color: #006633;
    text-decoration: underline;
}

.comment-metadata {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.comment-metadata a {
    color: #6c757d;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #008841;
    text-decoration: underline;
}

.comment-content {
    margin: 1rem 0;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 1rem;
}

.comment-reply-link {
    background: #008841;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.comment-reply-link:hover {
    background: #006633;
    transform: translateY(-2px);
}

.comment-awaiting-moderation {
    color: #856404;
    background: #fff3cd;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    border: 1px solid #ffeaa7;
}

/* Comment Form Styles */
#respond {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-top: 4px solid #008841;
}

#reply-title {
    color: #008841;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #008841;
    padding-bottom: 0.5rem;
    position: relative;
}

#cancel-comment-reply-link {
    position: absolute;
    right: 0;
    top: 0;
    color: #dd1a22;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
}

#cancel-comment-reply-link:hover {
    text-decoration: underline;
}

.comment-form-field {
    margin-bottom: 1.5rem;
}

.comment-form-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.comment-form-field input[type="text"],
.comment-form-field input[type="email"],
.comment-form-field input[type="url"],
.comment-form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.comment-form-field input[type="text"]:focus,
.comment-form-field input[type="email"]:focus,
.comment-form-field input[type="url"]:focus,
.comment-form-field textarea:focus {
    outline: none;
    border-color: #008841;
    box-shadow: 0 0 0 3px rgba(0, 136, 65, 0.1);
}

.comment-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 1rem;
}

.submit {
    background: #008841;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit:hover {
    background: #006633;
    transform: translateY(-2px);
}

.comment-notes {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #ffc202;
}

.required {
    color: #dd1a22;
}

/* No comments message */
.no-comments {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    font-style: italic;
}

/* Comment navigation */
.comment-navigation {
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    flex: 1;
}

.comment-navigation .nav-next {
    text-align: right;
}

.comment-navigation a {
    color: #008841;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #008841;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.comment-navigation a:hover {
    background: #008841;
    color: white;
}

/* Contact Form 7 Styles */
.tsk-contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--skn-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tsk-contact-form label {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--skn-green);
    font-size: 1rem;
}

.tsk-contact-form input[type="text"],
.tsk-contact-form input[type="email"],
.tsk-contact-form input[type="tel"],
.tsk-contact-form input[type="url"],
.tsk-contact-form input[type="number"],
.tsk-contact-form input[type="date"],
.tsk-contact-form textarea,
.tsk-contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--skn-light-grey);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
    margin-top: 0.5rem;
    box-sizing: border-box;
}

.tsk-contact-form input[type="text"]:focus,
.tsk-contact-form input[type="email"]:focus,
.tsk-contact-form input[type="tel"]:focus,
.tsk-contact-form input[type="url"]:focus,
.tsk-contact-form input[type="number"]:focus,
.tsk-contact-form input[type="date"]:focus,
.tsk-contact-form textarea:focus,
.tsk-contact-form select:focus {
    outline: none;
    border-color: var(--skn-green);
    box-shadow: 0 0 0 2px rgba(0, 136, 65, 0.1);
}

.tsk-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.tsk-contact-form input[type="submit"] {
    background-color: var(--skn-green);
    color: var(--skn-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
}

.tsk-contact-form input[type="submit"]:hover {
    background-color: var(--skn-gold);
    color: var(--skn-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tsk-contact-form input[type="checkbox"],
.tsk-contact-form input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0;
}

.tsk-contact-form input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed var(--skn-light-grey);
}

.tsk-contact-form input[type="file"]:focus {
    border-color: var(--skn-green);
}

/* Contact Form 7 Response Messages */
.wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Contact Form 7 Validation Errors */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* Contact Form 7 Spinner */
.wpcf7-spinner {
    margin-left: 10px;
}

/* Additional styling for complex forms */
.tsk-contact-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tsk-contact-form .form-row label {
    flex: 1;
    margin-bottom: 0;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid var(--skn-light-grey);
    border-radius: 3px;
    color: var(--skn-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--skn-green);
    color: var(--skn-white);
    border-color: var(--skn-green);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 3rem;
    color: var(--skn-dark-grey);
}

/* Footer */
.site-footer {
    background-color: var(--skn-green);
    color: var(--skn-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--skn-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--skn-white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--skn-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--skn-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 15px; /* Keep consistent mobile padding */
    }
    
    body.admin-bar {
        padding-top: 5px; /* 85px header + 46px mobile admin bar */
    }

    .blog-card-image {
        height: 300px;
    }
    
    .nav-menu,
    #primary-menu,
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--skn-white);
        flex-direction: column;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        border-top: 1px solid var(--skn-light-grey);
    }
    
    .nav-menu.active,
    #primary-menu.active,
    .main-navigation ul.active {
        display: flex !important;
    }
    
    .nav-menu li,
    #primary-menu li,
    .main-navigation ul li {
        margin: 0;
        border-bottom: 1px solid var(--skn-light-grey);
    }
    
    .nav-menu li:last-child,
    #primary-menu li:last-child,
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a,
    #primary-menu a,
    .main-navigation ul a {
        display: block;
        padding: 1rem 20px;
        color: var(--skn-green);
        border-bottom: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.current,
    #primary-menu a:hover,
    #primary-menu a.current,
    .main-navigation ul a:hover,
    .main-navigation ul a.current {
        background-color: var(--skn-green);
        color: var(--skn-white);
    }
    
    /* Close mobile menu when resized */
    .nav-menu.active {
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .site-branding {
        flex: 1;
    }
    
    .main-navigation {
        position: relative;
        order: 3;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .donation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact Form 7 Mobile Styles */
    .tsk-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .tsk-contact-form .form-row label {
        margin-bottom: 1.5rem;
    }
    
    /* Comments Mobile Styles */
    .comment .children {
        margin-left: 1rem;
        padding-left: 0.5rem;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #respond {
        padding: 1.5rem;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment-navigation .nav-next {
        text-align: left;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* WordPress Specific */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--skn-dark-grey);
    margin-top: 0.5rem;
}

/* St. Kitts & Nevis Flag-Themed Elements */
.skn-flag-accent {
    background-color: var(--skn-green);
    height: 4px;
    width: 100%;
    margin: 2rem 0;
}

.skn-highlight-box {
    background-color: rgba(0, 136, 65, 0.05);
    border: 1px solid var(--skn-green);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.skn-badge {
    display: inline-block;
    background-color: var(--skn-green);
    color: var(--skn-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.25rem;
}

.skn-divider {
    height: 2px;
    background-color: var(--skn-green);
    margin: 3rem auto;
    width: 60%;
}

/* ===========================
   PAGE-SPECIFIC STYLES
   =========================== */

/* Home Page Styles */
.home-hero {
    background: linear-gradient(135deg, #008841 0%, #006633 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffc202;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.featured-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.featured-section h2 {
    text-align: center;
    color: #008841;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category {
    background: #008841;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.date {
    color: #6c757d;
}

.card-content h3 {
    margin-bottom: 1rem;
}

.card-content h3 a {
    color: #333;
    text-decoration: none;
}

.card-content h3 a:hover {
    color: #008841;
}

.card-content p {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #008841;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: #006633;
}

.view-all-reports {
    text-align: center;
}

.mission-section {
    padding: 4rem 2rem;
    background: white;
}

.mission-content h2 {
    text-align: center;
    color: #008841;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.mission-content p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 1300px;
    margin: 0 auto 3rem auto;
    color: #555;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 4px solid #008841;
}

.value-item h3 {
    color: #008841;
    margin-bottom: 1rem;
}

.value-item p {
    color: #6c757d;
    margin: 0;
}

/* About Page Styles */
.about-hero {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text h1 {
    color: #008841;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
}

.values-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.values-section h2 {
    color: #008841;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-section {
    padding: 4rem 2rem;
    background: white;
}

.team-section h2 {
    color: #008841;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.team-section > p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #555;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.member-info h3 {
    color: #008841;
    margin-bottom: 0.5rem;
}

.member-info p {
    color: #6c757d;
    line-height: 1.6;
}

.join-team {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #008841, #006633);
    color: white;
    border-radius: 8px;
}

.join-team h3 {
    color: white;
    margin-bottom: 1rem;
}

.join-team p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-hero {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #008841, #006633);
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-content {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #008841;
}

.contact-info h2,
.contact-form-section h2 {
    color: #008841;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    color: #008841;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: #008841;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    color: #006633;
    text-decoration: underline;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item small {
    color: #6c757d;
    font-style: italic;
}

.social-links h3 {
    color: #008841;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: #e4405f; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.message-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #008841;
    box-shadow: 0 0 0 3px rgba(0, 136, 65, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    padding: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    margin-top: 1rem;
}

.form-note p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
}

.privacy-notice,
.tip-guidelines {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #ffc202;
}

.privacy-notice h3,
.tip-guidelines h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.privacy-notice p {
    color: #6c757d;
    line-height: 1.6;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guideline-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.guideline-item h4 {
    color: #008841;
    margin-bottom: 1rem;
}

.guideline-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.guideline-item li {
    margin-bottom: 0.5rem;
    color: #6c757d;
}

/* General Page Styles */
.page-header {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 3px solid #008841;
}

.page-title {
    font-size: 2.2rem;
    margin: 0;
    font-weight: bold;
    color: #008841;
}

.page-content {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.7;
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4 {
    color: #008841;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper h2 {
    border-bottom: 2px solid #008841;
    padding-bottom: 0.5rem;
    font-size: 1.8rem;
}

.content-wrapper h3 {
    font-size: 1.4rem;
}

.content-wrapper p {
    margin-bottom: 1.2rem;
    color: #555;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: #555;
}

.content-wrapper blockquote {
    border-left: 4px solid #008841;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
}

.content-wrapper a {
    color: #008841;
    text-decoration: underline;
}

.content-wrapper a:hover {
    color: #006633;
}

/* Tip Submission Form Styles */
.tip-form-container {
    margin: 3rem 0;
}

.security-notice {
    background-color: #e8f4f8;
    border-left: 4px solid #008841;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.security-notice h3 {
    color: #008841;
    margin-bottom: 1rem;
}

.security-notice ul {
    margin: 0;
    padding-left: 1.5rem;
}

.security-notice li {
    margin-bottom: 0.5rem;
    color: #555;
}

.form-placeholder {
    text-align: center;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.form-placeholder h3 {
    color: #008841;
    margin-bottom: 1rem;
}

.form-placeholder ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.form-placeholder li {
    margin-bottom: 0.5rem;
    color: #555;
}

.tip-guidelines {
    margin-top: 3rem;
}

.tip-guidelines h3 {
    color: #008841;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guideline-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #008841;
}

.guideline-item h4 {
    color: #008841;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guideline-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.guideline-item li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.5;
}

.source-protection {
    background-color: #f0f8ff;
    border: 2px solid #ffc202;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 10px;
    text-align: center;
}

.source-protection h3 {
    color: #008841;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.source-protection p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.source-protection > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.source-protection > div > div {
    padding: 1rem;
    background: rgba(0, 136, 65, 0.05);
    border-radius: 6px;
}

.source-protection strong {
    color: #008841;
    display: block;
    margin-bottom: 0.5rem;
}

/* Tip Form Specific Styles */
.skn-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.skn-form h2 {
    color: #008841;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.tip-submission-form,
.skn-form form {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin: 0;
}

.tip-submission-form .form-group,
.skn-form .form-group {
    margin-bottom: 1.5rem;
}

.tip-submission-form label,
.skn-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.tip-submission-form input[type="text"],
.tip-submission-form input[type="email"],
.tip-submission-form input[type="tel"],
.tip-submission-form input[type="file"],
.tip-submission-form select,
.tip-submission-form textarea,
.skn-form input[type="text"],
.skn-form input[type="email"],
.skn-form input[type="tel"],
.skn-form input[type="file"],
.skn-form select,
.skn-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.tip-submission-form input[type="text"]:focus,
.tip-submission-form input[type="email"]:focus,
.tip-submission-form input[type="tel"]:focus,
.tip-submission-form select:focus,
.tip-submission-form textarea:focus,
.skn-form input[type="text"]:focus,
.skn-form input[type="email"]:focus,
.skn-form input[type="tel"]:focus,
.skn-form select:focus,
.skn-form textarea:focus {
    outline: none;
    border-color: #008841;
    box-shadow: 0 0 0 3px rgba(0, 136, 65, 0.1);
}

.tip-submission-form textarea,
.skn-form textarea {
    resize: vertical;
    min-height: 120px;
}

.tip-submission-form .form-note,
.tip-submission-form small,
.skn-form .form-note,
.skn-form small {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    display: block;
}

.tip-submission-form .required,
.skn-form .required {
    color: #dd1a22;
}

.tip-submission-form .submit-button,
.tip-submission-form .form-submit,
.skn-form .submit-button,
.skn-form .form-submit,
.skn-form button[type="submit"] {
    background: #008841;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}

.tip-submission-form .submit-button:hover,
.tip-submission-form .form-submit:hover,
.skn-form .submit-button:hover,
.skn-form .form-submit:hover,
.skn-form button[type="submit"]:hover {
    background: #006633;
    transform: translateY(-2px);
}

.tip-submission-form .privacy-notice,
.skn-form .privacy-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.tip-submission-form .privacy-notice p,
.skn-form .privacy-notice p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
}

/* Checkbox styling */
.tip-submission-form input[type="checkbox"],
.skn-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.tip-submission-form label:has(input[type="checkbox"]),
.skn-form label:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
    line-height: 1.5;
}

/* File input styling */
.tip-submission-form input[type="file"],
.skn-form input[type="file"] {
    padding: 0.5rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.tip-submission-form input[type="file"]:focus,
.skn-form input[type="file"]:focus {
    border-color: #008841;
    border-style: solid;
}

/* Form message styling */
.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Character counter for textareas */
.char-counter {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: right;
    margin-top: 0.25rem;
}

/* Dynamic contact details */
#contact-details {
    transition: all 0.3s ease;
}

#contact-details.hidden {
    display: none;
}

/* Shared Button Styles */
.btn {
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #008841;
    color: white;
}

.btn-primary:hover {
    background: #006633;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #008841;
}

.btn-secondary {
    background: #008841;
    color: white;
}

.btn-secondary:hover {
    background: #006633;
}

/* Blog grid responsive adjustment */
@media (min-width: 600px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
