/* Tamiyouz Blog — V14 editorial features and complete category explorer */
body.tyz-home-v13 .tyz-v14-home { font-family: Cairo, "DIN Next Arabic", Tahoma, sans-serif; }
body.tyz-home-v13 .tyz-v14-home .tyz-v14-sr-only {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
body.tyz-home-v13 .tyz-v14-feature {
    position: relative; overflow: hidden; padding: clamp(76px, 8vw, 112px) 0;
    background: #fffaf1; color: #182a40;
}
body.tyz-home-v13 .tyz-v14-feature--seo::before,
body.tyz-home-v13 .tyz-v14-feature--commerce::before {
    content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
    border: 1px solid rgba(190,145,63,.16); pointer-events: none;
}
body.tyz-home-v13 .tyz-v14-feature--seo::before { left: -280px; top: -220px; box-shadow: 0 0 0 40px rgba(190,145,63,.035), 0 0 0 82px rgba(190,145,63,.025); }
body.tyz-home-v13 .tyz-v14-feature__inner {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.94fr);
    align-items: center; gap: clamp(42px, 7vw, 92px); direction: rtl;
}
body.tyz-home-v13 .tyz-v14-feature__copy { position: relative; z-index: 2; }
body.tyz-home-v13 .tyz-v14-feature__overline {
    display: inline-flex; align-items: center; gap: 9px; margin: 0 0 15px;
    color: #9b783e; font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
body.tyz-home-v13 .tyz-v14-feature__overline::before { content: ""; width: 25px; height: 1px; background: #d5a447; }
body.tyz-home-v13 .tyz-v14-feature__copy h2 {
    max-width: 590px; margin: 0 0 19px; color: #0c2039;
    font-size: clamp(31px, 3.5vw, 48px); line-height: 1.42; font-weight: 800; letter-spacing: -.04em;
}
body.tyz-home-v13 .tyz-v14-feature__copy h2 em { color: #b4873d; font-style: normal; }
body.tyz-home-v13 .tyz-v14-feature__lead {
    max-width: 570px; margin: 0 0 24px; color: #667383;
    font-size: 14px; line-height: 2.1;
}
body.tyz-home-v13 .tyz-v14-feature__points {
    list-style: none !important; padding: 0 !important; margin: 0 0 28px !important;
    display: grid; gap: 12px;
}
body.tyz-home-v13 .tyz-v14-feature__points li {
    display: flex; align-items: flex-start; gap: 13px; margin: 0 !important;
    color: #34475d; font-size: 12px; line-height: 1.9;
}
body.tyz-home-v13 .tyz-v14-feature__points li > span:first-child {
    flex: 0 0 27px; display: grid; place-items: center; width: 27px; height: 27px;
    border: 1px solid rgba(190,145,63,.38); border-radius: 50%;
    color: #a77b32; font: 700 9px/1 Arial,sans-serif; direction: ltr;
}
body.tyz-home-v13 .tyz-v14-feature__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
body.tyz-home-v13 .tyz-v14-feature__read-link {
    display: inline-flex; align-items: center; gap: 9px; color: #243a52 !important;
    font-size: 11px; font-weight: 800; transition: gap .3s ease, color .3s ease;
}
body.tyz-home-v13 .tyz-v14-feature__read-link:hover { gap: 15px; color: #a77b32 !important; }
body.tyz-home-v13 .tyz-v14-feature__visual { position: relative; min-width: 0; padding: 0 0 25px 25px; }
body.tyz-home-v13 .tyz-v14-feature__image-frame {
    position: relative; isolation: isolate; overflow: hidden; height: clamp(330px, 36vw, 465px);
    border-radius: 7px 7px 7px 42px; background: #132c49;
    box-shadow: 0 26px 65px rgba(13,32,57,.16);
}
body.tyz-home-v13 .tyz-v14-feature__image {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s ease; filter: saturate(.88);
}
body.tyz-home-v13 .tyz-v14-feature__visual:hover .tyz-v14-feature__image { transform: scale(1.055); filter: saturate(1.04); }
body.tyz-home-v13 .tyz-v14-feature__image-wash {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(135deg, rgba(8,24,47,.03), transparent 44%, rgba(8,24,47,.22));
}
body.tyz-home-v13 .tyz-v14-feature__image-label {
    position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 13px; color: #fff; background: rgba(8,24,47,.68);
    border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(12px);
    font: 700 9px/1 Arial,sans-serif; letter-spacing: .14em; direction: ltr;
}
body.tyz-home-v13 .tyz-v14-feature__image-label i { width: 6px; height: 6px; border-radius: 50%; background: #e2bd70; box-shadow: 0 0 0 4px rgba(226,189,112,.16); }
body.tyz-home-v13 .tyz-v14-feature__floating-note {
    position: absolute; right: -10px; bottom: 0; display: flex; align-items: center; gap: 12px;
    min-width: 245px; padding: 16px 18px; background: #fff; color: #142941;
    border: 1px solid rgba(16,38,65,.08); box-shadow: 0 15px 38px rgba(16,38,65,.13);
    border-radius: 5px 5px 5px 17px;
}
body.tyz-home-v13 .tyz-v14-feature__floating-mark {
    display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px;
    border-radius: 50%; color: #12253c; background: #e8d3a4; font-size: 19px;
}
body.tyz-home-v13 .tyz-v14-feature__floating-note b,
body.tyz-home-v13 .tyz-v14-feature__floating-note small { display: block; }
body.tyz-home-v13 .tyz-v14-feature__floating-note b { margin-bottom: 4px; font-size: 11px; font-weight: 800; }
body.tyz-home-v13 .tyz-v14-feature__floating-note small { color: #788391; font-size: 9px; }
body.tyz-home-v13 .tyz-v14-feature__visual-index {
    position: absolute; left: 0; bottom: 3px; color: #a18a63;
    font: 700 9px/1 Arial,sans-serif; letter-spacing: .14em; direction: ltr;
}
body.tyz-home-v13 .tyz-v14-feature--commerce {
    color: #fff; background:
        radial-gradient(ellipse at 78% 18%, rgba(213,164,71,.13), transparent 32%),
        linear-gradient(122deg, #08182f 0%, #102641 58%, #0a1c32 100%);
}
body.tyz-home-v13 .tyz-v14-feature--commerce::before { right: -280px; bottom: -300px; box-shadow: 0 0 0 42px rgba(213,164,71,.025), 0 0 0 86px rgba(213,164,71,.018); }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__inner { direction: ltr; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__copy { direction: rtl; text-align: right; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__overline { color: #dfc58f; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__copy h2 { color: #fff; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__copy h2 em { color: #e4c37e; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__lead { color: rgba(238,243,249,.7); }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__points li { color: rgba(244,247,250,.82); }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__points li > span:first-child { color: #e4c37e; border-color: rgba(228,195,126,.42); }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__read-link { color: rgba(255,255,255,.86) !important; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__read-link:hover { color: #e4c37e !important; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__floating-note { right: auto; left: -10px; }
body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__visual-index { left: auto; right: 0; color: #c7b38d; }

body.tyz-home-v13 .tyz-v14-categories {
    position: relative; overflow: hidden; padding: clamp(76px, 8vw, 108px) 0; background: #f4efe5;
}
body.tyz-home-v13 .tyz-v14-categories::before {
    content: ""; position: absolute; width: 430px; height: 430px; top: 10%; right: -300px;
    border: 1px solid rgba(184,138,55,.14); border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(184,138,55,.025), 0 0 0 86px rgba(184,138,55,.018);
}
body.tyz-home-v13 .tyz-v14-categories__heading {
    position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end;
    gap: 28px; margin-bottom: 29px;
}
body.tyz-home-v13 .tyz-v14-categories__intro { max-width: 760px; }
body.tyz-home-v13 .tyz-v14-categories__intro h2 {
    margin: 0 0 11px; color: #0b1e36; font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.4; font-weight: 800; letter-spacing: -.04em;
}
body.tyz-home-v13 .tyz-v14-categories__intro h2 em { color: #b88a37; font-style: normal; }
body.tyz-home-v13 .tyz-v14-categories__intro > p:last-child { margin: 0; color: #6c7886; font-size: 13px; line-height: 2; }
body.tyz-home-v13 .tyz-v14-categories__stat {
    display: flex; align-items: baseline; gap: 9px; white-space: nowrap;
    padding: 13px 17px; border: 1px solid rgba(184,138,55,.34);
    background: rgba(255,250,240,.7); color: #34475d;
}
body.tyz-home-v13 .tyz-v14-categories__stat strong { color: #a87b32; font: 700 27px/1 Arial,sans-serif; direction: ltr; }
body.tyz-home-v13 .tyz-v14-categories__stat span { font-size: 10px; font-weight: 700; }
body.tyz-home-v13 .tyz-v14-category-tools {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid rgba(16,38,65,.10);
}
body.tyz-home-v13 .tyz-v14-category-search {
    position: relative; display: flex; align-items: center; gap: 11px;
    width: min(430px, 100%); min-height: 48px; padding: 0 14px;
    border: 1px solid rgba(16,38,65,.13); border-radius: 4px;
    background: rgba(255,255,255,.7); transition: border-color .25s ease, box-shadow .25s ease;
}
body.tyz-home-v13 .tyz-v14-category-search:focus-within { border-color: #c59b4d; box-shadow: 0 0 0 3px rgba(197,155,77,.12); }
body.tyz-home-v13 .tyz-v14-category-search__icon { color: #a47b33; font: 400 26px/1 Arial,sans-serif; transform: rotate(-15deg); }
body.tyz-home-v13 .tyz-v14-category-search input {
    flex: 1; min-width: 0; width: 100%; height: 44px; padding: 0;
    border: 0 !important; outline: 0 !important; box-shadow: none !important;
    background: transparent !important; color: #142941 !important; font: 500 12px/1.5 Cairo, "DIN Next Arabic", Tahoma, sans-serif;
}
body.tyz-home-v13 .tyz-v14-category-search input::placeholder { color: #8b949e; opacity: 1; }
body.tyz-home-v13 .tyz-v14-category-search__hint { color: #a1a7ad; font-size: 9px; white-space: nowrap; }
body.tyz-home-v13 .tyz-v14-category-results { margin: 0; color: #7a8490; font-size: 10px; white-space: nowrap; }
body.tyz-home-v13 .tyz-v14-category-grid {
    position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 15px;
}
body.tyz-home-v13 .tyz-v14-category-card {
    position: relative; display: flex; min-width: 0; min-height: 228px; overflow: hidden;
    flex-direction: column; justify-content: space-between; isolation: isolate;
    padding: 16px 15px 17px; color: #fff !important; background: #122944;
    border-radius: 5px 5px 5px 23px; box-shadow: 0 9px 25px rgba(16,38,65,.08);
    transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
body.tyz-home-v13 .tyz-v14-category-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(16,38,65,.18); }
body.tyz-home-v13 .tyz-v14-category-card__media { position: absolute; z-index: -3; inset: 0; overflow: hidden; }
body.tyz-home-v13 .tyz-v14-category-card__image {
    display: block; width: 100%; height: 100%; object-fit: cover;
    filter: saturate(.78) contrast(1.02); transform: scale(1.001);
    transition: transform .95s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
body.tyz-home-v13 .tyz-v14-category-card:hover .tyz-v14-category-card__image { transform: scale(1.09); filter: saturate(1.04) contrast(1.02); }
body.tyz-home-v13 .tyz-v14-category-card__fallback {
    display: grid; place-items: center; width: 100%; height: 100%;
    color: rgba(255,255,255,.75); background: linear-gradient(135deg,#0b1d34,#294561);
    font: 700 9px/1 Arial,sans-serif; letter-spacing: .18em; direction: ltr;
}
body.tyz-home-v13 .tyz-v14-category-card__shade {
    position: absolute; z-index: -2; inset: 0;
    background: linear-gradient(180deg, rgba(5,17,32,.36) 0%, rgba(5,17,32,.23) 34%, rgba(5,17,32,.93) 100%);
}
body.tyz-home-v13 .tyz-v14-category-card::after {
    content: ""; position: absolute; z-index: -1; inset: 8px; pointer-events: none;
    border: 1px solid rgba(255,255,255,.0); border-radius: 3px 3px 3px 16px;
    transition: border-color .4s ease;
}
body.tyz-home-v13 .tyz-v14-category-card:hover::after { border-color: rgba(231,199,131,.5); }
body.tyz-home-v13 .tyz-v14-category-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body.tyz-home-v13 .tyz-v14-category-card__number { color: rgba(255,255,255,.76); font: 700 10px/1 Arial,sans-serif; letter-spacing: .13em; direction: ltr; }
body.tyz-home-v13 .tyz-v14-category-card__count {
    padding: 5px 8px; color: #f1dba9; background: rgba(8,24,47,.56);
    border: 1px solid rgba(255,255,255,.19); backdrop-filter: blur(9px);
    font-size: 9px; font-weight: 700;
}
body.tyz-home-v13 .tyz-v14-category-card__body { display: grid; gap: 6px; padding-inline-end: 23px; }
body.tyz-home-v13 .tyz-v14-category-card__title { color: #fff; font-size: 15px; line-height: 1.5; font-weight: 800; }
body.tyz-home-v13 .tyz-v14-category-card__description {
    display: -webkit-box; overflow: hidden; color: rgba(255,255,255,.76);
    font-size: 9px; line-height: 1.75; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
body.tyz-home-v13 .tyz-v14-category-card__arrow {
    position: absolute; left: 14px; bottom: 16px; display: grid; place-items: center;
    width: 27px; height: 27px; border-radius: 50%; color: #10233b; background: #dfbd79;
    font-size: 15px; transition: transform .35s ease, background .35s ease;
}
body.tyz-home-v13 .tyz-v14-category-card:hover .tyz-v14-category-card__arrow { transform: rotate(45deg); background: #f0d89f; }
body.tyz-home-v13 .tyz-v14-category-empty { margin: 26px 0 0; text-align: center; color: #75808c; font-size: 13px; }
body.tyz-home-v13 .tyz-v14-category-card[hidden] { display: none !important; }

@media (max-width: 1180px) {
    body.tyz-home-v13 .tyz-v14-category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    body.tyz-home-v13 .tyz-v14-category-card { min-height: 220px; }
}
@media (max-width: 900px) {
    body.tyz-home-v13 .tyz-v14-feature__inner { gap: 36px; }
    body.tyz-home-v13 .tyz-v14-feature__image-frame { height: 360px; }
    body.tyz-home-v13 .tyz-v14-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px) {
    body.tyz-home-v13 .tyz-v14-feature { padding: 66px 0 72px; }
    body.tyz-home-v13 .tyz-v14-feature__inner,
    body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__inner { grid-template-columns: 1fr; gap: 35px; direction: rtl; }
    body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__inner { direction: rtl; }
    body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__visual { order: 2; }
    body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__copy { order: 1; }
    body.tyz-home-v13 .tyz-v14-feature__copy h2 { font-size: clamp(29px, 7vw, 38px); }
    body.tyz-home-v13 .tyz-v14-feature__lead { font-size: 12px; }
    body.tyz-home-v13 .tyz-v14-feature__visual { padding-left: 13px; }
    body.tyz-home-v13 .tyz-v14-feature__image-frame { height: min(74vw, 370px); border-radius: 6px 6px 6px 27px; }
    body.tyz-home-v13 .tyz-v14-feature__floating-note { right: 0; min-width: 220px; padding: 12px 14px; }
    body.tyz-home-v13 .tyz-v14-feature--commerce .tyz-v14-feature__floating-note { left: 0; right: auto; }
    body.tyz-home-v13 .tyz-v14-categories { padding: 65px 0 72px; }
    body.tyz-home-v13 .tyz-v14-categories__heading { align-items: flex-start; flex-direction: column; gap: 18px; }
    body.tyz-home-v13 .tyz-v14-categories__intro h2 { font-size: 30px; }
    body.tyz-home-v13 .tyz-v14-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
    body.tyz-home-v13 .tyz-v14-category-card { min-height: 205px; padding: 13px 11px 14px; }
    body.tyz-home-v13 .tyz-v14-category-card__title { font-size: 13px; }
    body.tyz-home-v13 .tyz-v14-category-card__description { font-size: 8px; }
    body.tyz-home-v13 .tyz-v14-category-tools { align-items: flex-start; flex-direction: column; gap: 10px; }
    body.tyz-home-v13 .tyz-v14-category-search { width: 100%; }
    body.tyz-home-v13 .tyz-v14-category-search__hint { display: none; }
}
@media (max-width: 390px) {
    body.tyz-home-v13 .tyz-v14-category-grid { gap: 8px; }
    body.tyz-home-v13 .tyz-v14-category-card { min-height: 190px; padding: 11px 9px 12px; }
    body.tyz-home-v13 .tyz-v14-category-card__count { padding: 4px 6px; font-size: 8px; }
    body.tyz-home-v13 .tyz-v14-category-card__body { padding-inline-end: 17px; }
    body.tyz-home-v13 .tyz-v14-category-card__title { font-size: 12px; }
    body.tyz-home-v13 .tyz-v14-category-card__arrow { left: 9px; bottom: 11px; width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    body.tyz-home-v13 .tyz-v14-home *,
    body.tyz-home-v13 .tyz-v14-home *::before,
    body.tyz-home-v13 .tyz-v14-home *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        scroll-behavior: auto !important; transition-duration: .01ms !important;
    }
}
