/* =============================================================
   Sectors Pages – Mobile-First, Responsive
   ============================================================= */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.sectors-breadcrumb {
    font-size: 0.87rem;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.sectors-breadcrumb .breadcrumb-item a {
    color: var(--veye-green);
    text-decoration: none;
    font-weight: 500;
}
.sectors-breadcrumb .breadcrumb-item.active {
    color: #6b7b8d;
}

/* ── Hero ───────────────────────────────────────────────────── */
.sectors-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 0 18px;
}
.sectors-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--veye-green), #15956e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sectors-hero-icon i {
    font-size: 1.5rem;
    color: #fff;
}
.sectors-hero-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}
.sectors-hero-subtitle {
    font-size: 0.93rem;
    color: #6b7b8d;
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ── Stats Strip ────────────────────────────────────────────── */
.sectors-stats-strip {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 16px 28px;
    margin-bottom: 32px;
}
.sectors-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sectors-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--veye-green);
    line-height: 1.2;
}
.sectors-stat-label {
    font-size: 0.78rem;
    color: #8a97a8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sectors-stat-divider {
    width: 1px;
    height: 36px;
    background: #e9ecf2;
}

/* ── Section Title ──────────────────────────────────────────── */
.sectors-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sectors-section-title i {
    color: var(--veye-green);
    font-size: 1rem;
}

/* ── Main Section ───────────────────────────────────────────── */
.sectors-main-section {
    padding-bottom: 48px;
}

/* ── Sector Cards (Index Page) ──────────────────────────────── */
.sectors-card {
    display: flex;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 16px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sectors-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}
