﻿/* ============================================
   OFFERS PAGE SECTION
   ============================================ */



   /* ============================================
   PAGE HEADING - OFFERS
   ============================================ */
.page-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #B11A1C;/* Red color */
    text-align: center; /* Center aligned */
    margin: 0 0 40px; /* Top margin remove, bottom margin add */
    padding: 30px 0 20px; /* Top padding zyada for spacing */
    text-transform: capitalize;
    width: 100%;
    background-color: #FFEBEC;/* White background */
    border-bottom: 2px solid #f0f0f0; /* Light border bottom */
}

/* Responsive */
@media (max-width: 768px) {
    .page-main-title {
        font-size: 28px;
        margin: 0 0 30px;
        padding: 25px 0 15px;
    }
}

@media (max-width: 480px) {
    .page-main-title {
        font-size: 24px;
        margin: 0 0 25px;
        padding: 20px 0 10px;
    }
}

.offers-page-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.offers-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 40px;
}

/* ============================================
   OFFERS GRID
   ============================================ */
.offers-main-content {
    min-width: 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Offer Card */
.offer-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.offer-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Offer Image Wrapper */
.offer-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.offer-img {
    width: 100%;
    height: 100%;
  
    display: block;
}

/* Offer Text Content */
.offer-text-content {
    padding: 20px;
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    color: #B11A1C;
    margin: 0 0 12px;
    line-height: 1.4;
}

.offer-desc {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin: 0 0 15px;
}

.btn-read-more {
    display: inline-block;
    padding: 6px 18px;
    background-color: #ffffff;
    color: #000;
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: #f5f5f5;
    border-color: #999999;
}

/* ============================================
   SIDEBAR
   ============================================ */
.offers-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 18px;
    letter-spacing: 0.5px;
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 10px;
    padding-left: 12px;
    position: relative;
}

.recent-posts-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #B11A1C;
    font-size: 18px;
    line-height: 1;
}

.recent-posts-list a {
    color: #B11A1C;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: #B11A1C;
    text-decoration: underline;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f5f5f5;
    color: #B11A1C;
    font-size: 11px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #B11A1C;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
    .offers-page-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .offers-sidebar {
        position: static;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .offers-page-section {
        padding: 40px 0;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .offer-image-wrapper {
        height: 220px;
    }

    .offer-title {
        font-size: 15px;
    }

    .offer-desc {
        font-size: 13px;
    }

    .widget-title {
        font-size: 13px;
    }

    .tag {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .offers-page-container {
        padding: 0 15px;
    }

    .offer-image-wrapper {
        height: 200px;
    }

    .offer-text-content {
        padding: 15px;
    }

    .offer-title {
        font-size: 14px;
    }

    .btn-read-more {
        padding: 5px 15px;
        font-size: 12px;
    }
}