.main-banner-wrap .post-element .post-title {font-size:20pt;}

/* Hide thumb-caption in the Related News section only */
.single-related-posts-section .thumb-caption {
    display: none !important;
}

/* Remove any width restrictions on Latest Posts blocks */
.post-14050 .wp-block-latest-posts__list.is-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure list items take full width of their grid cell */
.post-14050 .wp-block-latest-posts__list.is-grid li {
    width: 100% !important;
    margin: 0 !important;
}

/* Set consistent image height with proper cropping */
.post-14050 .wp-block-latest-posts__featured-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
}

/* Proper spacing for titles */
.post-14050 .wp-block-latest-posts__post-title {
    margin-top: 1rem !important;
    line-height: 1.4 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .post-14050 .wp-block-latest-posts__list.is-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix button widths on mobile */
.post-14050 .wp-block-buttons .wp-block-button {
    width: 100% !important;
    flex-basis: 100% !important;
}

@media (min-width: 600px) {
    .post-14050 .wp-block-buttons .wp-block-button {
        width: 48% !important;
        flex-basis: 48% !important;
    }
}

/* Section heading bold with gradient line */
.post-14050 h2#news,
.post-14050 h2:has(+ hr.wp-block-separator) {
    font-size: 2em !important;
    font-weight: 900 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.8rem !important;
    border-bottom: 5px solid transparent !important;
    background-image: linear-gradient(90deg, #003366 0%, #00B140 50%, #FFD700 100%) !important;
    background-position: 0 100% !important;
    background-repeat: no-repeat !important;
    background-size: 100% 5px !important;
}

/* Hide separator since we have gradient line */
.post-14050 h2 + hr.wp-block-separator {
    display: none !important;
}

/* Mobile smaller text */
@media (max-width: 768px) {
    .post-14050 h2#news,
    .post-14050 h2:has(+ hr.wp-block-separator) {
        font-size: 1.5em !important;
        padding-bottom: 0.6rem !important;
    }
}

/* Desktop: Force all columns to display side-by-side in rows */
@media (min-width: 782px) {
    /* Don't mess with the header cover block */
    .post-14050 .wp-block-group > .wp-block-cover {
        max-width: 100% !important;
    }
    
    /* Make column blocks display as flexbox rows */
    .post-14050 .wp-block-group > .wp-block-columns {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Each column takes equal space */
    .post-14050 .wp-block-group > .wp-block-columns > .wp-block-column {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* Mobile: 2-column grid */
@media (max-width: 781px) {
    .post-14050 .wp-block-columns {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .post-14050 .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
        margin: 0 !important;
    }
    
    /* Smaller cover blocks on mobile */
    .post-14050 .wp-block-cover {
        min-height: 150px !important;
    }
    
    /* Smaller text on mobile */
    .post-14050 .wp-block-cover h3 {
        font-size: 0.9em !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Smaller buttons on mobile */
    .post-14050 .wp-block-cover .wp-block-button__link {
        padding: 0.5rem 1rem !important;
        font-size: 0.85em !important;
    }
}

/* Hide featured image on World Cup page */
.post-14050 .post-thumbnail,
.post-14050 .entry-thumbnail,
.post-14050 .wp-post-image {
    display: none !important;
}

.newsmatic-breadcrumb-wrap {
    display: none;
}

.wp-block-button__link:visited { color: #fff; }
.wp-block-button__link.has-luminous-vivid-amber-background-color:visited { color: #000; }