/* =========================================
   1. VARIABLES & CONFIGURACIÓN BASE
   ========================================= */
:root {
  --m-scale: 1rem;
  --font-s: 0.7rem;
  --font-m: 0.9rem;
  --font-l: calc(1rem * var(--m-scale));
  --font-xl: calc(1rem * var(--m-scale) * var(--m-scale));
  --font-xxl: calc(1rem * var(--m-scale) * var(--m-scale) * var(--m-scale));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: Montserrat, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #2b2626;
}

a {
  text-decoration: none;
  color: #444;
}

/* =========================================
   2. TIPOGRAFÍA
   ========================================= */
h1 {
  font-size: var(--font-xxl);
  margin-bottom: .5em;
  position: relative;
}

h1:after {
  content: "";
  position: absolute;
  left: .6rem;
  bottom: -.2em;
  height: .14em;
  width: 9rem;
  background: #444;
}

h2 {
  font-size: var(--font-xl);
  margin-bottom: .5em;
  margin-top: calc(var(--m-scale) * 1em);
}

p {
  font-size: var(--font-m);
  margin: 0 0 1em;
}

.fecha {
  font-size: calc(.5rem * var(--m-scale));
  margin: .25rem 0 0 .15rem;
}

.descripcion p {
  margin-bottom: 0;
}

/* Blockquotes */
blockquote {
  max-width: 640px;
  margin: .5rem auto;
  padding: .1rem 2rem 1rem 1rem;
  border-left: 5px solid #999;
}
blockquote:before { display: none; }
blockquote p {
  color: #555;
  font-size: 14pt;
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  font-family: 'PT Serif', Cambria, 'Hoefler Text', Utopia, 'Liberation Serif', 'Nimbus Roman No9 L Regular', Times, 'Times New Roman', serif;
}
blockquote footer {
  margin-top: .5em;
  padding: 0;
  color: #777;
  background: transparent !important;
  box-shadow: 0 0 0 0 transparent;
  font-size: 12pt;
  text-align: left;
  font-style: italic;
}
blockquote footer:before { content: '— '; }

/* =========================================
   3. LAYOUT & ESTRUCTURA
   ========================================= */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

header, footer {
  background: #240505 !important;
  box-shadow: 0 0 3px -1px #fff;
  grid-column-start: span 1;
}

main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .1em;
  box-shadow: 0 0 3px -1px #fff;
  grid-column-start: span 1;
}

/* Header styles */
header .box { text-align: center; }

/* Footer styles */
footer { padding: 1rem 0 .5rem 0; }
footer .box {
  text-align: center;
  border-radius: 0;
  padding: 0;
  background: 0 0;
}
footer .box p {
  font-size: calc(var(--font-s) - .18rem);
  color: #efefef;
  margin: 0;
}
.logo-pie {
  max-width: 100%;
  height: auto;
  margin: 0 auto .5rem auto;
  display: block !important;
}

/* =========================================
   4. NAVEGACIÓN
   ========================================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  min-width: 360px;
}

.navbar-links { height: 100%; }
.navbar-links ul { display: flex; padding: 0; margin: 0; }
.navbar-links li {
  font-family: Righteous, cursive;
  font-size: .75rem;
  list-style: none;
}
.navbar-links a {
  text-decoration: none;
  color: #fff;
  padding: 1rem .5rem;
  display: block;
}
.navbar-links li:hover { background-color: #555; }
.brand-title { margin: .5rem; }

/* Botón Hamburguesa */
.toggle-button {
  position: absolute;
  top: 1.75rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}
.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  transition: all .5s ease-in;
}

/* Breadcrumbs */
#breadcrumbs {
  list-style: none;
  display: flex;
  padding: 3px 8px;
}
#breadcrumbs li {
  color: #fff;
  font-size: .6em !important;
}
#breadcrumbs li a {
  color: #fff;
  text-decoration: none;
}
#breadcrumbs li a:hover {
  transition-delay: 50ms;
  transition: 50ms;
  color: #efefef;
  text-decoration: none;
}
#breadcrumbs li+li::before {
  padding: 6px;
  color: #ddd;
  content: "/\00a0";
}

/* =========================================
   5. CAJAS, TARJETAS Y CONTENEDORES
   ========================================= */
