/* =====================================================
   NewsPortal CMS - Premium Homepage Styles
   Modern, Clean, Professional News Portal Design
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
    --hp-primary: #dc2626;
    --hp-primary-dark: #b91c1c;
    --hp-primary-light: #fef2f2;
    --hp-accent: #f59e0b;
    --hp-dark: #0f172a;
    --hp-text: #1e293b;
    --hp-text-muted: #64748b;
    --hp-text-light: #94a3b8;
    --hp-border: #e2e8f0;
    --hp-card: #ffffff;
    --hp-bg: #f8fafc;
    --hp-bg-warm: #fffbeb;
    --hp-radius: 16px;
    --hp-radius-sm: 10px;
    --hp-radius-xs: 6px;
    --hp-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --hp-shadow-md: 0 4px 14px rgba(0,0,0,.08);
    --hp-shadow-lg: 0 10px 40px rgba(0,0,0,.1);
    --hp-shadow-xl: 0 20px 50px rgba(0,0,0,.15);
    --hp-transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---- Section Head ---- */
.hp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--hp-border);
    position: relative;
}
.hp-section-head::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--hp-primary);
    border-radius: 2px;
}
.hp-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--hp-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hp-section-title i {
    font-size: 18px;
}
.hp-title-accent {
    display: none;
}
.hp-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--hp-transition);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--hp-primary-light);
}
.hp-more-link:hover {
    background: var(--hp-primary);
    color: #fff;
    transform: translateX(2px);
}
.hp-more-link i {
    font-size: 11px;
    transition: transform .2s;
}
.hp-more-link:hover i {
    transform: translateX(3px);
}

/* ===================== HERO SECTION ===================== */
.hp-hero {
    background: linear-gradient(135deg, var(--hp-dark) 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}
.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(220,38,38,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero Slider */
.hp-hero-slider {
    border-radius: var(--hp-radius);
    overflow: hidden;
    position: relative;
}
.hp-hero-card {
    display: block;
    position: relative;
    border-radius: var(--hp-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.hp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hp-hero-card:hover .hp-hero-img {
    transform: scale(1.04);
}
.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 40%, transparent 70%);
    z-index: 1;
}
.hp-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 30px;
    z-index: 2;
    color: #fff;
}
.hp-hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hp-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
}
.hp-hero-meta i {
    margin-right: 4px;
    font-size: 12px;
}

/* Hero Slider Custom Controls */
.hp-slider-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    transition: var(--hp-transition) !important;
    border: 1px solid rgba(255,255,255,.2);
}
.hp-slider-btn:hover {
    background: var(--hp-primary) !important;
    border-color: var(--hp-primary) !important;
}
.hp-slider-btn::after {
    font-size: 14px !important;
    font-weight: 700;
}

/* Category Badge */
.hp-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 6px;
    background: var(--cat-clr, var(--hp-primary));
    color: #fff;
    white-space: nowrap;
}
.hp-cat-badge-sm {
    padding: 3px 10px;
    font-size: 10px;
}

