/* ===== Media & Recognition Page ===== */

/* ---------- Override global .container flex ---------- */
.mr-books-section .container,
.mr-magazine-section .container,
.mr-awards-section .container,
.mr-enquiry-section .container {
    display: block;
}

/* ---------- Hero ---------- */
.mr-hero-breadcrumb {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 14px;
    margin-bottom: 0;
}

.mr-hero-breadcrumb span {
    color: #ff8c1a;
}

/* ---------- Section Header Block ---------- */
.mr-section-header {
    text-align: center;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mr-label-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff5f5, #fff0e0);
    border: 1px solid #ffe0cc;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    color: #e60000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.mr-label-tag i {
    font-size: 13px;
    background: linear-gradient(90deg, #e60000, #ff8c1a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mr-section-heading {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

.mr-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #777;
    max-width: 620px;
    margin: 0 auto 18px;
    line-height: 1.6;
    font-weight: 400;
}

.mr-heading-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e60000, #ff8c1a);
    border-radius: 3px;
}

/* ---------- Image Placeholders ---------- */
.mr-photo-placeholder {
    background: linear-gradient(135deg, #f0f0f5, #e8e8ee);
    border: 2px dashed #d0d0d8;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.mr-photo-placeholder i {
    font-size: 36px;
    color: #ccc;
}

.mr-photo-placeholder.magazine {
    min-height: 260px;
    border-radius: 10px;
}

.mr-photo-placeholder.award {
    min-height: 180px;
    border-radius: 10px;
}

.mr-photo-placeholder.cert {
    min-height: 160px;
    border-radius: 8px;
}


/* ==========================================
   SECTION 1: BOOKS
   ========================================== */
.mr-books-section {
    padding: 70px 0 50px;
    background: #fff;
}

.mr-book-row {
    display: flex;
    align-items: stretch;
    gap: 45px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #fafbff, #fff8f5);
    border: 1px solid #f0e8e0;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.mr-book-row:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.mr-book-row.reverse {
    flex-direction: row-reverse;
}

.mr-book-cover {
    flex-shrink: 0;
    width: 250px;
}

.mr-book-cover img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mr-book-cover-placeholder {
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mr-book-cover-placeholder i {
    font-size: 48px;
    color: #ff8c1a;
}

.mr-book-info {
    flex: 1;
}

.mr-book-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff5f5, #fff0e0);
    border: 1px solid #ffe0cc;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #e60000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.mr-book-badge i {
    font-size: 11px;
    color: #ff8c1a;
}

.mr-book-info h3 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
    line-height: 1.3;
}

.mr-book-author {
    font-size: 15px;
    font-weight: 600;
    color: #e60000;
    margin-bottom: 16px;
}

.mr-book-author i {
    margin-right: 6px;
    font-size: 13px;
}

.mr-book-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.mr-book-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mr-book-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e8e0d8;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    transition: all 0.3s ease;
}

.mr-book-highlights span:hover {
    border-color: #e60000;
    color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(230, 0, 0, 0.1);
}

.mr-book-highlights span i {
    color: #e60000;
    font-size: 12px;
}

/* Book Launch Events */
.mr-book-events {
    margin-top: 10px;
    padding-top: 40px;
    border-top: 1px solid #f0e8e0;
}

.mr-book-events h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    text-align: center;
}

.mr-book-events h4 i {
    color: #e60000;
    margin-right: 8px;
}

.mr-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mr-event-photo {
    text-align: center;
}

.mr-event-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mr-event-photo img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.mr-event-photo p {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-top: 10px;
}


/* ==========================================
   SECTION 2: MAGAZINE FEATURES
   ========================================== */
.mr-magazine-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.mr-magazine-section .mr-section-heading,
.mr-magazine-section .mr-section-subtitle {
    color: #fff;
}

.mr-magazine-section .mr-section-subtitle {
    color: rgba(255,255,255,0.6);
}

.mr-magazine-section .mr-label-tag {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #ff8c1a;
}

.mr-magazine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mr-magazine-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.mr-magazine-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(230, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-6px);
}

.mr-magazine-cover {
    width: 100%;
    overflow: hidden;
}

.mr-magazine-cover img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mr-magazine-card:hover .mr-magazine-cover img {
    transform: scale(1.05);
}

.mr-magazine-info {
    padding: 20px;
}