.box {
  background-color: #444;
  color: #fff;
  border-radius: 0;
  padding: 20px;
}
.box a p { text-decoration: none; color: #fff; }
.box p, main .box h1 { padding: .5rem; }
li.box { list-style: none; }

main .box {
  background-color: #ccc;
  color: #000;
  border-radius: .25rem;
  padding: 0 0 .5rem 0;
}
main .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main .box h1 { line-height: 1.1; }
main#destacado > .box a p { text-decoration: none; color: #444; }

/* Acercade Main */
.acercade main {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: .1em;
  box-shadow: 0 0 3px -1px #fff;
}
.acercade main .text {
  column-count: 2;
  column-span: all;
  column-gap: 30px;
  text-align: justify;
}
.acercade main .box img { width: 100%; height: 100%; object-fit: cover; }

/* Noticias Context */
.noticias .box { display: flex; flex-direction: column; }
.box a h4.nombre-entrevista {
  font-size: .6rem;
  color: #efefef;
  text-align: inherit;
  padding: .2rem;
  margin-bottom: .1rem;
}
.noticias p.fecha-entrevista { margin-top: auto; }

/* Publicidad */
.pub-superior {
  margin: .5rem auto;
  padding: 1rem;
  text-align: center;
  background: 0 0;
  width: 100%;
  max-width: 1440px;
}
.pub-inferior {
  display: grid;
  grid-template-columns: repeat(4, auto);
  grid-auto-flow: row;
  justify-items: center;
  justify-content: center;
  grid-gap: 1rem;
  background-color: #444;
  margin: auto;
  padding: .5rem 0;
  width: 100%;
}
.logo-showcase .item { background-color: transparent; }
.random-pub {
  margin: .5rem auto;
  text-align: center;
  border: none;
  background: 0 0;
}

/* =========================================
   6. GALERÍAS
   ========================================= */
/* Galería General */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
  gap: 10px;
  padding: 0;
}
.galeria .box {
  padding: 0;
  box-shadow: 0 3px 0 0 #555;
}
.galeria .box p {
  padding: 3px;
  font-size: calc(var(--m-scale) * .6em);
}
.galeria .box img {
  object-fit: cover;
  width: 100%;
  height: auto;
  border: 1px solid #efefef;
}
#galeria { max-height: 100%; }

/* Galería dentro de .galerias */
.galerias main {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: .1em;
  box-shadow: 0 0 3px -1px #fff;
}
.galerias main h1:after { background: 0 0; }
.galerias .galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(5% + 6rem), 1fr));
  gap: .15em;
  padding: 0;
}
.galerias .galeria .box {
  background-color: #444;
  color: #fff;
  border-radius: 0;
  padding: 0 .15rem .15rem;
  box-shadow: 0 0 0 0 #555;
  height: 100%;
}
.galerias .galeria .box img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  opacity: .75;
  transition: all ease-in-out .3s;
  object-position: top;
}
.galerias .galeria .box img:hover { opacity: 1; }
.galerias .galeria .box p {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0;
  padding: .1em .2em .45em .2em;
  font-size: calc(var(--m-scale) * .45em);
}
.galerias .galeria .box .cardimg { height: 143px; }

/* Entrevistas */
#entrevista { padding-top: .5rem; }
.entrevistas main .box h1,
.entrevistas main .box p { padding: 0 .5rem; }
.entrevistas main .box { max-height: 100%; }
.entrevistas #nota .box img { margin-bottom: 1rem; }
.entrevistas #nota .box ul {
  list-style-position: outside;
  list-style-type: disc !important;
  padding: 0 2rem;
  margin: 1rem 0;
}
.entrevistas #nota .box ol {
  list-style-position: outside;
  list-style-type: decimal !important;
  padding: 0 3rem;
  margin: 1rem 0;
}
.entrevistas #nota .box ul li,
.entrevistas #nota .box ol li { margin-bottom: .5rem; }
.otrasentrevistas {
  color: rgba(255, 255, 255, .5);
  line-height: 1.8;
}

/* =========================================
   7. UI COMPONENTS (BOTONES, MODALES, ETC)
   ========================================= */
