body {
  background-color: #fff;
  color: #333;
  font-family: 'Courier New', Courier, monospace;
}

/* --- MATERIALIZE REPLACEMENT STYLES --- */
/* Simple Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.col {
  padding: 0 0.75rem;
  box-sizing: border-box;
}

/* Mobile: s12 = 100% width */
.col.s12 {
  width: 100%;
}

/* Tablet/Desktop: m6 = 50% width */
@media (min-width: 601px) {
  .col.m6 {
    width: 50%;
  }
}

/* Helper Classes */
.responsive-img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* -------------------------------------- */

/* Section Spacing */
section {
  padding: 4rem 0;
  border-bottom: 1px solid #eee;
}

section:last-child {
  border-bottom: none;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Artwork Info Section (Pasteles) */
.info {
  text-align: center;
  margin-bottom: 2rem;
}

.info img {
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.info h1 {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: black;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}

.info span {
  font-size: 1rem;
  display: block;
  margin-top: 0.5rem;
  color: gray;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-item {
  width: 100%;
}

.video-item video {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Digital/Ilustraciones Grid */
.digital-grid,
.ilustraciones-grid {
  columns: 3 300px;
  column-gap: 20px;
}

.digital-item,
.ilustracion-item {
  break-inside: avoid;
  margin-bottom: 20px;
}

.digital-item img,
.ilustracion-item img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* Button Consultar */
.btn-consultar {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  border: 1px solid #333;
  background-color: transparent;
  color: #333;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-consultar:hover {
  background-color: #333;
  color: #fff;
  text-decoration: none;
}

/* Footer default hack to override Materialize if needed */
footer {
  text-align: center !important;
  padding: 20px 0 !important;
  position: relative !important;
  width: 100% !important;
  background-color: transparent !important;
}

footer p {
  margin: 0 !important;
  padding: 10px 0 !important;
  font-size: 1rem !important;
  color: #9b8d8d !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .digital-grid,
  .ilustraciones-grid {
    columns: 1;
    column-gap: 0;
  }
}