div.overlay-hero {
    background: #000000;
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 100%);
}
div.article-title {
    display: flex;
    height: 100%;
    align-items: center;
    background: #000000;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.31) 30%, rgba(0, 0, 0, 0) 100%);    
}
div.overlay-left {
    position: absolute;
    height: 100%;
    width: 35%;
    left: 0;
    padding: 20px;
    align-content: center;
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}
div.picture-overlay {
    position: absolute;
    height: 100%;
    width: 10%;
    padding: 20px;
    align-content: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}
.h-70 {
    height: 70vh;
}
.w-70 {
    width: 70%;
}
.maxw-50p {
    max-width: 50%;
    padding: 1em;
}
.fs-1-7em {
    font-size: 1.7em;
}
.video-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
.carousel {
  height: 800px !important;
  position: relative;
}
div.carousel-inner {
  max-height: 900px;
  overflow: hidden;
}
div.carousel-inner img {
  width: 100%;
  margin: 0 auto;
}
.small_card_thumbnail {
	height: 240px !important;
	overflow: hidden !important;
}
.round-thumbnail {
	height: 200px;
	width: 200px;
	z-index: 10;
}
.no-border {
	border: 0px;
	box-shadow: 0px 0px 0px #FFF !important;
}
.box {
	padding: 20px 10px;
	border: 1px solid #000;
}
.bio-description {
	max-height: 200px;
	overflow-y: scroll;
	margin-bottom: 20px;
}
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.graph-container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  box-sizing: border-box;
}

.graph-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-icon {
  font-size: 12px;
  color: #888;
  cursor: pointer;
}

/* --- Contenedor del Grafo Radial --- */
.radial-graph {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantiene proporciones cuadradas */
  margin: 0 auto;
}

/* --- Nodo Central (Perfil) --- */
.center-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.profile-name {
  font-weight: 700;
  font-size: 18px;
  margin-top: 10px;
  line-height: 1.2;
}
/* --- SVG de Líneas Conectoras --- */
.graph-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Evita que interfiera con los clics */
  z-index: 0;
}

