/* SHADA_FA_SPLIT_HERO_V1_17 */

/*
 * Persian blog hero:
 * physical LEFT = image 38%
 * physical RIGHT = Persian content 62%
 */
.shada-fa-blog-hero-v1-12 {
    direction: ltr;
    display: grid;
    grid-template-columns: 38% 62%;
    width: 100%;
    margin: 0 0 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(8, 123, 123, .18);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,.99), rgba(239,250,250,.93));
    box-shadow: 0 10px 30px rgba(7,68,68,.045);
}

/* Left image */
.shada-fa-blog-hero-v1-12__media {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #eef7f7;
    border-right: 1px solid rgba(8,123,123,.13);
}

.shada-fa-blog-hero-v1-12__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
}

/* Right Persian content */
.shada-fa-blog-hero-v1-12__content {
    direction: rtl;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: 1.8rem 2rem 1.65rem;
    text-align: right;
}

.shada-fa-blog-hero-v1-12__eyebrow {
    margin: 0 0 .6rem;
    color: #087b7b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.shada-fa-blog-hero-v1-12__title {
    margin: 0;
    color: #063f43;
    font-size: 26.4px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0;
}

.shada-fa-blog-hero-v1-12__intro {
    margin-top: .75rem;
    color: #314b4e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.85;
}

.shada-fa-blog-hero-v1-12__intro p {
    margin: 0 0 .3rem;
}

.shada-fa-blog-hero-v1-12__divider {
    height: 1px;
    margin: 1rem 0 .9rem;
    background: rgba(8,123,123,.18);
}

.shada-fa-blog-hero-v1-12__categories-title {
    margin: 0 0 .7rem;
    color: #123f43;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.shada-fa-blog-hero-v1-12__category-list {
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .6rem;
    align-items: center;
    justify-content: flex-start;
}

.shada-fa-blog-hero-v1-12__category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.45rem;
    padding: .4rem .78rem;
    border: 1.5px solid rgba(8,123,123,.30);
    border-radius: 999px;
    background: rgba(255,255,255,.80);
    color: #087b7b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.shada-fa-blog-hero-v1-12__category-pill:hover,
.shada-fa-blog-hero-v1-12__category-pill:focus {
    border-color: rgba(8,123,123,.62);
    background: #fff;
    color: #056666;
    text-decoration: none;
    transform: translateY(-1px);
}

.shada-fa-blog-hero-v1-12__category-arrow {
    flex: 0 0 auto;
    font-weight: 700;
    line-height: 1;
}

/* Existing latest article stream follows directly below. */
.shada-fa-blog-hero-v1-12 + .shada-zoo-frontpage-latest-wide {
    margin-top: 0;
}

@media (max-width: 940px) {
    .shada-fa-blog-hero-v1-12 {
        grid-template-columns: 36% 64%;
    }

    .shada-fa-blog-hero-v1-12__content {
        padding: 1.45rem 1.35rem 1.3rem;
    }

    .shada-fa-blog-hero-v1-12__media img {
        min-height: 340px;
    }
}

@media (max-width: 720px) {
    .shada-fa-blog-hero-v1-12 {
        display: flex;
        flex-direction: column;
        border-radius: .8rem;
    }

    .shada-fa-blog-hero-v1-12__content {
        order: 1;
        padding: 1.2rem 1rem 1.05rem;
    }

    .shada-fa-blog-hero-v1-12__media {
        order: 2;
        border-right: 0;
        border-top: 1px solid rgba(8,123,123,.13);
    }

    .shada-fa-blog-hero-v1-12__media img {
        height: 240px;
        min-height: 0;
    }

    .shada-fa-blog-hero-v1-12__category-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }

    .shada-fa-blog-hero-v1-12__category-pill {
        width: 100%;
        min-height: 2.65rem;
        padding: .45rem .55rem;
        white-space: normal;
        text-align: center;
    }
}


/* SHADA FA — ZOO article CTA physical-left alignment V1.18
 *
 * Actual rendered structure:
 * .shada-zoo-card__links
 *   > ul.uk-subnav
 *       > li
 *           > a
 *
 * ZOO does NOT output a .readmore class here.
 */

/* The links area itself occupies the card width. */
.shada-zoo-frontpage--blog .shada-zoo-card__links {
    display: block !important;
    width: 100% !important;
    direction: ltr !important;
    text-align: left !important;
}

/* ZOO/UIkit generated list: force physical-left placement. */
.shada-zoo-frontpage--blog .shada-zoo-card__links > ul,
.shada-zoo-frontpage--blog .shada-zoo-card__links > .uk-subnav {
    display: block !important;
    width: 100% !important;
    direction: ltr !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* The single CTA list item must not float or stretch. */
.shada-zoo-frontpage--blog .shada-zoo-card__links li {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Keep the Persian button compact while its container stays physically left. */
.shada-zoo-frontpage--blog .shada-zoo-card__links a {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    direction: rtl !important;
    text-align: center !important;
}
