body {
  background-image: url(../bk.jpg);
  padding-top: 95px;
}

.textomasgrande {
  font-size: larger;
}

.bg-1,
.bg-2 {
  padding-top: 20px;
}

.bg-1 {
  background: #298a08;
}

.bg-2 {
  background: #688a08;
}

thead {
  font-size: 1.3em;
}

tbody {
  font-size: 1.1em;
}

.tbody-sorteos {
  font-size: 1.6em;
}

.proximos-sorteos {
  background: #900;
  font-size: 1.4em;
  color: #fff;
}

.proximo-gordito {
  background: #e6fe80;
  font-size: 1.4em;
}

.anuncios {
  width: 87%;
  margin: 0 auto;
  padding-bottom: 20px;
}

.bg-4 {
  background-color: #2f2f2f;
  color: #fff;
}

.footer-bal {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar {
  font-size: 1.2em;
  min-height: 80px;
  margin-top: 30px;
}

.navbar-left {
  padding: 0 15px;
  height: 80px;
  line-height: 80px;
}

.navbar-toggle {
  /* (80px - button height 34px) / 2 = 23px */
  margin-top: 23px;
  padding: 9px 10px !important;
}

/* .navbar-nav {
  margin-top: 18px;
} */

.navbar-nav li a:hover {
  color: #1abc9c !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

div.sortoro {
  font-weight: 700;
  font-size: 0.8em;
}

div.azul {
  color: #00f;
}

div.azuloscuro {
  color: navy;
}

div.ladrillo {
  color: #930;
}

div.verde {
  color: green;
}

img.margenimg {
  margin: 10px;
}

.centrado-flex {
  width: 100%;
  justify-content: center;
  height: 100%;
  display: flex !important ;
  align-items: center !important ;
  align-content: space-around !important ;
}

/* Delimeters */
.flipdown.flipdown__theme-dark
  .rotor-group:nth-child(n + 2):nth-child(-n + 3):before,
.flipdown.flipdown__theme-dark
  .rotor-group:nth-child(n + 2):nth-child(-n + 3):after {
  background-color: #227207 !important ;
}
/* Rotor tops */
.flipdown.flipdown__theme-dark .rotor,
.flipdown.flipdown__theme-dark .rotor-top,
.flipdown.flipdown__theme-dark .rotor-leaf-front {
  color: #ffffff;
  background-color: #298a08 !important ;
}
/* Rotor bottoms */
.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
  color: #efefef;
  background-color: #227207 !important ;
}
/* Hinge */
.flipdown.flipdown__theme-dark .rotor:after {
  border-top: solid 1px #298a08 !important ;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* img {
  /* display: block; */
/* width: 100%; */
/*} */

@media (min-width: 768px) {
  .navbar-nav > li > a {
    /* (80px - line-height of 27px) / 2 = 26.5px */
    padding-top: 26.5px;
    padding-bottom: 26.5px;
    line-height: 27px;
  }
}

/* Blog Section Styles */
.blog-section {
  padding: 40px 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(41, 138, 8, 0.1);
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  text-align: left;
  border: 1px solid #e0e0e0;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(41, 138, 8, 0.25);
  border-color: #298a08;
}

.blog-card-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 4px solid #298a08;
}

.blog-card-content {
  padding: 20px;
}

.blog-card-date {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.blog-card-title {
  font-size: 1.15em;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  height: 3.1em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-card-btn {
  display: inline-block;
  color: #298a08;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #298a08;
  padding: 6px 18px;
  border-radius: 20px;
  transition: all 0.2s ease;
  font-size: 0.9em;
}

.blog-card:hover .blog-card-btn {
  background: #298a08;
  color: #fff;
}

.section-title-blog {
  margin-bottom: 35px;
  color: #227207;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.8em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
