:root {
    --ty-navy: #041c3c;
    --ty-navy-deep: #031428;
    --ty-red: #b81018;
    --ty-red-bright: #d0121c;
    --ty-ink: #102033;
    --ty-muted: #5d6b7a;
    --ty-paper: #f5f7fa;
    --ty-line: #e6ebf1;
    --ty-white: #fff;
}

html,
body {
    overflow-x: clip;
    background: var(--ty-paper) !important;
}

.ty-wrap {
    width: min(1400px, calc(100% - 48px));
    margin-inline: auto;
}

.ty-top {
    background: var(--ty-navy);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.ty-top__row,
.ty-top__meta,
.ty-top__links {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 40px;
}

.ty-top__row { justify-content: space-between; }
.ty-top a { color: #fff; text-decoration: none; }
.ty-top a:hover { color: #ffd0d3; }
.ty-top__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.55); }

.ty-head { background: var(--ty-white); border-bottom: 1px solid var(--ty-line); }
.ty-head__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 96px;
    direction: ltr;
}
.ty-head__search { direction: rtl; justify-self: start; width: min(460px, 100%); }
.ty-logo { justify-self: center; line-height: 0; }
.ty-logo img { height: 72px; width: auto; max-width: min(280px, 42vw); object-fit: contain; background: transparent; }
.ty-head__tools { justify-self: end; display: flex; align-items: center; gap: 8px; direction: rtl; }

