/**
 * Single Kids Post Styles
 * 
 * Styles for individual Kids post pages with sidebar layout
 */
/**
 * Together Forever - Root Styles
 * 
 * This file contains CSS custom properties (variables), 
 * base styles, and global configurations.
 * 
 * @package Together_Forever
 * @since 1.0.0
 */
/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
  /* Brand Colors */
  --tf-purple: #5C2483;
  --tf-pink: #951B81;
  --tf-gray: #333;
  --tf-purple-gradient: linear-gradient(90deg, #5C2483 0%, #951B81 100%);
}

/* ==========================================================================
   Font Face Declarations
   ========================================================================== */
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-UltraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-UltraLightIt.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Demi.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-DemiItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-Heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir Next Cyr";
  src: url("../fonts/AvenirNextCyr-HeavyItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
/* ==========================================================================
   Typography Variables
   ========================================================================== */
:root {
  /* Font Families */
  --tf-avenir: "Avenir Next Cyr", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Font Weights */
  --tf-fw-100: 100;
  --tf-fw-200: 200;
  --tf-fw-300: 300;
  --tf-fw-400: 400;
  --tf-fw-500: 500;
  --tf-fw-600: 600;
  --tf-fw-700: 700;
  --tf-fw-800: 800;
}

/* ==========================================================================
   Global Typography
   ========================================================================== */
/* Apply Avenir font to all text elements */
* {
  font-family: var(--tf-avenir);
}

/* Specific text elements */
body,
html,
p,
h1, h2, h3, h4, h5, h6,
a,
span,
div,
article,
section,
header,
footer,
main,
nav,
ul, ol, li,
button,
input,
textarea,
select,
label,
blockquote,
cite,
em,
strong,
small,
code,
pre,
mark,
del,
ins,
sub,
sup {
  font-family: var(--tf-avenir);
}

/* ==========================================================================
   Page Structure
   ========================================================================== */
/* Override Astra theme container constraints */
.ast-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

article {
  width: 100vw;
  margin: 0;
  padding: 0;
}

section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-kids-main-section {
  padding: 40px 0 80px;
}
.single-kids-main-section .main-container {
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .single-kids-main-section .main-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.child-info-column {
  border-radius: 16px;
  padding: 40px;
}
@media (max-width: 768px) {
  .child-info-column {
    padding: 30px 20px;
  }
}

.photo-info-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  align-items: center;
}

.child-photo-card {
  width: 50%;
}
.child-photo-card .child-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .child-photo-card .child-image {
    height: 250px;
  }
}
.child-photo-card .no-photo-placeholder {
  width: 100%;
  height: 300px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tf-gray);
  font-size: 18px;
}
@media (max-width: 768px) {
  .child-photo-card .no-photo-placeholder {
    height: 250px;
  }
}

.child-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tf-purple);
  margin: 0 0 15px 0;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .child-name {
    font-size: 2rem;
  }
}

.child-diagnosis {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 500;
}

.child-age {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

.child-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.child-description p {
  margin-bottom: 20px;
}
.child-description h1, .child-description h2, .child-description h3, .child-description h4, .child-description h5, .child-description h6 {
  color: var(--tf-gray);
  margin-top: 30px;
  margin-bottom: 15px;
}
.child-description ul, .child-description ol {
  margin-bottom: 20px;
  padding-left: 30px;
}
.child-description li {
  margin-bottom: 8px;
}
.child-description strong {
  color: var(--tf-purple);
}

.donation-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.donation-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}
@media (max-width: 768px) {
  .donation-card {
    padding: 25px 20px;
  }
}

.collected-amount {
  margin-bottom: 10px;
}
.collected-amount .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tf-purple);
}
@media (max-width: 768px) {
  .collected-amount .amount {
    font-size: 2rem;
  }
}

.required-amount {
  margin-bottom: 25px;
}
.required-amount .amount-label {
  font-size: 1rem;
  color: var(--tf-gray);
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-bar .progress-fill {
  height: 100%;
  background: var(--tf-purple-gradient);
  border-radius: 6px;
  transition: width 0.5s ease;
}

.remaining-amount {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .remaining-amount {
    font-size: 1rem;
  }
}

.goal-reached {
  font-size: 1.2rem;
  color: var(--tf-pink);
  margin-bottom: 25px;
  font-weight: 600;
}

.donate-button {
  display: inline-block;
  width: 100%;
  background: var(--tf-purple);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}
.donate-button:hover {
  background: var(--tf-pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 36, 131, 0.3);
  color: #fff;
}
.donate-button.donate-btn--disabled {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 50%, #616161 100%);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid #9e9e9e;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}
.donate-button.donate-btn--disabled:hover {
  transform: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
}

.related-kids-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .related-kids-section {
    padding: 25px 20px;
  }
}

.related-kids-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 25px 0;
}

.related-kids-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-kid-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}
.related-kid-card:hover {
  background: #e9ecef;
}
@media (max-width: 768px) {
  .related-kid-card {
    padding: 15px;
  }
}

.related-kid-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.related-kid-image.related-kid-placeholder {
  background: linear-gradient(135deg, var(--tf-purple) 0%, var(--tf-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.related-kid-image.related-kid-placeholder svg {
  width: 30px;
  height: 30px;
}

.related-kid-info {
  flex: 1;
  min-width: 0;
}

.related-kid-name-link {
  text-decoration: none;
  display: block;
}
.related-kid-name-link .related-kid-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tf-purple);
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.related-kid-name-link .related-kid-name:hover {
  color: var(--tf-pink);
}

.related-kid-description {
  font-size: 0.9rem;
  color: var(--tf-gray);
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.related-kid-progress {
  margin-bottom: 15px;
}

.related-progress-bar {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.related-progress-bar .related-progress-fill {
  height: 100%;
  background: var(--tf-purple-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.related-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.related-progress-text .collected {
  font-weight: 600;
  color: var(--tf-purple);
}
.related-progress-text .required {
  color: var(--tf-gray);
}

@media (max-width: 1024px) {
  .single-kids-main-section .main-container {
    grid-template-columns: 1fr;
  }
  .donation-column {
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .single-kids-back-section {
    padding: 15px 0;
  }
  .single-kids-main-section {
    padding: 20px 0 60px;
  }
  .single-kids-main-section .main-container {
    padding: 0 15px;
    gap: 20px;
  }
  .child-info-column {
    padding: 25px 20px;
  }
  .donation-card {
    padding: 25px 20px;
  }
  .related-kids-section {
    padding: 25px 20px;
  }
}
@media (max-width: 480px) {
  .single-kids-main-section .main-container {
    padding: 0 10px;
  }
  .child-info-column {
    padding: 20px 15px;
  }
  .donation-card {
    padding: 20px 15px;
  }
  .related-kids-section {
    padding: 20px 15px;
  }
}

/*# sourceMappingURL=single-kids.css.map */