/* Botones */
.button {
  background-color: #555;
  border: none;
  color: #fff;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-bottom: .5rem;
  cursor: pointer;
  border-radius: 6px;
  margin-left: 10px;
}
.button:hover { background-color: #3f3e3e; }

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.block {
  display: block;
  width: 100%;
  border: none;
  background-color: #cf321b;
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
.block:hover {
  background-color: #da9d4b;
  color: #efefef;
}

.btn-modal {
  font-weight: bold;
  background: #240505;
  border-radius: 5px;
  border: none;
  color: white;
  padding: 12px 22px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  transition: background 0.3s ease;
  box-shadow: 0px 2px 5px #852617;
}
.btn-modal:hover { background: #852617; cursor: pointer; }

/* Modales */
.modal-dialog { max-width: 640px; }
.modal-body {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  padding: .025rem;
  background: linear-gradient(to bottom, rgb(230, 227, 227) 0%, rgba(236, 221, 221, 0.16) 100%);
}
.modal-footer { padding: .35rem; justify-content: center; }

/* Paginación */
.pagination, .paging-nav { text-align: center; }
.pagination { display: inline-block; padding-left: 0; margin: 0 auto; border-radius: 4px; }
.pagination > li { display: inline; }
.pagination > li > a, .pagination > li > span, .paging-nav a {
  margin: auto .2rem;
  margin-bottom: 1rem;
  text-decoration: none;
  display: inline-block;
  padding: .25rem .8rem;
  color: #5b6167;
  background-color: #fff;
  border-radius: 3px;
  font-size: 1.3rem;
  border: 1px solid #ddd;
}
.pagination > .active > a, .pagination > .active > span, .paging-nav .selected-page {
  color: #fff;
  background: 0 0;
  font-weight: 700;
}
.pagination a:hover, .paging-nav a:hover {
  color: #fff;
  background-color: #5b6167;
}
.paging-nav { width: 100%; margin: 0 auto; padding-top: 1rem; text-align: center; }

/* List Groups & Panels */
.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin: .35rem;
}
.list-group-item {
  font-size: .8rem;
  position: relative;
  display: block;
  padding: .5rem 1rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .125);
}
.list-group-item + .list-group-item { border-top-width: 0; }
.list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: .25rem; border-bottom-left-radius: .25rem; }
.list-group-item-action { width: 100%; color: #495057; text-align: inherit; }
.list-group-item-light { color: #818182; background-color: #fdfdfe; }
.list-group-item-dark { color: #1b1e21; background-color: #c6c8ca; }
.panel-footer {
  z-index: 3;
  padding: 10px 15px;
  background-color: transparent;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.list-group + .panel-footer { border-top-width: 0; }

/* Contacto & Redes */
.icon-contacto {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}
.contacto-redes { line-height: 2.5; }
.foto-contacto { margin: auto; padding: 0 .5rem; }
.foto-contacto img {
  border-radius: 50%;
  width: 200px !important;
  height: 200px !important;
  object-position: top;
}
.sharethis a { color: #ada8a8; margin: .1rem; }
.sharethis-inline-share-buttons { padding: 0 0 .5rem .5rem; }
.fbpage { background-color: transparent; margin: 0 auto; text-align: center; }
#comentariosfb { background-color: #a9a9a9; }
.wa_btn { width: 32px !important; height: 32px !important; padding-left: .5rem; }
.redes-sociales { display: flex !important; margin: 1rem 0 .5rem 0; padding-left: .5rem; }

/* Carousel Cards */
.carouser_card {
  display: block;
  margin: .5rem auto;
  background-color: #fafafa;
  border-radius: 10px;
  width: 293px;
  height: 99px;
}
.carouser_card:hover { box-shadow: 0 0 20px 10px #dedbdb; }
.carousel_img { height: 293px; width: 99px; }

/* =========================================
   8. OTROS Y UTILIDADES
   ========================================= */
.ribbon {
  position: absolute;
  background-color: #000;
  padding: .1rem;
  margin: .1rem 0 0 .1rem;
  font-size: .56rem;
  font-weight: 700;
  text-transform: uppercase;
}
.cardimg { cursor: pointer; }
.container-utilcarousel { width: 100%; max-width: 1440px; margin: 0 auto; background: #444; }
#addthis { padding-left: .5rem; }
#copete { font-size: 1.1rem; padding: 0 15px 15px; color: #333; }
#titulosotrasentrevistas .box { padding: .5rem; }
#otrasentrevistas .list-group { margin: .12rem; }
#otrasentrevistas .list-group-item { padding: .5rem .25rem; }
#detallegaleria, #galeriasubcategoria { font-size: 0; }
#descripcion .box { padding-top: 1rem; }
#descripcion img { max-width: 96%; }
#descripcion p a {
  color: #fff;
  text-decoration: none;
  background-color: #444;
  padding: 0 0.1rem;
  border: solid 0.1px #2b2626;
  border-radius: 5px;
}
.span-cerrar { font-weight: 700; font-size: .6rem; }
.galerias-pedidos .container { display: inherit; color: #fefefe; }

/* Imágenes y Video */
figure img { margin-bottom: 0 !important; }
figcaption { padding: .25rem; background-color: #f0f8ff; font-size: .7rem; }
video { max-width: 100%; height: auto; }
.video-container { display: flex; justify-content: center; align-items: center; height: auto; }
#imagenGrande {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  box-shadow: 1px 8px 19px 1px rgba(168, 168, 168, 0.29);
}
#background { max-width: 100%; }

/* Clases Helper / Utilidades */
.d-none { display: none !important; }
.d-block { display: block !important; }
.float-right { float: right !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-2, .my-2 { margin-bottom: .5rem !important; }
.img-fluid { max-width: 100%; height: auto !important; }
.border { border: 1px solid #dee2e6 !important; }
.rounded { border-radius: .25rem !important; }
.border-white { border-color: #fff !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Animaciones y Shapes */
.trg .a1 { transform: rotate(45deg) translate(16px, 4px); position: absolute; left: -9px; transition: .1s; }
.trg .a2 { position: absolute; left: 15px; top: 8px; opacity: 0; transform: translateX(-10px); transition: 50ms; }
.trg .a3 { position: absolute; top: 20px; left: 1px; transform: rotate(-45deg) translate(3px, -6px); transition: .1s; }
.triangle { display: flex; flex-direction: column; padding: 0; margin: 0; justify-content: space-between; width: 30px; height: 21px; position: absolute; top: 10px; left: 15px; }
.trait { height: 3px; width: 100%; background-color: #2f4f4f; border-radius: 10px; color: #2f4f4f; }

@keyframes navLinkFade {
  from { opacity: 0; transform: translate(50px); }
  to { opacity: 1; transform: translate(0); }
}

/* =========================================
   9. MEDIA QUERIES
   ========================================= */

/* Pantallas Grandes (Large Desktop) */
@media screen and (min-width: 1412px) {
  .galerias .galeria {
    grid-template-columns: repeat(auto-fill, minmax(calc(6% + 6.25rem), 1fr));
  }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
}

/* Desktop Medio / Tablet Horizontal */
@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
}

@media screen and (max-width: 992px) {
  .toggle-button { display: flex; }
  .navbar-links {
    display: none;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms, visibility 150ms;
  }
  nav { flex-direction: column; align-items: flex-start; }
  nav .navbar-links ul { flex-direction: column; margin-right: 0; width: 100%; }
  .navbar-links ul li { text-align: center; opacity: 0; border-bottom: #555 1px solid; }
  .navbar-links ul li:first-child { border-top: #555 1px solid; }
  .navbar-links ul li:last-child { border-bottom: none; }
  .navbar-links a { padding: 1.2rem 1rem; }
  .active { display: flex; opacity: 1; visibility: visible; }
  
  main .box { max-height: 360px; font-size: 1.2rem; }
  .acercade main .box { max-height: 100%; }
  .acercade main .text {
    column-count: 1;
    column-span: all;
    column-gap: 30px;
    text-align: left;
    font-size: 1.22rem;
    line-height: 1.18;
  }
  main .box img { object-fit: cover; object-position: top; width: 100%; height: 100%; }
  .contacto-redes { font-size: .8em; }
}

@media only screen and (min-width: 812px) and (max-width: 1080px) {
  .galerias .galeria {
    grid-template-columns: repeat(auto-fill, minmax(calc(8% + 6rem), 1fr));
  }
}

@media only screen and (min-width: 769px) and (max-width: 912px) {
  main .box h1 { line-height: 1; font-size: 1.3em; }
  main .box p { line-height: 1.1; padding-top: .2em; }
}

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
}

/* Tablets / Mobile Portrait */
@media screen and (max-width: 768px) {
  main { grid-template-columns: 1fr; gap: 0; }
  .galeria { grid-template-columns: repeat(auto-fill, minmax(40%, 1fr)); }
  .icon-contacto { grid-template-columns: 1fr !important; }
  .contacto-redes > div { padding-left: 1.5rem; }
  
  .foto-contacto { margin: 0; padding-left: 2rem; }
  .foto-contacto img {
    border-radius: 0;
    width: 300px !important;
    max-width: 360px;
    height: 320px !important;
    box-shadow: 0 20px 15px -20px #111;
    border: 1px solid #efefef;
  }
  .foto-contacto img::before {
    content: "";
    position: absolute;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, .6);
  }
}

@media screen and (max-width: 698px) {
  .pub-inferior { grid-gap: 0.25rem; }
}

@media screen and (max-width: 654px) {
  .pub-inferior { grid-template-columns: repeat(2, auto); grid-gap: 1rem; }
}

/* Mobile Devices (Small) */
@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
}

@media screen and (max-width: 576px) {
  :root { --m-scale: 1.2; }
  
  main .box p { font-size: .82em; }
  
  .galeria { padding: 0 .25rem; grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); }
  .galeria .box { border-radius: 0; }
  .galeria .box p { font-size: calc(var(--m-scale) * .9em); font-weight: 700; }
  .galerias .galeria .box .cardimg { height: 115px !important; }
  
  h4.nombre-entrevista {
    padding: .25rem;
    font-size: calc(var(--m-scale) * .42em);
    color: #efefef;
  }
  p.fecha-entrevista { font-size: calc(var(--m-scale) * .38em); }
}

@media screen and (max-width: 480px) {
  .galerias .galeria .box .cardimg { height: 100px !important; }
}

@media screen and (max-width: 380px) {
  .galerias .galeria .box .cardimg { height: 84px !important; }
}

/* Escalado Base Responsivo */
@media screen and (min-width: 36em) {
  :root { --m-scale: 1.2; }
  html { font-size: calc(100% + .25vw + .25vh); }
}