/* Quick Cards (Hero Right Side) */
.hp-quick-card {
    display: block;
    position: relative;
    border-radius: var(--hp-radius-sm);
    overflow: hidden;
    height: 100%;
    min-height: 180px;
}
.hp-quick-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.hp-quick-card:hover img {
    transform: scale(1.06);
}
.hp-quick-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 50%, transparent 70%);
    z-index: 1;
}
.hp-quick-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    color: #fff;
}
.hp-quick-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* ===================== WAVE DIVIDER ===================== */
.hp-wave-divider {
    margin-top: -2px;
    line-height: 0;
    background: linear-gradient(135deg, var(--hp-dark) 0%, #1e293b 100%);
}
.hp-wave-divider svg {
    width: 100%;
    height: 40px;
    display: block;
}

/* ===================== LATEST NEWS RIBBON ===================== */
.hp-latest-ribbon {
    padding: 36px 0 12px;
    background: var(--hp-bg);
}
.hp-ribbon-card {
    display: flex;
    flex-direction: column;
    background: var(--hp-card);
    border-radius: var(--hp-radius-sm);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    transition: var(--hp-transition);
    height: 100%;
    text-decoration: none;
    border: 1px solid var(--hp-border);
}
.hp-ribbon-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}
.hp-ribbon-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    flex-shrink: 0;
}
.hp-ribbon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.hp-ribbon-card:hover .hp-ribbon-img img {
    transform: scale(1.06);
}
.hp-ribbon-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hp-ribbon-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.hp-ribbon-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    transition: color .2s;
}
.hp-ribbon-card:hover .hp-ribbon-title {
    color: var(--hp-primary);
}
.hp-ribbon-time {
    font-size: 12px;
    color: var(--hp-text-light);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hp-ribbon-time i {
    font-size: 11px;
}

/* ===================== TOP STORIES ===================== */
.hp-stories-section {
    margin-bottom: 40px;
}

/* Lead Story */
.hp-lead-story {
    margin-bottom: 24px;
    border-radius: var(--hp-radius);
    overflow: hidden;
    background: var(--hp-card);
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    transition: var(--hp-transition);
}
.hp-lead-story:hover {
    box-shadow: var(--hp-shadow-lg);
    border-color: transparent;
}
.hp-lead-story a {
    text-decoration: none;
    display: block;
}
.hp-lead-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/1;
}
.hp-lead-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hp-lead-story:hover .hp-lead-img-wrap img {
    transform: scale(1.03);
}
.hp-lead-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}
.hp-lead-body {
    padding: 24px;
}
.hp-lead-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-text);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-lead-excerpt {
    font-size: 15px;
    color: var(--hp-text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-lead-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--hp-text-light);
}
.hp-lead-meta i {
    margin-right: 4px;
    font-size: 12px;
}

/* Stories Grid */
.hp-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hp-stories-ad {
    grid-column: 1 / -1;
}

/* Story Card */
.hp-story-card {
    background: var(--hp-card);
    border-radius: var(--hp-radius-sm);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    transition: var(--hp-transition);
}
.hp-story-card:hover {
    box-shadow: var(--hp-shadow-md);
    transform: translateY(-3px);
    border-color: transparent;
}
.hp-story-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hp-story-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.hp-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.hp-story-card:hover .hp-story-img img {
    transform: scale(1.05);
}
.hp-story-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 5px;
    background: var(--cat-clr, var(--hp-primary));
    color: #fff;
    z-index: 2;
}
.hp-story-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hp-story-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    transition: color .2s;
}
.hp-story-card:hover .hp-story-title {
    color: var(--hp-primary);
}
.hp-story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--hp-text-light);
    margin-top: 10px;
}
.hp-story-meta i {
    margin-right: 3px;
    font-size: 11px;
}

