/*
Theme Name: Olimpo Tube
Theme URI: https://example.com/olimpo-tube
Author: Palermo Webmaster
Author URI: https://example.com
Description: Tema blanco, limpio y responsive para WordPress inspirado en una plataforma de videos, con menu lateral plegable de categorias, portada limpia en grilla, embeds responsivos y compatibilidad segura con plugins SEO sin interferir con metadatos sociales.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olimpo-tube
Tags: blog, news, entertainment, custom-logo, featured-images, grid-layout, one-column, three-columns
*/

:root {
  --ot-bg: #ffffff;
  --ot-surface: #ffffff;
  --ot-surface-2: #f5f5f5;
  --ot-surface-3: #eeeeee;
  --ot-text: #0f0f0f;
  --ot-muted: #606060;
  --ot-border: rgba(15, 15, 15, .12);
  --ot-accent: #ff0033;
  --ot-accent-2: #cc0029;
  --ot-card-radius: 12px;
  --ot-sidebar-width: 240px;
  --ot-header-height: 66px;
  --ot-adminbar-current: 0px;
  --ot-shadow: 0 14px 36px rgba(15, 15, 15, .08);
  --ot-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ot-bg); }
body {
  margin: 0;
  background: var(--ot-bg);
  color: var(--ot-text);
  font-family: var(--ot-font);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ot-accent); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.ot-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--ot-header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ot-border);
}

body.admin-bar,
body.logged-in:has(#wpadminbar) {
  --ot-adminbar-current: 32px;
}

body.admin-bar .ot-topbar,
body.logged-in:has(#wpadminbar) .ot-topbar,
body.ot-wp-adminbar .ot-topbar {
  top: var(--ot-adminbar-current) !important;
  inset: var(--ot-adminbar-current) 0 auto 0 !important;
}

body.admin-bar .ot-sidebar,
body.logged-in:has(#wpadminbar) .ot-sidebar,
body.ot-wp-adminbar .ot-sidebar {
  top: calc(var(--ot-header-height) + var(--ot-adminbar-current)) !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar,
  body.logged-in:has(#wpadminbar) {
    --ot-adminbar-current: 46px;
  }
}

.ot-menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ot-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.ot-menu-toggle:hover { background: var(--ot-surface-2); }

.ot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 180px;
  max-width: 180px;
  height: calc(var(--ot-header-height) - 16px);
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 1.3rem;
  color: var(--ot-text);
  overflow: hidden;
}
.ot-brand a:hover { color: var(--ot-text); }
.ot-brand .custom-logo-link,
.ot-brand-fallback {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.ot-brand-mark {
  width: 38px;
  height: 27px;
  background: var(--ot-accent);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(255,0,51,.20);
}
.ot-brand-mark:before {
  content: "";
  display: block;
  border-left: 10px solid white;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.ot-brand img,
.ot-brand .custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 34px !important;
  object-fit: contain;
}

.ot-search {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
}
.ot-search form {
  display: flex;
  width: 100%;
  border: 1px solid var(--ot-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--ot-surface-2);
}
.ot-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ot-text);
  padding: 11px 18px;
  outline: none;
}
.ot-search button {
  width: 68px;
  border: 0;
  border-left: 1px solid var(--ot-border);
  background: var(--ot-surface-3);
  color: var(--ot-text);
  cursor: pointer;
}
.ot-search button:hover { background: #e5e5e5; }

.ot-layout {
  display: grid;
  grid-template-columns: var(--ot-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  padding-top: var(--ot-header-height);
  transition: grid-template-columns .24s ease;
}

body.ot-sidebar-collapsed .ot-layout {
  grid-template-columns: 0 minmax(0, 1fr);
}

.ot-sidebar {
  position: fixed;
  top: var(--ot-header-height);
  left: 0;
  bottom: 0;
  width: var(--ot-sidebar-width);
  padding: 14px 10px 28px;
  overflow-y: auto;
  border-right: 1px solid var(--ot-border);
  background: #ffffff;
  z-index: 900;
  transition: transform .24s ease;
}

body.ot-sidebar-collapsed .ot-sidebar {
  transform: translateX(-105%);
}
.ot-sidebar-section { padding: 8px 0 14px; }
.ot-sidebar-title {
  display: none;
  padding: 8px 14px;
  color: var(--ot-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: .76rem;
}
.ot-sidebar-empty {
  padding: 10px 14px;
  margin: 0;
  color: var(--ot-muted);
  font-size: .9rem;
}
.ot-menu,
.ot-menu ul { list-style: none; margin: 0; padding: 0; }
.ot-menu li { margin: 2px 0; }
.ot-menu a,
.ot-sidebar .menu a,
.ot-sidebar .widget a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ot-text);
  font-weight: 650;
}
.ot-menu a:hover,
.ot-sidebar .menu a:hover,
.ot-sidebar .widget a:hover {
  background: var(--ot-surface-2);
  color: var(--ot-text);
}
.ot-category-menu a small {
  margin-left: auto;
  color: var(--ot-muted);
  font-size: .76rem;
  font-weight: 700;
}
.ot-category-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ot-accent);
  flex: 0 0 8px;
}