.graph-lines line {
  stroke: #cccccc;
  stroke-width: .5px;
  stroke-dasharray: 1 1; /* Define el estilo punteado de la imagen */
  z-index: 2;
}
/* --- Nodos Periféricos Comunidades --- */
.node {
  position: absolute;
  width: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.node .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color);
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-bottom: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.node .label {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.node .count {
  font-size: 13px;
  font-weight: 800;
  color: #222;
  margin-top: 2px;
}
/* --- Efecto Animación Hover --- */
.node:hover {
  /* Mantiene el centrado absoluto original e incrementa la escala un 12% */
  transform: translate(-50%, -50%) scale(1.12);
}

.node:hover .icon {
  background-color: var(--color); /* El fondo del círculo adopta su propio color */
  color: white; /* Si usas texto/iconos normales se vuelven blancos */
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* --- Posicionamiento Trigonométrico Radial --- 
   Calculado usando porcentajes desde el centro (50%, 50%) 
   con un radio aproximado del 40% del contenedor. 
-------------------------------------------------- */

/* Nodo 1: Arriba al centro (0°) */
.node-1 { top: 10%; left: 50%; }

/* Nodo 2: Arriba a la derecha (72°) */
.node-2 { top: 35%; left: 88%; }

/* Nodo 3: Abajo a la derecha (144°) */
.node-3 { top: 78%; left: 74%; }

/* Nodo 4: Abajo a la izquierda (216°) */
.node-4 { top: 78%; left: 26%; }

/* Nodo 5: Arriba a la izquierda (288°) */
.node-5 { top: 35%; left: 12%; }

@media only screen and (max-width: 600px) {
    .overlay-left {
        bottom: 0;
        width: 100% !important;
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 100%) !important;
        height: 50% !important;
    }
    .center-mobile {
        display: flex;
        justify-content: center;
    }
    .w-70 {
        width: 100%;
    }
	.round-thumbnail {
		height: 100px;
		width: 100px;		
	}
	.graph-lines {
	   display: none; /* Oculta las líneas en móvil para limpiar el diseño */
	 }
	.radial-graph {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: auto;
    aspect-ratio: auto;
  }
  
  .center-node {
    grid-column: span 2;
    position: static;
    transform: none;
    margin-bottom: 30px;
  }
  
  .node {
    position: static;
    transform: none;
    width: auto;
    background: #f9f9f9;
    padding: 15px 10px;
    border-radius: 8px;
    border-top: 3px solid var(--color);
  }
  .node:hover {
    transform: translateY(-5px); /* Cambio de animación más sutil en formato cuadrícula */
  }
}

/* =====================================
   VAGABUNDEANDO HERO SOBRE FOTOGRAFÍA
   ===================================== */

/** BEGIN: BOTONES DE ACCIÓN EN MÓBILES **/
/* ====================================
   RESTAURANT QUICK ACTIONS
   Vagabundeando
   ==================================== */

.restaurant-quick-actions {
    padding: 16px 0;
    background: #fff;
}
.restaurant-actions-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.restaurant-actions-grid .restaurant-action {
    min-width: 0;
    width: 100%;
}
.restaurant-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 9px;
    width: 100%;
    min-height: 86px;
    padding: 12px 5px;

    background: #fff;
    color: #142747;
    border: 1px solid #e2e5e9;
    border-radius: 12px;

    text-decoration: none;
    text-align: center;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.restaurant-action i {
    font-size: 21px;
    line-height: 1;
}

.restaurant-action span {
    display: block;
}

.restaurant-action:hover {
    background: #f5f7f9;
    border-color: #bfc8d2;
    color: #142747;
    transform: translateY(-2px);
}

/* Acción principal */

.restaurant-action--primary {
    background: #18764e;
    border-color: #18764e;
    color: #fff;
}

.restaurant-action--primary:hover {
    background: #125c3c;
    border-color: #125c3c;
    color: #fff;
}

/* Accesibilidad */

.restaurant-action:focus-visible {
    outline: 3px solid #2b78cf;
    outline-offset: 3px;
}

/* Pantallas pequeñas */

@media (max-width: 359.98px) {
    .restaurant-action {
        font-size: 11px;
        min-height: 80px;
    }

    .restaurant-action i {
        font-size: 19px;
    }
}

/* Reducir animación cuando se solicite */

@media (prefers-reduced-motion: reduce) {
    .restaurant-action {
        transition: none;
    }
}
/** END: BOTONES DE ACCIÓN EN MÓBILES **/
/* Botones */

.restaurant-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.restaurant-hero__actions .btn {
    min-height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Controles del carrusel */

.restaurant-hero .carousel-control-prev,
.restaurant-hero .carousel-control-next {
    z-index: 3;
    width: 8%;
}
.restaurant-navigation {
    background: #172a49;
}

.restaurant-navigation__scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 4px;
}

.restaurant-navigation__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.restaurant-navigation__link:hover,
.restaurant-navigation__link:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.12);
}

.restaurant-navigation__link.active {
    color: #fff;
    font-weight: 600;
    border-bottom-color: #e8c56b;
}

/* =====================================
   TABLET
   ===================================== */

@media (max-width: 991.98px) {

    .restaurant-hero__carousel {
        height: 510px;
    }

    .restaurant-hero__panel {
        max-width: 100%;
        padding: 28px 0;
    }

    .restaurant-hero__title {
        font-size: 1.85rem;
    }

    .restaurant-hero__description {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    .restaurant-navigation__scroll {
        margin-right: -12px;
    }
}

/* =====================================
   MÓVIL
   ===================================== */

@media (max-width: 575.98px) {

    .restaurant-hero__carousel {
        height: 540px;
    }

    .restaurant-hero__panel {
        padding: 22px 0;
    }

    .restaurant-hero__title {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
        line-height: 1.18;
        margin-bottom: 10px;
    }

    .restaurant-hero__category {
        font-size: .8rem;
    }

    .restaurant-hero__location {
        font-size: .85rem;
        margin-bottom: 10px;
    }

    .restaurant-hero__description {
        font-size: .875rem;
        line-height: 1.45;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .restaurant-hero__actions {
        margin-top: 14px;
        gap: 8px;
    }

    .restaurant-hero__actions .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 8px;
        font-size: .85rem;
    }

    .restaurant-hero::after {
        background: linear-gradient(
            to top,
            rgba(0,0,0,.98) 0%,
            rgba(0,0,0,.92) 35%,
            rgba(0,0,0,.48) 75%,
            rgba(0,0,0,.12) 100%
        );
    }

    .restaurant-hero .carousel-control-prev,
    .restaurant-hero .carousel-control-next {
        width: 10%;
    }
    .restaurant-navigation__link {
        min-height: 48px;
        padding: 12px 14px;
        font-size: .9rem;
    }
    .restaurant-navigation__scroll {
        margin-right: -12px;
    }
}
