/* ITD Custom Styles v1.0.5 — Light/Gray Theme */

/* === HERO === */
.itd-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 40px;
  text-align: center;
}
.itd-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.itd-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Stats bar */
.itd-stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}
.itd-stat-item strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}
.itd-stat-item span {
  font-size: 14px;
  color: #666;
}

/* Stats (alt markup) */
.itd-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}
.itd-stat { text-align: center; }
.itd-stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}
.itd-stat-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

/* === BUTTONS === */
.itd-btn,
a.itd-btn {
  display: inline-block;
  padding: 16px 32px;
  background: #1a1a2e;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.itd-btn:hover,
a.itd-btn:hover {
  background: #2d2d44;
}
.itd-btn-outline,
a.itd-btn-outline {
  background: transparent;
  color: #1a1a2e !important;
  border: 2px solid #1a1a2e;
}
.itd-btn-outline:hover,
a.itd-btn-outline:hover {
  background: #1a1a2e;
  color: #fff !important;
}

/* === SECTION === */
.itd-section {
  padding: 64px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.itd-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.itd-section-subtitle {
  font-size: 17px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* === CARDS === */
.itd-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.itd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.itd-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.itd-card-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) opacity(0.6);
}
.itd-card h3, .itd-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.itd-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
.itd-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* === MISSION === */
.itd-mission {
  background: #fff;
  padding: 64px 40px;
  text-align: center;
}
.itd-mission p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}

/* === EVENT CARDS === */
.itd-events-section {
  background: #f8f9fa;
  padding: 60px 20px;
}
.itd-event-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.itd-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.itd-event-date-badge {
  min-width: 56px;
  height: 64px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.itd-event-date-badge .day {
  font-size: 22px;
  font-weight: 700;
}
.itd-event-date-badge .month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
  opacity: 0.85;
}
.itd-event-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 6px;
}
.itd-event-info h3 a { color: inherit; text-decoration: none; }
.itd-event-info h3 a:hover { color: #555; }
.itd-event-meta {
  font-size: 14px;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* === MEMBER CARDS === */
.itd-member-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.itd-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.itd-member-card strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.itd-member-card span {
  font-size: 15px;
  color: #666;
}

/* === CTA === */
.itd-cta {
  background: #f0f0f0;
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  margin: 60px auto;
  max-width: 1200px;
}
.itd-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.itd-cta p {
  font-size: 17px;
  color: #555;
  margin-bottom: 28px;
}

/* === HEADER === */
#masthead, .site-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
.site-branding .site-title {
  font-weight: 700;
  font-size: 22px;
}

/* === FOOTER === */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid #e8e8e8;
}

/* Yahoo hide */
.etn-event-meta-wrap .etn-add-to-calendar-btn-wrap li a[href*="calendar.yahoo.com"] { display: none !important; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .itd-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .itd-hero { padding: 60px 24px; }
  .itd-hero h1 { font-size: 36px; }
  .itd-stats { gap: 32px; }
}
@media (max-width: 768px) {
  .itd-hero { padding: 48px 20px; }
  .itd-hero h1 { font-size: 30px; }
  .itd-stats { flex-direction: column; gap: 20px; align-items: center; }
  .itd-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .itd-section { padding: 48px 20px; }
  .itd-cta { padding: 40px 20px; margin: 40px 16px; }
  .itd-event-card { flex-direction: column; gap: 12px; }
  .itd-event-date-badge { flex-direction: row; min-width: auto; height: auto; padding: 6px 12px; gap: 6px; }
}
@media (max-width: 480px) {
  .itd-hero h1 { font-size: 26px; }
  .itd-section-title { font-size: 26px; }
  .itd-card { padding: 20px; }
}
