/* HERO */
.hero {
    padding: 72px 0 56px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 16px;
    color: #6b7280;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* HERO SEARCH */
.hero-search-wrapper {
    display: flex;
    max-width: 500px;
    margin: 0 auto 28px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hero-search-wrapper input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    outline: none;
    color: #0f172a;
}

.hero-search-wrapper button {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.hero-search-wrapper button:hover {
    background: var(--accent);
}

/* HERO STATS */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-stats strong {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.hero-stats span {
    font-size: 13px;
    color: #6b7280;
}

/* SECTION */
.section {
    padding: 48px 0;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

.section-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

/* ARTICLE CARD */
.article-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    height: 100%;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e6f4f3, #f0fdf4);
}

.card-body {
    padding: 18px;
}

/* CATEGORY BADGE */
.category-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CARD TITLE */
.card-title a {
    color: #0f172a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.card-title a:hover {
    color: var(--accent);
}

/* CARD META */
.card-meta {
    font-size: 13px;
    color: #6b7280;
}

.card-meta .dot {
    margin: 0 6px;
}

/* TAGS */
.tag {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    margin: 2px;
}

/* POPULAR CARD */
.popular-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.popular-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.popular-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.popular-card h5 a {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
}

.popular-card h5 a:hover {
    color: var(--accent);
}

.popular-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* MINI CARD */
.mini-card a {
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.mini-card a:hover {
    color: var(--accent);
}

.mini-card {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.mini-card:last-child {
    border-bottom: none;
}

/* SIDEBAR */
.sidebar-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-box h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f172a;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box ul li {
    padding: 7px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box ul li a {
    color: #374151;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.sidebar-box ul li a:hover {
    color: var(--accent);
}

.sidebar-box ul li span {
    color: #9ca3af;
    font-size: 12px;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #fff;
    padding: 64px 0;
    text-align: center;
    margin-top: 48px;
}

.cta h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    font-size: 16px;
}

.btn-cta {
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-cta:hover {
    background: var(--accent);
    color: #fff;
}

/* DIVIDER */
.section-divider {
    border-top: 1px solid #e5e7eb;
    margin: 0;
}

/* EMPTY STATE */
.empty-state {
    color: #9ca3af;
    font-size: 14px;
    padding: 20px 0;
}