
/* ======= { MEDIA ADVERTISING PAGE START } ======= */

/* Media Category Navigation */
.media_nav_container {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
    position: sticky;
    top: 0; 
    z-index: 99; 
}
.media_nav_list {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; 
}
.media_nav_list::-webkit-scrollbar {
    display: none; 
}
.media_nav_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 80px;
    text-decoration: none;
    color: var(--ashh);
    
    transition: .3s ease;
    cursor: pointer;
}
.media_nav_item:hover, .media_nav_item.active {
    color: var(--primary);
}
.media_nav_icon {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: .3s ease;
}
.media_nav_item:hover .media_nav_icon, .media_nav_item.active .media_nav_icon {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(163, 5, 2, 0.2);
}
.media_nav_text {
    font-size: 14px;
    font-weight: 600;
}

/* Filter Sidebar */
.filter_sidebar {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
    height: fit-content; 
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.filter_group {
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}
.filter_group:last-child {
    border-bottom: none;
}
.filter_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.filter_options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.custom_checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--ashh);
}
.custom_checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Ad Card Design - VERTICAL CARD STYLE */
.ad_media_card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px; 
    padding: 15px;
    margin-bottom: 0; 
    display: flex;
    flex-direction: column; 
    transition: .3s all ease-in-out;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.ad_media_card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* Image Section */
.ad_logo_wrapper {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    background: #fff;
}
.ad_logo_wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Custom Size Badge */
.custom_ad_badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #000;
    color: #fff;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 2;
}

/* Content Section */
.ad_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ad_title {
    font-size: 16px;
    font-weight: 700;
    color: #000; 
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.ad_subtitle {
    font-size: 13px;
    color: var(--ashh);
}

/* Stats Lines */
.ad_stat_row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
}
.ad_stat_icon {
    color: #3b82f6; 
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Pricing Action Section */
.ad_pricing_action {
    margin-top: 15px;
}
.ad_btn_alert, .ad_btn_purple {
    background: var(--primary); /* Force Primary Color */
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: .3s;
    border: none;
}
.ad_btn_alert:hover, .ad_btn_purple:hover {
    background: #800402; 
    color: #fff;
}
.btn_main_text {
    font-size: 15px;
    font-weight: 700;
}
.btn_sub_text {
    font-size: 10px;
    opacity: 0.9;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .media_nav_container {
        top: 0;
    }
}
/* ======= { MEDIA ADVERTISING PAGE END } ======= */


/* Additional Content Sections */
.ads_info_section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}
.ads_info_title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}
.ads_info_item {
    margin-bottom: 30px;
}
.ads_info_item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}
.ads_info_item h4 a {
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}
.ads_info_item h4 a:hover {
    color: var(--primary);
}
.ads_info_item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555; /* Slightly darker for better readability */
    margin-bottom: 10px;
}
.ads_info_item p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.ads_info_item p a:hover {
    text-decoration: underline;
}

/* Stats Table */
.ads_stats_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
}
.ads_stats_table th, .ads_stats_table td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid #e0e0e0;
}
.ads_stats_table th {
    background: #f9f9f9;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    text-align: center; /* Center align header for balance */
}
.ads_stats_table td {
    font-size: 15px;
    color: #333;
}
/* Center the second column (Ad Spend) values */
.ads_stats_table td:nth-child(2) {
    text-align: center;
    font-weight: 500; 
}

.ads_stats_table tr:nth-child(even) {
    background: #fcfcfc;
}

/* Responsive Table */
@media (max-width: 768px) {
    .ads_stats_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Load More Button */
.load_more_btn {
    background: var(--primary);
    color: var(--white);
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-radius: 4px; /* Slight rounded corners for actionable feel */
    letter-spacing: 1px;
}
.load_more_btn:hover {
    background: #800402; /* Darker shade for hover, matches other buttons */
    /* transform: translateY(-2px); */ /* Keeping it simple and solid as per user image style preference often implies stability */
    color: #fff;
}
.load_more_btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}
.load_more_btn:hover i {
    transform: translateX(5px);
}


/* Additional Mobile Filter Styles (Restored) */

/* Mobile Filter Trigger */
.mobile_filter_trigger {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}
.mobile_filter_trigger i {
    font-size: 18px;
}

/* Mobile Filter Overlay Modal */
.mobile_filter_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: flex-end; /* Bottom sheet style */
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile_filter_overlay.active {
    display: flex;
    opacity: 1;
}

