
/* Newspaper Columnists Grid Widget */
.columnists-grid-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Section Header */
.columnists-grid-widget .section-header {
    border-top: none !important;
    border-bottom: 1px solid #ddd;
    padding: 10px 0 15px 0;
    margin-bottom: 0;
    background: transparent !important; /* FORCE transparent background */
}

.columnists-grid-widget .section-title {
    font-size: 1.4em !important;
    font-weight: bold !important;
    color: #222 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 10px 0 !important;
    position: relative !important;
    padding-left: 15px !important;
    text-align: left;
    background: transparent !important; /* FORCE transparent background */
}

.section-title::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
}


/* Columnists Grid - User Provided Style */
.columnists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
    /* Removed gap, background-color, and border for user-provided style */
}

.columnist-item {
    background: white;
    transition: background-color 0.2s ease;
    cursor: pointer;
    min-height: 120px;
    /* User-provided styles below */
    border-width: 1px;
    border-style: solid;
    margin-top: -1px; /* Adjusted from -2px to -1px for 1px border */
    margin-left: -1px; /* Adjusted from -2px and margin-right */
    position: relative;
    border-color: #ecf0f1;
}

.columnist-item:hover {
    background-color: #f8f8f8;
}

/* Columnist Header */
.columnist-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

/* Columnist Photo */
.columnist-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.columnist-photo.has-image {
    background: none;
}

.columnist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columnist Info */
.columnist-info {
    flex: 1;
    min-width: 0;
}

.columnist-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    line-height: 1.2;
}


/* Article Title */
.article-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 900px) {
    .columnists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .columnists-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .columnist-item {
        padding: 15px;
    }

    .columnist-photo {
        width: 50px;
        height: 50px;
        margin-right: 12px;
        font-size: 18px;
    }

    .columnist-name {
        font-size: 13px;
    }

    .column-name {
        font-size: 11px;
    }

    .article-title {
        font-size: 15px;
    }
}

/* User-provided media query */
@media (min-width:481px){

	/* Columnist item */
	.columnists-grid-widget .columnists-grid .columnist-item{
		padding-left: 23px;
        padding-top: 25px;
        padding-bottom: 22px;
	}
	
}

/* Focus States for Accessibility */
.article-title a:focus,
.columnist-item:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .columnists-grid {
        background-color: #000;
        border: 1px solid #000;
    }
}

/* More Opinions Button */
.more-opinions-container {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 20px;
}

.more-opinions-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more-opinions-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
    text-decoration: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .columnist-item,
    .article-title a,
    .more-opinions-btn {
        transition: none;
    }

    .columnist-item:hover {
        background-color: transparent;
    }

    .more-opinions-btn:hover {
        background: #f8f8f8;
        color: #333;
    }
}

/* Clearfix for older browsers */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