.ty-lang { display: inline-flex; border: 1px solid var(--ty-line); border-radius: 999px; overflow: hidden; background: #fff; }
.ty-lang button {
    border: 0; background: transparent; color: var(--ty-navy); min-width: 36px; height: 34px;
    padding: 0 10px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.ty-lang button.is-on { background: var(--ty-navy); color: #fff; }
.ty-lang--drawer { margin: 0 16px 8px; }

.ty-icon {
    display: none;
    width: 40px; height: 40px; border: 0; border-radius: 999px;
    background: var(--ty-paper); color: var(--ty-navy); cursor: pointer;
}

.ty-nav { background: #fff; border-bottom: 1px solid var(--ty-line); }
.ty-nav__row {
    display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    min-height: 48px; align-items: stretch;
}
.ty-nav__row::-webkit-scrollbar { display: none; }
.ty-nav__link {
    display: inline-flex; align-items: center; white-space: nowrap;
    padding: 0 12px; color: var(--ty-navy); text-decoration: none;
    font-size: 14.5px; font-weight: 700;
}
.ty-nav__link.is-on { color: var(--ty-red); box-shadow: inset 0 -3px 0 var(--ty-red); }

.ty-search { position: relative; width: 100%; }
.ty-search__form { margin: 0; }
.ty-search__field {
    display: flex; align-items: center; gap: 6px;
    min-height: 46px; padding: 4px 4px 4px 6px;
    background: #f3f6fa; border: 1px solid #e1e7ee; border-radius: 999px;
}
.ty-search__icon, .ty-search__go {
    border: 0; cursor: pointer; flex: none;
}
.ty-search__icon {
    width: 36px; height: 36px; border-radius: 50%; background: transparent; color: var(--ty-navy);
}
.ty-search__go {
    height: 36px; padding: 0 16px; border-radius: 999px;
    background: var(--ty-red); color: #fff; font-weight: 800; font-size: 14px;
}
.ty-search__input {
    flex: 1; min-width: 0; border: 0 !important; background: transparent !important;
    box-shadow: none !important; height: 36px; padding: 0 8px;
    color: var(--ty-ink); font-size: 14px;
}
.ty-search__input:focus { outline: none; }

.ty-suggest {
    position: absolute; z-index: 50; top: calc(100% + 8px); inset-inline: 0;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 18px 40px rgba(4, 28, 60, .16); text-align: start;
}
.ty-suggest__status, .ty-suggest__more { margin: 0; padding: 12px 14px; color: var(--ty-muted); font-size: 13px; }
.ty-suggest__item {
    display: flex; gap: 10px; padding: 10px 12px; text-decoration: none; color: inherit;
    border-top: 1px solid var(--ty-line);
}
.ty-suggest__item.is-active, .ty-suggest__item:hover { background: #f7f9fc; }
.ty-suggest__thumb { width: 72px; height: 48px; flex: none; position: relative; overflow: hidden; border-radius: 8px; background: var(--ty-navy); }
.ty-suggest__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ty-suggest__title { display: block; font-weight: 700; color: var(--ty-navy); line-height: 1.35; }
.ty-suggest__meta, .ty-suggest__excerpt { display: block; color: var(--ty-muted); font-size: 12px; }
.ty-suggest__more { display: flex; justify-content: space-between; font-weight: 800; color: var(--ty-red); text-decoration: none; border-top: 1px solid var(--ty-line); }

.ty-search-drop, .ty-drawer { visibility: hidden; pointer-events: none; }
.ty-search-drop.is-open, .ty-drawer.is-open { visibility: visible; pointer-events: auto; }
.ty-search-drop { position: fixed; inset: 0; z-index: 80; }
.ty-search-drop__backdrop, .ty-drawer__backdrop {
    position: absolute; inset: 0; border: 0; background: rgba(4, 20, 40, .45); opacity: 0; transition: opacity .25s;
}
.ty-search-drop.is-open .ty-search-drop__backdrop,
.ty-drawer.is-open .ty-drawer__backdrop { opacity: 1; }
.ty-search-drop__panel {
    position: relative; background: #fff; padding: 16px 16px 20px;
    transform: translateY(-16px); transition: transform .25s;
}
.ty-search-drop.is-open .ty-search-drop__panel { transform: none; }
.ty-search-drop__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; color: var(--ty-navy); }
.ty-search-drop__bar button { border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.ty-search-drop .ty-suggest { position: static; margin-top: 8px; box-shadow: none; border: 1px solid var(--ty-line); }

.ty-drawer__panel {
    position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 81;
    width: min(340px, 88vw); background: #fff; overflow: auto;
    transform: translateX(110%); transition: transform .34s ease;
}
html[dir="ltr"] .ty-drawer__panel { transform: translateX(-110%); }
.ty-drawer.is-open .ty-drawer__panel { transform: none; }
.ty-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px; }
.ty-drawer__head img { height: 48px; width: auto; }
.ty-drawer__head button { border: 0; background: var(--ty-paper); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.ty-drawer nav { display: flex; flex-direction: column; padding: 8px 8px 32px; }
.ty-drawer nav a { padding: 12px 14px; text-decoration: none; color: var(--ty-navy); font-weight: 700; border-radius: 10px; }
.ty-drawer nav a:hover { background: var(--ty-paper); }

.ty-break { background: var(--ty-navy-deep); color: #fff; }
.ty-break__row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.ty-break__badge {
    flex: none; background: var(--ty-red); color: #fff; text-decoration: none;
    font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 12px;
}
.ty-break__rail { overflow: hidden; flex: 1; min-width: 0; }
.ty-break__track { display: flex; width: max-content; animation: ty-marquee 32s linear infinite; }
.ty-break__group { display: flex; align-items: center; }
.ty-break__item { color: #fff; text-decoration: none; padding-inline: 18px; white-space: nowrap; font-size: 14px; }
.ty-break__item:hover { color: #ffd5d8; }
@keyframes ty-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ty-hero { padding: 18px 0 8px; }
.ty-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, .78fr) !important;
    gap: 16px;
    align-items: stretch;
    direction: ltr;
}
.ty-hero__slider, .ty-side { grid-column: auto !important; direction: rtl; min-width: 0; }
.ty-hero__slider {
    position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
    background: var(--ty-navy); height: auto !important; min-height: 0 !important;
}
.ty-hero__slide { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.ty-hero__slide > img,
.ty-side__thumb img,
.ty-cat > img,
.ty-card__media img,
.ty-suggest__thumb img,
.rawshe-media img,
.news-image {
    position: absolute !important; inset: 0 !important;
    width: 100% !important; height: 100% !important;
    max-width: none !important; object-fit: cover !important; object-position: center !important;
    border-radius: 0 !important;
}
.ty-hero__shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,20,40,.05) 30%, rgba(4,20,40,.82) 100%);
}
.ty-hero__copy {
    position: absolute; inset-inline: 0; bottom: 0;
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 24px 72px 46px; text-align: start;
}
.ty-hero__title { font-size: clamp(22px, 2.1vw, 34px); font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ty-hero__dek { margin: 0; font-size: 15px; line-height: 1.5; opacity: .92; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ty-hero__meta { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.ty-hero__more { font-weight: 800; }
.ty-kicker {
    display: inline-flex; align-items: center; background: var(--ty-red); color: #fff;
    border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800;
}
.ty-kicker--inline { text-decoration: none; }
.ty-hero__arrow {
    position: absolute; top: 42%; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--ty-navy); cursor: pointer;
}
.ty-hero__arrow--prev { right: 14px; }
.ty-hero__arrow--next { left: 14px; }
.ty-hero__dots { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; }
.ty-hero__dot { width: 8px; height: 8px; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.ty-hero__dot.is-on { background: var(--ty-red); width: 18px; border-radius: 999px; }

.ty-side {
    background: #fff; border: 1px solid var(--ty-line); border-radius: 18px; padding: 14px 14px 6px;
    display: flex; flex-direction: column; min-height: 0;
}
.ty-side h2 { margin: 0 0 8px; font-size: 18px; color: var(--ty-navy); }
.ty-side ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.ty-side li { border-top: 1px solid var(--ty-line); }
.ty-side li:first-child { border-top: 0; }
.ty-side a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: inherit; min-height: 88px; }
.ty-side__thumb { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--ty-navy); }
.ty-side__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ty-side__cat { color: var(--ty-red); font-size: 11px; font-weight: 800; }
.ty-side__title { font-weight: 800; color: var(--ty-ink); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ty-side time { color: var(--ty-muted); font-size: 12px; }

.ty-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ty-section-head h2 { margin: 0; color: var(--ty-navy); font-size: 24px; }
.ty-section-head a { color: var(--ty-red); font-weight: 800; text-decoration: none; }

.ty-cats { padding: 22px 0 8px; }
.ty-cats__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.ty-cat { position: relative; display: block; height: 112px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ty-navy); }
.ty-cat__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,40,.15), rgba(4,20,40,.72)); }
.ty-cat__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 13px; text-align: center; padding: 8px; }

.ty-latest { padding: 22px 0 36px; }
.ty-latest__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ty-card { background: #fff; border: 1px solid var(--ty-line); border-radius: 16px; overflow: hidden; min-width: 0; }
.ty-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ty-navy); overflow: hidden; }
.ty-card__body { padding: 12px 12px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ty-card h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.ty-card h3 a { color: var(--ty-ink); text-decoration: none; }
.ty-card h3 a:hover { color: var(--ty-red); }
.ty-card time { color: var(--ty-muted); font-size: 12px; }

.rawshe-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #e7edf3; }

.ty-results { padding: 28px 0 48px; }
.ty-results h1 { margin: 0 0 8px; color: var(--ty-navy); font-size: 28px; }
.ty-results__lead { margin: 0 0 18px; color: var(--ty-muted); }
.ty-results__list { display: grid; gap: 14px; }
.ty-results__list .ty-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: stretch; }
.ty-results__list .ty-card__media { aspect-ratio: auto; min-height: 132px; }
.ty-empty { padding: 48px 0; text-align: center; }
.ty-empty img { width: min(520px, 100%); height: 180px; object-fit: cover; border-radius: 16px; }
.ty-empty h1, .ty-empty h2 { color: var(--ty-navy); }
.ty-pager { margin-top: 22px; }

