/* v7 Style: Visual & News Magazine */
:root {
    --accent-red: #d32f2f;
    --dark-bg: #1a1a1a;
    --card-bg: #fff;
    --text-primary: #121212;
    --text-secondary: #555;
    --grid-gap: 24px;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1400px;
    /* Wide layout */
    margin: 0 auto;
}

/* Header */
.header-wrapper {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-top {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-name {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-icon-btn {
    font-size: 20px;
    cursor: pointer;
}

/* Mega Nav */
.nav-wrapper {
    background: #111;
    color: #fff;
}

.main-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    padding: 15px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.main-nav li:hover,
.main-nav li.active {
    background: var(--accent-red);
}

/* Feature Grid: Hero Masonry */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 450px;
    gap: var(--grid-gap);
    margin: 30px auto;
}

.hero-primary {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.hero-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero-primary:hover img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.hero-tag {
    background: var(--accent-red);
    padding: 4px 10px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
}

.sub-feature {
    flex: 1;
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid var(--accent-red);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sub-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sub-snippet {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

/* Section Title */
.section-marker {
    display: flex;
    align-items: center;
    margin: 40px 0 20px;
}

.marker-text {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    padding-right: 20px;
    background: #f4f4f4;
    z-index: 10;
}

.marker-line {
    flex: 1;
    height: 2px;
    background: #ddd;
}

/* News Cards Grid */
.news-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.news-card-v7 {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.news-card-v7:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    background: #eee;
    overflow: hidden;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}

/* List style for text heavy areas */
.news-list-styled {
    list-style: none;
    padding: 0;
}

.news-list-styled li {
    padding: 10px 0;
    border-bottom: 1px solid #efefef;
    position: relative;
    padding-left: 15px;
}

.news-list-styled li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-red);
}

/* Horizontal Scroll for Verticals */
.horizontal-scroll-section {
    background: #111;
    padding: 40px 0;
    color: #fff;
}

.h-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.h-card {
    min-width: 250px;
    background: #222;
    padding: 15px;
}

.h-card:hover {
    background: #333;
}

/* Footer Big */
.footer-big {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-red);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 13px;
    color: #888;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}