/* ============================================================
   BLOG PAGE - SS Advertising
   ============================================================ */

/* ---------- Hero / Marketing Section ---------- */
.marketing-section {
    position: relative;
    overflow: visible;
    z-index: 10;
    padding: 80px 0 30px;
    text-align: center;
}

.marketing-section .bg-blur-element {
    position: absolute;
    top: -120px;
    right: 0;
    width: 900px;
    height: 900px;
    background-image: url('../images/bg-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.9;
    pointer-events: none;
}

.marketing-section .heading {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--gray);
    line-height: 1.3;
    /* margin-bottom: 18px; */
    /* margin: 4% 0 8% 0; */
    margin: 0% 0 2% 0;
}

.marketing-section .heading br {
    display: block;
}

/* "Rural & Urban Marketing" -> blue color */
.marketing-section .heading span {
    color: var(--primary-blue);
}

/* Down arrow */
.marketing-section .arrow {
    display: inline-block;
    font-size: 22px;
    color: var(--primary-blue);
    margin: 10px 0 20px;
    font-style: normal;
    font-weight: 700;
    /* Make "v" look like chevron */
    transform: scaleX(1.6);
    letter-spacing: -2px;
}

/* Divider line */
.divider {
    width: 100%;
    height: 1px;
    background: #65645F;
    margin: 20px 0 0;
}

/* ---------- Card Grid Section ---------- */
.card-grid-section {
    padding: 10px 0 60px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* ---------- Story Card ---------- */
.story-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000;
    aspect-ratio: 4/3;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-card:hover img {
    opacity: 0.85;
    transform: scale(1.04);
}

/* Label overlay at bottom */
.label-container {
   position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
}

.label-container p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .marketing-section .heading {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .marketing-section {
        padding: 20px 0 20px;
    }

    .marketing-section .heading {
        font-size: 24px;
    }

    .label-container p {
        font-size: 11px !important;
    }
}

@media (max-width: 400px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card-grid-section {
    /* background: var(--main-bg); */
}

/* Responsive Grid Container */
.card-grid {
    display: grid;
    margin: 0 auto;
    gap: 25px;
    /* Desktop: 3 Columns */
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 80px;
}

/* Tablet: 2 Columns (1024px and below) */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .hero-title {
        font-size: 45px;
        margin-left: 0;
    }

    .hero-subtitle {
        font-size: 45px;
        margin-left: 0;
    }

    .services-card {
        min-width: calc(35%);
    }

    .services-main-section,
    .corporate-section {
        padding: 5% 2%;
    }

    .corporate-wrapper {
        gap: 30px;
    }

    .counter-bg-text {
        font-size: 90px !important;
    }

    .hero-about-title,
    .heading {
        font-size: 45px;
    }

    .services-main-title,
    .corporate-content h2,
    .network-header h2,
    .instore-header h2,
    .blog-header h2,
    .contact-info h2,
    .contact-us-heading,
    .leading-outdoor-title,
    .services-real-content h3 {
        font-size: 42px !important;
    }

    .contact-us-container {
        gap: 35px !important;
    }

    .item-02 .services-real-img {}

    .service-number {
        font-size: 40px !important;
    }

    .services-real-content h3,
    .services-real-content p,
    .services-real-content ul {
        margin-bottom: 10px !important;
    }

    .services-real-content ul li {
        margin-bottom: 0px !important;
    }

    .services-real {
        padding: 40px 0 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {

    .hero-title {
        font-size: 55px;
        margin-left: 0;
    }

    .hero-subtitle {
        font-size: 55px;
        margin-left: 0;
    }

    .services-main-title,
    .corporate-content h2,
    .network-header h2,
    .instore-header h2,
    .blog-header h2,
    .contact-info h2,
    .contact-us-heading,
    .leading-outdoor-title,
    .services-real-content h3 {
        font-size: 52px !important;
    }
}

/* Mobile: 1 Column (650px and below) */
@media (max-width: 650px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .marketing-grid-section {
        padding: 30px 15px;
    }
}

/* Card Design */
.story-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Box */
.label-container {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
}

.label-container p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}