.sectors-card-gradient {
    width: 5px;
    flex-shrink: 0;
}
.sectors-gradient-1 { background: linear-gradient(180deg, #1BB087, #15956e); }
.sectors-gradient-2 { background: linear-gradient(180deg, #667eea, #764ba2); }
.sectors-gradient-3 { background: linear-gradient(180deg, #f093fb, #f5576c); }
.sectors-gradient-4 { background: linear-gradient(180deg, #4facfe, #00f2fe); }
.sectors-gradient-5 { background: linear-gradient(180deg, #43e97b, #38f9d7); }
.sectors-gradient-6 { background: linear-gradient(180deg, #fa709a, #fee140); }

.sectors-card-body {
    flex: 1;
    padding: 22px 24px;
    min-width: 0;
}
.sectors-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sectors-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.sectors-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(27, 176, 135, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sectors-card-icon i {
    font-size: 1.1rem;
    color: var(--veye-green);
}
.sectors-card-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 2px;
    line-height: 1.3;
}
.sectors-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sectors-card-name a:hover {
    color: var(--veye-green);
}
.sectors-card-count {
    font-size: 0.78rem;
    color: #8a97a8;
}
.sectors-card-view {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--veye-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap 0.2s ease;
}
.sectors-card-view:hover {
    gap: 8px;
    color: #15956e;
}
.sectors-card-desc {
    font-size: 0.85rem;
    color: #6b7b8d;
    line-height: 1.55;
    margin: 12px 0 0;
}

/* ── Show Page Hero ─────────────────────────────────────────── */
.sector-show-hero {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-bottom: 32px;
}
.sector-show-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.sector-show-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,30,50,0.45) 0%, rgba(14,30,50,0.85) 100%);
    z-index: 1;
}
.sector-show-hero-content {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    width: 100%;
}
.sector-show-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}
.sector-show-hero-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px;
    line-height: 1.5;
    max-width: 600px;
}
.sector-show-hero-meta {
    display: flex;
    gap: 16px;
}
.sector-show-hero-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--veye-green);
}
.sector-show-hero-count i {
    margin-right: 4px;
}

/* ── Company Cards (Show Page) ──────────────────────────────── */
.sector-company-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sector-company-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}
.sector-company-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.sector-company-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.sector-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sector-company-logo i {
    font-size: 1.2rem;
    color: #8a97a8;
}
.sector-company-info {
    flex: 1;
    min-width: 0;
}
.sector-company-name {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sector-company-code {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--veye-green);
    background: rgba(27, 176, 135, 0.1);
    padding: 1px 8px;
    border-radius: 6px;
}
.sector-company-desc {
    font-size: 0.82rem;
    color: #6b7b8d;
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sector-company-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sector-company-meta {
    font-size: 0.76rem;
    color: #8a97a8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sector-company-meta i {
    font-size: 0.7rem;
}

/* ── Related News (Show Page) ───────────────────────────────── */
.sector-related-news {
    margin-top: 36px;
}
.sector-post-card {
    height: 100%;
}
.sector-post-card .hollow-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border: 1.5px solid var(--veye-green);
    border-radius: 20px;
    color: var(--veye-green);
    display: inline-block;
    margin-bottom: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.sector-post-card .hollow-badge:hover {
    background: var(--veye-green);
    color: #fff;
}
.sector-post-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sector-post-card .card-title a {
    color: inherit;
    text-decoration: none;
}
.sector-post-card .card-title a:hover {
    color: var(--veye-green);
}
.sector-post-card .card-text {
    font-size: 0.84rem;
    color: #6b7b8d;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sector-post-card .info-line {
    font-size: 0.78rem;
    color: #8a97a8;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sector-post-card .info-line i {
    margin-right: 3px;
}

/* ── Sidebar Cards ──────────────────────────────────────────── */
.sectors-sidebar-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 24px;
    margin-bottom: 20px;
}
.sectors-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sectors-sidebar-title i {
    color: var(--veye-green);
}

/* ── Sidebar Sector List (Show Page) ────────────────────────── */
.sectors-sidebar-list {
    display: flex;
    flex-direction: column;
}
.sectors-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s ease;
}
.sectors-sidebar-item:hover {
    background: #f5f7fa;
}
.sectors-sidebar-item.active {
    background: rgba(27, 176, 135, 0.08);
}
.sectors-sidebar-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
}
.sectors-sidebar-item.active .sectors-sidebar-item-name {
    color: var(--veye-green);
    font-weight: 700;
}
.sectors-sidebar-item-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8a97a8;
    background: #f0f3f7;
    padding: 2px 8px;
    border-radius: 10px;
}
.sectors-sidebar-item.active .sectors-sidebar-item-count {
    background: rgba(27, 176, 135, 0.12);
    color: var(--veye-green);
}

/* ── Sidebar Posts ──────────────────────────────────────────── */
.sectors-sidebar-posts {
    display: flex;
    flex-direction: column;
}
.sectors-sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid #f0f3f7;
}
.sectors-sidebar-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sectors-sidebar-post:first-child {
    padding-top: 0;
}
.sectors-sidebar-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--veye-green);
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.sectors-sidebar-post:hover .sectors-sidebar-num {
    opacity: 1;
}
.sectors-sidebar-post-info {
    flex: 1;
    min-width: 0;
}
.sectors-sidebar-post-title {
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.sectors-sidebar-post:hover .sectors-sidebar-post-title {
    color: var(--veye-green);
}
.sectors-sidebar-post-date {
    font-size: 0.76rem;
    color: #8a97a8;
}
.sectors-sidebar-post-date i {
    margin-right: 3px;
    font-size: 0.7rem;
}

/* ── Newsletter Card ────────────────────────────────────────── */
.sectors-newsletter-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
}
.sectors-newsletter-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(27, 176, 135, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.sectors-newsletter-icon i {
    font-size: 1.3rem;
    color: var(--veye-green);
}
.sectors-newsletter-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.sectors-newsletter-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    line-height: 1.5;
}
.sectors-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sectors-newsletter-input {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}
.sectors-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.sectors-newsletter-input:focus {
    border-color: var(--veye-green);
}
.sectors-newsletter-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: var(--veye-green);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sectors-newsletter-btn:hover {
    background: #15956e;
}

