/* FATUM News - Clean Professional Style */

/* News Container */
.fatum-news-container {
    padding: 0;
    margin: 0;
}

/* Category Filters - COMPLETELY CLEAN - NO HOVER EFFECTS */
.fatum-news-category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0;
}

.fatum-news-category-filter {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9CA3AF;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.3s ease;
    outline: none !important;
    position: relative;
    box-shadow: none !important;
}

/* HOVER: Only color change, NOTHING ELSE */
.fatum-news-category-filter:hover {
    color: #F3F4F6 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Active state - underline only */
.fatum-news-category-filter.active {
    color: #19ACE6 !important;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
}

.fatum-news-category-filter.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: -8px;
    right: -8px;
    height: 2px;
    background: #19ACE6;
    z-index: 10 !important;
    display: block !important;
}

/* News Grid */
.fatum-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.fatum-news-item {
    position: relative;
    overflow: hidden;
    background: #1F2937;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    border: none;
    outline: none;
    min-height: 300px;
}

.fatum-news-item:hover {
    transform: translateY(-4px);
    text-decoration: none !important;
}

.fatum-news-item:visited,
.fatum-news-item:active,
.fatum-news-item:focus {
    text-decoration: none !important;
    color: inherit;
}

.fatum-news-image {
    position: relative;
    flex: 1;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
}

.fatum-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fatum-news-item:hover .fatum-news-image img {
    transform: scale(1.05);
}

.fatum-news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    z-index: 10;
    color: white;
}

.fatum-news-category.notice {
    background: #3B82F6; /* 青色 */
}

.fatum-news-category.blue {
    background: #3B82F6; /* 青色 */
}

.fatum-news-category.green {
    background: #10B981; /* 緑色 */
}

.fatum-news-category.yellow {
    background: #F59E0B; /* 黄色 */
}

.fatum-news-category.purple {
    background: #8B5CF6; /* 紫色 */
}

.fatum-news-category.red {
    background: #EF4444; /* 赤色 */
}

.fatum-news-category.orange {
    background: #F97316; /* オレンジ色 */
}

.fatum-news-category.teal {
    background: #14B8A6; /* ティール色 */
}

.fatum-news-category.pink {
    background: #EC4899; /* ピンク色 */
}

.fatum-news-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f957fe;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    z-index: 10;
}

.fatum-news-content-bottom {
    position: relative;
    padding: 1.25rem;
    background: #1F2937;
    flex-shrink: 0;
}

.fatum-news-meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.625rem;
    color: #D1D5DB;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.fatum-news-title {
    font-size: 20px !important;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    text-decoration: none !important;
}

.fatum-news-excerpt {
    color: #D1D5DB;
    font-size: 0.625rem;
    line-height: 1.4;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.fatum-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #19ACE6;
    font-size: 0.625rem;
    font-weight: 500;
    text-decoration: none !important;
}

.fatum-news-read-more:hover {
    color: #0293cc;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Loading Animation */
.fatum-news-loading {
    display: none;
    text-align: center;
    padding: 3rem;
    color: #D1D5DB;
    grid-column: 1 / -1;
}

.fatum-news-loading.active {
    display: block;
}

.fatum-news-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #374151;
    border-top: 3px solid #FBBF24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No news message */
.fatum-no-news {
    text-align: center;
    padding: 3rem;
    color: #9CA3AF;
    font-size: 0.875rem;
    grid-column: 1 / -1;
}

/* TOP PAGE NEWS - Clean & Larger 3-Column */
.fatum-news-top {
    padding: 0;
    margin: 0;
}

.fatum-news-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.fatum-news-top-item {
    position: relative;
    overflow: hidden;
    background: #1F2937;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    border: none;
    outline: none;
    min-height: 300px;
}

.fatum-news-top-item:hover {
    transform: translateY(-4px);
    text-decoration: none !important;
}

.fatum-news-top-image {
    position: relative;
    flex: 1;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    aspect-ratio: 16/9;
}

.fatum-news-top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fatum-news-top-item:hover .fatum-news-top-image img {
    transform: scale(1.05);
}

.fatum-news-top-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    z-index: 10;
    color: white;
}

.fatum-news-top-category.blue {
    background: #3B82F6; /* 青色 */
}

.fatum-news-top-category.green {
    background: #10B981; /* 緑色 */
}

.fatum-news-top-category.yellow {
    background: #F59E0B; /* 黄色 */
}

.fatum-news-top-category.purple {
    background: #8B5CF6; /* 紫色 */
}

.fatum-news-top-category.red {
    background: #EF4444; /* 赤色 */
}

.fatum-news-top-category.orange {
    background: #F97316; /* オレンジ色 */
}

