/* Only the selected editorial block and its own builder heading. */
.tt-editorial-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--tt-border); text-align: start; }
.tt-editorial-heading::after { content: ''; position: absolute; inset-inline-start: 0; bottom: -1px; width: 36px; height: 3px; background: var(--tt-accent); }
.tt-brand .tt-editorial-heading .section-title { display: block; flex: 1; min-width: 0; margin: 0; padding: 0; width: auto; text-align: start; font: 700 26px/1.5 var(--tt-font); color: var(--tt-primary); }
.tt-editorial-heading .section-title::before, .tt-editorial-heading .section-title::after, .tt-editorial-heading .the-section-title::before, .tt-editorial-heading .the-section-title::after { display: none; }
.tt-brand .tt-editorial-heading .the-section-title { display: inline; padding: 0; margin: 0; text-align: inherit; line-height: inherit; }
.tt-editorial-heading .tt-editorial-more { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 7px; min-height: 44px; padding-inline: 4px; color: var(--tt-primary); font: 700 12px/1.5 var(--tt-font); text-decoration: none; }
.tt-editorial-more svg { width: 17px; height: 17px; }
.tt-editorial-heading .tt-editorial-more:hover { color: var(--tt-primary-hover); text-decoration: underline; text-underline-offset: 4px; }
.tt-editorial { container: tt-editorial / inline-size; width: 100%; min-width: 0; color: var(--tt-ink); font-family: var(--tt-font); direction: rtl; }
.tt-editorial, .tt-editorial * { box-sizing: border-box; }
.tt-editorial .tt-editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tt-editorial .tt-story { min-width: 0; margin: 0; padding: 0; border: 1px solid var(--tt-border); border-radius: 5px; background: #fff; overflow: hidden; }
.tt-editorial .tt-story-link { display: grid; grid-template-columns: 96px minmax(0, 1fr); height: 100%; min-height: 106px; color: var(--tt-ink); text-decoration: none !important; }
.tt-editorial .tt-story-media { display: block; min-width: 0; min-height: 0; overflow: hidden; background: #e7efeb; }
.tt-editorial .tt-story-image { display: block; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; object-fit: cover; object-position: center; transition: transform .25s ease; }
.tt-editorial .tt-story-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #dbe9e3; }
.tt-editorial .tt-story-placeholder img { display: block; width: 48px; height: 48px; margin: 0; object-fit: contain; opacity: .65; }
.tt-editorial .tt-story-content { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-width: 0; padding: 10px 12px; }
.tt-editorial .tt-story-meta { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--tt-muted); font: 400 10px/1.6 var(--tt-font); }
.tt-editorial .tt-story-category { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--tt-primary); }
.tt-editorial .tt-story-meta time { flex: 0 0 auto; white-space: nowrap; }
.tt-editorial .tt-story-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; margin: 0; padding: 0; color: var(--tt-ink); font: 700 16px/1.45 var(--tt-font); }
.tt-editorial .tt-story-link:hover .tt-story-title { color: var(--tt-primary); }
.tt-editorial .tt-story-link:hover .tt-story-image { transform: scale(1.025); }
.tt-editorial .tt-story--lead { position: relative; min-height: 250px; aspect-ratio: 16 / 10; border-color: transparent; background: var(--tt-primary); }
.tt-editorial .tt-story--lead .tt-story-link { display: block; }
.tt-editorial .tt-story--lead .tt-story-media { position: absolute; inset: 0; }
.tt-editorial .tt-story--lead .tt-story-link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 45 46 / 0%) 20%, rgb(7 45 46 / 30%) 48%, rgb(4 31 33 / 93%) 100%); pointer-events: none; }
.tt-editorial .tt-story--lead .tt-story-content { position: absolute; bottom: 0; inset-inline: 0; z-index: 1; padding: 20px; gap: 10px; }
.tt-editorial .tt-story--lead .tt-story-meta { color: #e2ece6; font-size: 11px; }
.tt-editorial .tt-story--lead .tt-story-category { color: #fff; }
.tt-editorial .tt-story--lead .tt-story-category::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-end: 7px; background: var(--tt-accent); border-radius: 50%; vertical-align: middle; }
.tt-editorial .tt-story--lead .tt-story-title { font-size: 24px; color: #fff; }
.tt-editorial .tt-story--lead .tt-story-link:hover .tt-story-title { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tt-editorial .tt-story-link:focus-visible { outline: 3px solid var(--tt-primary); outline-offset: -3px; }
.tt-editorial .tt-story--lead .tt-story-link:focus-visible { outline-color: #fff; }
.tt-editorial-heading a:focus-visible { outline: 2px solid var(--tt-primary); outline-offset: 3px; }
.tt-editorial .tt-editorial-empty { margin: 0; padding: 24px; border: 1px solid var(--tt-border); border-radius: 5px; background: #fff; color: var(--tt-muted); }
@container tt-editorial (min-width: 520px) {
  .tt-editorial .tt-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tt-editorial .tt-story-link { display: flex; flex-direction: column; }
  .tt-editorial .tt-story-media { height: 170px; flex: 0 0 170px; }
  .tt-editorial .tt-story-content { flex: 1; padding: 12px 14px; }
  .tt-editorial .tt-story-title { -webkit-line-clamp: 2; font-size: 17px; }
  .tt-editorial .tt-story--lead { grid-column: 1 / -1; height: 320px; min-height: 0; aspect-ratio: auto; }
  .tt-editorial .tt-story--lead .tt-story-media { height: 100%; }
  .tt-editorial .tt-story--lead .tt-story-content { padding: 24px; }
  .tt-editorial .tt-story--lead .tt-story-title { font-size: 28px; -webkit-line-clamp: 3; }
  .tt-editorial .tt-editorial-grid[data-count="2"] .tt-story:not(.tt-story--lead), .tt-editorial .tt-editorial-grid[data-count="4"] .tt-story:last-child { grid-column: 1 / -1; }
}
@container tt-editorial (min-width: 900px) {
  .tt-editorial .tt-editorial-grid { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 216px); }
  .tt-editorial .tt-story--lead { grid-column: 1; grid-row: 1 / span 2; height: auto; }
  .tt-editorial .tt-story:not(.tt-story--lead) .tt-story-media { height: 120px; flex-basis: 120px; }
  .tt-editorial .tt-story:not(.tt-story--lead) .tt-story-content { padding: 10px 12px; gap: 6px; }
  .tt-editorial .tt-story:not(.tt-story--lead) .tt-story-title { font-size: 16px; }
  .tt-editorial .tt-editorial-grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 360px; }
  .tt-editorial .tt-editorial-grid[data-count="1"] .tt-story--lead { grid-row: 1; }
  .tt-editorial .tt-editorial-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 320px; }
  .tt-editorial .tt-editorial-grid[data-count="2"] .tt-story--lead { grid-row: 1; }
  .tt-editorial .tt-editorial-grid[data-count="2"] .tt-story:not(.tt-story--lead) { grid-column: 2; }
  .tt-editorial .tt-editorial-grid[data-count="2"] .tt-story:not(.tt-story--lead) .tt-story-media { height: 220px; flex-basis: 220px; }
  .tt-editorial .tt-editorial-grid[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-editorial .tt-editorial-grid[data-count="4"] .tt-story:last-child { grid-column: 2 / span 2; }
}
@media (max-width: 767px) {
  .tt-brand .tt-editorial-heading .section-title { font-size: 22px; }
  .tt-editorial-heading { gap: 10px; margin-bottom: 16px; padding-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tt-editorial .tt-story-image { transition: none; }
  .tt-editorial .tt-story-link:hover .tt-story-image { transform: none; }
}
