/*
 Theme Name:   SKT Foundation Pro Child
 Theme URI:    https://yourwebsite.com
 Description:  Child theme for SKT Foundation Pro
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     skt-foundation-pro
 Version:      1.0.0
*/

/* Import parent styles */
@import url("../skt-foundation-pro/style.css");

/* Your custom CSS goes here */

.cause-post { max-width: 920px; margin: 0 auto; padding: 1.5rem; line-height: 1.6; }
.cause-post__title { margin: 0 0 .25rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cause-post__meta { color: #666; margin: 0 0 1rem; font-size: .95rem; }
.cause-post__content p { margin: 0 0 1.25rem; }
.cause-post__gallery {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .cause-post__gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cause-post__gallery { grid-template-columns: 1fr; } }
.gallery__item { display: block; position: relative; overflow: hidden; border-radius: 14px; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; transition: transform .3s ease;
}
.gallery__item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center; padding: 2rem; z-index: 9999;
}
.lightbox:target { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: 10px; }
.lightbox__close {
  position: fixed; inset: 0; display: block; cursor: default;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
.causes-pagination {
    text-align: center;
    margin: 30px 0;
    font-family: Arial, sans-serif;
}

.causes-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.causes-pagination li {
    margin: 0 5px;
}

.causes-pagination a,
.causes-pagination span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.causes-pagination a:hover {
    background-color: #00b965;
    color: #fff;
    border-color: #0073aa;
}

.causes-pagination .current {
    background-color:#00b965;
    color: #fff;
    border-color: #00b965;
    font-weight: bold;
}

.causes-pagination .prev,
.causes-pagination .next {
    font-weight: bold;
}
h1.cause-post__title {
    color: #000 !important;
}
.wpcf7-textarea {
    padding: 2%;
    border: none;
    background: rgba(0, 0, 0, 0.03);
    width: 60%;
    min-height: 200px;
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.05);
}
.causes-skill {
    display: none !important;
}
.donated-info {
    display: none !important;
}
div#elementor-lightbox-slideshow-single-img {
    display: none !important;
}
body .skt-causes-box:nth-child(n) .causes-info-box .causes-button a {
    background-color: #00B965 !important;
    font-family: "Assistant", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 50px 50px 50px 50px;
    padding: 10px 30px 10px 30px;
}
/* ===== Blog Detail Page Styling ===== */
 
/* Main container */
.cause-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
}
 
/* Featured image - full width */
.cause-post__thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 25px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
 
/* Title */
.cause-post__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}
 
/* Section headings */
.cause-post__content h3,
.cause-post__content h4 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #444;
}
 
.cause-post__content h3 {
  font-size: 1.5rem;
  border-left: 4px solid #3b82f6; /* blue accent */
  padding-left: 10px;
}
 
.cause-post__content h4 {
  font-size: 1.3rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}
 
/* Paragraphs */
.cause-post__content p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #444;
}
 
/* Ordered list */
.cause-post__content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.cause-post__content ol li {
  margin-bottom: 12px;
}
 
/* Unordered list */
.cause-post__content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.cause-post__content ul li {
  margin-bottom: 12px;
}
 
/* Strong text */
.cause-post__content strong {
  color: #111;
  font-weight: 600;
}
 
/* Conclusion block highlight */
.cause-post__content h4:contains("Conclusion") + p {
  background: #f9fafb;
  padding: 15px 20px;
  border-left: 4px solid #3b82f6;
  border-radius: 6px;
}
#wpcf7-f10-p26-o1 input.wpcf7-form-control.wpcf7-submit.has-spinner {
    float: left;
}
#wpcf7-f10-p26-o1 span.wpcf7-spinner {
    margin-top: 12px;
}
.gallery-grid a img
 {
    width: 100%;
    height: 100%;
    max-height: 150px;
}
.trustee-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 300px;
}
.trustee-card:hover {
  transform: translateY(-6px);
}
@media (max-width: 478px) {
    .logo img {
         object-fit: contain; 
         width: 100% !important; 
         height: 100% !important; 
        min-height: 70px;
    }
}