.mr-magazine-badge {
    display: inline-block;
    background: linear-gradient(90deg, #e60000, #ff8c1a);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.mr-magazine-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.mr-magazine-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

.mr-magazine-card:hover .mr-magazine-info p {
    color: rgba(255,255,255,0.8);
}

/* Featured quote */
.mr-featured-quote {
    text-align: center;
    margin-top: 45px;
    position: relative;
}

.mr-featured-quote i {
    font-size: 28px;
    color: rgba(255,140,26,0.3);
    margin-bottom: 10px;
    display: block;
}

.mr-featured-quote p {
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}


/* ==========================================
   SECTION 3: AWARDS & RECOGNITION
   ========================================== */
.mr-awards-section {
    padding: 70px 0;
    background: #fff;
}

.mr-awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.mr-award-card {
    background: linear-gradient(135deg, #fafbff, #fff8f5);
    border: 1px solid #f0e8e0;
    border-radius: 18px;
    padding: 35px 25px 30px;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
    overflow: hidden;
}

.mr-award-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e60000, #ff8c1a);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.mr-award-card:hover {
    border-color: #fdd;
    box-shadow: 0 12px 35px rgba(230, 0, 0, 0.08);
    transform: translateY(-6px);
}

.mr-award-card:hover::after {
    transform: scaleX(1);
}

.mr-award-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5, #fff0e0);
    border: 2px solid #ffe0cc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all 0.35s ease;
}

.mr-award-card:hover .mr-award-icon {
    background: linear-gradient(135deg, #e60000, #ff8c1a);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.25);
}

.mr-award-icon i {
    font-size: 22px;
    background: linear-gradient(90deg, #e60000, #ff8c1a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.35s ease;
}

.mr-award-card:hover .mr-award-icon i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #fff;
}

.mr-award-photo {
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
}

.mr-award-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.mr-award-card:hover .mr-award-photo img {
    transform: scale(1.03);
}

.mr-award-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.mr-award-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Certificates Gallery */
.mr-certificates {
    padding-top: 40px;
    border-top: 1px solid #f0e8e0;
}

.mr-certificates h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    text-align: center;
}

.mr-certificates h4 i {
    color: #e60000;
    margin-right: 8px;
}

.mr-certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mr-cert-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mr-cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mr-cert-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee;
}


/* ==========================================
   ENQUIRY FORM SECTION
   ========================================== */
.mr-enquiry-section {
    padding: 70px 0 50px;
    background: linear-gradient(180deg, #f9fafb 0%, #f0f1f3 100%);
}

.mr-enquiry-section .container-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mr-enquiry-section .enquiry-form {
    max-width: 580px !important;
    width: 100%;
    margin: 25px auto !important;
    padding: 35px 35px 30px !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #eee !important;
}

.mr-enquiry-section .submit-btn1 {
    background: linear-gradient(90deg, #e60000, #ff8c1a) !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.mr-enquiry-section .form-control {
    border: 1.5px solid #dce0e8 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fafbfc !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.mr-enquiry-section .form-control:focus {
    border-color: #e60000 !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.08) !important;
    background: #fff !important;
    outline: none !important;
}

.mr-enquiry-section .submit-btn {
    background: linear-gradient(90deg, #e60000, #ff8c1a) !important;
    border-radius: 8px !important;
    padding: 12px 45px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    width: auto !important;
}

.mr-enquiry-section .submit-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(230, 0, 0, 0.25) !important;
}


/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .mr-magazine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .mr-book-row,
    .mr-book-row.reverse {
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 30px;
    }

    .mr-book-cover {
        width: 200px;
    }

    .mr-book-cover-placeholder {
        height: 280px;
    }

    .mr-book-info {
        text-align: center;
    }

    .mr-book-desc {
        text-align: justify;
    }

    .mr-book-highlights {
        justify-content: center;
    }

    .mr-awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mr-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mr-certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mr-section-heading {
        font-size: 26px;
    }

    .mr-section-subtitle {
        font-size: 14px;
    }

    .mr-section-header {
        margin-bottom: 30px;
    }

    .mr-books-section,
    .mr-magazine-section,
    .mr-awards-section,
    .mr-enquiry-section {
        padding: 50px 0;
    }

    .mr-book-info h3 {
        font-size: 22px;
    }

    .mr-magazine-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .mr-awards-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto 40px;
    }

    .mr-events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .mr-certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mr-featured-quote p {
        font-size: 18px;
    }

    .mr-enquiry-section .enquiry-form {
        padding: 25px 22px 20px !important;
        margin: 20px 15px !important;
    }
}

@media (max-width: 480px) {
    .mr-section-heading {
        font-size: 20px;
    }

    .mr-label-tag {
        font-size: 11px;
        padding: 6px 14px;
    }

    .mr-book-cover {
        width: 180px;
    }

    .mr-book-cover-placeholder {
        height: 240px;
    }

    .mr-book-row {
        padding: 22px 18px;
    }

    .mr-book-info h3 {
        font-size: 20px;
    }

    .mr-events-grid {
        grid-template-columns: 1fr;
    }

    .mr-certificates-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mr-featured-quote p {
        font-size: 16px;
    }

    .mr-hero-breadcrumb {
        font-size: 12px;
    }
}
