/* TentangBola newsroom: compact, readable news feeds with native theme controls. */

body.tb-newsroom-home {
  background-color: #f4f5f7;
}

.tb-site-improvements #primary.tb-newsroom {
  --tb-ink: #191b20;
  --tb-muted: #5c616b;
  --tb-line: #e4e6ea;
  --tb-brand: #c62828;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 20px auto 40px;
  padding: 0 24px 28px;
  color: var(--tb-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  scroll-margin-top: 16px;
}

.tb-newsroom *,
.tb-newsroom *::before,
.tb-newsroom *::after {
  box-sizing: border-box;
}

/* A grid/flex declaration must never override the progressive-reveal state. */
.tb-newsroom [hidden] {
  display: none !important;
}

.tb-newsroom a {
  text-decoration: none;
}

.tb-newsroom a:focus-visible,
.tb-newsroom button:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

.tb-newsroom .tb-channel-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  width: auto;
  max-width: none;
  margin: 0 -24px 24px;
  padding: 0 24px;
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 24px;
  scrollbar-width: thin;
  scrollbar-color: #c6cad1 transparent;
  -webkit-overflow-scrolling: touch;
}

.tb-newsroom .tb-channel-nav::-webkit-scrollbar {
  height: 3px;
}

.tb-newsroom .tb-channel-nav::-webkit-scrollbar-thumb {
  background: #c6cad1;
}

.tb-newsroom .tb-channel-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 46px;
  padding: 9px 12px 7px;
  border-bottom: 3px solid transparent;
  color: #343840;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.tb-newsroom .tb-channel-nav a[aria-current="page"],
.tb-newsroom .tb-channel-nav .tb-channel-current {
  border-bottom-color: var(--tb-brand);
  color: var(--tb-brand);
}

.tb-newsroom .tb-channel-nav a:hover {
  color: #a51e1e;
  background: #fff5f5;
}

.tb-newsroom .tb-channel-nav a:focus-visible {
  outline-offset: -3px;
}

.tb-newsroom .tb-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-width: 0;
  margin: 0 0 28px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--tb-line);
  background: #fff;
}

.tb-newsroom .tb-lead-media {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #f0f1f3;
}

.tb-newsroom .tb-lead-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  /* Preserve the complete editorial photograph, including portrait subjects. */
  object-fit: contain;
  object-position: center;
}

.tb-newsroom .tb-lead-body,
.tb-newsroom .tb-feed-body {
  min-width: 0;
}

.tb-newsroom .tb-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--tb-brand);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tb-newsroom .tb-lead-title {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--tb-ink);
  font-family: inherit;
  font-size: clamp(25px, 2.65vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  overflow-wrap: break-word;
}

.tb-newsroom .tb-lead-title a,
.tb-newsroom .tb-card-title a {
  color: inherit;
  line-height: inherit;
}

.tb-newsroom .tb-lead-title a:hover,
.tb-newsroom .tb-card-title a:hover {
  color: #ad2020;
}

.tb-newsroom .tb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 7px 0 0;
  color: var(--tb-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
}

.tb-newsroom .tb-meta > * {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: break-word;
}

.tb-newsroom .tb-meta a {
  color: #a91f1f;
  font-weight: 600;
}

.tb-newsroom .tb-meta a:hover {
  text-decoration: underline;
}

.tb-newsroom .tb-lead-excerpt {
  margin: 14px 0 0;
  color: #505660;
  font-size: 16px;
  line-height: 1.55;
}

.tb-newsroom .tb-lead.tb-no-image {
  grid-template-columns: minmax(0, 1fr);
  padding: 24px;
  border-left: 4px solid var(--tb-brand);
  background: #f7f8fa;
}

.tb-newsroom .tb-lead.tb-no-image .tb-lead-body {
  max-width: 850px;
}

.tb-newsroom .tb-newsroom-feed {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.tb-newsroom .tb-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 16px;
  margin: 0;
  padding: 0 0 7px;
  border-bottom: 2px solid var(--tb-ink);
  background: #fff;
}

.tb-newsroom .tb-section-heading h2 {
  margin: 0;
  padding: 0;
  color: var(--tb-ink);
  font-family: inherit;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-transform: none;
}

