/*
Theme Name: Masharos News
Theme URI: https://masharos.com/
Author: Masharos News
Author URI: https://masharos.com/
Description: Theme limpio para Web Radio, TV Online y Periódico Digital de Masharos News.
Version: 1.0
Text Domain: masharos-news
*/

:root {
  --masharos-orange: #d2651d;
  --masharos-gray: #414140;
  --masharos-white: #ffffff;
  --masharos-light: #f5f5f5;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--masharos-white);
  color: var(--masharos-gray);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.top-bar {
  background: var(--masharos-gray);
  color: white;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.main-header {
  background: white;
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.logo-area h1 {
  margin: 0;
  color: var(--masharos-orange);
  font-size: 34px;
  font-weight: 900;
}

.header-ad {
  width: 728px;
  max-width: 100%;
  height: 90px;
  background: #f1f1f1;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 14px;
}
.header-ad img{
    width:100%;
    height:auto;
    display:block;
}
.main-nav {
  background: var(--masharos-orange);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.main-nav li a {
  display: block;
  color: white;
  font-weight: bold;
  padding: 15px 0;
  font-size: 14px;
}

.live-buttons {
  display: flex;
  gap: 8px;
}

.live-buttons a {
  background: var(--masharos-gray);
  color: white;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
}

.site-footer {
  background: var(--masharos-gray);
  color: white;
  margin-top: 40px;
  padding-top: 35px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 25px;
}

.footer-content h3,
.footer-content h4 {
  color: var(--masharos-orange);
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  margin-top: 25px;
  background: #2f2f2f;
  font-size: 13px;
}

@media (max-width: 768px) {
  .top-bar-content,
  .header-content,
  .nav-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
.home-page {
  background: #fff;
}

.hero-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.hero-card {
  position: relative;
  background: #111;
  overflow: hidden;
  border-radius: 6px;
}

.hero-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.05;
  margin: 10px 0;
}

.category-label,
.category-label a {
  color: var(--masharos-orange);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.hero-sidebar {
  background: #f5f5f5;
  padding: 20px;
  border-top: 5px solid var(--masharos-orange);
}

.hero-sidebar h3 {
  margin-top: 0;
  color: var(--masharos-gray);
}

.mini-news {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.mini-news strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.mini-news span {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 12px;
}

.live-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 35px;
}

.live-box {
  background: var(--masharos-gray);
  color: white;
  padding: 25px;
  border-radius: 6px;
}

.live-box h2 {
  color: var(--masharos-orange);
  margin-top: 0;
}

.player-placeholder {
  margin-top: 15px;
  background: white;
  color: #777;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
}

.section-title {
  margin-top: 40px;
  border-left: 6px solid var(--masharos-orange);
  padding-left: 12px;
  color: var(--masharos-gray);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.news-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.news-card h3 {
  padding: 0 14px;
  font-size: 18px;
  line-height: 1.15;
}

.news-card p {
  padding: 0 14px 16px;
  color: #666;
  font-size: 14px;
}

.news-card .category-label {
  display: block;
  padding: 12px 14px 0;
}

.digital-paper {
  margin-top: 40px;
  padding: 35px;
  background: linear-gradient(90deg, var(--masharos-orange), var(--masharos-gray));
  color: white;
  border-radius: 6px;
  text-align: center;
}

.paper-btn {
  display: inline-block;
  background: white;
  color: var(--masharos-gray);
  padding: 12px 20px;
  margin-top: 12px;
  border-radius: 4px;
  font-weight: bold;
}

@media (max-width: 900px) {
  .hero-section,
  .live-section {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text h1 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 360px;
  }
}
.single-page {
  max-width: 850px;
  margin-top: 35px;
}

.single-article {
  background: white;
}

.single-category a {
  background: var(--masharos-orange);
  color: white;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 3px;
  margin-right: 5px;
}

.single-title {
  font-size: 44px;
  line-height: 1.05;
  margin: 18px 0 10px;
  color: var(--masharos-gray);
}

.single-meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 22px;
}

.single-image img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 25px;
}

.single-content {
  font-size: 19px;
  line-height: 1.7;
  color: #333;
}

.single-content p {
  margin-bottom: 22px;
}

.share-box {
  margin-top: 35px;
  padding: 18px;
  background: #f5f5f5;
  border-left: 5px solid var(--masharos-orange);
}

.share-box a {
  display: inline-block;
  margin-left: 10px;
  color: var(--masharos-orange);
  font-weight: bold;
}

@media (max-width: 600px) {
  .single-title {
    font-size: 32px;
  }

  .single-content {
    font-size: 17px;
  }
}
.archive-page {
  margin-top: 35px;
}

.archive-header {
  border-left: 7px solid var(--masharos-orange);
  padding-left: 16px;
  margin-bottom: 28px;
}

.archive-header h1 {
  margin: 0;
  font-size: 38px;
  color: var(--masharos-gray);
}

.archive-header p {
  color: #666;
  font-size: 16px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.archive-card {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.archive-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.archive-card-content {
  padding: 15px;
}

.archive-card h2 {
  font-size: 21px;
  line-height: 1.15;
  margin: 10px 0;
  color: var(--masharos-gray);
}

.archive-card p {
  color: #666;
  font-size: 14px;
}

.archive-card small {
  color: #999;
}

.pagination {
  grid-column: 1 / -1;
  margin-top: 25px;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  background: #f1f1f1;
  border-radius: 4px;
  font-weight: bold;
}

.pagination .current {
  background: var(--masharos-orange);
  color: white;
}

@media (max-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-header h1 {
    font-size: 30px;
  }
}
.search-form-box {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.search-form-box input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
}

.search-form-box button {
  background: var(--masharos-orange);
  color: white;
  border: none;
  padding: 12px 18px;
  font-weight: bold;
  cursor: pointer;
}

.error-page {
  margin-top: 50px;
  text-align: center;
}

.error-box {
  max-width: 650px;
  margin: auto;
  padding: 40px;
  background: #f5f5f5;
  border-radius: 8px;
}

.error-box h1 {
  font-size: 90px;
  margin: 0;
  color: var(--masharos-orange);
}

.error-box h2 {
  color: var(--masharos-gray);
}

.home-btn {
  display: inline-block;
  margin-top: 15px;
  background: var(--masharos-gray);
  color: white;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: bold;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-search {
  display: flex;
  align-items: center;
}

.top-search input {
  width: 150px;
  padding: 8px;
  border: none;
  font-size: 13px;
}

.top-search button {
  padding: 8px 10px;
  border: none;
  background: var(--masharos-gray);
  color: white;
  cursor: pointer;
}

.floating-live {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}

.floating-live a {
  background: var(--masharos-orange);
  color: white;
  padding: 11px 14px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.floating-live a:last-child {
  background: var(--masharos-gray);
}

@media (max-width: 768px) {
  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .top-search {
    width: 100%;
  }

  .top-search input {
    width: 100%;
  }
}
.radio-player {
  background: white;
  padding: 15px;
  border-radius: 6px;
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tv-player {
  margin-top: 15px;
}
.single-subtitle {
  font-size: 24px;
  line-height: 1.4;
  color: #666;
  font-weight: 400;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #777;
  font-size: 14px;
  margin-bottom: 25px;
}

.news-source {
  margin-top: 35px;
  padding: 15px;
  background: #f5f5f5;
  border-left: 4px solid var(--masharos-orange);
  font-size: 14px;
}