/* ===================== CATEGORY SECTIONS ===================== */
.hp-cat-section {
    margin-bottom: 40px;
    padding-top: 8px;
}
.hp-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Category Feature Card */
.hp-cat-feature {
    background: var(--hp-card);
    border-radius: var(--hp-radius-sm);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    transition: var(--hp-transition);
}
.hp-cat-feature:hover {
    box-shadow: var(--hp-shadow-md);
    border-color: transparent;
}
.hp-cat-feature a {
    text-decoration: none;
    display: block;
}
.hp-cat-feature-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.hp-cat-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hp-cat-feature:hover .hp-cat-feature-img img {
    transform: scale(1.04);
}
.hp-cat-feature-body {
    padding: 18px 20px 20px;
}
.hp-cat-feature-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--hp-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    transition: color .2s;
}
.hp-cat-feature:hover .hp-cat-feature-title {
    color: var(--hp-primary);
}
.hp-cat-feature-excerpt {
    font-size: 14px;
    color: var(--hp-text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.hp-cat-feature-time {
    font-size: 12px;
    color: var(--hp-text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category List Items */
.hp-cat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hp-cat-list-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    padding: 12px;
    background: var(--hp-card);
    border-radius: var(--hp-radius-xs);
    border: 1px solid var(--hp-border);
    transition: var(--hp-transition);
}
.hp-cat-list-item:hover {
    border-color: var(--hp-primary);
    background: var(--hp-primary-light);
    transform: translateX(4px);
}
.hp-cat-list-thumb {
    width: 90px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.hp-cat-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.hp-cat-list-item:hover .hp-cat-list-thumb img {
    transform: scale(1.06);
}
.hp-cat-list-body {
    flex: 1;
    min-width: 0;
}
.hp-cat-list-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.hp-cat-list-item:hover .hp-cat-list-title {
    color: var(--hp-primary);
}
.hp-cat-list-time {
    font-size: 11px;
    color: var(--hp-text-light);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===================== SIDEBAR ===================== */
.hp-sidebar {
    position: relative;
}

/* Widgets */
.hp-widget {
    background: var(--hp-card);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    overflow: hidden;
    margin-bottom: 24px;
}
.hp-widget-head {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hp-border);
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
}
.hp-widget-head h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--hp-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}
.hp-widget-head h3 i {
    font-size: 16px;
}
.hp-widget-body {
    padding: 16px 20px 20px;
}

/* Trending Widget */
.hp-trend-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hp-border);
    text-decoration: none;
    transition: var(--hp-transition);
}
.hp-trend-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hp-trend-item:first-child {
    padding-top: 0;
}
.hp-trend-item:hover {
    transform: translateX(3px);
}
.hp-trend-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    background: #f1f5f9;
    color: var(--hp-text-light);
    transition: var(--hp-transition);
}
.hp-trend-num.hot {
    background: linear-gradient(135deg, var(--hp-primary) 0%, #ef4444 100%);
    color: #fff;
}
.hp-trend-body {
    flex: 1;
    min-width: 0;
}
.hp-trend-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.hp-trend-item:hover .hp-trend-title {
    color: var(--hp-primary);
}
.hp-trend-time {
    font-size: 11px;
    color: var(--hp-text-light);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hp-trend-thumb {
    width: 60px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.hp-trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ===================== POLL WIDGET ===================== */
.hp-poll-question {
    font-size: 16px;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1.45;
    margin-bottom: 16px;
}
.hp-poll-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-poll-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--hp-border);
    border-radius: var(--hp-radius-xs);
    cursor: pointer;
    transition: var(--hp-transition);
    font-size: 14px;
    background: #fafbfc;
}
.hp-poll-option:hover {
    border-color: var(--hp-primary);
    background: var(--hp-primary-light);
}
.hp-poll-option input[type="radio"] {
    display: none;
}
.hp-poll-option input[type="radio"]:checked + .hp-poll-radio {
    border-color: var(--hp-primary);
    background: var(--hp-primary);
}
.hp-poll-option input[type="radio"]:checked + .hp-poll-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.hp-poll-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: var(--hp-transition);
}
.hp-poll-text {
    color: var(--hp-text);
    font-weight: 500;
}
.hp-poll-btn {
    margin-top: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--hp-primary), #ef4444);
    color: #fff;
    border: none;
    border-radius: var(--hp-radius-xs);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}
