/*
Theme Name: PressMart Child
Theme URI: https://pressmart.presslayouts.com/
Author: PressLayouts
Description: This is a child theme for PressMart
Version: 1.0
Author URI: https://www.presslayouts.com/
Template: pressmart
Text Domain: pressmart-child
*/



@media only screen and (max-width: 767px) {

    body.home #masthead,
    body.home .site-header,
    body.home .header-wrapper,
    body.home .header-main,
    body.home .mobile-header,
    body.home .header-mobile {
        border-bottom: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    body.home #masthead::after,
    body.home .site-header::after,
    body.home .header-wrapper::after,
    body.home .header-main::after,
    body.home .mobile-header::after,
    body.home .header-mobile::after {
        display: none !important;
        content: none !important;
    }
}

/* EG KICKS CARDS */

.eg-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(181, 18, 27, 0.75);
    background-size: cover;
    background-position: center;
    box-shadow:
        0 0 0 1px rgba(255, 0, 20, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* طبقة التعتيم والجراديانت */
.eg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(5, 5, 5, 0.08) 15%,
            rgba(5, 5, 5, 0.25) 48%,
            rgba(5, 5, 5, 0.92) 100%
        );
}

/* تأثير الـPattern في الحواف */
.eg-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.32;
    background-image: url("PUT-PATTERN-IMAGE-URL-HERE");
    background-size: 650px auto;
    background-position: bottom right;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
}

/* المحتوى فوق الصورة */
.eg-card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 32px;
}

/* الخط الأحمر الصغير */
.eg-card-content::before {
    content: "";
    width: 64px;
    height: 3px;
    margin-bottom: 14px;
    background: #d71920;
}

/* حركة Hover */
.eg-card:hover {
    transform: translateY(-5px);
    border-color: #ed1c24;
    box-shadow:
        0 0 22px rgba(215, 25, 32, 0.25),
        0 18px 38px rgba(0, 0, 0, 0.55);
}

/* تكبير الصورة بشكل بسيط */
.eg-card {
    transition: background-size 0.5s ease, transform 0.35s ease;
}

.eg-card:hover {
    background-size: 108%;
}

/* العناوين */
.eg-card-content h2,
.eg-card-content h3 {
    color: #fff;
    margin: 0;
    line-height: 0.92;
    text-transform: uppercase;
    font-family: "Teko", sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75);
}

.eg-card-large .eg-card-content h2,
.eg-card-large .eg-card-content h3 {
    font-size: clamp(48px, 5vw, 82px);
}

.eg-card-small .eg-card-content h2,
.eg-card-small .eg-card-content h3 {
    font-size: clamp(36px, 3.5vw, 58px);
}

/* النص الصغير */
.eg-card-content p {
    color: #e31b23;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* الزر */
.eg-card-content .elementor-button {
    margin-top: 22px;
    padding: 13px 28px;
    color: #fff;
    background: rgba(5, 5, 5, 0.82);
    border: 1px solid #d71920;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.eg-card-content .elementor-button:hover {
    color: #fff;
    background: #d71920;
}

/* الموبايل */
@media (max-width: 767px) {
    .eg-card-large,
    .eg-card-small {
        min-height: 420px;
    }

    .eg-card-content {
        padding: 22px;
    }

    .eg-card-content::before {
        width: 45px;
    }

    .eg-card-large .eg-card-content h2,
    .eg-card-large .eg-card-content h3,
    .eg-card-small .eg-card-content h2,
    .eg-card-small .eg-card-content h3 {
        font-size: 44px;
    }

    .eg-card::after {
        background-size: 430px auto;
        opacity: 0.24;
    }
}