.fatum-news-top-category.teal {
    background: #14B8A6; /* ティール色 */
}

.fatum-news-top-category.pink {
    background: #EC4899; /* ピンク色 */
}

.fatum-news-top-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f957fe;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    z-index: 10;
}

.fatum-news-top-content {
    position: relative;
    padding: 1.5rem;
    background: #1F2937;
    flex-shrink: 0;
}

.fatum-news-top-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.5rem;
    color: #D1D5DB;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.fatum-news-top-title {
    font-size: 20px !important;
    font-weight: 600;
    color: white !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-decoration: none !important;
}

.fatum-news-top-excerpt {
    color: #D1D5DB;
    font-size: 0.625rem;
    line-height: 1.4;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fatum-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .fatum-news-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .fatum-news-title {
        font-size: 20px !important;
    }
    
    .fatum-news-content {
        padding: 1rem;
    }
    
    .fatum-news-category-filters {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .fatum-news-category-filter {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .fatum-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .fatum-news-top-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .fatum-news-category-filters {
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .fatum-news-category-filter {
        padding: 0.375rem 0;
        font-size: 0.75rem;
    }
    
    .fatum-news-title {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .fatum-news-category-filters {
        gap: 1rem;
    }
    
    .fatum-news-content {
        padding: 0.875rem;
    }
    
    .fatum-news-title {
        font-size: 18px !important;
    }
}

/* Force remove any theme overrides */
.fatum-news-item,
.fatum-news-item:hover,
.fatum-news-item:visited,
.fatum-news-item:active,
.fatum-news-item:focus {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.fatum-news-title {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.fatum-news-read-more {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Remove underlines from all links */
.fatum-news-container a,
.fatum-news-container a:hover,
.fatum-news-container a:visited,
.fatum-news-container a:active,
.fatum-news-container a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
}

/* Force remove underlines from read more links specifically */
.fatum-news-read-more,
.fatum-news-read-more:hover,
.fatum-news-read-more:visited,
.fatum-news-read-more:active,
.fatum-news-read-more:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-underline-offset: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-style: none !important;
}

/* Force remove underlines from all news links */
.fatum-news-link,
.fatum-news-link:hover,
.fatum-news-link:visited,
.fatum-news-link:active,
.fatum-news-link:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
}

/* Override any theme underline styles */
.fatum-news-container * {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.fatum-news-container *:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ULTIMATE underline removal - target all possible selectors */
.fatum-news-container *,
.fatum-news-container *:hover,
.fatum-news-container *:visited,
.fatum-news-container *:active,
.fatum-news-container *:focus,
.fatum-news-container *:link {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-style: none !important;
    text-underline-offset: 0 !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    border-bottom-style: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
}

/* ULTIMATE override for ALL elements */
.fatum-news-container,
.fatum-news-container *,
.fatum-news-top,
.fatum-news-top * {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-style: none !important;
    text-underline-offset: 0 !important;
}

/* Force override on hover states */
.fatum-news-container *:hover,
.fatum-news-top *:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
}

/* Remove pseudo-element underlines */
.fatum-news-container *::before,
.fatum-news-container *::after,
.fatum-news-top *::before,
.fatum-news-top *::after {
    border-bottom: none !important;
    text-decoration: none !important;
    content: none !important;
}

/* Global class-based override */
[class*="fatum-news"],
[class*="fatum-news"]:hover,
[class*="fatum-news"]:visited,
[class*="fatum-news"]:active,
[class*="fatum-news"]:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-style: none !important;
    text-underline-offset: 0 !important;
}

/* Specific targeting for read more links */
.fatum-news-read-more,
.fatum-news-read-more:hover,
.fatum-news-read-more:visited,
.fatum-news-read-more:active,
.fatum-news-read-more:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-underline-offset: 0 !important;
    text-decoration-style: none !important;
    outline: none !important;
}

/* NUCLEAR option - remove ALL possible underlines */
.fatum-news-container a,
.fatum-news-container a *,
.fatum-news-top a,
.fatum-news-top a *,
.fatum-news-item,
.fatum-news-item *,
.fatum-news-top-item,
.fatum-news-top-item * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-style: none !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    border-bottom-style: none !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
}

/* Force override on ALL states */
.fatum-news-container a:link,
.fatum-news-container a:visited,
.fatum-news-container a:hover,
.fatum-news-container a:active,
.fatum-news-container a:focus,
.fatum-news-top a:link,
.fatum-news-top a:visited,
.fatum-news-top a:hover,
.fatum-news-top a:active,
.fatum-news-top a:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-color: transparent !important;
    text-decoration-style: none !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    border-bottom-style: none !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}