.hp-poll-btn:hover {
    background: linear-gradient(135deg, var(--hp-primary-dark), var(--hp-primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,38,38,.3);
}

/* Poll Results */
.hp-poll-result {
    margin-bottom: 12px;
}
.hp-poll-result:last-child {
    margin-bottom: 0;
}
.hp-poll-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--hp-text);
}
.hp-poll-pct {
    font-weight: 800;
    color: var(--hp-primary);
}
.hp-poll-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.hp-poll-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hp-primary), #f87171);
    border-radius: 4px;
    transition: width .8s cubic-bezier(.4,0,.2,1);
}
.hp-poll-total {
    margin-top: 14px;
    font-size: 12px;
    color: var(--hp-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hp-poll-empty {
    text-align: center;
    padding: 24px 0;
    color: var(--hp-text-light);
}
.hp-poll-empty i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
    opacity: .4;
}

/* ===================== CATEGORIES CLOUD ===================== */
.hp-cat-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hp-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text);
    background: #f8fafc;
    border: 1px solid var(--hp-border);
    border-radius: 30px;
    text-decoration: none;
    transition: var(--hp-transition);
    white-space: nowrap;
}
.hp-cat-tag i {
    font-size: 12px;
    color: var(--tag-clr, var(--hp-text-light));
}
.hp-cat-tag:hover {
    background: var(--tag-clr, var(--hp-primary));
    color: #fff;
    border-color: var(--tag-clr, var(--hp-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.hp-cat-tag:hover i {
    color: #fff;
}
.hp-tag-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,.06);
    color: var(--hp-text-light);
    padding: 1px 7px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
    transition: var(--hp-transition);
}
.hp-cat-tag:hover .hp-tag-count {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* ===================== NEWSLETTER WIDGET ===================== */
.hp-newsletter {
    background: linear-gradient(135deg, var(--hp-dark) 0%, #1e293b 50%, #0f172a 100%);
    border-radius: var(--hp-radius);
    padding: 28px 24px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.hp-newsletter::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(220,38,38,.12);
    border-radius: 50%;
    pointer-events: none;
}
.hp-newsletter::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(245,158,11,.08);
    border-radius: 50%;
    pointer-events: none;
}
.hp-newsletter-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--hp-primary), #f87171);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}
.hp-newsletter h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.hp-newsletter p {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-bottom: 18px;
    line-height: 1.5;
}
.hp-newsletter-form {
    position: relative;
    z-index: 1;
}
.hp-newsletter-input-wrap {
    display: flex;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--hp-radius-xs);
    overflow: hidden;
    transition: var(--hp-transition);
}
.hp-newsletter-input-wrap:focus-within {
    border-color: var(--hp-primary);
    background: rgba(255,255,255,.15);
    box-shadow: 0 0 0 3px rgba(220,38,38,.2);
}
.hp-newsletter-input-wrap input {
    flex: 1;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    outline: none;
}
.hp-newsletter-input-wrap input::placeholder {
    color: rgba(255,255,255,.45);
}
.hp-newsletter-input-wrap button {
    padding: 12px 18px;
    background: var(--hp-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--hp-transition);
    font-size: 16px;
}
.hp-newsletter-input-wrap button:hover {
    background: var(--hp-primary-dark);
}
.hp-newsletter-success {
    padding: 16px;
    text-align: center;
    color: #86efac;
}
.hp-newsletter-success i {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}
.hp-newsletter-success p {
    color: rgba(255,255,255,.8);
    font-size: 14px;
    margin-bottom: 0;
}

/* Sticky Ad */
.hp-sticky-ad {
    position: sticky;
    top: 80px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hp-hero-title {
        font-size: 22px;
    }
    .hp-stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-cat-grid {
        grid-template-columns: 1fr;
    }
    .hp-lead-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hp-section-title {
        font-size: 18px;
    }
    .hp-hero-title {
        font-size: 20px;
    }
    .hp-hero-content {
        padding: 20px;
    }
    .hp-hero-card {
        aspect-ratio: 4/3;
    }
    .hp-quick-card {
        min-height: 140px;
    }
    .hp-stories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .hp-lead-body {
        padding: 16px;
    }
    .hp-lead-title {
        font-size: 18px;
    }
    .hp-cat-feature-body {
        padding: 14px 16px;
    }
    .hp-cat-feature-title {
        font-size: 16px;
    }
    .hp-cat-list-item {
        padding: 10px;
    }
    .hp-cat-list-thumb {
        width: 75px;
        height: 58px;
    }
    .hp-widget-body {
        padding: 14px 16px 16px;
    }
    .hp-newsletter {
        padding: 22px 18px;
    }
}

@media (max-width: 480px) {
    .hp-section-head {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }
    .hp-section-title {
        font-size: 16px;
    }
    .hp-more-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    .hp-hero-title {
        font-size: 18px;
    }
    .hp-hero-content {
        padding: 16px;
    }
    .hp-stories-grid {
        grid-template-columns: 1fr;
    }
    .hp-story-body {
        padding: 12px;
    }
    .hp-cat-grid {
        gap: 14px;
    }
    .hp-ribbon-body {
        padding: 12px;
    }
    .hp-cat-list-item {
        gap: 10px;
    }
    .hp-trend-thumb {
        width: 50px;
        height: 42px;
    }
}