.ot-main {
  grid-column: 2;
  padding: 24px clamp(18px, 3vw, 42px) 56px;
  min-width: 0;
}

.ot-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
}
.ot-section-head h1,
.ot-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -.05em;
  line-height: 1.08;
}
.ot-section-head p { margin: 5px 0 0; color: var(--ot-muted); }

.ot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 20px;
}
.ot-card {
  min-width: 0;
  border-radius: var(--ot-card-radius);
}
.ot-card-link { display: block; }
.ot-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--ot-card-radius);
  aspect-ratio: 16/9;
  background: var(--ot-surface-2);
}
.ot-thumb img,
.ot-thumb-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ot-thumb img { transition: transform .2s ease; }
.ot-card:hover .ot-thumb img { transform: scale(1.025); }
.ot-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0,0,0,.82);
  color: white;
  font-size: .75rem;
  font-weight: 800;
}
.ot-card-body { padding: 10px 0 0; }
.ot-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
  letter-spacing: -.025em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ot-card-meta {
  margin-top: 5px;
  color: var(--ot-muted);
  font-size: .86rem;
}
.ot-card-meta a { color: var(--ot-muted); }
.ot-card-meta a:hover { color: var(--ot-accent); }
.ot-card-excerpt { display: none; }
.ot-avatar { display: none; }

.ot-content-wrap {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
}
.ot-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}
.ot-single-main { width: 100%; min-width: 0; }
.ot-player {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: var(--ot-shadow);
}
.ot-player > * {
  width: 100% !important;
  max-width: 100% !important;
}
.ot-player iframe,
.ot-player video,
.ot-player embed,
.ot-player object {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}
.ot-player .wp-block-embed,
.ot-player .wp-block-embed__wrapper,
.ot-player .wp-video,
.ot-player .wp-video-shortcode,
.ot-player .embed-youtube,
.ot-player .embed-vimeo {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
}
.ot-player img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.ot-single-header { padding: 22px 0 14px; }
.ot-single-title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.ot-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--ot-muted);
}
.ot-single-meta a { color: var(--ot-muted); }
.ot-single-meta a:hover { color: var(--ot-accent); }
.ot-author-row { display: none; }
.ot-content {
  margin-top: 18px;
  color: var(--ot-text);
  font-size: 1.06rem;
  max-width: none;
}
.ot-content a { color: var(--ot-accent); text-decoration: underline; text-underline-offset: 3px; }
.ot-content p { margin: 0 0 1.2em; }

.ot-content > p,
.ot-content > ul,
.ot-content > ol,
.ot-content > blockquote,
.ot-content > h2,
.ot-content > h3,
.ot-content > h4,
.ot-content > h5,
.ot-content > h6,
.ot-content > table,
.ot-content > pre {
  max-width: 860px;
}
.ot-content > p:has(iframe),
.ot-content > p:has(video),
.ot-content > p:has(embed),
.ot-content > p:has(object) {
  max-width: none;
}
.ot-content-player,
.ot-content .wp-block-embed,
.ot-content .wp-block-embed__wrapper,
.ot-content .embed-youtube,
.ot-content .embed-vimeo,
.ot-content .wp-video,
.ot-content .video-player {
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: var(--ot-shadow);
}
.ot-content-player iframe,
.ot-content .wp-block-embed iframe,
.ot-content .wp-block-embed__wrapper iframe,
.ot-content .embed-youtube iframe,
.ot-content .embed-vimeo iframe,
.ot-content .wp-video iframe,
.ot-content iframe[src*="youtube.com"],
.ot-content iframe[src*="youtube-nocookie.com"],
.ot-content iframe[src*="player.vimeo.com"],
.ot-content video {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border: 0;
}
.ot-content figure.wp-block-embed {
  clear: both;
}

