/* Estilos para la versión Bootstrap del sitio de Aurelio González */

/* Estilos generales */
body {
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 15px;
  color: #332f2c;
  background-color: #f6f1e8;
  line-height: 1.75;
  background:
    radial-gradient(circle at top left, rgba(172, 0, 0, 0.06), transparent 28%),
    linear-gradient(180deg, #f7f3ea 0%, #efe7d8 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#bottom-bg {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(95, 46, 34, 0.06), transparent 34%),
    radial-gradient(circle at bottom right, rgba(172, 0, 0, 0.09), transparent 22%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arvo', serif;
  font-weight: 400;
  line-height: 1.25;
  color: #211d1b;
}

h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 26px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

a {
  color: #3d3531;
  text-decoration: none;
}

a:hover {
  color: #9e1711;
  text-decoration: none;
}

.content-wrapper a {
  color: #9e1711;
}

.content-wrapper a:hover {
  color: #2f2a28;
  text-decoration: underline;
}

/* Header */
.site-header {
  padding: 30px 0 18px;
}

#logo {
  max-width: 188px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(68, 39, 27, 0.12));
}

/* Navegación superior */
.navbar {
  background-color: transparent !important;
  padding: 0;
  margin-bottom: 0;
}

.navbar-nav {
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.navbar-nav .nav-link {
  padding: 12px 20px;
  position: relative;
  font-weight: bold;
  font-size: 13px;
  width: auto;
  display: block;
}

.navbar-light .navbar-nav .nav-link {
  color: #403733;
}

.navbar-light .navbar-nav .active > .nav-link, 
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item.active .nav-link {
  color: #971b17;
}

.subheader {
  display: block;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 200;
  font-size: 11px;
  margin-top: 0px;
}

/* Mobile navbar toggler */
.navbar-toggler {
  border: none;
  padding: 8px 12px;
  background: transparent;
  font-size: 22px;
  color: #484848;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1060;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Dropdown */
.dropdown-menu {
  border-radius: 18px;
  background: rgba(250, 245, 238, 0.96);
  border: 1px solid rgba(105, 71, 57, 0.14);
  margin-top: 10px;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11px;
  min-width: 220px;
  box-shadow: 0 18px 40px rgba(52, 34, 25, 0.14);
  backdrop-filter: blur(10px);
}

.dropdown-item {
  padding: 8px 14px;
  color: #403733;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.dropdown-item:hover {
  background-color: rgba(151, 27, 23, 0.07);
  color: #971b17;
  text-decoration: none;
}

/* Posts */
.post-card {
  margin-bottom: 92px;
  border: none;
  background-color: transparent;
  border-radius: 0;
  position: relative;
}

.post-image-container {
  position: relative;
  line-height: 0em;
  text-align: center;
}

.bio-image {
  display: block;
  width: 100%;
  max-width: 560px;
  max-height: 52vh;
  margin: 0 auto 18px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(62, 34, 24, 0.15);
}

.feature-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-image img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.single .feature-image {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 30px;
  overflow: hidden;
  background: #efe7de;
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(59, 38, 29, 0.16);
  border: 1px solid rgba(89, 57, 42, 0.12);
}

.single .feature-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.section-viajes .single .feature-image {
  width: min(100%, 760px);
  height: 430px;
  box-sizing: border-box;
  padding: 22px;
  display: grid;
  place-items: center;
}

.section-viajes .single .feature-image img {
  width: auto;
  height: auto;
  max-width: calc(100% - 44px);
  max-height: 386px;
  object-fit: contain;
  border-radius: 18px;
}

.entry-top {
  height: 13px;
  width: 100%;
  background: linear-gradient(90deg, #971b17 0%, #bf6c45 52%, rgba(191, 108, 69, 0) 100%);
  margin-bottom: 16px;
  border-radius: 999px;
  opacity: 0.82;
}

.date-badge {
  position: absolute;
  top: 20px;
  left: 0px;
  background: #ffffff;
  width: 46px;
  height: 46px;
  text-align: center;
  z-index: 11;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.entry-day {
  font-size: 34px;
  font-weight: bold;
  display: block;
  line-height: 30px;
  text-align: center;
  width: 100%;
  padding-top: 3px;
}

.entry-year {
  font-size: 10px;
  text-align: center;
  display: block;
  width: 100%;
  line-height: 12px;
}

.entry-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(90, 57, 43, 0.18);
  padding-bottom: 14px;
  overflow: hidden;
  letter-spacing: 0.01em;
}


.entry-title a {
  display: block;
  float: left;
  line-height: 45px;
  color: #211d1b;
}

.entry-title a:hover {
  color: #971b17;
  text-decoration: none;
}

.entry-excerpt {
  font-size: 1.03rem;
  margin-bottom: 19.5px;
  line-height: 1.85;
  color: #3e3632;
}

.responsive-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  line-height: 0em;
}

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

.media-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.project-link {
  margin-top: 15px;
  margin-bottom: 20px;
  background: none;
  padding-left: 0;
}

.project-link a {
  color: #971b17;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.project-link a:hover {
  text-decoration: underline;
}

/* Link format */
.format-link {
  position: relative;
  margin-bottom: 60px;
}

.link-bg {
  background: #484848 url(../img/link.png) no-repeat 62px 29px;
  padding: 28px 22px 28px 96px;
  position: relative;
}

.format-link a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  font-size: 16px;
  line-height: 1.5em;
}

.format-link a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.format-link .entry-date {
  position: absolute;
  top: 0;
  left: 0;
  background: #ffffff;
  width: 46px;
  height: 46px;
  text-align: center;
  z-index: 2;
  padding: 0;
}

.format-link .entry-date .entry-day {
  color: #484848;
}

.format-link .entry-date .entry-year {
  color: #484848;
}

/* Sidebar */
.sidebar-title {
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 10px;
}

.sidebar-links {
  margin-bottom: 30px;
}

.sidebar-links a {
  display: block;
  margin-bottom: 0;
  padding: 7px 0;
  color: #484848;
}

.sidebar-links a:hover {
  color: #AC0000;
  text-decoration: underline;
}

/* Pager */
.pager {
  display: none;
}

/* Footer */
.footer-bottom {
  background-color: transparent;
  color: #7f726a;
  padding: 8px 0;
  margin-top: 24px;
  line-height: 1.2;
  font-size: 0.75rem;
  border-top: 1px solid rgba(98, 70, 59, 0.14);
}

.footer-bottom h6 {
  font-family: 'Arvo';
  display: inline-block;
  margin-bottom: 0;
}

.footer-bottom span {
  color: #7f726a;
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: #8e8e8e;
}

/* Responsive - Móvil */
@media (max-width: 991px) {
  .top-navbar {
    position: relative;
    border: none;
  }

  .navbar-toggler {
    position: relative;
    display: block;
    margin: 8px auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .navbar-collapse {
    background-color: rgba(0,0,0,0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    padding: 80px 20px;
    text-align: center;
    overflow-y: auto;
    display: none;
  }

  .navbar-collapse.show {
    display: block;
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  
  .navbar-light .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
  }
  
  .navbar-light .navbar-nav .active > .nav-link, 
  .navbar-light .navbar-nav .nav-link.active,
  .navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #ffccbf;
  }
  
  .dropdown-menu {
    background-color: transparent;
    border: none;
    text-align: center;
  }
  
  .dropdown-item {
    color: #ccc;
  }
  
  .dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
  }
  
  .post-card {
    margin-bottom: 40px;
  }
  
  .date-badge {
    position: relative;
    top: auto;
    left: auto;
    margin: 10px auto;
  }
  
  .entry-title {
    text-align: center;
    font-size: 2rem;
  }
  
  .entry-title a {
    float: none;
    display: block;
    line-height: 1.3;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* Escritorio */
@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-toggler {
    display: none !important;
  }
}

/* Estilo moderno para iconos sociales */
.social-modern {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  gap: 20px;
}

.social-modern li a {
  font-size: 28px;
  color: #4b403b;
  transition: color .3s ease, transform .3s ease;
}

.social-modern li a:hover {
  color: #971b17;
  transform: scale(1.15);
}
/* Estilos responsivos para obras */
.work {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 56px;
  padding: 24px 0 12px;
  border-bottom: 1px solid rgba(89, 57, 42, 0.12);
}

.description {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.one-third {
  flex: 1 1 55%;
  max-width: 55%;
  min-width: 250px;
}

.two-third {
  flex: 0 0 40%;
  max-width: 40%;
  min-width: 200px;
}

.two-third.last {
  margin-right: 0;
}

.two-third img {
  max-width: 100%;
  max-height: 450px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(60, 39, 30, 0.14);
}

.clearfix {
  clear: both;
  display: none;
}

/* Críticas grid */
.criticas-grid {
  padding-top: 10px;
}

.critica-card {
  border: 1px solid rgba(102, 72, 58, 0.14);
  border-radius: 20px;
  padding: 22px 22px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 251, 246, 0.84);
  box-shadow: 0 16px 36px rgba(60, 39, 30, 0.08);
}

.critica-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #251f1d;
}

.critica-card p {
  font-size: 0.93rem;
  line-height: 1.72;
  margin-bottom: 10px;
  flex: 1;
  color: #3d3531;
}

.critica-card .project-link {
  margin-top: auto;
  margin-bottom: 0;
}

/* Responsivo para tablets y móviles */
@media (max-width: 992px) {
  .one-third,
  .two-third {
    flex: 0 1 100%;
    max-width: 100%;
    min-width: 100%;
  }
  
  .work {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  
  .description {
    order: 1;
  }
  
  .two-third {
    order: 2;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.68;
  }

  .site-header {
    padding: 22px 0 14px;
  }

  #logo {
    max-width: 160px;
  }

  .work {
    gap: 15px;
    margin-bottom: 30px;
    padding-top: 12px;
  }
  
  .description {
    order: 1;
  }
  
  .two-third {
    order: 2;
  }

  .single .feature-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 22px;
    border-radius: 18px;
  }

  .section-viajes .single .feature-image {
    height: auto;
    min-height: 360px;
    aspect-ratio: auto;
    padding: 14px;
  }

  .section-viajes .single .feature-image img {
    max-width: calc(100% - 28px);
    max-height: none;
  }

  .section-viajes .single .feature-image img {
    max-height: 64vh;
  }

  .entry-title {
    font-size: 1.65rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .entry-excerpt {
    font-size: 0.98rem;
    line-height: 1.75;
  }
}