/* ── Empty State ────────────────────────────────────────────── */
.sectors-empty {
    text-align: center;
    padding: 60px 20px;
}
.sectors-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sectors-empty-icon i {
    font-size: 2rem;
    color: #c5cdd8;
}
.sectors-empty h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.sectors-empty p {
    font-size: 0.93rem;
    color: #6b7b8d;
}
.sectors-btn-home {
    background: var(--veye-green);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s ease;
}
.sectors-btn-home:hover {
    background: #15956e;
    color: #fff;
}

/* =============================================================
   Responsive – Tablet (768px+)
   ============================================================= */
@media (min-width: 768px) {
    .sectors-hero {
        padding: 36px 0 22px;
    }
    .sectors-hero-icon {
        width: 64px;
        height: 64px;
    }
    .sectors-hero-icon i {
        font-size: 1.75rem;
    }
    .sectors-hero-title {
        font-size: 1.7rem;
    }
    .sectors-hero-subtitle {
        font-size: 1rem;
    }
    .sectors-stats-strip {
        gap: 36px;
        padding: 20px 36px;
    }
    .sectors-stat-value {
        font-size: 1.7rem;
    }
    .sectors-section-title {
        font-size: 1.2rem;
    }
    .sector-show-hero {
        min-height: 220px;
    }
    .sector-show-hero-title {
        font-size: 1.9rem;
    }
}

/* =============================================================
   Responsive – Desktop (992px+)
   ============================================================= */
@media (min-width: 992px) {
    .sectors-hero {
        padding: 44px 0 28px;
        gap: 22px;
    }
    .sectors-hero-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }
    .sectors-hero-icon i {
        font-size: 2rem;
    }
    .sectors-hero-title {
        font-size: 1.9rem;
    }
    .sectors-stats-strip {
        gap: 48px;
        padding: 22px 44px;
    }
    .sectors-stat-value {
        font-size: 1.9rem;
    }
    .sectors-card-body {
        padding: 24px 28px;
    }
    .sectors-card-name {
        font-size: 1.1rem;
    }
    .sector-show-hero {
        min-height: 260px;
    }
    .sector-show-hero-content {
        padding: 40px 36px;
    }
    .sector-show-hero-title {
        font-size: 2.1rem;
    }
}

/* =============================================================
   Responsive – Large Desktop (1200px+)
   ============================================================= */
@media (min-width: 1200px) {
    .sectors-hero-title {
        font-size: 2.1rem;
    }
}

/* =============================================================
   Responsive – Small (< 576px)
   ============================================================= */
@media (max-width: 575.98px) {
    .sectors-hero {
        gap: 14px;
        padding: 20px 0 14px;
    }
    .sectors-hero-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
    .sectors-hero-icon i {
        font-size: 1.2rem;
    }
    .sectors-hero-title {
        font-size: 1.2rem;
    }
    .sectors-hero-subtitle {
        font-size: 0.85rem;
    }
    .sectors-stats-strip {
        gap: 18px;
        padding: 14px 20px;
        margin-bottom: 24px;
    }
    .sectors-stat-value {
        font-size: 1.25rem;
    }
    .sectors-stat-label {
        font-size: 0.7rem;
    }
    .sectors-stat-divider {
        height: 28px;
    }
    .sectors-card-body {
        padding: 16px 14px;
    }
    .sectors-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .sectors-card-icon {
        width: 38px;
        height: 38px;
    }
    .sectors-card-name {
        font-size: 0.93rem;
    }
    .sectors-card-desc {
        font-size: 0.82rem;
    }
    .sector-show-hero {
        min-height: 160px;
    }
    .sector-show-hero-content {
        padding: 22px 18px;
    }
    .sector-show-hero-title {
        font-size: 1.25rem;
    }
    .sector-show-hero-desc {
        font-size: 0.84rem;
    }
    .sector-company-card {
        padding: 16px;
    }
    .sectors-sidebar-card {
        padding: 20px 16px;
    }
    .sectors-newsletter-card {
        padding: 24px 18px;
    }
}
