/*
 Theme Name:   Divi Child
 Theme URI:    https://yourwebsite.com/
 Description:  Child theme for Divi
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     Divi
 Version:      1.0.0
*/

/* Import Divi styles */
@import url("../Divi/style.css");

/* All Footprints page styling */
.page-template-all-footprints {

  /* Main Viewer */
  .fp-main {
    margin-bottom: 24px;
  }

  .fp-heading {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #333;
  }

  .fp-title {
    margin: 0 0 16px;
    font-size: 1.5rem;
    line-height: 1.3;
  }

  iframe#fp-main-pdf {
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  /* Sidebar */
  .fp-sidebar-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 600;
  }

  .fp-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 8px 0 16px;
  }

  .fp-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .fp-item {
    margin: 0 0 8px;
  }

  .fp-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
  }

  .fp-link:hover {
    background: #f0f0f0;
  }

  .fp-item.active .fp-link {
    background: #e0e0e0;
    font-weight: bold;
  }

  /* Responsive */
  @media (max-width: 960px) {
    .fp-wrap {
      grid-template-columns: 1fr;
    }

    .fp-sidebar {
      order: 2;
    }

    .fp-main {
      order: 1;
    }

    iframe#fp-main-pdf {
      height: 600px;
    }
  }
   .footprints-container {
        display: flex;
        gap: 20px;
    }
    
    .footprints-sidebar {
      width: 250px;
      background: #f7f7f7;
      padding: 15px;
      border-radius: 10px;
    }
    
    .footprints-sidebar ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .footprints-sidebar li {
      margin-bottom: 10px;
      padding: 8px;
      border-radius: 6px;
      transition: background 0.3s ease;
    }
    
    .footprints-sidebar li:hover {
      background: #ddd;
    }
    
    .footprints-sidebar li.active {
      background: #0377B0;
      color: white;
    }
    
    .footprints-sidebar li.active a {
      color: white;
    }
    
    .footprints-content {
      flex: 1;
    }          

  @media (max-width: 600px) {
    iframe#fp-main-pdf {
      height: 400px;
    }
  }
}