.ty-foot {
    background: var(--ty-navy);
    color: #fff;
    margin-top: 28px;
    border-top: 3px solid var(--ty-red);
}
.ty-foot a { color: #fff; text-decoration: none; }
.ty-foot a:hover { color: #ffd0d4; }
.ty-foot__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) minmax(220px, 1fr) minmax(180px, .7fr);
    gap: 40px 32px;
    padding: 36px 0 28px;
    align-items: start;
    text-align: start;
}
.ty-foot__brand, .ty-foot__links { margin: 0; padding: 0; list-style: none; }
.ty-foot__logo { display: inline-block; line-height: 0; }
.ty-foot__logo img { height: 64px; width: auto; background: transparent; }
.ty-foot__brand p {
    max-width: 26rem;
    margin: 14px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.75;
    font-size: 14px;
}
.ty-foot h2 { margin: 0 0 14px; font-size: 15px; font-weight: 800; }
.ty-foot h2::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin: 8px 0 0;
    background: var(--ty-red);
}
.ty-foot__links { display: grid; gap: 10px; justify-items: start; }
.ty-foot__links a { font-weight: 700; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.ty-foot__links--cols { grid-template-columns: 1fr 1fr; width: 100%; column-gap: 28px; row-gap: 10px; }
.ty-foot__bar {
    border-top: 1px solid rgba(255,255,255,.14);
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 18px;
}
.ty-foot__bar p { margin: 0; font-size: 13px; color: rgba(255,255,255,.82); }

.mobile-bottom-nav {
    display: none; position: fixed; z-index: 40; inset-inline: 0; bottom: 0;
    background: #fff; border-top: 1px solid var(--ty-line);
    grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-nav a, .mobile-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 0; border: 0; background: transparent; color: var(--ty-muted);
    text-decoration: none; font-size: 11px; font-weight: 700; cursor: pointer;
}
.mobile-bottom-nav .is-on { color: var(--ty-red); }

@media (max-width: 1199px) {
    .ty-cats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .ty-latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .ty-hero__grid { grid-template-columns: 1fr !important; }
    .ty-hero__slider { aspect-ratio: 16 / 9; }
    .ty-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ty-foot__grid { grid-template-columns: 1fr 1fr; }
    .ty-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .ty-wrap { width: min(1400px, calc(100% - 32px)); }
    .ty-top, .ty-head__search, .ty-lang { display: none; }
    .ty-lang--drawer { display: inline-flex; }
    .ty-icon { display: inline-flex; align-items: center; justify-content: center; }
    .ty-head__row { position: relative; display: flex; justify-content: space-between; min-height: 68px; direction: rtl; }
    .ty-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
    .ty-logo img { height: 48px; }
    .ty-nav__link { font-size: 13px; padding: 0 10px; }
    .ty-hero { padding-top: 12px; }
    .ty-hero__copy { padding: 16px 52px 40px; }
    .ty-hero__title { font-size: 20px; }
    .ty-hero__dek { display: none; }
    .ty-hero__arrow { top: 34%; }
    .ty-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ty-cat { height: 108px; }
    .ty-latest__grid { grid-template-columns: 1fr; }
    .ty-results__list .ty-card { grid-template-columns: 1fr; }
    .ty-results__list .ty-card__media { aspect-ratio: 16 / 10; min-height: 0; }
    .ty-foot__grid { grid-template-columns: 1fr; justify-items: stretch; text-align: center; gap: 26px; padding: 28px 0 8px; }
    .ty-foot__brand p { margin-inline: auto; }
    .ty-foot h2::after { margin-inline: auto; }
    .ty-foot__links { justify-items: center; width: min(320px, 100%); max-width: 320px; margin-inline: auto; }
    .ty-foot__links--cols { width: min(320px, 100%); max-width: 320px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ty-foot__bar { flex-direction: column; justify-content: center; text-align: center; padding-bottom: 22px; }
    .mobile-bottom-nav { display: grid; }
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important; }
}

.share-bar {
    display: block;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.share-bar__head { margin: 0 0 12px; text-align: start; }
.share-bar__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: #102033;
}
.share-bar__hint { margin: 4px 0 0; font-size: 13px; color: #5d6b7a; }
.share-bar__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 10px 6px;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    background: #f6f8fb;
    color: #102033;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
}
.share-btn[style*="display: none"] { display: none; }
.share-btn i { font-size: 18px; line-height: 1; width: auto; }
.share-btn span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.share-btn--whatsapp i { color: #128C7E; }
.share-btn--facebook i { color: #1877F2; }
.share-btn--x i { color: #102033; }
.share-btn--linkedin i { color: #0A66C2; }
.share-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.share-inline__label, .share-inline > span { font-size: 13px; font-weight: 800; }
.share-inline__btn, .share-inline .kn-icon-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e6ebf1;
    background: #fff;
    color: #102033;
    text-decoration: none;
}
@media (min-width: 768px) {
    .share-bar__actions { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
