/* =============================================
   ABOUT PAGE STYLES (UK & EN)
   ============================================= */

/* --- Skeleton Loading --- */
.about-skeleton {
  max-width: 2240px;
  margin: 0 auto;
  padding: 20px;
}

.skeleton-block {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Skeleton видаляється через JS після завантаження контенту */

/* --- Global Setup --- */
body { background-color: #ffffff !important; overflow-x: hidden; }
.about-page {
  font-family: 'Nunito', sans-serif;
  max-width: 2240px;
  margin: 0 auto;
  padding: 20px;
  color: #2c3e50;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

/* --- Hover Effects --- */
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* --- Header --- */
.about-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f76707 0%, #ff8c42 100%);
  border-radius: 16px;
  color: white;
}
.about-header h1 { font-weight: 800; margin-bottom: 10px; }

/* --- ACCORDION STYLING --- */
.accordion-item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 25px;
  overflow: hidden;
  background-color: white;
}

.accordion-button {
  background-color: white !important;
  color: black !important;
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  padding: 25px !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  border-bottom: 1px solid #edf2f7 !important;
  background-color: #fcfcfc !important;
}

.accordion-body {
  padding: 30px 25px !important;
  background-color: #ffffff;
  border-top: none;
}

.header-icon-badge {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 38px;
   height: 38px;
   background: linear-gradient(135deg, #f76707 0%, #ff8500 100%);
   border-radius: 10px;
   margin-right: 15px;
   box-shadow: 0 2px 4px rgba(247, 103, 7, 0.3);
}

.accordion-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 10px;
  text-align: justify;
  padding: 0 10px;
}

/* --- PERIOD LABEL --- */
.stats-period-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #718096;
  margin-bottom: 20px;
}
.stats-period-label .fa, .stats-period-label svg {
  color: #f76707;
  font-size: 0.85rem;
}

/* --- STATS GRID --- */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: space-between;
}

.stat-card-wrapper {
  flex: 1 1 22%;
  min-width: 180px;
  display: flex;
}

.about-page .stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 160px;
  box-sizing: border-box;
  position: relative;
}

.about-page .stat-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

.about-page .stat-icon {
    color: #f76707;
    font-size: 1.5rem;
    width: 25px;
    text-align: center;
    margin-top: 2px;
}

.stat-label-box {
  height: 42px;
  display: flex;
  align-items: center;
}

.about-page .stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #718096;
  text-transform: uppercase;
  line-height: 1.2;
}

.about-page .stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #4a5568;
  margin-top: auto;
  padding-top: 15px;
  text-align: center;
}

/* --- Content Grid --- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.content-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #eee;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.content-card h3 {
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}
.content-card h3 i { color: #f76707; }

/* --- Lists & Geo --- */
ul.custom-list {
  list-style: none; padding-left: 0; margin: 0; flex-grow: 1;
}
ul.custom-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #4a5568;
}
ul.custom-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
  color: #f76707;
  font-size: 1.4rem;
}

.geo-card { text-align: center; margin-bottom: 40px; }
.geo-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-top: 20px;
}
.geo-tag {
  background: white; border: 1px solid #f76707; color: #d95c00;
  padding: 8px 20px; border-radius: 50px; font-weight: 600;
  transition: all 0.2s;
}
.geo-tag:hover { background: #f76707; color: white; }

.footer-section {
  background-color: #f8f9fa; padding: 30px; border-radius: 12px;
  font-size: 0.9rem; color: #718096; border: 1px solid #e2e8f0;
}

.resource-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.resource-item::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 7px;
  color: #f76707;
  font-size: 6px;
}

.orange-external-link {
  color: #4a5568 !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  display: inline;
}

.orange-external-link:hover {
  color: #d95c00 !important;
  border-bottom: 1px solid #d95c00;
}

.orange-external-link i {
   margin-left: 4px;
   font-size: 0.8em;
   color: #f76707;
}

/* --- RESPONSIVE FIXES (iPhone 12 Pro Max Optimized) --- */
@media (max-width: 992px) {
   .stat-card-wrapper { flex: 1 1 45%; }
}
@media (max-width: 768px) {
  .about-page { padding: 10px; }
  .stat-card-wrapper { flex: 1 1 100%; }
  .content-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-header { padding: 30px 15px; margin-bottom: 25px; }
  .about-header h1 { font-size: 1.6rem; }
  .accordion-button { font-size: 1.25rem !important; padding: 18px 15px !important; }
  .accordion-body { padding: 20px 15px !important; }
  .accordion-body p { font-size: 1rem; text-align: left; padding: 0; margin-bottom: 15px; }

  .row { margin-left: 0 !important; margin-right: 0 !important; }
}