.ot-content h2,
.ot-content h3,
.ot-content h4 { letter-spacing: -.045em; line-height: 1.1; margin: 1.6em 0 .7em; }
.ot-content blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--ot-accent);
  background: var(--ot-surface-2);
  border-radius: 12px;
}
.ot-content pre,
.ot-content code { background: var(--ot-surface-2); border-radius: 8px; }
.ot-content pre { padding: 16px; overflow-x: auto; }
.ot-sidebar-related {
  position: sticky;
  top: calc(var(--ot-adminbar-current, 0px) + var(--ot-header-height) + 22px);
  align-self: start;
  min-width: 0;
  width: 100%;
  max-height: calc(100vh - var(--ot-adminbar-current, 0px) - var(--ot-header-height) - 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.ot-related-title {
  display: none !important;
}
.ot-related-list {
  display: grid;
  gap: 12px;
}
.ot-related-card {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ot-text);
}
.ot-related-card:hover { color: var(--ot-text); }
.ot-related-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ot-surface-2);
  aspect-ratio: 16 / 9;
}
.ot-related-thumb img,
.ot-related-thumb .ot-thumb-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ot-related-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.ot-related-meta {
  display: block;
  margin-top: 5px;
  color: var(--ot-muted);
  font-size: .8rem;
  line-height: 1.3;
}

.ot-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0 0;
  margin: 18px 0 0;
}
.ot-chip,
.ot-chip-row a[rel="tag"] {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ot-surface-2);
  border: 1px solid var(--ot-border);
  color: var(--ot-text);
  font-weight: 700;
  font-size: .88rem;
}
.ot-chip:hover,
.ot-chip.active,
.ot-chip-row a[rel="tag"]:hover { background: var(--ot-text); color: var(--ot-bg); }

.ot-pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}
.page-numbers,
.post-page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ot-surface-2);
  border: 1px solid var(--ot-border);
  font-weight: 800;
}
.page-numbers.current,
.page-numbers:hover { background: var(--ot-text); color: var(--ot-bg); }

.ot-comments {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--ot-border);
  max-width: 860px;
}
.ot-comments input,
.ot-comments textarea {
  width: 100%;
  border: 1px solid var(--ot-border);
  background: var(--ot-surface-2);
  color: var(--ot-text);
  border-radius: 10px;
  padding: 12px;
}
.ot-comments button,
.ot-comments input[type="submit"],
.ot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--ot-accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.ot-button:hover,
.ot-comments input[type="submit"]:hover { background: var(--ot-accent-2); color: #fff; }

.ot-box {
  padding: 28px;
  border: 1px solid var(--ot-border);
  background: var(--ot-surface-2);
  border-radius: 18px;
}
.ot-empty h1,
.ot-empty h2 { margin-top: 0; letter-spacing: -.04em; }

.wp-caption,
.gallery-caption { color: var(--ot-muted); }
.bypostauthor { outline: 2px solid var(--ot-accent); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

.ot-thumb-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 28% 26%, rgba(255,0,51,.18), transparent 27%),
    linear-gradient(135deg, #f2f2f2, #e4e4e4);
}
.ot-footer {
  grid-column: 2;
  padding: 28px clamp(18px, 3vw, 42px);
  color: var(--ot-muted);
  border-top: 1px solid var(--ot-border);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ot-footer-menu { display: flex; gap: 8px; flex-wrap: wrap; }
.ot-footer-menu a { padding: 6px 10px; font-size: .9rem; }

.search-form label { flex: 1; }
.search-form .search-field { width: 100%; }


/* Limpieza solicitada: sin navegacion inferior de entradas anteriores/siguientes. */
.single .post-navigation,
.ot-single-main > .navigation.post-navigation {
  display: none !important;
}

@media (max-width: 1180px) {
  .ot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ot-single { grid-template-columns: 1fr; }
  .ot-sidebar-related {
    position: static;
    margin-top: 12px;
    max-height: none;
    overflow: visible;
  }
  .ot-related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ot-topbar { padding: 0 12px; gap: 10px; }
  .ot-brand { width: 170px; max-width: 170px; min-width: 0; font-size: 1.05rem; }
  .ot-brand-text { display: none; }
  .ot-search { max-width: none; }
  .ot-layout { grid-template-columns: 1fr; }
  body.ot-sidebar-collapsed .ot-layout { grid-template-columns: 1fr; }
  .ot-sidebar {
    transform: translateX(-105%);
    box-shadow: var(--ot-shadow);
  }
  body.ot-sidebar-collapsed .ot-sidebar { transform: translateX(-105%); }
  body.ot-sidebar-open .ot-sidebar { transform: translateX(0); }
  .ot-main,
  .ot-footer { grid-column: 1; }
  .ot-grid { grid-template-columns: 1fr; }
  .ot-related-list { grid-template-columns: 1fr; }
  .ot-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --ot-header-height: 118px; }
  .ot-topbar {
    align-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px 10px;
  }
  .ot-menu-toggle {
    position: absolute;
    left: 10px;
    top: 12px;
    z-index: 2;
  }
  .ot-brand {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 58px;
    justify-content: center;
    padding: 0 52px;
  }
  .ot-brand .custom-logo-link,
  .ot-brand-fallback {
    width: 100%;
    height: 100%;
    justify-content: center;
  }
  .ot-brand img,
  .ot-brand .custom-logo {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 56px !important;
    object-fit: contain;
  }
  .ot-brand-mark { flex: 0 0 auto; }
  .ot-search {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
  }
  .ot-search form { height: 42px; }
  .ot-search input[type="search"] { padding: 10px 12px; }
  .ot-search button { width: 48px; }
  .ot-main { padding-left: 12px; padding-right: 12px; }
  .ot-section-head p { font-size: .92rem; }
  .ot-player { border-radius: 10px; }
  .ot-related-card { grid-template-columns: 132px minmax(0, 1fr); }
}

/* Logo personalizado: en escritorio mantiene el tamano visual del logo original; en movil puede ocupar el ancho disponible. */
.ot-topbar .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  height: calc(var(--ot-header-height) - 16px);
  overflow: hidden;
  line-height: 0;
}
.ot-topbar .custom-logo-link img.custom-logo {
  width: auto !important;
  height: auto !important;
  max-width: 180px !important;
  max-height: 34px !important;
  object-fit: contain;
}
@media (max-width: 560px) {
  .ot-topbar .custom-logo-link {
    width: 100%;
    max-width: 100%;
    height: 58px;
    justify-content: center;
  }
  .ot-topbar .custom-logo-link img.custom-logo {
    max-width: 100% !important;
    max-height: 56px !important;
  }
}

