/* Additional styles for WCP Delta theme components */

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-item {
    background: var(--wcp-accent);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    line-height: 1.3;
}

.post-title a {
    color: var(--wcp-text-dark);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--wcp-primary-blue);
}

.post-meta {
    font-size: 0.9em;
    color: var(--wcp-text-light);
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

.post-excerpt {
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--wcp-primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--wcp-text-dark);
}

/* Widget Styles */
.widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-title {
    margin: 0 0 15px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--wcp-primary-blue);
}

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

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--wcp-text-dark);
    text-decoration: none;
}

.widget a:hover {
    color: var(--wcp-primary-blue);
}

.post-date {
    display: block;
    font-size: 0.85em;
    color: var(--wcp-text-light);
    margin-top: 5px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--wcp-border);
    border-radius: 4px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--wcp-primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0f5ba8;
}

/* Footer Styles */
.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: var(--wcp-primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Search Form */
.search-form-container {
    display: none;
    padding: 20px 0;
}

.search-form-container.active {
    display: block;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border: 1px solid var(--wcp-border);
    border-radius: 8px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--wcp-text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    padding: 8px 0;
    margin-bottom: 20px;
}

.breadcrumb-nav {
    font-size: 12px;
    color: #666;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--wcp-primary-blue);
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.current-page {
    color: #999;
}

/* Post Year Box Styles */
.post-year-box {
    margin-bottom: 20px;
}

.year-link {
    background-color: var(--wcp-primary-blue);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.year-link:hover {
    background-color: var(--wcp-header-blue);
    color: white;
}



/* Post Header Layout */
.post-header {
    padding: 30px 0 20px;
}

.post-title {
    font-size: 43px;
    font-weight: 700;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 1.2;
    color: #161616;
    margin-bottom: 20px;
}

/* Page Title with Blue Border */
.page .post-title,
.page-template-page-contributors .post-title {
    font-size: 34.4px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--wcp-primary-blue);
    margin-bottom: 15px;
}

/* Post Meta - Simple inline approach */
.post-meta-new {
    margin-bottom: 25px;
    font-size: 9px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: #8a8a8a;
    text-transform: uppercase;
    line-height: 1;
}

.post-date,
.reading-time {
    display: inline;
    vertical-align: baseline;
}

.post-date {
    margin-right: 20px;
}

.reading-time {
    position: relative;
}

.clock-icon {
    width: 9px;
    height: 9px;
    color: #8a8a8a;
    margin-right: 4px;
    vertical-align: top;
    margin-top: 1px;
}

/* Social Share Row Styles */
.social-share-row {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
}

.social-share-row a {
    padding: 8px 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.share-facebook {
    background-color: #3b5998;
    color: white;
}

.share-facebook:hover {
    background-color: #2d4373;
    color: white;
}

.share-twitter {
    background-color: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background-color: #0d8bd9;
    color: white;
}

.share-linkedin {
    background-color: #0077b5;
    color: white;
}

.share-linkedin:hover {
    background-color: #005885;
    color: white;
}

/* Single Post & Page Styles */
.single-post .primary-content,
.page .primary-content {
    max-width: 800px;
}

.single-post-article {
    background: white;
    margin-bottom: 30px;
}



.post-featured-image {
    margin-bottom: 0;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-article .post-content {
    padding: 40px 0;
    line-height: 1.8;
    font-size: 1.1em;
}

.single-post-article .post-content h2,
.single-post-article .post-content h3,
.single-post-article .post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--wcp-header-blue);
}

.single-post-article .post-content p {
    margin-bottom: 20px;
}

.single-post-article .post-content ul,
.single-post-article .post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.single-post-article .post-content li {
    margin-bottom: 8px;
}

.post-footer {
    padding: 30px 40px;
    border-top: 1px solid var(--wcp-border);
    background: #f8f9fa;
}

.post-tags {
    margin-bottom: 20px;
    font-size: 0.95em;
}

.post-tags a {
    background: var(--wcp-primary-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9em;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 5px;
}

.post-tags a:hover {
    background: var(--wcp-header-blue);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.post-navigation a {
    display: block;
    padding: 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--wcp-text-dark);
    border: 1px solid var(--wcp-border);
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav-subtitle {
    font-size: 0.9em;
    color: var(--wcp-primary-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.nav-title {
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

.nav-next {
    text-align: right;
}

.page-links {
    margin: 30px 0;
    text-align: center;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: var(--wcp-primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.page-links .current {
    background: var(--wcp-header-blue);
}

.comments-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .single-post-article .post-title {
        font-size: 32px;
    }
    
    .breadcrumb-container {
        padding: 6px 15px;
        margin-bottom: 15px;
    }
    
    .breadcrumb-nav {
        font-size: 11px;
    }
    
    .post-meta-new {
        font-size: 8px;
    }
    
    .post-date {
        margin-right: 15px;
    }
    
    .social-share-row {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .social-share-row a {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .post-header,
    .single-post-article .post-content,
    .post-footer {
        padding: 25px 0;
    }
    
    .single-post-article .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nav-next {
        text-align: left;
    }
}

/* Homepage Sections */
.latest-wcp-section,
.events-section {
    margin-bottom: 10px;
    padding: 40px 0;
}

/* Container alignment for consistent left margins */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Newsletter Section - Simple Layout */
.newsletter-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
    border: 3px solid #00a6e0;
}

/* Newsletter Header with Image */
.newsletter-header-image {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: none;
}

.newsletter-logo {
    max-height: 78px;
    height: auto;
    width: auto;
}

/* Newsletter Headlines Layout - 3 column grid */
.newsletter-headlines.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.newsletter-headline-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.newsletter-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.newsletter-thumbnail a:hover img {
    transform: scale(1.05);
}

.newsletter-headline-content {
    flex: 1;
    min-width: 0;
}

.newsletter-headline-title {
    font-size: 16px;
    font-weight: 600;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 22px;
    margin: 0 0 8px 0;
}

/* Newsletter headline links - force black color on all states */
.newsletter-section .newsletter-headlines .newsletter-headline-row h3 a,
.newsletter-section .newsletter-headlines .newsletter-headline-row h3 a:link,
.newsletter-section .newsletter-headlines .newsletter-headline-row h3 a:visited {
    color: #111111 !important;
    text-decoration: none !important;
}

.newsletter-section .newsletter-headlines .newsletter-headline-row h3 a:hover,
.newsletter-section .newsletter-headlines .newsletter-headline-row h3 a:active {
    color: #1271d1 !important;
    text-decoration: none !important;
}

.newsletter-headline-row .newsletter-date {
    font-size: 9px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: #8a8a8a;
    text-transform: uppercase;
}

/* Newsletter See More Link */
.newsletter-see-more {
    text-align: right;
    margin-top: 20px;
}

/* Latest from WCP Row/Column Layout */
.latest-wcp-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.latest-wcp-content-column {
    min-width: 0;
}

.latest-wcp-ad-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Newsletter Row/Column Layout */
.newsletter-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.newsletter-content-column {
    min-width: 0;
}

.newsletter-ad-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Events Row/Column Layout */
.events-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.events-content-column {
    min-width: 0;
}

.events-ad-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.events-content {
    padding: 20px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--wcp-text-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--wcp-primary-blue);
}

/* For sections without ads, maintain original styling */
.newsletter-section .section-header {
    margin-bottom: 30px;
}

/* Skyscraper Ad Placeholder */
.skyscraper-ad-placeholder {
    width: 160px;
    height: 600px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 20px;
}

.skyscraper-ad-placeholder .ad-label {
    font-size: 9px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.section-header h2 {
    font-size: 2.2em;
    color: var(--wcp-header-blue);
    font-weight: 700;
    margin: 0;
}

.see-more {
    color: #999;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.see-more:hover {
    color: var(--wcp-primary-blue);
}

/* Grid Layouts */
.latest-wcp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Latest WCP Columns */
.latest-column-1,
.latest-column-2,
.latest-column-3 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Newsletter Columns */
.newsletter-column-1,
.newsletter-column-2,
.newsletter-column-3 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.featured-main {
    display: flex;
    flex-direction: column;
    height: auto;
}

.featured-main .latest-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
}

.featured-main .newsletter-thumbnail {
    height: 60%;
    overflow: hidden;
    margin-bottom: 15px;
}

.featured-main .latest-thumbnail img,
.featured-main .newsletter-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-main .latest-content,
.featured-main .newsletter-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-main .latest-title,
.featured-main .newsletter-title {
    font-size: 16px;
    font-weight: 600;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 22px;
    margin-bottom: 8px;
    order: 2;
}

.featured-main .latest-title a,
.featured-main .newsletter-title a {
    color: rgb(17, 17, 17);
    text-decoration: none;
}

.featured-main .latest-title a:hover,
.featured-main .newsletter-title a:hover {
    color: rgb(18, 113, 209);
}

.featured-main .latest-excerpt,
.featured-main .newsletter-excerpt {
    font-size: 14px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 22.4px;
    color: rgb(17, 17, 17);
    margin-bottom: 15px;
    order: 4;
}

.featured-main .latest-meta,
.featured-main .newsletter-meta {
    font-size: 9px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: rgb(138, 138, 138);
    text-transform: uppercase;
    order: 3;
    margin-bottom: 10px;
}

/* Small Articles */
.featured-small {
    display: flex;
    flex-direction: column;
    height: auto;
    margin-bottom: 15px;
}

.featured-small .latest-thumbnail,
.featured-small .newsletter-thumbnail {
    width: 100%;
    height: 110px;
    flex-shrink: 0;
    margin-bottom: 10px;
    margin-right: 0;
}

.featured-small .latest-thumbnail img,
.featured-small .newsletter-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-small .latest-content,
.featured-small .newsletter-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.featured-small .latest-title,
.featured-small .newsletter-title {
    font-size: 16px;
    font-weight: 600;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 22px;
    margin-bottom: 5px;
    order: 2;
}

.featured-small .latest-title a,
.featured-small .newsletter-title a {
    color: rgb(17, 17, 17);
    text-decoration: none;
}

.featured-small .latest-title a:hover,
.featured-small .newsletter-title a:hover {
    color: rgb(18, 113, 209);
}

.latest-meta,
.newsletter-meta {
    font-size: 9px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: rgb(138, 138, 138);
    text-transform: uppercase;
    order: 3;
}

/* Grid positioning now handled by column containers */

/* Profiles Page Styles */
.profiles-page .page-content {
    margin-bottom: 40px;
}

.featured-profile-section {
    margin-bottom: 50px;
}

.featured-profile-section .section-title {
    font-size: 2.2em;
    color: var(--wcp-header-blue);
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--wcp-primary-blue);
}

.featured-profile-article {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background: white;
}

.featured-profile-image {
    position: relative;
}

.featured-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-profile-image:hover img {
    transform: scale(1.05);
}

.featured-profile-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-profile-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-profile-title a {
    color: var(--wcp-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-profile-title a:hover {
    color: var(--wcp-primary-blue);
}

.featured-profile-meta {
    font-size: 14px;
    color: var(--wcp-text-light);
    margin-bottom: 20px;
}

.featured-profile-meta .post-date {
    margin-right: 20px;
}

.featured-profile-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--wcp-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-block;
    background: var(--wcp-primary-blue);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: var(--wcp-header-blue);
    color: white;
}

.recent-profiles-section {
    margin-bottom: 40px;
}

.recent-profiles-section .section-title {
    font-size: 2em;
    color: var(--wcp-header-blue);
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--wcp-primary-blue);
}

.recent-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.recent-profile-item {
    background: white;
    transition: all 0.3s ease;
}

.recent-profile-thumbnail {
    position: relative;
    height: 180px;
}

.recent-profile-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-profile-thumbnail:hover img {
    transform: scale(1.05);
}

.recent-profile-info {
    padding: 20px;
}

.recent-profile-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.recent-profile-title a {
    color: var(--wcp-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-profile-title a:hover {
    color: var(--wcp-primary-blue);
}

.recent-profile-meta {
    font-size: 12px;
    color: var(--wcp-text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.recent-profile-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--wcp-text-dark);
}

/* Profiles CTA Section */
.profiles-cta-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.profiles-cta-box {
    background: var(--wcp-primary-blue);
    background-image: url('../images/wcp-profiles2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.profiles-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 113, 209, 0.85);
    z-index: 1;
}

.profiles-cta-box > * {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    margin-bottom: 25px;
    color: white;
}

.cta-description {
    font-size: 18px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: var(--wcp-primary-blue);
}

/* Responsive Updates for Homepage */
@media (max-width: 768px) {
    .latest-wcp-section,
    .events-section {
        padding: 20px 0;
        margin-bottom: 40px;
    }
    
    .newsletter-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Newsletter Row Layout */
    .newsletter-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .newsletter-content-column {
        width: 100%;
        order: 1;
    }
    
    .newsletter-ad-column {
        order: 2;
        width: 100%;
        margin: 20px 0;
        justify-content: center;
    }
    
    /* Mobile Newsletter Header Image */
    .newsletter-logo {
        max-height: 59px;
    }
    
    /* Mobile Newsletter Headlines - 2 columns on tablet, 1 on mobile */
    .newsletter-headlines.newsletter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .newsletter-headline-row {
        gap: 8px;
    }

    .newsletter-thumbnail {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .section-header h2 {
        font-size: 1.8em;
    }
    
    .latest-wcp-grid,
    .newsletter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .latest-column-1,
    .latest-column-2, 
    .latest-column-3,
    .newsletter-column-1,
    .newsletter-column-2,
    .newsletter-column-3 {
        width: 100%;
    }
    
    .featured-main {
        height: auto;
    }
    
    .featured-small {
        height: auto;
    }
    
    .featured-small .latest-thumbnail,
    .featured-small .newsletter-thumbnail {
        width: 100%;
        height: 120px;
    }
    
    /* Profiles Page Mobile Styles */
    .featured-profile-article {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-profile-content {
        padding: 20px;
    }
    
    .featured-profile-title {
        font-size: 24px;
    }
    
    .recent-profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-profile-item {
        margin-bottom: 20px;
    }
    
    /* Profiles CTA Mobile Styles */
    .profiles-cta-box {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .cta-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Classifieds Page Styles */
.classifieds-page .primary-content {
    max-width: 800px;
}

.classifieds-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px double var(--wcp-primary-blue);
}

.classifieds-title {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Times New Roman', serif;
    color: var(--wcp-header-blue);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.classifieds-subtitle {
    font-size: 16px;
    color: var(--wcp-text-light);
    font-style: italic;
    margin: 0;
}

.classifieds-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.classified-item {
    background: white;
    border: 1px solid #ddd;
    border-left: 4px solid var(--wcp-primary-blue);
    padding: 20px;
    transition: all 0.3s ease;
}

.classified-item:hover {
    border-left-color: var(--wcp-header-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.classified-header {
    margin-bottom: 15px;
}

.classified-title {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Times New Roman', serif;
    margin-bottom: 8px;
    line-height: 1.3;
}

.classified-title a {
    color: var(--wcp-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.classified-title a:hover {
    color: var(--wcp-primary-blue);
}

.classified-meta {
    font-size: 12px;
    color: var(--wcp-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.classified-separator {
    margin: 0 8px;
}

.classified-thumbnail {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 150px;
}

.classified-thumbnail img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.classified-content {
    overflow: hidden;
}

.classified-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wcp-text-dark);
    margin-bottom: 12px;
    text-align: justify;
}

.classified-read-more {
    color: var(--wcp-primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.classified-read-more:hover {
    color: var(--wcp-header-blue);
}

.classifieds-pagination {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.classifieds-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid var(--wcp-primary-blue);
    color: var(--wcp-primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.classifieds-pagination .page-numbers:hover,
.classifieds-pagination .page-numbers.current {
    background: var(--wcp-primary-blue);
    color: white;
}

.no-classifieds {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border: 1px dashed #ddd;
}

.no-classifieds h2 {
    color: var(--wcp-header-blue);
    margin-bottom: 15px;
}

.no-classifieds p {
    color: var(--wcp-text-light);
}

/* Classifieds Mobile Styles */
@media (max-width: 768px) {
    .classifieds-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .classifieds-subtitle {
        font-size: 14px;
    }
    
    .classified-item {
        padding: 15px;
    }
    
    .classified-thumbnail {
        float: none;
        margin: 0 0 15px 0;
        max-width: 100%;
    }
    
    .classified-title {
        font-size: 18px;
    }
    
    .classified-excerpt {
        text-align: left;
    }
}

/* Ad Container Styles */
.wcp-ad-container {
    margin-bottom: 20px;
    text-align: center;
}

.ad-label {
    font-size: 9px;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ad-placeholder {
    border: 1px dashed #ddd;
    background: #f9f9f9;
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ad-placeholder-content p {
    color: #999;
    font-size: 14px;
    margin: 0;
}
    }
}

/* Buyers Guide Ad Styles */
.buyers-guide-ad-container {
    background: #f5f5f5;
    padding: 20px 0;
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.buyers-guide-ad-link,
.buyers-guide-ad-image {
    display: block;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.buyers-guide-ad-link:hover .buyers-guide-ad-image {
    opacity: 0.9;
    transform: scale(1.01);
}

.buyers-guide-ad-image {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for buyers guide ad */
@media (max-width: 1200px) {
    .buyers-guide-ad-container {
        padding: 15px;
    }
    
    .buyers-guide-ad-link,
    .buyers-guide-ad-image {
        max-width: 100%;
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .buyers-guide-ad-container {
        padding: 10px;
        margin: 15px 0;
    }
    
    .buyers-guide-ad-image {
        border-radius: 4px;
    }
}

/* Homepage Masthead Ad (970x125) */
.homepage-masthead-container {
    background: #fafafa;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #d0d0d0;
}

.homepage-masthead-container .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.masthead-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.masthead-link:hover {
    opacity: 0.9;
}

.masthead-image {
    max-width: 970px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .homepage-masthead-container {
        padding: 10px 0;
    }
    
    .masthead-image {
        max-width: 728px;
    }
}

@media (max-width: 768px) {
    .homepage-masthead-container {
        padding: 8px 0;
    }
    
    .masthead-image {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Advertisement Management Styles */
.wcp-ad-container {
    margin: 10px 0;
    text-align: center;
    background: transparent;
}

.ad-label {
    font-size: 10px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.ad-content {
    display: inline-block;
}

/* Ad 1 - Top Banner 728x90 */
.ad-banner-728 {
    background: transparent;
    padding: 5px;
    margin: 10px auto;
    max-width: 728px;
}

.ad-banner-728 .ad-content {
    max-width: 728px;
    height: auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Removed old latest-wcp-with-ad-container styles - now using latest-wcp-row layout */
}

/* Removed old newsletter layout - now using newsletter-row layout */

/* Ad 3 & 4 - Flexible Content/Footer Ads */
.ad-content-flexible,
.ad-footer-flexible {
    background: transparent;
    padding: 10px;
    margin: 20px auto;
    max-width: 800px;
}

.ad-footer-flexible {
    margin-bottom: 30px;
}

/* Newsletter Grid Adjustments for Ad Layout */
.newsletter-with-ad-container .newsletter-grid {
    grid-template-columns: 1.5fr 1fr;
    height: 400px;
}

.newsletter-with-ad-container .featured-main {
    height: 100%;
}

.newsletter-with-ad-container .featured-small {
    height: 90px;
}

/* Responsive Ad Layouts */
@media (max-width: 1024px) {
    .latest-wcp-row,
    .newsletter-row,
    .events-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .latest-wcp-ad-column,
    .newsletter-ad-column,
    .events-ad-column {
        order: 2;
        margin: 20px 0;
        justify-content: center;
    }
    
    .skyscraper-ad-placeholder {
        position: static;
        width: 100%;
        max-width: 300px;
        height: 150px;
        margin: 0 auto;
    }
    
    .skyscraper-ad-placeholder .ad-label {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .newsletter-with-ad-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-ad-sidebar {
        order: 2;
    }
    
    .ad-skyscraper-160 {
        width: 100%;
        min-height: auto;
        position: static;
    }
    
    .ad-skyscraper-160 .ad-content {
        width: 160px;
        height: 600px;
        margin: 0 auto;
    }
    
    .newsletter-with-ad-container .newsletter-grid {
        grid-template-columns: 2fr 1fr;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .ad-banner-728 {
        padding: 5px;
        margin: 10px auto;
    }
    
    .ad-banner-728 .ad-content {
        max-width: 100%;
        height: auto;
        min-height: 90px;
    }
    
    .newsletter-with-ad-container .newsletter-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .newsletter-with-ad-container .featured-main,
    .newsletter-with-ad-container .featured-small {
        height: auto;
    }
    
    .ad-skyscraper-160 .ad-content {
        width: 100%;
        max-width: 300px;
        height: 250px;
    }
    
    .ad-content-flexible,
    .ad-footer-flexible {
        padding: 15px;
        margin: 20px auto;
    }
    
    /* Mobile adjustments already handled in 1024px breakpoint */
}

/* ================================
   CONTRIBUTOR CARDS STYLES
   ================================ */

.contributor-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.contributor-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contributor-card-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contributor-photo {
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.contributor-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--wcp-primary-blue, #1271d1);
}

.contributor-info {
    flex: 1;
}

.contributor-name {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wcp-header-blue, #1f4c6b);
}

.contributor-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contributor-name a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.contributor-job-title {
    margin: 0 0 6px 0;
    font-weight: 600;
    color: var(--wcp-primary-blue, #1271d1);
    font-size: 1rem;
}

.contributor-company {
    margin: 0 0 12px 0;
    font-weight: 500;
    color: #666;
    font-size: 0.95rem;
}

.contributor-bio {
    margin: 0 0 12px 0;
    color: #444;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contributor-company-bio {
    margin: 0 0 16px 0;
    color: #666;
    line-height: 1.4;
    font-size: 0.9rem;
    font-style: italic;
}

.contributor-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-link.website:hover {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
    border-color: var(--wcp-primary-blue, #1271d1);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.contributor-articles {
    border-top: 1px solid #e1e1e1;
    padding-top: 20px;
}

.contributor-articles h4 {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    color: var(--wcp-header-blue, #1f4c6b);
    font-weight: 600;
}

.contributor-articles-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.contributor-articles-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.contributor-articles-list li:last-child {
    border-bottom: none;
}

.contributor-articles-list a {
    color: var(--wcp-header-blue, #1f4c6b);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s ease;
}

.contributor-articles-list a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.article-date {
    font-size: 0.85rem;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.view-all-articles {
    display: inline-block;
    padding: 8px 16px;
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.view-all-articles:hover {
    background: var(--wcp-header-blue, #1f4c6b);
    color: white;
}

/* Contributors Grid Layout (for main contributors page) */
.contributors-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0;
}

.contributors-grid .contributor-card {
    margin: 0;
    width: 100%;
}

/* Single Contributor Page Styles */
.single-contributor .contributor-header {
    background: linear-gradient(135deg, var(--wcp-primary-blue, #1271d1), var(--wcp-header-blue, #1f4c6b));
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.single-contributor .contributor-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.single-contributor .contributor-header-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.single-contributor .contributor-header-info h1 {
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.single-contributor .contributor-header-company {
    font-size: 1.2rem;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

.single-contributor .contributor-header-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 0 0 20px 0;
}

.single-contributor .contributor-header-social {
    display: flex;
    gap: 12px;
}

.single-contributor .contributor-header-social .social-link {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.single-contributor .contributor-header-social .social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Contributor Articles Archive */
.contributor-articles-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contributor-articles-archive h2 {
    color: var(--wcp-header-blue, #1f4c6b);
    margin-bottom: 30px;
    font-size: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 20px;
}

.article-card-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-card-title a {
    color: var(--wcp-header-blue, #1f4c6b);
    text-decoration: none;
}

.article-card-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.article-card-excerpt {
    color: #666;
    line-height: 1.5;
    margin: 0 0 12px 0;
    font-size: 0.95rem;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.article-card-date {
    font-weight: 500;
}

.article-card-reading-time {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contributor-card {
        padding: 16px;
        margin: 16px 0;
    }
    
    .contributor-card-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .contributor-photo {
        align-self: center;
    }
    
    .contributor-photo img {
        width: 100px;
        height: 100px;
    }
    
    .contributor-social {
        justify-content: center;
    }
    
    .contributors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .single-contributor .contributor-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .single-contributor .contributor-header-info h1 {
        font-size: 2rem;
    }
    
    .contributor-articles-list li {
        flex-direction: column;
        align-items: start;
        gap: 4px;
    }
    
    .article-date {
        align-self: flex-start;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    /* Single column newsletter grid on small phones */
    .newsletter-headlines.newsletter-grid {
        grid-template-columns: 1fr;
    }

    .contributor-card {
        padding: 12px;
    }
    
    .contributor-photo img {
        width: 80px;
        height: 80px;
    }
    
    .contributor-name {
        font-size: 1.1rem;
    }
    
    .social-link {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .single-contributor .contributor-header {
        padding: 24px 0;
    }
    
    .single-contributor .contributor-header-info h1 {
        font-size: 1.75rem;
    }
    
    .single-contributor .contributor-header-photo img {
        width: 100px;
        height: 100px;
    }
}

/* ================================
   ENHANCED GALLERY STYLES
   ================================ */

/* WordPress Gallery Container */
.gallery {
    margin: 30px 0;
    clear: both;
}

/* Gallery Grid Layout */
.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.33%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16.66%; }
.gallery-columns-7 .gallery-item { width: 14.28%; }
.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery-columns-9 .gallery-item { width: 11.11%; }

/* Enhanced Gallery Item Styling */
.gallery-item {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Gallery Image Container */
.gallery-icon {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Gallery Images */
.gallery-icon img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-icon:hover img {
    transform: scale(1.05);
}

/* Gallery Caption Styling */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    font-size: 0.9em;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.gallery-icon:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Masonry-style Gallery (Auto-fit columns) */
.gallery.masonry-style {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.gallery.masonry-style .gallery-item {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
}

.gallery.masonry-style .gallery-icon {
    height: auto;
}

/* Modern Grid Gallery */
.gallery.grid-style {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery.grid-style .gallery-item {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
}

/* Featured Grid Layout (first image larger) */
.gallery.featured-style {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    margin: 30px 0;
}

.gallery.featured-style .gallery-item:first-child {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.gallery.featured-style .gallery-item {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
}

/* Lightbox-style overlay for clickable galleries */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 113, 209, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.gallery-icon:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    color: white;
    font-size: 2em;
    font-weight: bold;
}

/* Responsive Gallery Breakpoints */
@media (max-width: 1024px) {
    .gallery-columns-6 .gallery-item,
    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
        width: 25%;
    }
    
    .gallery.featured-style {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .gallery.featured-style .gallery-item:first-child {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item,
    .gallery-columns-5 .gallery-item,
    .gallery-columns-6 .gallery-item,
    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
        width: 50%;
    }
    
    .gallery.masonry-style {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }
    
    .gallery.grid-style {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery.featured-style {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery.featured-style .gallery-item:first-child {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    
    .gallery-caption {
        padding: 15px 12px 12px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item,
    .gallery-columns-5 .gallery-item,
    .gallery-columns-6 .gallery-item,
    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
        width: 100%;
    }
    
    .gallery.masonry-style {
        grid-template-columns: 1fr;
    }
    
    .gallery.grid-style {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        padding: 6px;
    }
}

/* Post Contributor Section Styles */
.post-contributor-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #e1e1e1;
}

.contributor-section-title {
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    color: var(--wcp-header-blue, #1f4c6b);
    font-weight: 600;
    text-align: center;
}

.post-contributor-section .contributor-card {
    margin: 0;
}

@media (max-width: 768px) {
    .post-contributor-section {
        margin: 30px 0;
        padding: 20px 0;
    }
    
    .contributor-section-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
}

/* ================================
   HOMEPAGE EVENTS STYLES
   ================================ */

.homepage-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.homepage-event-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.homepage-event-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.homepage-event-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.91;
}

.homepage-event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.homepage-event-item:hover .homepage-event-thumbnail img {
    transform: scale(1.05);
}

.homepage-event-content {
    padding: 15px;
    text-align: center;
}

.homepage-event-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.homepage-event-title a {
    color: var(--wcp-header-blue, #1f4c6b);
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-event-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.homepage-event-date {
    margin-bottom: 10px;
    color: var(--wcp-primary-blue, #1271d1);
    font-weight: 600;
    font-size: 0.9rem;
}

.homepage-event-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Events Page Grid - 2 columns using homepage card format */
.events-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Additional styling for events page cards */
.events-page-grid .homepage-event-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.events-page-grid .homepage-event-website {
    margin-top: 12px;
}

.events-page-grid .homepage-event-website .event-website-link {
    display: inline-block;
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.events-page-grid .homepage-event-website .event-website-link:hover {
    background: var(--wcp-header-blue, #1f4c6b);
    color: white;
}

/* Enhanced styling for cards without featured images */
.homepage-event-item:not(:has(.homepage-event-thumbnail)) .homepage-event-title {
    font-size: 1.3rem; /* 30% larger than default 1rem */
    margin-bottom: 12px;
}

.homepage-event-item:not(:has(.homepage-event-thumbnail)) .homepage-event-content {
    padding: 20px 15px; /* Extra top/bottom padding */
}

.homepage-event-item:not(:has(.homepage-event-thumbnail)) .homepage-event-excerpt {
    font-size: 0.95rem; /* Slightly larger text */
    line-height: 1.5; /* Better readability */
}

@media (max-width: 768px) {
    .homepage-events-grid,
    .events-page-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .homepage-event-thumbnail {
        aspect-ratio: 1.91;
    }
    
    .homepage-event-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transition: transform 0.3s ease;
    }
    
    .homepage-event-content {
        padding: 12px;
    }
}

/* ================================
   EVENT CARD STYLES
   ================================ */

.event-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.event-card .event-photo {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.event-card .event-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.event-card:hover .event-photo img {
    transform: scale(1.05);
}

.event-card .event-content {
    padding: 20px;
    text-align: center;
}

.event-card .event-title {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.event-card .event-title a {
    color: var(--wcp-header-blue, #1f4c6b);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-card .event-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.event-card .event-date {
    margin-bottom: 12px;
    color: var(--wcp-primary-blue, #1271d1);
    font-weight: 600;
}

.event-card .event-date small {
    font-size: 0.85em;
    font-weight: 400;
    color: #666;
}

.event-card .event-location {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card .event-location .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.event-card .event-excerpt {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.event-card .event-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-card .event-learn-more,
.event-card .event-website-link {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.event-card .event-learn-more {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
}

.event-card .event-learn-more:hover {
    background: var(--wcp-header-blue, #1f4c6b);
    color: white;
}

.event-card .event-website-link {
    background: transparent;
    color: var(--wcp-primary-blue, #1271d1);
    border: 2px solid var(--wcp-primary-blue, #1271d1);
}

.event-card .event-website-link:hover {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
}

/* Events Grid Layout */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.events-list .event-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.events-list .event-card .event-photo {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.events-list .event-card .event-content {
    flex: 1;
    padding: 10px 20px 10px 0;
}

/* Event Archive and Single Event Styles */
.single-event .event-meta {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
}

.single-event .event-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.single-event .event-meta-item:last-child {
    margin-bottom: 0;
}

.single-event .event-meta-item .dashicons {
    color: var(--wcp-primary-blue, #1271d1);
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.single-event .event-meta-item strong {
    color: var(--wcp-header-blue, #1f4c6b);
}

.single-event .event-website-button {
    display: inline-block;
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.single-event .event-website-button:hover {
    background: var(--wcp-header-blue, #1f4c6b);
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .events-list .event-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .events-list .event-card .event-photo {
        width: 100%;
        height: 200px;
    }
    
    .events-list .event-card .event-content {
        padding: 15px;
    }
    
    .event-card .event-actions {
        flex-direction: column;
    }
    
    .event-card .event-learn-more,
    .event-card .event-website-link {
        text-align: center;
    }
    
    .single-event .event-meta {
        padding: 15px;
        margin: 20px 0;
    }
    
    .single-event .event-meta-item {
        font-size: 0.95rem;
    }
}

/* ================================
   ARCHIVE EVENTS STYLES
   ================================ */

.events-archive .archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e1e1;
}

.events-archive .archive-title {
    margin: 0 0 15px 0;
    font-size: 2.5rem;
    color: var(--wcp-header-blue, #1f4c6b);
    font-weight: 700;
}

.events-archive .archive-description {
    font-size: 1.1rem;
    color: #666;
}

.events-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.filter-tab.active {
    background: var(--wcp-primary-blue, #1271d1);
    border-color: var(--wcp-primary-blue, #1271d1);
    color: white;
}

.archive-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.archive-event-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.archive-event-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.archive-event-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
    aspect-ratio: 1.91;
}

.archive-event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.archive-event-card:hover .archive-event-thumbnail img {
    transform: scale(1.05);
}

.event-status-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.archive-event-content {
    padding: 20px;
    text-align: center;
}

.archive-event-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.archive-event-title a {
    color: var(--wcp-header-blue, #1f4c6b);
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-event-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.archive-event-date,
.archive-event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #666;
}

.archive-event-date {
    color: var(--wcp-primary-blue, #1271d1);
    font-weight: 600;
}

.archive-event-date .dashicons,
.archive-event-location .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.archive-event-excerpt {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.archive-event-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-details-link,
.archive-event-card .event-website-link {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.event-details-link {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
}

.event-details-link:hover {
    background: var(--wcp-header-blue, #1f4c6b);
    color: white;
}

.archive-event-card .event-website-link {
    background: transparent;
    color: var(--wcp-primary-blue, #1271d1);
    border: 2px solid var(--wcp-primary-blue, #1271d1);
}

.archive-event-card .event-website-link:hover {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
}

.no-events h2 {
    margin-bottom: 15px;
    color: var(--wcp-header-blue, #1f4c6b);
}

.no-events p {
    color: #666;
    font-size: 1.1rem;
}

/* Related Events Styles */
.related-events {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e1e1e1;
}

.related-events h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--wcp-header-blue, #1f4c6b);
    text-align: center;
}

.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-event-item {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.related-event-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-event-thumbnail {
    height: 120px;
    overflow: hidden;
}

.related-event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.related-event-content {
    padding: 15px;
}

.related-event-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.related-event-title a {
    color: var(--wcp-header-blue, #1f4c6b);
    text-decoration: none;
}

.related-event-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.related-event-date {
    color: var(--wcp-primary-blue, #1271d1);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.related-event-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.85rem;
}

.related-event-location .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.no-related-events {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .events-archive .archive-title {
        font-size: 2rem;
    }
    
    .archive-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .events-filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .archive-event-content {
        padding: 15px;
    }
    
    .archive-event-footer {
        flex-direction: column;
    }
    
    .event-details-link,
    .archive-event-card .event-website-link {
        text-align: center;
    }
    
    .related-events-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   SUBSCRIBE SECTION STYLES
   ================================ */

.subscribe-section {
    background: var(--wcp-header-blue, #1f4c6b);
    padding: 60px 0 0;
    margin: 60px 0 0 0;
}

.subscribe-content {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.latest-issue-graphic {
    text-align: center;
}

.latest-issue-graphic img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-issue-graphic a:hover img {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.subscribe-info {
    color: white;
}

.subscribe-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.subscribe-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.subscribe-tagline {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.subscribe-button {
    display: inline-block;
    background: white;
    color: var(--wcp-primary-blue, #1271d1);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.subscribe-button:hover {
    background: var(--wcp-header-blue, #1f4c6b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .subscribe-section {
        padding: 40px 0;
        margin: 40px 0 0 0;
    }
    
    .subscribe-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .subscribe-info h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .subscribe-description,
    .subscribe-tagline {
        font-size: 1rem;
    }
    
    .subscribe-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ================================
   CATEGORY ARCHIVE STYLES
   ================================ */

.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--wcp-primary-blue, #1271d1);
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--wcp-text-dark, #333);
}

.archive-description {
    font-size: 1.1rem;
    color: var(--wcp-text-light, #666);
    line-height: 1.6;
}

.category-posts {
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-post-item {
    background: white;
    border: 1px solid var(--wcp-border, #e1e1e1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-post-item .post-thumbnail {
    overflow: hidden;
}

.category-post-item .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content-summary {
    padding: 20px;
}

.category-post-item .post-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.category-post-item .post-title a {
    color: var(--wcp-text-dark, #333);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-post-item .post-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.category-post-item .post-meta {
    font-size: 0.9rem;
    color: var(--wcp-text-light, #666);
    margin-bottom: 15px;
}

.category-post-item .post-date {
    font-weight: 500;
}

.category-post-item .post-author {
    margin-left: 10px;
}

.category-post-item .post-excerpt {
    color: var(--wcp-text-light, #666);
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-post-item .read-more {
    color: var(--wcp-primary-blue, #1271d1);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.category-post-item .read-more:hover {
    color: var(--wcp-header-blue, #1f4c6b);
}

.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    background: var(--wcp-accent, #f8f9fa);
    border-radius: 8px;
}

.no-posts-found h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--wcp-text-dark, #333);
}

.no-posts-found p {
    color: var(--wcp-text-light, #666);
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    border: 1px solid var(--wcp-border, #e1e1e1);
    color: var(--wcp-text-dark, #333);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination a:hover {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
    border-color: var(--wcp-primary-blue, #1271d1);
}

.pagination .current {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
    border-color: var(--wcp-primary-blue, #1271d1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .archive-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-post-item .post-thumbnail img {
        height: 180px;
    }
}

/* ================================
   SEARCH RESULTS PAGE STYLES
   ================================ */

.search-results-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.search-header {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-title {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.search-query {
    color: var(--wcp-primary-blue, #1271d1);
    font-weight: 600;
}

.search-results-count {
    color: #666;
    font-size: 1rem;
    margin: 10px 0 20px 0;
}

.search-form-refine {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.search-form-refine .search-form {
    max-width: 600px;
}

/* Search Results List */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.result-header {
    margin-bottom: 15px;
}

.result-title {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.result-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.result-date,
.result-author,
.result-category {
    display: inline-flex;
    align-items: center;
}

.result-category a {
    color: var(--wcp-primary-blue, #1271d1);
    text-decoration: none;
}

.result-category a:hover {
    text-decoration: underline;
}

.result-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.result-excerpt p {
    margin: 0;
}

.result-footer {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.read-more-link {
    color: var(--wcp-primary-blue, #1271d1);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 8px;
}

.read-more-link .arrow {
    transition: transform 0.3s ease;
}

.read-more-link:hover .arrow {
    transform: translateX(3px);
}

/* Search Term Highlighting */
mark.search-highlight {
    background: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Search Pagination */
.search-pagination {
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* No Results Section */
.no-results-found {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.no-results-found h2 {
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.no-results-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.search-suggestions {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.search-suggestions h3 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.search-suggestions ul {
    list-style: disc;
    margin: 0;
    padding-left: 25px;
}

.search-suggestions li {
    margin: 8px 0;
    color: #555;
}

.search-suggestions a {
    color: var(--wcp-primary-blue, #1271d1);
    text-decoration: none;
}

.search-suggestions a:hover {
    text-decoration: underline;
}

.popular-topics {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.popular-topics h3 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.topic-list li {
    margin: 0;
}

.topic-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.topic-list a:hover {
    background: var(--wcp-primary-blue, #1271d1);
    color: white;
}

.topic-list .count {
    color: #999;
    font-size: 0.9rem;
}

.topic-list a:hover .count {
    color: rgba(255,255,255,0.8);
}

/* Responsive Styles for Search Results */
@media (max-width: 768px) {
    .search-results-page {
        padding: 20px 0;
    }
    
    .search-header {
        padding: 20px;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .search-result-item {
        padding: 20px;
    }
    
    .result-title {
        font-size: 1.25rem;
    }
    
    .result-meta {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .topic-list {
        grid-template-columns: 1fr;
    }
    
    .no-results-found {
        padding: 30px 20px;
    }
}

/* ===== Columns Section ===== */
.columns-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 0;
    border-top: 3px solid var(--wcp-primary-blue, #1271d1);
}

.columns-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.columns-content-column {
    min-width: 0;
}

.columns-ad-column {
    position: sticky;
    top: 20px;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.columns-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.columns-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.columns-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.columns-thumbnail a:hover img {
    transform: scale(1.05);
}

.columns-item-content {
    flex: 1;
}

.columns-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px 0;
}

.columns-item-title a {
    color: var(--wcp-text-dark, #333);
    text-decoration: none;
}

.columns-item-title a:hover {
    color: var(--wcp-primary-blue, #1271d1);
}

.columns-item-meta {
    font-size: 0.8rem;
    color: var(--wcp-text-light, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Columns section responsive */
@media (max-width: 1024px) {
    .columns-row {
        grid-template-columns: 1fr;
    }

    .columns-ad-column {
        display: none;
    }
}

@media (max-width: 768px) {
    .columns-section {
        padding: 30px 0;
    }

    .columns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .columns-item {
        flex-direction: row;
        gap: 15px;
    }

    .columns-thumbnail {
        width: 120px;
        min-width: 120px;
        aspect-ratio: 4 / 3;
    }
}

/* ===== Advertise CTA Sidebar Boxes ===== */
.agua-advertise-cta {
    background: linear-gradient(160deg, #0a2a4a 0%, #1271d1 100%);
    border-radius: 8px;
    padding: 30px 20px;
    color: #ffffff;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.agua-cta-v2 {
    background: linear-gradient(160deg, #0d3b66 0%, #1e88e5 100%);
}

.agua-cta-v3 {
    background: linear-gradient(160deg, #102a43 0%, #2196f3 100%);
}

.agua-advertise-cta h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.agua-advertise-cta p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.agua-cta-btn {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    background: #ffffff;
    color: #0a2a4a;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.agua-cta-btn:hover {
    background: #e0eeff;
    color: #0a2a4a;
    transform: translateY(-1px);
    text-decoration: none;
}

/* ===== Anunciarse Page ===== */
.anunciar-hero {
    background: linear-gradient(135deg, #0a2a4a 0%, #1271d1 60%, #1e88e5 100%);
    padding: 60px 0;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.anunciar-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
}

.anunciar-hero p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.anunciar-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    padding: 50px 0 60px;
    align-items: start;
}

.anunciar-benefits h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a2a4a;
    margin: 0 0 30px 0;
}

.benefit-card {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e8f2ff 0%, #d0e4ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1271d1;
}

.benefit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0a2a4a;
    margin: 0 0 6px 0;
}

.benefit-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.anunciar-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.anunciar-form-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a2a4a;
    margin: 0 0 8px 0;
}

.anunciar-form-card > p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.anunciar-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: #fafbfc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #1271d1;
    box-shadow: 0 0 0 3px rgba(18, 113, 209, 0.1);
    background: #ffffff;
}

.form-field textarea {
    resize: vertical;
    min-height: 90px;
}

.anunciar-submit {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0a2a4a 0%, #1271d1 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-top: 5px;
}

.anunciar-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.agua-form-success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.agua-form-success-box p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #166534;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .anunciar-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0 40px;
    }

    .anunciar-hero h1 {
        font-size: 1.8rem;
    }

    .anunciar-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .anunciar-form-card {
        padding: 25px 20px;
    }

    .anunciar-hero {
        padding: 40px 0;
    }
}