/* TVOTT Media Theme Hub (Frontend) v1.0.4
   Goal: professional, theme-matched layout + "pill" tab bar like your Image 2.
   Note: We use scoped selectors + !important to beat theme/button defaults.
*/

.tvott-mth{ width:100%; }

/* HERO (match your theme vibe) */
.tvott-mth-hero{
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255,255,255,0.08), rgba(0,0,0,0.78)),
    linear-gradient(135deg, rgba(0,0,0,0.92), rgba(18,18,18,0.98));
  color:#fff;
  padding: 84px 16px 78px;
  margin: 0 0 26px;
}
.tvott-mth-hero__inner{ max-width:1100px; margin:0 auto; text-align:center; }
.tvott-mth-hero__title{
  margin:0 0 12px;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  font-weight: 900;
  letter-spacing: .3px;
}
.tvott-mth-hero__lead{ margin:0; font-size:1.05rem; opacity:.92; }

/* BODY WRAP */
.tvott-mth-body{ padding: 0 16px 10px; }
.tvott-mth-body__inner{ max-width:1100px; margin:0 auto; }

/* TABS (pill bar like Image 2) */
.tvott-mth-tabs{
  display:flex;
  justify-content:center;
  margin: 0 0 34px;
}
.tvott-mth-tabs__bar{
  display:flex;
  gap: 6px;
  align-items:center;
  justify-content:center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* force our button look */
.tvott-mth .tvott-mth-tab{
  appearance:none !important;
  -webkit-appearance:none !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  cursor: pointer !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  opacity: 0.95 !important;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease, opacity .12s ease !important;
}
.tvott-mth .tvott-mth-tab:hover{
  background: rgba(255,255,255,0.65) !important;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08) !important;
  transform: translateY(-1px) !important;
  opacity: 1 !important;
}
.tvott-mth .tvott-mth-tab.active{
  background: #fff !important;
  border-color: rgba(0,0,0,0.10) !important;
  box-shadow: 0 12px 22px rgba(0,0,0,0.10) !important;
  transform: translateY(-1px) !important;
}

/* GRID / CONTENT AREA */
.tvott-mth-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}
@media (max-width: 980px){ .tvott-mth-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px){
  .tvott-mth-grid{ grid-template-columns: 1fr; }
  .tvott-mth-tabs__bar{ width: 100%; justify-content:space-between; }
  .tvott-mth .tvott-mth-tab{ flex:1 1 auto !important; text-align:center !important; padding: 12px 12px !important; }
}

/* EMPTY STATE (centered like Image 2) */
.tvott-mth-empty{
  grid-column: 1 / -1;
  text-align:center;
  padding: 52px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.05);
  opacity: .92;
}

/* CARDS */
.tvott-mth-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tvott-mth-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}
.tvott-mth-card__thumb img{ width:100%; height: 190px; object-fit: cover; display:block; }
.tvott-mth-card__body{ padding: 14px 14px 16px; }
.tvott-mth-card__title{ margin: 0 0 6px; font-size: 1.05rem; font-weight: 900; }
.tvott-mth-card__meta{ font-size: .9rem; opacity: .72; margin-bottom: 8px; }
.tvott-mth-card__excerpt{ margin: 0 0 12px; opacity: .9; line-height: 1.45; }

/* ACTION BUTTON */
.tvott-mth-link{
  display:inline-block;
  text-decoration:none;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.tvott-mth-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.10);
}

/* SUBSCRIBE SECTION (Image 3 style) */
.tvott-mth-subscribe{
  background: rgba(0,0,0,0.04);
  padding: 66px 16px;
  margin-top: 40px;
}
.tvott-mth-subscribe__inner{ max-width:1100px; margin:0 auto; text-align:center; }
.tvott-mth-subscribe__title{
  margin: 0 0 10px;
  font-size: clamp(2.0rem, 3.6vw, 2.6rem);
  font-weight: 900;
}
.tvott-mth-subscribe__lead{ margin:0 0 24px; opacity:.8; font-size: 1rem; }

.tvott-mth-subscribe__form{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: 10px;
}
#tvott-mth-email{
  min-width: 300px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.16);
  background:#fff;
}

/* Primary button */
.tvott-mth-primary{
  background: #d10016 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 14px 26px rgba(209,0,22,0.22);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.tvott-mth-primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(209,0,22,0.28);
}

.tvott-mth-msg{ margin-top: 10px; opacity:.9; }

/* v1.0.6 extras */
.tvott-mth-fadein{ animation: tvottFade .18s ease-out; }
@keyframes tvottFade{ from{ opacity:.4; transform: translateY(4px);} to{opacity:1; transform: translateY(0);} }

.tvott-mth-empty strong{ display:block; font-size: 1.1rem; }
.tvott-mth-empty__sub{ margin-top: 6px; opacity:.75; }

.tvott-mth-skelwrap{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){ .tvott-mth-skelwrap{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px){ .tvott-mth-skelwrap{ grid-template-columns: 1fr; } }

.tvott-mth-skel{
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
  overflow:hidden;
  padding-bottom: 16px;
}
.tvott-mth-skel__thumb{ height: 190px; background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.08), rgba(0,0,0,0.04)); background-size: 220% 100%; animation: tvottShimmer 1.1s infinite; }
.tvott-mth-skel__line{ height: 14px; margin: 14px 14px 0; border-radius: 10px; background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.08), rgba(0,0,0,0.04)); background-size: 220% 100%; animation: tvottShimmer 1.1s infinite; }
.tvott-mth-skel__line.short{ width: 60%; }
.tvott-mth-skel__btn{ height: 40px; width: 52%; margin: 14px 14px 0; border-radius: 12px; background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.08), rgba(0,0,0,0.04)); background-size: 220% 100%; animation: tvottShimmer 1.1s infinite; }

@keyframes tvottShimmer{
  0%{ background-position: 0% 0; }
  100%{ background-position: 220% 0; }
}

.tvott-mth-card__thumb--blank{ height: 190px; background: rgba(0,0,0,0.04); }