.ot-menu-toggle:focus-visible,
.ot-card-link:focus-visible,
.ot-chip:focus-visible,
.ot-search input:focus-visible,
.ot-search button:focus-visible,
.ot-category-menu a:focus-visible {
  outline: 2px solid var(--ot-accent);
  outline-offset: 3px;
}

/* Ajuste fuerte para que el header nunca quede tapado por la barra negra de WordPress. */
body.admin-bar header.ot-topbar,
body.ot-wp-adminbar header.ot-topbar {
  top: var(--ot-adminbar-current, 32px) !important;
}

body.admin-bar aside.ot-sidebar,
body.ot-wp-adminbar aside.ot-sidebar {
  top: calc(var(--ot-header-height) + var(--ot-adminbar-current, 32px)) !important;
}

/* Carga automatica de tarjetas. */
.ot-section-head-compact {
  margin-bottom: 24px;
}

.ot-load-more {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 34px 0 10px;
  color: var(--ot-muted);
}

.ot-load-more-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid var(--ot-surface-3);
  border-top-color: var(--ot-accent);
  border-radius: 999px;
  opacity: 0;
}

.ot-load-more.is-loading .ot-load-more-spinner {
  opacity: 1;
  animation: otSpin .8s linear infinite;
}

.ot-load-more-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--ot-text);
  color: var(--ot-bg);
  font-weight: 800;
  cursor: pointer;
}

.ot-load-more-button:hover {
  background: var(--ot-accent);
}

@keyframes otSpin {
  to { transform: rotate(360deg); }
}

/* Titulos en mayusculas y sidebar relacionado en formato vertical. */
.ot-card-title,
.ot-single-title,
.ot-related-card-title,
.entry-title,
.page-title {
  text-transform: uppercase;
}

.ot-sidebar-related {
  padding-right: 4px;
}

.ot-related-list {
  gap: 18px;
}

.ot-related-card {
  display: block;
  width: 100%;
}

.ot-related-thumb {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.ot-related-info {
  display: block;
  padding-top: 8px;
}

.ot-related-card-title {
  font-size: .96rem;
  line-height: 1.18;
  letter-spacing: -.03em;
  -webkit-line-clamp: 3;
}

.ot-related-meta {
  margin-top: 4px;
  font-size: .78rem;
}

@media (max-width: 1180px) {
  .ot-related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ot-related-card {
    display: block;
  }
}

@media (max-width: 560px) {
  .ot-related-list {
    grid-template-columns: 1fr;
  }
  .ot-related-card {
    display: block;
  }
}
