@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #111;
}

/* Custom Styles for Homepage Redesign */

/* Orange tags */
.tag-orange-square {
    width: 24px;
    height: 24px;
    background-color: #ff5722;
    border-radius: 4px;
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
}

.section-header-custom {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.section-header-custom .header-titles {
    display: flex;
    flex-direction: column;
}

.section-header-custom .header-title-main {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    letter-spacing: -0.02em;
}

.section-header-custom .header-title-sub {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.2;
    margin-top: 2px;
}

/* Cover Story overlay */
.cover-story-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cover-story-card:hover {
    transform: translateY(-5px);
}

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

.cover-story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 30px;
    color: white;
}

.cover-story-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.03em;
}

.cover-story-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Internal absolute header for Cover Story */
.absolute-header {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 10;
}

.absolute-header .header-title-main {
    color: white;
}

.absolute-header .header-title-sub {
    color: rgba(255, 255, 255, 0.7);
}

/* Horizontal List Cards */
.list-card-horizontal {
    display: flex;
    margin-bottom: 20px;
    border: none;
    background: transparent;
    transition: opacity 0.2s ease;
}

.list-card-horizontal:hover {
    opacity: 0.8;
}

.list-card-horizontal .card-img-wrap {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.list-card-horizontal .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-card-horizontal .card-body-custom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.list-card-horizontal .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.list-card-horizontal .card-meta {
    font-size: 0.85rem;
    color: #888;
}

.list-card-horizontal .card-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Numbered List Trending */
.numbered-list-trending {
    list-style: none;
    padding: 0;
    margin: 0;
}

.numbered-list-trending li {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.numbered-list-trending li:last-child {
    border-bottom: none;
}

.numbered-list-trending .num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ff5722;
    margin-right: 20px;
    min-width: 25px;
    line-height: 1;
    padding-top: 2px;
}

.numbered-list-trending .content {
    flex-grow: 1;
}

.numbered-list-trending .title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.numbered-list-trending li:hover .title {
    color: #ff5722;
}

.numbered-list-trending .meta {
    font-size: 0.85rem;
    color: #999;
}

/* Showcase Cards */
.bg-slider {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 60px 0;
    margin: 40px 0;
}

.showcase-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.showcase-card-img {
    height: 160px;
    overflow: hidden;
}

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

.showcase-card-body {
    padding: 20px;
}

.showcase-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video/Reel Feature Card */
.video-feature-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.video-feature-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-feature-card:hover img {
    transform: scale(1.05);
}

.trending-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ff5722;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
    z-index: 1;
}

/* Adjust flickity cell widths for showcase */
.carousel-showcase .carousel-cell {
    width: 260px;
    margin-right: 20px;
}

/* Global Container Tweaks */
.container {
    max-width: 1200px;
}

.border-bottom {
    border-bottom: 1px solid #f0f0f0 !important;
}