/* Tamiyouz Blog V16 — original SVG artwork, 30s motion rhythm and interactive controls */
body.tyz-home-v15 .tyz-v15-illustration,
body.tyz-home-v15 .tyz-v15-art {
    display: block; width: 100%; height: 100%;
}
body.tyz-home-v15 .tyz-v15-illustration {
    position: absolute; inset: 0; overflow: visible; filter: saturate(1.06);
}
body.tyz-home-v15 .tyz-v15-illustration--hero { position: absolute; inset: 0; }
body.tyz-home-v15 .tyz-v13-hero-story__image {
    background: radial-gradient(circle at 78% 20%,rgba(226,190,115,.24),transparent 35%),linear-gradient(135deg,#0b2039,#163b5a 58%,#07172b);
}
body.tyz-home-v15 .tyz-v13-hero-story__image::after {
    background: linear-gradient(180deg,rgba(5,15,29,.03) 15%,rgba(5,15,29,.10) 48%,rgba(5,15,29,.84) 100%);
}
body.tyz-home-v15 .tyz-v14-feature__image-frame {
    isolation: isolate;
    background: radial-gradient(circle at 76% 17%,rgba(227,190,112,.20),transparent 34%),linear-gradient(135deg,#0c2139,#183d5a 58%,#091a30);
}
body.tyz-home-v15 .tyz-v14-feature__image-frame > .tyz-v15-illustration { z-index: 0; }
body.tyz-home-v15 .tyz-v14-feature__image-wash { z-index: 1; }
body.tyz-home-v15 .tyz-v14-feature__image-label { z-index: 2; }
body.tyz-home-v15 .tyz-v14-feature__visual { perspective: 1000px; transform-style: preserve-3d; }
body.tyz-home-v15 .tyz-v14-feature__visual:hover .tyz-v15-illustration { filter: saturate(1.16) brightness(1.04); }
body.tyz-home-v15 .tyz-v15-art--category {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
    transition: filter .6s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
body.tyz-home-v15 .tyz-v14-category-card__media { background: #102943; }
body.tyz-home-v15 .tyz-v14-category-card:hover .tyz-v15-art--category { transform: scale(1.055); filter: saturate(1.13) brightness(1.06); }
body.tyz-home-v15 .tyz-v15-art__orbit {
    transform-box: fill-box; transform-origin: center;
    animation: tyzV15Orbit 30s linear infinite; animation-play-state: paused;
}
body.tyz-home-v15 .tyz-v15-art__float {
    transform-box: fill-box; transform-origin: center;
    animation: tyzV15Float 30s ease-in-out infinite; animation-play-state: paused;
    translate: var(--tyz-pointer-x,0px) var(--tyz-pointer-y,0px);
    transition: translate .22s ease-out;
}
body.tyz-home-v15 .tyz-v15-cycle-visual.is-v15-inview .tyz-v15-art__float,
body.tyz-home-v15 .tyz-v15-cycle-visual.is-v15-inview .tyz-v15-art__orbit,
body.tyz-home-v15 .tyz-v14-category-card.is-v15-inview .tyz-v15-art__float,
body.tyz-home-v15 .tyz-v14-category-card.is-v15-inview .tyz-v15-art__orbit { animation-play-state: running; }
body.tyz-home-v15 .tyz-v15-cycle-copy {
    animation: tyzV15CopyCycle 30s ease-in-out infinite; animation-play-state: paused;
}
body.tyz-home-v15 .tyz-v15-cycle-copy.is-v15-inview { animation-play-state: running; }
body.tyz-home-v15 .tyz-v15-cycle-visual {
    animation: tyzV15VisualCycle 30s ease-in-out infinite; animation-play-state: paused;
}
body.tyz-home-v15 .tyz-v15-cycle-visual.is-v15-inview { animation-play-state: running; }
@keyframes tyzV15Orbit { 0% { rotate: 0deg; } 100% { rotate: 360deg; } }
@keyframes tyzV15Float {
    0%,100% { translate: var(--tyz-pointer-x,0px) var(--tyz-pointer-y,0px); }
    12% { translate: var(--tyz-pointer-x,0px) calc(var(--tyz-pointer-y,0px) - 7px); }
    24%,72% { translate: var(--tyz-pointer-x,0px) var(--tyz-pointer-y,0px); }
    82% { translate: var(--tyz-pointer-x,0px) calc(var(--tyz-pointer-y,0px) - 4px); }
    90% { translate: var(--tyz-pointer-x,0px) var(--tyz-pointer-y,0px); }
}
@keyframes tyzV15CopyCycle {
    0%,84%,100% { filter: brightness(1); }
    88% { filter: brightness(1.07); }
    93% { filter: brightness(1); }
}
@keyframes tyzV15VisualCycle {
    0%,82%,100% { filter: drop-shadow(0 0 0 rgba(225,190,119,0)); }
    88% { filter: drop-shadow(0 10px 22px rgba(225,190,119,.14)); }
    94% { filter: drop-shadow(0 0 0 rgba(225,190,119,0)); }
}

/* Feature points become real, keyboard-accessible interactive controls. */
body.tyz-home-v15 .tyz-v15-feature-chips {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0 0 27px;
}
body.tyz-home-v15 .tyz-v15-feature-chip {
    position: relative; display: grid; grid-template-columns: 30px minmax(0,1fr) 22px;
    align-items: start; gap: 9px; min-width: 0; min-height: 66px; padding: 12px 11px;
    text-align: right; color: #263d55;
    background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,241,225,.92));
    border: 1px solid rgba(183,139,58,.27); border-radius: 5px 5px 5px 15px;
    box-shadow: 0 7px 18px rgba(15,37,61,.055); cursor: pointer; font: inherit;
    transition: transform .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease;
}
body.tyz-home-v15 .tyz-v15-feature-chip:hover,
body.tyz-home-v15 .tyz-v15-feature-chip:focus-visible {
    transform: translateY(-4px); border-color: #c49a4c;
    background: linear-gradient(145deg,#fffdf7,#f3e4c3);
    box-shadow: 0 13px 25px rgba(15,37,61,.12); outline: none;
}
body.tyz-home-v15 .tyz-v15-feature-chip[aria-expanded="true"] {
    border-color: #c49a4c; background: linear-gradient(145deg,#fffdf7,#f0dfb8);
    box-shadow: 0 12px 26px rgba(15,37,61,.11);
}
body.tyz-home-v15 .tyz-v15-feature-chip__number {
    display: grid; place-items: center; width: 28px; height: 28px;
    color: #fff4d9; background: linear-gradient(145deg,#193a58,#0b2038);
    border: 1px solid rgba(222,188,119,.45); border-radius: 50%;
    font: 700 9px/1 Arial,sans-serif; direction: ltr;
}
body.tyz-home-v15 .tyz-v15-feature-chip__content { display: grid; gap: 6px; min-width: 0; }
body.tyz-home-v15 .tyz-v15-feature-chip__title { color: #152d47; font-size: 10px; line-height: 1.75; font-weight: 800; }
body.tyz-home-v15 .tyz-v15-feature-chip__detail { color: #697788; font-size: 9px; line-height: 1.85; font-weight: 500; }
body.tyz-home-v15 .tyz-v15-feature-chip__detail[hidden] { display: none !important; }
body.tyz-home-v15 .tyz-v15-feature-chip__toggle {
    display: grid; place-items: center; width: 22px; height: 22px;
    color: #9a7132; background: rgba(213,164,71,.15); border-radius: 50%;
    font: 500 17px/1 Arial,sans-serif; transition: transform .3s ease,background .3s ease;
}
body.tyz-home-v15 .tyz-v15-feature-chip[aria-expanded="true"] .tyz-v15-feature-chip__toggle {
    transform: rotate(45deg); color: #fff; background: #a77b32;
}
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip {
    color: #fff; background: linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.045));
    border-color: rgba(226,194,130,.28); box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip:hover,
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip:focus-visible,
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip[aria-expanded="true"] {
    background: linear-gradient(145deg,rgba(228,196,128,.22),rgba(255,255,255,.08));
    border-color: rgba(231,199,131,.72);
}
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip__title { color: #fff5df; }
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip__detail { color: rgba(255,255,255,.72); }
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip__number {
    color: #132a44; background: linear-gradient(145deg,#f4dca7,#d1a14e);
    border-color: rgba(255,255,255,.45);
}
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip__toggle { color: #f5d995; background: rgba(228,195,126,.15); }
body.tyz-home-v15 .tyz-v14-feature--commerce .tyz-v15-feature-chip[aria-expanded="true"] .tyz-v15-feature-chip__toggle {
    color: #102641; background: #e5c37f;
}

/* One WhatsApp contact button only: keep the shared corporate button, hide Joinchat duplicate. */
body.tyz-home-v15 .joinchat,
body.tyz-home-v15 .joinchat *,
body.tyz-home-v15 .joinchat__button,
body.tyz-home-v15 a.whatsapp:not(#tyz-wa-unified),
body.tyz-home-v15 a.tamiyouz-floating-whatsapp:not(#tyz-wa-unified) {
    display: none !important; visibility: hidden !important; pointer-events: none !important;
}
body.tyz-home-v15 #tyz-wa-unified {
    display: grid !important; visibility: visible !important; pointer-events: auto !important;
}

/* Latest article cards retain their original article thumbnail images. */
body.tyz-home-v15 .tyz-v13-article-card__media { position: relative; isolation: isolate; background: #102943; }
body.tyz-home-v15 .tyz-v13-article-card__media > .tyz-v15-art--category {
    position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}

/* Tablet and mobile refinements. */
@media (max-width: 1100px) {
    body.tyz-home-v15 .tyz-v15-feature-chips { grid-template-columns: 1fr; gap: 8px; }
    body.tyz-home-v15 .tyz-v15-feature-chip { min-height: 58px; }
}
@media (max-width: 720px) {
    body.tyz-home-v15 .tyz-v14-feature__image-frame { height: min(76vw,390px); }
    body.tyz-home-v15 .tyz-v14-feature__visual { padding-right: 0; }
    body.tyz-home-v15 .tyz-v15-feature-chips { grid-template-columns: 1fr; margin-bottom: 22px; }
    body.tyz-home-v15 .tyz-v15-feature-chip { grid-template-columns: 29px minmax(0,1fr) 22px; padding: 11px 10px; }
    body.tyz-home-v15 .tyz-v15-feature-chip__title { font-size: 11px; }
    body.tyz-home-v15 .tyz-v15-feature-chip__detail { font-size: 10px; }
    body.tyz-home-v15 .tyz-v13-hero-story__image { height: min(76vw,360px); }
    body.tyz-home-v15 .tyz-v14-category-card { min-height: 205px; }
}
@media (max-width: 390px) {
    body.tyz-home-v15 .tyz-v14-category-card { min-height: 184px; }
    body.tyz-home-v15 .tyz-v14-category-card__body { padding-inline-end: 16px; }
    body.tyz-home-v15 .tyz-v14-category-card__title { font-size: 11px; }
    body.tyz-home-v15 .tyz-v14-category-card__description { font-size: 8px; }
    body.tyz-home-v15 .tyz-v13-article-card { grid-template-columns: 104px minmax(0,1fr); }
    body.tyz-home-v15 .tyz-v13-article-card__media { min-height: 126px; }
}
@media (prefers-reduced-motion: reduce) {
    body.tyz-home-v15 .tyz-v15-cycle-copy,
    body.tyz-home-v15 .tyz-v15-cycle-visual,
    body.tyz-home-v15 .tyz-v15-art__float,
    body.tyz-home-v15 .tyz-v15-art__orbit {
        animation: none !important; transition: none !important;
    }
}


/* V16 editorial photography: real category covers and each article's own featured image. */
body.tyz-home-v15 .tyz-v14-category-card__media { background: #0c2139; }
body.tyz-home-v15 .tyz-v14-category-card__image {
    display: block; width: 100%; height: 100%; object-fit: cover;
    filter: saturate(.91) contrast(1.045) brightness(.91);
    transform: scale(1.075); translate: 0 var(--tyz-scroll-shift, 0px);
    opacity: .78; will-change: transform, translate;
    transition: transform 1.1s cubic-bezier(.2,.7,.2,1), translate .25s ease-out,
        filter .7s ease, opacity .8s ease;
}
body.tyz-home-v15 .tyz-v14-category-card.is-v15-inview .tyz-v14-category-card__image {
    opacity: 1; transform: scale(1.015);
}
body.tyz-home-v15 .tyz-v14-category-card:hover .tyz-v14-category-card__image {
    transform: scale(1.105); filter: saturate(1.08) contrast(1.05) brightness(1.02);
}
body.tyz-home-v15 .tyz-v14-category-card__shade {
    background: linear-gradient(180deg,rgba(5,17,32,.10) 0%,rgba(5,17,32,.22) 37%,rgba(5,17,32,.91) 100%);
    transition: opacity .6s ease;
}
body.tyz-home-v15 .tyz-v14-category-card:hover .tyz-v14-category-card__shade { opacity: .92; }

/* Latest articles: preserve the original cover, title, date and destination for every post. */
body.tyz-home-v15 .tyz-v13-article-card__media {
    position: relative; isolation: isolate; overflow: hidden; background: #102943;
}
body.tyz-home-v15 .tyz-v13-card__image {
    display: block; width: 100%; height: 100%; object-fit: cover;
    filter: saturate(.96) contrast(1.025); transform: scale(1.015);
    translate: 0 var(--tyz-scroll-shift, 0px); will-change: transform, translate;
    transition: transform .95s cubic-bezier(.2,.7,.2,1), translate .25s ease-out, filter .65s ease;
}
body.tyz-home-v15 .tyz-v13-article-card.is-v15-inview .tyz-v13-card__image { transform: scale(1); }
body.tyz-home-v15 .tyz-v13-article-card:hover .tyz-v13-card__image {
    transform: scale(1.075); filter: saturate(1.06) contrast(1.04);
}
body.tyz-home-v15 .tyz-v13-article-card__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg,rgba(7,22,39,.02),rgba(7,22,39,.16));
    opacity: .7; transition: opacity .55s ease;
}
body.tyz-home-v15 .tyz-v13-article-card:hover .tyz-v13-article-card__media::after { opacity: .25; }
body.tyz-home-v15 .tyz-v13-article-card__arrow { z-index: 2; }

/* Scroll-linked depth: a restrained image drift, paired with the existing reveal observer. */
body.tyz-home-v15 .tyz-v14-category-card,
body.tyz-home-v15 .tyz-v13-article-card {
    transform-style: preserve-3d; backface-visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
    body.tyz-home-v15 .tyz-v14-category-card__image,
    body.tyz-home-v15 .tyz-v13-card__image { transform: none !important; translate: none !important; transition: none !important; }
}