.mobile_filter_content {
    background: #fff;
    width: 100%;
    height: 80vh; /* Takes up 80% of screen height */
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile_filter_overlay.active .mobile_filter_content {
    transform: translateY(0);
}

/* Header */
.mf_header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mf_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}
.mf_close_btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Body Layout */
.mf_body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Left Sidebar Tabs */
.mf_sidebar {
    width: 35%;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    overflow-y: auto;
}
.mf_tab_item {
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    border-left: 3px solid transparent; /* Visual indicator */
    transition: all 0.2s;
}
.mf_tab_item.active {
    background: #fff;
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* Right Content Area */
.mf_content_area {
    width: 65%;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
}
.mf_tab_pane {
    display: none;
}
.mf_tab_pane.active {
    display: block;
}

/* Form Elements in Mobile Filter */
.mf_option_item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.mf_option_item input[type="radio"],
.mf_option_item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Footer */
.mf_footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.mf_clear_btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.mf_apply_btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Utilities */
@media (max-width: 991px) {
    .filter_sidebar {
        display: none; /* Hide desktop sidebar */
    }
    .mobile_filter_trigger {
        display: flex; /* Show mobile trigger */
    }
}

/* ======= { OUTDOOR PRO CARD DESIGN (SmartAds Inspired) } ======= */
.outdoor_pro_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.outdoor_pro_card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3.5;
    background: #f0f0f0;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    display: block;
}

.outdoor_pro_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Background Image */
.outdoor_card_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.outdoor_pro_card:hover .outdoor_card_img {
    transform: scale(1.1);
}

/* Gradient Overlay for Text Readability */
.outdoor_card_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

/* Top Badge (Title/Type) */
.outdoor_card_badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    width: 90%;
    justify-content: space-between;
    transition: all 0.3s ease;
    z-index: 2;
}
.outdoor_card_badge h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.outdoor_card_badge i {
    font-size: 14px;
    color: var(--ashh);
}

/* Bottom Location Text */
.outdoor_card_info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
    width: calc(100% - 50px);
}

.outdoor_location_text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.outdoor_location_text::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #fff;
    margin-top: 10px;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 2px;
}

.outdoor_pro_card:hover .outdoor_location_text::after {
    width: 60px;
    background: var(--primary);
}

.outdoor_sub_text {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-top: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======= { TOP CITIES HORIZONTAL SLIDER } ======= */
.top_city_section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.top_city_header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.top_city_title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary); /* Project Black */
    white-space: nowrap;
}

.top_city_divider {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    position: relative;
}

.top_city_divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary); /* Project Red */
    border-radius: 50%;
}

.city_scroll_wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.city_list {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    scroll-behavior: smooth;
    padding-left: 5px; /* Visual buffer */
    padding-right: 5px;
}

.city_list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* City Item - Using Font/Icon approach or Styled Container */
.city_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.city_icon_box {
    width: 100px;
    height: 100px;
    background: #eef2f6; /* Light gray-blue background from image */
    border-radius: 12px 12px 25px 25px; /* Unique shape roughly matching the shield/rounded bottom look */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: 0.3s ease;
    color: var(--secondary);
    border: 1px solid transparent;
}

.city_item:hover .city_icon_box {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    color: var(--primary);
}

.city_icon_box i {
    font-size: 40px;
}

/* Fallback if using images or vector icons */
.city_icon_img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.city_item:hover .city_icon_img {
    filter: grayscale(0%);
    opacity: 1;
}

.city_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.city_item:hover .city_name {
    color: var(--primary);
}

/* Custom Scroll Buttons (Optional, for desktop enhancement) */
.scroll_control_btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: absolute;
    top: 35%; /* Center relative to icon box */
    z-index: 10;
    transition: 0.3s;
    opacity: 0; 
    pointer-events: none;
}

.city_scroll_wrapper:hover .scroll_control_btn {
    opacity: 1;
    pointer-events: all;
}

.scroll_left { left: 0; transform: translateX(-50%); }
.scroll_right { right: 0; transform: translateX(50%); }

.scroll_control_btn:hover {
    background: #b90000; /* Darker red */
    transform: scale(1.1);
}
.scroll_left:hover { transform: translateX(-50%) scale(1.1); }
.scroll_right:hover { transform: translateX(50%) scale(1.1); }

/* Progress/Scroll Indicator Bar */
.scroll_indicator_track {
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    margin-top: 20px;
    position: relative;
    border-radius: 2px;
}
.scroll_indicator_thumb {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; /* Dynamic width could be set via JS */
    height: 6px;
    background: var(--primary);
    border-radius: 10px;
    cursor: grab;
}
