.site-branding__logo img {
    max-height: 300px;
    background: white;
    padding: 20px;
}
    


@media (max-width: 1024px) {  /* Applies to tablets and smaller screens */
    .site-branding__text {
        display: none;
    }
}


.qr-container {
    text-align: center;
}

.qr-container img {
    width: 200px;  /* Set a fixed width */
    height: 200px; /* Set a fixed height */
    object-fit: contain; /* Ensures the whole QR code is visible */
    border: 5px solid #ddd;
    border-radius: 10px;
    background-color: #fff; /* Ensures QR codes with transparency still look good */
}

/* Adjust size for smaller screens */
@media (max-width: 768px) {
    .qr-container img {
        width: 150px;
        height: 150px;
    }
}
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
            text-align: center;
        }
        .donation-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        h1 {
            color: #333;
            font-size: 24px;
        }
        p {
            color: #555;
            font-size: 16px;
            line-height: 1.5;
        }
        .qr-section {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }
        .qr-code {
            text-align: center;
            background: #f1f1f1;
            padding: 15px;
            border-radius: 8px;
            width: 100%;
            max-width: 350px;
        }
        .qr-code h2 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #444;
        }
        .qr-code img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;width: 300px;
        }
        .donation-link {
            margin-top: 20px;
        }
        .donation-link a:hover {
            color:white;
        }
        .donation-link a {
            display: inline-block;
            text-decoration: none;
            color: #fff;
            background: #007bff;
            padding: 10px 15px;
            border-radius: 5px;
            font-size: 16px;
            transition: background 0.3s;    box-shadow: none !important;

        }
        .page-title {
            display:none;
        }
        
/* happy kids */
/* Force square grid items 
.views-view-grid--horizontal .views-view-grid__item {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}*/

/* Make only the image area square */
.path-happy-kids .views-field-field-happy-kid-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}







/* === WRAPPER CLEANUP === */
.path-happy-kids .grid-full {
   display: block;
  max-width: 1200px; /* or whatever max width you want */
  margin: 0 auto;
  padding: 0 1rem;
}

/* === RESPONSIVE GRID === */
.path-happy-kids .views-view-grid--horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* === GRID ITEM === */
.path-happy-kids .views-view-grid__item {
  display: flex;
  height: 100%;
}

.path-happy-kids .views-view-grid__item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background: #fffdf2; /* warm cream */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

.path-happy-kids .views-view-grid__item-inner:hover {
  transform: scale(1.02);
}

/* === KID NAME === */
.path-happy-kids .kid-name {
  height: 3.6rem; /* Adjust based on your font size and line-height */
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f57c00; /* warm orange */
  overflow: hidden;
  word-break: break-word;
  padding-bottom: 0.5rem;
}

/* === IMAGE AREA === */
.path-happy-kids .views-field-field-happy-kid-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
    margin-top: 1.5rem; /* adjust as needed */

}
.path-happy-kids .views-field-created {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}
.path-happy-kids .views-field-field-happy-kid-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* changed from cover */
  display: block;
  background-color: #fff; /* optional: background for padding area */
}

/* === SECTION HEADERS === */
.path-happy-kids .views-field-nothing .views-label,
.path-happy-kids .views-field-nothing-1 .views-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: #388e3c;
  margin: 1rem 0 0.25rem;
  display: block;
  text-align: center;
  text-decoration: underline;
}

/* === KID INFO LIST (Align same as favorites) === */
.path-happy-kids .kid-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 0 1rem;
  color: #333;
}

.path-happy-kids .kid-info .item {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  align-items: baseline;
  min-width: 0;
}
/* 
.path-happy-kids .kid-info .label {
  white-space: nowrap;
  font-weight: bold;
  color: #6a1b9a;
}

.path-happy-kids .kid-info .value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  color: #333;
}
*/

/* === FAVORITES LIST (remains the same for now) === 
*/
.path-happy-kids .favorites-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
  width: 100%;
  padding: 0 1rem;
  color: #333;
}

.path-happy-kids .favorite-item {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  align-items: baseline;
  min-width: 0;
  border-bottom: 1px dotted gray;
}

.path-happy-kids .favorite-item .label,
.path-happy-kids .kid-info .label {
  white-space: nowrap;
  color: #6a1b9a;
  font-weight: bold;
}

.path-happy-kids .favorite-item .value,
.path-happy-kids .kid-info .value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  color: #333;    text-align: right;
}
.views-field.views-field-nothing-1 {
    padding-top: 10px;
}

/* === OPTIONAL: Responsive tweaks (mobile column) === */
@media (max-width: 599px) {
  .path-happy-kids .views-view-grid--horizontal {
    grid-template-columns: 1;
  }
}

/* events */

.path-events .views-view-grid__item {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.path-events .views-view-grid__item-inner {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 2rem;
}

.path-events .views-field-title .field-content {
  font-size: 2rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.path-events .views-field-field-event-date .field-content,
.path-events .views-field-field-event-location .field-content {
  font-size: 1rem;
  color: #555;
  display: inline-block;
  margin-right: 2rem;
}

.path-events .views-field-field-event-date,
.path-events .views-field-field-event-location {
  text-align: center;
  margin-bottom: 1rem;
}

.path-events .views-field-field-event-description .field-content {
  background: #f9f9f9;
  border-left: 4px solid #007acc;
  padding: 1rem;
  font-size: 1.1rem;
  color: #333;
  margin: 2rem 0;
}

.path-events .views-field-field-event-images img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

