/* =========================================================
   DIANISMA.GR - ΑΝΑΛΥΣΕΙΣ Category Page Stylesheet
   ========================================================= */

/* --- Category Title Banner --- */
.analysis-banner {
    background: linear-gradient(135deg, #070d18 0%, #0F172A 55%, #152238 100%);
    color: var(--white);
    padding: 36px 0 24px 0;
    margin-bottom: 36px;
    border-bottom: 3px solid var(--accent-light);
    position: relative;
    overflow: hidden;
}

.analysis-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: 7%;
    width: 310px;
    height: 310px;
    background: radial-gradient(circle, rgba(202, 138, 4, 0.15) 0%, rgba(202, 138, 4, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-inner {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent-light);
}

.breadcrumb-separator {
    color: var(--accent-light);
    font-weight: 700;
}

.breadcrumb-current {
    color: var(--accent-light);
}

/* Banner Headings */
.banner-headline-wrap {
    max-width: 840px;
}

.banner-title-group {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.banner-tag {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.banner-title {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
}

.banner-description {
    font-size: 15px;
    color: #cbd5e1;
    font-weight: 400;
    line-height: 1.55;
    margin: 0;
}


/* --- Page Layout --- */
.analysis-layout {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 36px;
    margin-bottom: 60px;
}

/* --- Hero Article --- */
.hero-section {
    margin-bottom: 40px;
}

.analysis-hero-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(15, 23, 42, 0.98) 100%), url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--accent-light);
}

.analysis-hero-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
}

.hero-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.gold-badge {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 3px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-date {
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.7);
    padding: 4px 10px;
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.28;
    margin-bottom: 14px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}

.hero-title a {
    color: var(--white);
    transition: color 0.2s ease;
}

.hero-title a:hover {
    color: #fef08a;
}

.hero-summary {
    font-size: 15px;
    color: #f1f5f9;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 95%;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #e2e8f0;
    font-weight: 500;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.75);
    padding: 8px 14px;
    border-radius: 4px;
    width: fit-content;
    backdrop-filter: blur(4px);
}

.author-info .author-label {
    color: var(--accent-light);
    font-weight: 700;
    margin-right: 4px;
}

.author-info .author-name {
    color: var(--white);
    font-weight: 600;
}

.dot-separator {
    color: #94a3b8;
    font-weight: 700;
}

.read-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-cat-label {
    color: var(--accent-light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- Section Title Row --- */
.section-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--primary-color);
    white-space: nowrap;
    margin: 0;
}

.section-rule {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light) 0%, rgba(202, 138, 4, 0.1) 100%);
}

/* --- 2-Column Analysis Grid --- */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-box {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.article-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.article-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.article-box:hover::before {
    opacity: 1;
}

.article-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background-color: #0F172A;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-box:hover .article-img-wrap img {
    transform: scale(1.05);
}

.gold-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.article-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.reading-badge {
    color: var(--accent-color);
    font-weight: 700;
}

.article-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.article-title a {
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: var(--accent-color);
}

.article-summary {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

/* Mini Data Box Inside Article Cards */
.mini-data-box {
    display: flex;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--accent-light);
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.data-indicator {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.data-num {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.2px;
}

.data-lbl {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.25;
    margin-top: 2px;
    font-weight: 500;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 12px;
}

.author-byline {
    font-weight: 600;
    color: var(--text-muted);
}

.read-more-link {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.read-more-link:hover {
    color: var(--accent-light);
    gap: 7px;
}

/* --- Load More Button --- */
.load-more-wrap {
    text-align: center;
    margin-top: 36px;
}

.btn-load-more {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-load-more:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* --- Sidebar Column --- */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 6px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.widget-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-badge {
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.widget-badge.report-badge {
    background: #fef2f2;
    color: #dc2626;
}

.widget-badge.stats-badge {
    background: #ecfdf5;
    color: #059669;
}

.widget-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin: 0;
}

/* Reports List */
.reports-intro {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.45;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.report-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.report-icon {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.report-info {
    flex: 1;
}

.report-year {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.report-title {
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.report-title a {
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.report-title a:hover {
    color: var(--accent-color);
}

.report-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Stats Snapshot Widget */
.stats-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    font-weight: 600;
}

.stat-title {
    color: var(--text-dark);
    flex: 1;
}

.stat-value.text-gold {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
}

.stat-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 3px;
}

.stat-sub {
    font-size: 10.5px;
    color: var(--text-muted);
}

/* Academic Newsletter */
.research-newsletter {
    background: linear-gradient(135deg, #070d18 0%, #0F172A 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(202, 138, 4, 0.15);
    border: 1px solid rgba(202, 138, 4, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 18px;
    margin-bottom: 14px;
}

.newsletter-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form input:focus {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.newsletter-form button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.newsletter-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .analysis-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-column {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .analysis-hero-card {
        min-height: 400px;
        padding: 24px;
    }
}
