/**
 * GoInfoProperti - Advanced Homepage Styles
 * Complete CSS for modern property portal with hero carousel
 * Based on chat history and requirements
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #1a365d;
    --secondary-color: #2d3748;
    --accent-color: #3182ce;
    --accent-light: #63b3ed;
    
    /* Status Colors */
    --danger-color: #e53e3e;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --info-color: #3182ce;
    
    /* Category Colors */
    --purple-color: #8b5cf6;
    --pink-color: #ec4899;
    --indigo-color: #6366f1;
    --teal-color: #06b6d4;
    --orange-color: #f97316;
    --lime-color: #84cc16;
    
    /* Gray Scale */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-700) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HERO SECTION ===== */
.advanced-hero {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0 2rem;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, white 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, white 2px, transparent 2px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    color: white;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO SEARCH ===== */
.hero-search-advanced {
    margin-bottom: 0;
}

.search-container {
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    height: 50px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    outline: none;
    color: var(--gray-700);
    background: transparent;
    height: 100%;
}

.search-input::placeholder {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.search-btn {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    height: 100%;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    margin-top: 0.5rem;
    display: none;
    z-index: 10;
}

.suggestion-item {
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.suggestion-item:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

/* ===== MAIN CONTENT ===== */
.advanced-main {
    padding: 3rem 0;
}

/* ===== PAGE HEADER ===== */
.advanced-page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
}

.page-header-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.page-header-content p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.page-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

/* ===== HERO CAROUSEL STYLES ===== */
.hero-carousel-section {
    margin-bottom: 4rem;
}

.hero-carousel-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    /* Changed to square aspect ratio */
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-carousel-slide.prev {
    transform: translateX(-100%);
}

.hero-carousel-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    position: relative;
}

.hero-carousel-content {
    color: white;
    max-width: 600px;
    flex: 1;
}

.hero-carousel-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-carousel-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-carousel-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hero-carousel-title a:hover {
    opacity: 0.9;
}

.hero-carousel-excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-carousel-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-carousel-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===== CAROUSEL NAVIGATION BUTTONS ===== */
.hero-carousel-nav {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.hero-carousel-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-carousel-btn i {
    width: 18px;
    height: 18px;
}

/* ===== CAROUSEL INDICATORS ===== */
.hero-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-carousel-indicator {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.hero-carousel-indicator.active {
    background: rgba(255, 255, 255, 0.5);
}

.hero-carousel-indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: progress 5s linear;
    width: 100%;
}

@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* ===== TRENDING TICKER COMPACT ===== */
.trending-ticker-compact {
    margin-bottom: 3rem;
}

.ticker-compact-container {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    min-height: 60px;
}

.ticker-label-compact {
    background: linear-gradient(135deg, var(--danger-color), #fc8181);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content-compact {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
}

.ticker-scroll-compact {
    display: flex;
    animation: scrollCompact 25s linear infinite;
    gap: 2rem;
    white-space: nowrap;
}

@keyframes scrollCompact {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.875rem;
}

.ticker-item-compact:hover {
    background: var(--gray-100);
    color: var(--accent-color);
}

.ticker-cta-compact {
    padding: 0.75rem 1.5rem;
    background: var(--gray-50);
    border-left: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.ticker-btn-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.ticker-btn-compact:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* ===== SECTION HEADERS ADVANCED ===== */
.section-header-advanced {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--gray-200);
    position: relative;
}

.section-header-advanced::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.header-content {
    flex: 1;
}

.section-title-advanced {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-title-advanced i {
    font-size: 1.5rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-link-advanced {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.section-link-advanced:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== VIDEO SHOWCASE ===== */
.video-showcase-section {
    margin-bottom: 4rem;
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-showcase-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.video-card-header {
    padding: 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.tiktok-badge {
    background: #000;
    color: white;
}

.youtube-badge {
    background: #ff0000;
    color: white;
}

.video-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-card-content {
    padding: 1.5rem;
}

.video-embed-container {
    position: relative;
    width: 100%;
    height: 315px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-embed-container iframe {
    border-radius: var(--border-radius);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 315px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    color: var(--gray-500);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ===== ARTICLE CARDS ===== */
.recent-articles-grid,
.category-grid,
.all-posts-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.recent-articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.all-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ===== CARD STYLES ===== */
.hero-card,
.overlay-card,
.minimal-card,
.magazine-card,
.default-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.hero-card:hover,
.overlay-card:hover,
.minimal-card:hover,
.magazine-card:hover,
.default-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Hero Card */
.hero-card {
    height: 400px;
}

.hero-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.hero-content {
    color: white;
}

.hero-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.hero-title a {
    color: white;
    text-decoration: none;
}

.hero-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Overlay Card */
.overlay-card {
    height: 300px;
}

.overlay-card-large {
    height: 400px;
}

.overlay-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
}

.overlay-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.overlay-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.overlay-title a {
    color: white;
    text-decoration: none;
}

.overlay-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.8;
}

.meta-separator {
    opacity: 0.5;
}

/* Minimal Card */
.minimal-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    height: auto;
}

.minimal-card-image {
    position: relative;
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.minimal-category {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}

.minimal-content {
    flex: 1;
}

.minimal-category-text {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.minimal-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.minimal-title a {
    color: var(--gray-800);
    text-decoration: none;
}

.minimal-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Magazine Card */
.magazine-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
}

.magazine-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.magazine-image {
    width: 150px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.magazine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-content {
    flex: 1;
    padding-left: 1rem;
}

.magazine-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.magazine-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.magazine-title a {
    color: var(--gray-800);
    text-decoration: none;
}

.magazine-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.magazine-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 24px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 50%;
}

.meta-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Default Card */
.default-card {
    display: flex;
    flex-direction: column;
}

.default-card-large {
    grid-column: span 2;
}

.default-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.default-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.default-card:hover .default-card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.default-card:hover .image-overlay {
    opacity: 1;
}

.overlay-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.overlay-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-700);
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.default-content {
    padding: 1.5rem;
    flex: 1;
}

.default-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.default-title a {
    color: var(--gray-800);
    text-decoration: none;
}

.default-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.default-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===== PAGINATION ===== */
.advanced-pagination {
    margin-top: 4rem;
    padding: 2rem 0;
}

.pagination-nav {
    margin-bottom: 2rem;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.pagination-current {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: var(--gray-400);
}

.pagination-info {
    text-align: center;
}

.pagination-progress {
    width: 200px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* ===== NO POSTS ===== */
.no-posts-advanced {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-posts-advanced h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-carousel-container {
        /* Keep square aspect ratio on mobile */
        aspect-ratio: 1 / 1;
        max-width: 400px;
        border-radius: 16px;
    }

    .hero-carousel-overlay {
        padding: 2rem;
    }

    .hero-carousel-title {
        font-size: 1.5rem;
    }

    .hero-carousel-excerpt {
        font-size: 0.875rem;
    }

    .hero-carousel-nav {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .hero-carousel-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .hero-carousel-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-carousel-container {
        /* Square format for extra small screens */
        aspect-ratio: 1 / 1;
        max-width: 350px;
    }

    .hero-carousel-overlay {
        padding: 1.5rem;
    }

    .hero-carousel-title {
        font-size: 1.25rem;
    }

    .hero-carousel-excerpt {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-carousel-btn {
        padding: 0.5rem;
    }

    .hero-carousel-btn i {
        width: 16px;
        height: 16px;
    }

    .hero-carousel-indicator {
        width: 40px;
        height: 3px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero-carousel-nav,
    .hero-carousel-indicators,
    .ticker-compact-container,
    .video-showcase-section,
    .advanced-pagination {
        display: none;
    }
    
    .hero-carousel-container {
        height: auto;
    }
    
    .hero-carousel-slide {
        position: static;
        opacity: 1;
        transform: none;
    }
    
    body {
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}







