/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.clear-filter {
  padding: 10px;
  color: #fff;
  background: #f7c94b; /* Gold from design */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  margin-left: 10px;
}

.golf-courses-search-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  margin: 20px auto;
  width: 100%;
  padding: 24px;
  background-color: #cf9d42;
}
.golf-courses-search-bar input,
.golf-courses-search-bar select {
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #e8e8e9;
  flex: 1;
}
.golf-courses-search-bar select {
  flex: 0.3;
  padding: 3px 12px;
}
.golf-courses-search-bar button {
  background-color: #fff;
  max-height: fit-content;
  color: #555;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  text-transform: none;
}

.golf-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.golf-courses-card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* Ensure the link covers the card */
}
.golf-courses-card-link:hover .golf-courses-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle hover effect */
  transition: box-shadow 0.3s;
}

.golf-courses-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 16, 25, 0.1),
    0 1px 2px -1px rgba(10, 16, 25, 0.1);
}
.golf-courses-card img {
  width: 100%;
  height: 240px !important;
  object-fit: cover !important;
  border-radius: 12px 12px 0 0;
}
.golf-courses-card-body {
  padding: 16px;
}
.golf-courses-card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}
.golf-courses-card-address {
  font-size: 14px;
  color: #555;
  margin-bottom: 0 !important;
}

.golf-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px auto;
}
.golf-pagination a,
.golf-pagination span {
  border: 1px solid #D1D0D2;
  border-radius: 4px;
  text-decoration: none;
  color: #CF9D42;
  height: 32px;
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.golf-pagination a:hover {
    background: #f0f0f0;
}

.golf-pagination .current {
    color: #D1D0D2;
    border-color: #D1D0D2;
}


/* Golf Club Details Page */
.golf-club-details {
  margin: 20px auto;
  padding: 20px;
}
/* Hero Section */

.club-details-hero-section {
  display: flex;
  gap: 16px;
}

.club-hero-title {
  font-size: 2rem;
  margin-bottom: 0;
}

.club-hero-address {
  font-size: 14px;
  color: #505e71;
  margin-bottom: 1rem;
}

/* Club Gallery */

.club-gallery {
  max-width: 40%;
}

.featured-image {
  margin-bottom: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-gallery-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.thumbnail-item {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbnail-item:hover {
  transform: scale(1.03);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}


.club-info {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  margin: 20px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10, 16, 25, 0.1),
    0 1px 2px -1px rgba(10, 16, 25, 0.1);
}
.info-item {
  flex: 1;
}

.info-item i {
  font-size: 24px;
  color: #dab777;
  margin-bottom: 8px;
}

.club-info-heading {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.club-info-heading + p {
  margin-bottom: 0;
}

.info-item p,
.club-info-text {
  font-size: 14px;
  color: #505e71;
}

.info-item ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  color: #505e71;
}

.tabs {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}
.tab-link {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.2;
}
.tab-link.current {
  color: #020617;
  border-bottom: 2px solid #020617;
}
.tab-content {
  padding: 24px;
  display: none;
}
.tab-content.current {
  display: block;
}

.tab-golf-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tab-golf-course-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(10, 16, 25, 0.1);
}

.tab-golf-course-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 500;
}

.tab-golf-course-card .difficulty {
  margin: 0 0 20px;
  font-weight: 500;
  color: #444;
}

.tab-golf-course-card .star {
  color: #cf9d42;
  font-size: 1rem;
}

.tab-golf-course-card .star.inactive {
  color: #ccc;
}

.tab-golf-course-card h4 {
  margin: 16px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.tab-golf-course-card .tab-description p {
  margin: 0;
  line-height: 1.5;
  color: #505e71;
  font-size: 14px;
}

.scorecard-course {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.scorecard-course:not(:last-child) {
  margin-bottom: 24px;
}

.scorecard-course-info {
  flex: 1;
  margin-right: 20px;
}

.scorecard-course-title {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.scorecard-course-info {
  margin-bottom: 0;
}

.scorecard-table {
  width: 40%;
  border: none;
  text-align: left;
}

.scorecard-table th {
  background-color: #f8f8fa;
  color: #69686d;
}

.scorecard-table th:first-child {
  border-top-left-radius: 16px;
}

.scorecard-table th:last-child {
  border-top-right-radius: 16px;
}

.scorecard-table td {
  color: #1c293e;
}

.scorecard-table th,
.scorecard-table td {
  border-left: none;
  border-right: none;
  padding: 12px 16px;
}

.partner-hotels {
  display: flex;
  gap: 20px;
}
.hotel-card {
  text-align: center;
}
.hotel-card img {
  width: 100%;
  height: auto;
}

/* Home - Map Integration */

/* container two columns */
.golf-map-directory {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.golf-left {
  width: 38%;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(13, 24, 40, 0.08);
}
.golf-right {
  width: 62%;
}

/* controls */
.golf-controls {
  margin-bottom: 12px;
}
#golf-region-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6e9ee;
  background: #fafafa;
}

/* list grid (two columns) */
.golf-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-height: 72vh;
  overflow: auto;
  padding-right: 6px;
}

/* card */
.golf-card {
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.12s;
}
.golf-card.active {
  box-shadow: 0 8px 24px rgba(10, 16, 25, 0.08);
  transform: translateY(-4px);
  border-radius: 10px;
}
.golf-card .card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 92px;
  background: #f2f3f5;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}
.badge-gold {
  background: #b3892c;
}
.badge-dark {
  background: #132033;
}

.card-body {
  padding: 10px 6px 0 0;
}
.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}
.card-address {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 980px) {
  .golf-map-directory {
    flex-direction: column;
  }
  .golf-left,
  .golf-right {
    width: 100%;
  }
  .golf-list-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