.tb-newsroom .tb-index-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 2px;
  color: #a91f1f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.tb-newsroom .tb-index-link:hover {
  text-decoration: underline;
}

.tb-newsroom .tb-feed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: 30px;
  row-gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.tb-newsroom .tb-feed-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 17px 0;
  border-bottom: 1px solid var(--tb-line);
  background: #fff;
}

.tb-newsroom .tb-feed-item.tb-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.tb-newsroom .tb-feed-image {
  display: block;
  width: 128px;
  height: 96px;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #f0f1f3;
}

.tb-newsroom .tb-feed-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.tb-newsroom .tb-card-title {
  display: block;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: var(--tb-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: clip;
  text-transform: none;
  overflow-wrap: break-word;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.tb-newsroom .tb-feed-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  text-align: center;
}

.tb-newsroom .tb-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  max-width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 22px;
  border: 1px solid var(--tb-brand);
  border-radius: 4px;
  color: #fff;
  background: var(--tb-brand);
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.tb-newsroom .tb-load-more:hover {
  border-color: #a91f1f;
  background: #a91f1f;
}

.tb-newsroom .tb-load-more:disabled {
  opacity: 0.72;
  cursor: default;
}

.tb-newsroom .tb-feed-status {
  margin: 0;
  color: var(--tb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.tb-newsroom .tb-feed-status:empty {
  /* Keep the live region in the accessibility tree before its first message. */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 770px) and (max-width: 960px) {
  .tb-newsroom .tb-lead { gap: 20px; }
  .tb-newsroom .tb-feed-list { column-gap: 24px; }
  .tb-newsroom .tb-feed-item { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .tb-newsroom .tb-feed-image { width: 100px; height: 75px; }
  .tb-newsroom .tb-card-title { font-size: 16px; line-height: 1.4; }
}

@media (max-width: 769px) {
  /* Keep the theme's menu/search structure and all of its open/close behavior. */
  .tb-site-improvements #masthead.layout--one .main-header .site-branding-section {
    padding: 6px 0;
  }

  .tb-site-improvements #masthead.layout--one .main-header .site-branding img.custom-logo {
    width: 180px;
    max-width: 75vw;
    height: auto;
  }

  .tb-site-improvements #masthead.layout--one .main-header .site-description {
    display: none;
  }

  .tb-site-improvements #masthead.layout--one .menu-section > .digital-newspaper-container > .row {
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    border-top-width: 1px;
  }

  .tb-site-improvements #masthead .menu-toggle,
  .tb-site-improvements #masthead .search-wrap .search-trigger {
    min-width: 44px;
    min-height: 44px;
  }

  .tb-site-improvements #masthead .menu-toggle {
    gap: 8px;
    padding: 8px 8px 8px 0;
  }

  .tb-site-improvements #masthead .menu-toggle .menu_txt {
    padding-left: 0;
    font-size: 14px;
    line-height: 1.2;
  }

  .tb-site-improvements #masthead .search-wrap {
    flex: 0 0 auto;
    padding: 0 0 0 8px;
  }

  .tb-site-improvements #masthead .search-wrap .search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tb-site-improvements #masthead #site-navigation .menu li > a {
    min-height: 44px;
  }

  .tb-site-improvements #masthead #site-navigation .menu li.menu-item-has-children > a {
    padding-right: 48px;
  }

  .tb-site-improvements #masthead #site-navigation .toggle-sub-menu {
    top: 0;
    min-width: 44px;
    min-height: 44px;
    padding: 12px 10px;
    text-align: center;
  }

  .tb-site-improvements #masthead .search_close_btn {
    min-width: 44px;
    min-height: 44px;
  }

  .tb-site-improvements #primary.tb-newsroom {
    margin: 0 auto 24px;
    padding: 0 14px 24px;
  }

  .tb-newsroom .tb-channel-nav {
    gap: 0;
    margin: 0 -14px 16px;
    padding: 0 14px;
    scroll-padding-inline: 14px;
  }

  .tb-newsroom .tb-channel-nav a {
    min-height: 44px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .tb-newsroom .tb-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 13px;
    padding-bottom: 18px;
  }

  .tb-newsroom .tb-lead-media {
    border-radius: 3px;
  }

  .tb-newsroom .tb-eyebrow {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .tb-newsroom .tb-lead-title {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.015em;
  }

  .tb-newsroom .tb-lead-excerpt {
    display: none;
  }

  .tb-newsroom .tb-lead.tb-no-image {
    padding: 16px;
  }

  .tb-newsroom .tb-section-heading {
    gap: 0 12px;
    padding-bottom: 4px;
  }

  .tb-newsroom .tb-section-heading h2 {
    font-size: 20px;
    line-height: 1.35;
  }

  .tb-newsroom .tb-index-link {
    font-size: 12px;
  }

  .tb-newsroom .tb-feed-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .tb-newsroom .tb-feed-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    height: auto;
    padding: 14px 0;
  }

  .tb-newsroom .tb-feed-image {
    width: 96px;
    height: 72px;
  }

  .tb-newsroom .tb-card-title {
    font-size: 16px;
    line-height: 1.4;
  }

  .tb-newsroom .tb-meta {
    gap: 3px 8px;
    margin-top: 6px;
    font-size: 12px;
  }

  .tb-newsroom .tb-feed-actions {
    margin-top: 20px;
  }

  /* Verified native archive/search markup; single article content is excluded. */
  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article {
    min-width: 0;
    margin-bottom: 0;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .blaze_box_wrap {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #e4e6ea;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .blaze_box_wrap > .post-thumb-wrap {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    align-self: start;
    width: 96px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: none;
    overflow: visible;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-thumb-wrap > a {
    display: block;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 3px;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-thumb-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
  }

  /* The theme places category links inside the figure: retain them below it. */
  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-thumb-wrap .post-categories {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    gap: 3px 5px;
    width: auto;
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-thumb-wrap .post-categories li {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 11px;
    line-height: 1.3;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-thumb-wrap .post-categories a {
    display: inline;
    padding: 0;
    color: #a91f1f;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .blaze_box_wrap > .post-element {
    grid-column: 2;
    grid-row: 1;
    order: 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-element .post-title {
    display: block;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    color: #191b20;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-overflow: clip;
    text-transform: none;
    overflow-wrap: break-word;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-element .post-title a {
    line-height: inherit;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-element .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 8px;
    margin: 6px 0 0;
    color: #5c616b;
    font-size: 11px;
    line-height: 1.5;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-element .post-meta > span {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-excerpt,
  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-link-button,
  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-comment.tb-zero-comments,
  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-comment[data-count="0"] {
    display: none;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article:not(.has-post-thumbnail) .blaze_box_wrap {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article:not(.has-post-thumbnail) .blaze_box_wrap > .post-element {
    grid-column: 1;
    grid-row: 1;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article:not(.has-post-thumbnail) .blaze_box_wrap > .post-thumb-wrap {
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-height: 0;
    padding: 0;
    background: none;
  }

  body.tb-newsroom-compact:not(.single) #theme-content .primary-content article .post-thumb-wrap.no-feat-img > a:empty {
    display: none;
  }

  /* Existing inline related stories share the compact mobile reading rhythm. */
  .tb-site-improvements .tb-related-inline .single-related-posts-section {
    padding: 16px 14px;
  }

  .tb-site-improvements .tb-related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .tb-site-improvements .tb-related-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 5px 12px;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid #e4e6ea;
  }

  .tb-site-improvements .tb-related-image {
    display: block;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 96px;
    height: 72px;
    overflow: hidden;
    border-radius: 3px;
  }

  .tb-site-improvements .tb-related-image img {
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .tb-site-improvements .tb-related-card h3 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .tb-site-improvements .tb-related-card time {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .tb-site-improvements .tb-related-card h3:first-child,
  .tb-site-improvements .tb-related-card h3:first-child + time {
    grid-column: 1 / -1;
  }
}

@media (min-width: 420px) and (max-width: 769px) {
  .tb-newsroom .tb-card-title {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-newsroom *,
  .tb-newsroom *::before,
  .tb-newsroom *::after {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
