/*
Theme Name: Blocksy Child
Template: blocksy
Version: 1.0.0
Description: Valley Elk Farms child theme
*/

/* ============================================
   Elk Profile Page Styles
      ============================================ */
      
      /* Main page container */
      .elk-profile-page {
          background-color: #576F52;
              min-height: 100vh;
                  padding: 40px;
                  }
                  
                  /* Two-column container */
                  .elk-profile-container {
                      display: flex;
                          flex-wrap: wrap;
                              gap: 40px;
                                  max-width: 1400px;
                                      margin: 0 auto;
                                          align-items: flex-start;
                                          }
                                          
                                          /* Photo section - left column */
                                          .elk-photo-section {
                                              flex: 0 0 45%;
                                                  max-width: 45%;
                                                  }
                                                  
                                                  .elk-photo-wrapper {
    border: 3px dashed #F5F1E6;
    padding: 10px;
    background: transparent;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
                                                              
                                                              .elk-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
                                                                          
                                                                          .elk-photo.is-fallback {
                                                                              max-width: 400px;
                                                                                  margin: 40px auto;
                                                                                      padding: 40px;
                                                                                      }
                                                                                      
                                                                                      /* Scoresheet button */
                                                                                      .elk-scoresheet-btn {
                                                                                          display: block;
                                                                                              background-color: #F5F1E6;
                                                                                                  color: #576F52;
                                                                                                      text-align: center;
                                                                                                          padding: 15px 30px;
                                                                                                              margin-top: 20px;
                                                                                                                  border-radius: 50px;
                                                                                                                      text-decoration: none;
                                                                                                                          font-family: 'Clarendon', 'Rockwell', serif;
                                                                                                                              font-size: 1.1rem;
                                                                                                                                  font-weight: bold;
                                                                                                                                      text-transform: uppercase;
                                                                                                                                          letter-spacing: 2px;
                                                                                                                                              transition: background-color 0.3s;
                                                                                                                                              }
                                                                                                                                              
                                                                                                                                              .elk-scoresheet-btn:hover {
                                                                                                                                                  background-color: #e6e1d6;
                                                                                                                                                      color: #576F52;
                                                                                                                                                      }
                                                                                                                                                      
                                                                                                                                                      /* Info section - right column */
                                                                                                                                                      .elk-info-section {
                                                                                                                                                          flex: 0 0 50%;
                                                                                                                                                              max-width: 50%;
                                                                                                                                                              }
                                                                                                                                                              
                                                                                                                                                              .elk-info-card {
                                                                                                                                                                  border: 3px solid #F5F1E6;
                                                                                                                                                                      padding: 30px;
                                                                                                                                                                          color: #F5F1E6;
                                                                                                                                                                          }
                                                                                                                                                                          
                                                                                                                                                                          /* Elk name */
                                                                                                                                                                          .elk-name {
                                                                                                                                                                              font-family: 'Clarendon', 'Rockwell', serif;
                                                                                                                                                                                  font-size: 3rem;
                                                                                                                                                                                      color: #F5F1E6;
                                                                                                                                                                                          margin: 0 0 10px 0;
                                                                                                                                                                                              text-transform: uppercase;
                                                                                                                                                                                                  letter-spacing: 2px;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  
                                                                                                                                                                                                  /* Age and score */
                                                                                                                                                                                                  .elk-age,
                                                                                                                                                                                                  .elk-score {
                                                                                                                                                                                                      font-family: 'Clarendon', 'Rockwell', serif;
                                                                                                                                                                                                          font-size: 1.5rem;
                                                                                                                                                                                                              color: #F5F1E6;
                                                                                                                                                                                                                  margin: 5px 0;
                                                                                                                                                                                                                      text-transform: uppercase;
                                                                                                                                                                                                                          letter-spacing: 1px;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          
                                                                                                                                                                                                                          /* Tables */
                                                                                                                                                                                                                          .elk-parents-table,
                                                                                                                                                                                                                          .elk-descendants-table {
                                                                                                                                                                                                                              width: 100%;
                                                                                                                                                                                                                                  border-collapse: collapse;
                                                                                                                                                                                                                                      margin-top: 20px;
                                                                                                                                                                                                                                          border: 2px solid #F5F1E6;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          .elk-parents-table th,
                                                                                                                                                                                                                                          .elk-parents-table td,
                                                                                                                                                                                                                                          .elk-descendants-table th,
                                                                                                                                                                                                                                          .elk-descendants-table td {
                                                                                                                                                                                                                                              border: 2px solid #F5F1E6;
                                                                                                                                                                                                                                                  padding: 12px 15px;
                                                                                                                                                                                                                                                      text-align: center;
                                                                                                                                                                                                                                                          color: #F5F1E6;
                                                                                                                                                                                                                                                              font-family: 'Clarendon', 'Rockwell', serif;
                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              .elk-parents-table th,
                                                                                                                                                                                                                                                              .elk-descendants-table th {
                                                                                                                                                                                                                                                                  font-size: 1.2rem;
                                                                                                                                                                                                                                                                      font-weight: bold;
                                                                                                                                                                                                                                                                          text-transform: uppercase;
                                                                                                                                                                                                                                                                              letter-spacing: 2px;
                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              .elk-parents-table td,
                                                                                                                                                                                                                                                                              .elk-descendants-table td {
                                                                                                                                                                                                                                                                                  font-size: 1.1rem;
                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  .elk-parents-table a,
                                                                                                                                                                                                                                                                                  .elk-descendants-table a {
                                                                                                                                                                                                                                                                                      color: #F5F1E6;
                                                                                                                                                                                                                                                                                          text-decoration: none;
                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                          .elk-parents-table a:hover,
                                                                                                                                                                                                                                                                                          .elk-descendants-table a:hover {
                                                                                                                                                                                                                                                                                              text-decoration: underline;
                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                              /* Descendants label */
                                                                                                                                                                                                                                                                                              .elk-descendants-label {
                                                                                                                                                                                                                                                                                                  font-family: 'Clarendon', 'Rockwell', serif;
                                                                                                                                                                                                                                                                                                      font-size: 1.3rem;
                                                                                                                                                                                                                                                                                                          font-style: italic;
                                                                                                                                                                                                                                                                                                              color: #F5F1E6;
                                                                                                                                                                                                                                                                                                                  text-align: center;
                                                                                                                                                                                                                                                                                                                      margin: 30px 0 10px 0;
                                                                                                                                                                                                                                                                                                                          text-transform: uppercase;
                                                                                                                                                                                                                                                                                                                              letter-spacing: 3px;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              /* Responsive */
                                                                                                                                                                                                                                                                                                                              @media (max-width: 992px) {
                                                                                                                                                                                                                                                                                                                                  .elk-photo-section,
                                                                                                                                                                                                                                                                                                                                      .elk-info-section {
                                                                                                                                                                                                                                                                                                                                              flex: 0 0 100%;
                                                                                                                                                                                                                                                                                                                                                      max-width: 100%;
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                  .elk-profile-page {
                                                                                                                                                                                                                                                                                                                                                                          padding: 20px;
                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                      .elk-name {
                                                                                                                                                                                                                                                                                                                                                                                              font-size: 2rem;
                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                  }

/* ==============================================
   Elk Directory Styles - Matching Mockup Design
   ============================================== */

/* Directory wrapper */
.elk-directory-wrap {
  background-color: #576F52;
  min-height: 100vh;
  padding: 20px 40px 60px;
}

/* Search/Filter section */
.elk-filters {
  margin-bottom: 30px;
}

.elk-filters input[type="search"] {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  background-color: #F5F1E6;
  border: none;
  border-radius: 8px;
  color: #576F52;
  outline: none;
}

.elk-filters input[type="search"]::placeholder {
  color: #576F52;
  opacity: 0.7;
}

/* Elk Grid - 3 columns */
.elk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .elk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .elk-grid {
    grid-template-columns: 1fr;
  }
}

/* Elk Card */
.elk-card {
  display: block;
  background-color: rgba(87, 111, 82, 0.5);
  border-radius: 8px;
  padding: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.elk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Elk Photo with dashed border */
.elk-card .elk-photo {
  border: 3px dashed #F5F1E6;
  padding: 8px;
  background: transparent;
  margin-bottom: 15px;
}

.elk-card .elk-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Elk Meta Info */
.elk-card .elk-meta {
  padding: 0;
}

.elk-card .elk-id {
  font-family: 'Clarendon', 'Rockwell', Georgia, serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #F5F1E6;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.elk-card .elk-age {
  font-family: 'Clarendon', 'Rockwell', Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #F5F1E6;
  text-transform: uppercase;
  line-height: 1.2;
}

.elk-card .elk-measure {
  font-family: 'Clarendon', 'Rockwell', Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #F5F1E6;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Hide page title if needed */
.page-id-16 .entry-title,
.page-id-16 h1.page-title {
  display: none;
}

/* Full width content */
.page-id-16 .site-main,
.page-id-16 .ct-container {
  max-width: 100%;
  padding: 0;
}

/* Updated Elk ID font size (8px smaller - from 2.5rem to ~2rem) */
.elk-card .elk-id {
  font-size: 2rem;
  }
  
  /* Darker hover background for elk cards */
  .elk-card:hover {
    background-color: rgba(60, 80, 55, 0.8);
    }

/* ==========================================
   Elk Photo Carousel (Swiper) Styles
   ========================================== */

.elk-carousel {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.elk-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.elk-carousel .swiper-slide img.elk-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.elk-carousel .swiper-button-prev,
.elk-carousel .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.elk-carousel .swiper-button-prev:hover,
.elk-carousel .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.elk-carousel .swiper-button-prev::after,
.elk-carousel .swiper-button-next::after {
    font-size: 18px;
}

.elk-carousel .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.elk-carousel .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

@media (max-width: 768px) {
    .elk-carousel .swiper-button-prev,
    .elk-carousel .swiper-button-next {
        width: 32px;
        height: 32px;
    }
    .elk-carousel .swiper-button-prev::after,
    .elk-carousel .swiper-button-next::after {
        font-size: 14px;
    }
}