/*
 This is for add-on stylings for the WIXG Activity Cards
*/


/* ==================================================
   AMAZON AFFILIATE CARDS
   ================================================== */

.amazon-card {
  max-width: 760px;
  margin: 2rem auto;
  padding: 1rem;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.amazon-card-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.amazon-card-image {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
}

.amazon-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.7rem;
  line-height: 1.05;
}

.amazon-card-title a {
  color: #111;
  text-decoration: none;
}

.amazon-card-description {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.amazon-card-button {
  display: inline-block;
  padding: 0.78rem 1.15rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.amazon-card-button:hover,
.amazon-card-button:focus {
  background: #333;
  color: #fff;
}

@media (max-width: 640px) {
  .amazon-card-inner {
    grid-template-columns: 1fr;
  }

  .amazon-card-image {
    max-width: 240px;
  }
}


/* ==================================================
   ACTIVITY CARDS
   Used for restaurants, lodging, trails, breweries,
   shopping, books, gear, museums, tours, and more.
   ================================================== */

/* removed */
/* .activity-section {
    max-width: 760px;
    margin: 2.5rem auto;
} */

/* Category heading, such as Restaurants or Lodging; removed */
/* .activity-section-title {
    margin: 0 0 1rem;
    font-family: "League Spartan", Arial, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.1;
}*/

/* Individual card */
.activity-card {
    max-width: 760px;
    margin: 0 auto 2rem;
    padding: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.activity-card-inner {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* Image area */
.activity-card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    max-width: 100%;
    height: 180px;
    overflow: hidden;
    text-decoration: none;
}

.activity-card-image {
    display: block;
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

/* Text area */
.activity-card-content {
    min-width: 0;
}

/* removed */
/* .activity-card-label {
    display: inline-block;
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
} */

/* H2: Where to Eat, Where to Stay, etc. */
.activity-card-heading {
    margin: 0 0 0.3rem;
    font-family: "League Spartan", Arial, sans-serif;
    /*font-size: clamp(1.45rem, 3vw, 1.8rem);*/
    font-size: 1.8rem;
    line-height: 1.1;
    color: #111;
}

/* H3: Specific business, trail, book, or product */
.activity-card-name {
    margin: 0 0 0.85rem;
    font-family: "League Spartan", Arial, sans-serif;
    /*font-size: clamp(1.15rem, 2.5vw, 1.4rem);*/
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.25;
    color: #333;
}

.activity-card-name a {
    color: inherit;
    text-decoration: none;
}

.activity-card-name a:hover,
.activity-card-name a:focus {
    text-decoration: underline;
}

.activity-card-description {
    margin: 0 0 1rem;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #222;
}

/* Optional details such as address, hours, or cuisine */
.activity-card-details {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #555;
}

.activity-card-details li {
    margin-bottom: 0.25rem;
}

.activity-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.activity-card-button {
    display: inline-block;
    padding: 0.75rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.activity-card-button:hover,
.activity-card-button:focus {
    background: #333;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.activity-card-secondary-link {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #333;
}

/* Optional short note, such as Affiliate link */
.activity-card-note {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
}

/* Multiple cards in the same section */
.activity-card-list {
    display: grid;
    gap: 1.5rem;
}

.activity-card-list .activity-card {
    margin-bottom: 0;
}

/* Mobile layout */
@media (max-width: 640px) {
    .activity-card {
        padding: 1rem;
    }

    .activity-card-inner {
        grid-template-columns: 1fr;
    }

    .activity-card-image-link {
        width: 100%;
        height: 180px;
    }

    .activity-card-image {
        max-width: 100%;
        max-height: 180px;
        margin: 0 auto;
    }
}


/* ==================================================
   HIDDEN HEADER
   Using Featured Image for H1
   Hiding the H1 text
   ================================================== */

/* turned off here - included in style.css

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.page-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.page-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

*/