/* ============================================================
   APEC 2026 — About Component Stylesheet (about.css)
   ============================================================ */

/* ── Custom About Hero Title Formatting ── */
.about-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 30px 0;
}

/* ── Accordion Component Grid Setup ── */
#about-intro-accordion {
  background-color: #f8fafc;
  padding: 90px 5%;
}

.accordion-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.img-left-wrap img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.main-navy-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #1a237e;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Accordion Element Cards */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 2px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

.accordion-item.active {
  background-color: var(--white);
  border-bottom: 3px solid #38bdf8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accordion-icon-badge {
  font-size: 1.3rem;
  color: #0284c7;
}

.accordion-header h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.chevron-arrow {
  font-size: 0.8rem;
  color: #64748b;
}

.accordion-panel {
  display: none;
  padding: 4px 24px 24px 24px;
}

.accordion-panel p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

/* ── Text Details & Framework Content Blocks ── */
#about-details-content {
  background-color: var(--white);
  padding: 80px 5%;
}

.background-frame-box {
  background-color: #f8fafc;
  padding: 40px;
  border-radius: 4px;
}

.background-frame-box h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.purpose-vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.purpose-vision-grid.reverse-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.side-purple-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 16px;
}

.text-side p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
}

.text-side .intro-p {
  margin-bottom: 12px;
}

/* Lists formatting */
.clean-bullet-list {
  list-style-type: none;
}

.clean-bullet-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.clean-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-size: 1.3rem;
  line-height: 1;
}

.image-side img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.text-center-block {
  text-align: center;
  padding-top: 40px;
}

.engagement-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #334155;
}

/* ============================================================
   AGENDA / PROGRAM SCHEDULE SECTION - PROFESSIONAL
   ============================================================ */

#agenda-section {
  background: #ffffff;
  padding: 80px 5%;
}

/* Header */
.agenda-header {
  text-align: center;
  margin-bottom: 60px;
}

.agenda-header .section-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a237e;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: #eef2ff;
  padding: 4px 18px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.agenda-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.agenda-dates {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
}

/* Day Wrapper */
.agenda-day {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.agenda-day:last-child {
  margin-bottom: 0;
}

/* Day Header */
.day-head {
  background: #f8fafc;
  padding: 16px 28px;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  gap: 18px;
}

.day-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background: #1a237e;
  padding: 3px 14px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.day-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

/* Schedule List */
.schedule {
  padding: 4px 0;
}

/* Schedule Item */
.schedule-item {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 20px;
  padding: 12px 28px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item:hover {
  background: #fafbfc;
}

/* Time */
.time-block .time {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
}

/* Session */
.session-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.session-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.session-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 400;
}

/* Speaker - Right aligned */
.speaker-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.speaker {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1e293b;
}

/* Break Items */
.schedule-item.break {
  background: #fafbfc;
}

.schedule-item.break .session-name {
  color: #64748b;
  font-weight: 500;
}

.schedule-item.break.lunch .session-name {
  color: #b45309;
}

/* ============================================================
   WORKSHOP ITEMS - Speakers at the corner (right aligned)
   ============================================================ */

.schedule-item.workshop {
  background: #f8faff;
  border-left: 3px solid #3b82f6;
}

.schedule-item.workshop .session-name {
  color: #1d4ed8;
}

.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.workshop-entry {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #1e293b;
  line-height: 1.6;
  padding: 2px 0;
}

.workshop-entry .w-num {
  font-weight: 700;
  color: #3b82f6;
  min-width: 20px;
  font-size: 0.75rem;
}

.workshop-entry .w-name {
  font-weight: 500;
  flex: 1;
}

/* Speaker name at the right corner - same alignment as other sessions */
.workshop-entry .w-speaker {
  color: #475569;
  font-size: 0.8rem;
  font-weight: 400;
  text-align: right;
  min-width: 160px;
  flex-shrink: 0;
}

/* Summary Item */
.schedule-item.summary {
  background: #f5f3ff;
  border-left: 3px solid #7c3aed;
}

.schedule-item.summary .session-name {
  color: #6d28d9;
}

/* Closing Item */
.schedule-item.closing {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
}

.schedule-item.closing .session-name {
  color: #b45309;
}

/* Agenda Footer */
.agenda-footer {
  margin-top: 36px;
  padding: 16px 24px;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid #cbd5e1;
}

.agenda-footer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
}

.agenda-footer .foot-note {
  font-weight: 700;
  color: #1e293b;
}

/* ============================================================
   HONORABLE SPEAKERS SECTION
   ============================================================ */

#honorable-speakers-section {
  background: linear-gradient(180deg,
      #24189f 0%,
      #1f5fcb 55%,
      #1cb3eb 100%);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.speakers-content-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
}

.section-mini-tag .dot {
  width: 12px;
  height: 12px;
  background-color: #ffe047;
  border-radius: 50%;
}

.honorable-speakers-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 50px;
}

/* ============================================================
   SPEAKER PROFILES INSIDE BLUE SECTION
   ============================================================ */

.speakers-profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 10px;
}

.speaker-profile-card {
  text-align: center;
  color: #ffffff;
  padding: 10px;
}

.speaker-profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.speaker-profile-image:hover {
  border-color: #ffe047;
  transform: scale(1.05);
}

.speaker-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speaker-profile-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.speaker-profile-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.speaker-profile-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.speaker-profile-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffe047;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.speaker-profile-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ── 5-Column Inline Gallery Track ── */
#about-gallery-grid-section {
  background-color: var(--white);
  padding: 0 0 80px 0;
  position: relative;
}

.inline-gallery-flex {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 0 4%;
}

.inline-gallery-flex img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Yellow Oval Action Button Wrapper */
.flex-center-oval {
  display: flex;
  justify-content: center;
  margin-top: -30px;
  position: relative;
  z-index: 5;
}

.oval-secure-btn {
  background-color: #ffe047;
  color: #0f172a;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 45px 35px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  width: 190px;
  height: 190px;
  box-shadow: 0 10px 25px rgba(255, 224, 71, 0.3);
  transition: transform 0.2s, background-color 0.2s;
}

.oval-secure-btn:hover {
  transform: scale(1.04);
  background-color: #facc15;
}

.oval-secure-btn span {
  font-size: 1.4rem;
  font-weight: bold;
}

/* ============================================================
   RESPONSIVE - AGENDA & SPEAKERS
   ============================================================ */

@media (max-width: 1024px) {
  .schedule-item {
    grid-template-columns: 120px 1fr 140px;
    gap: 16px;
    padding: 12px 24px;
  }

  .workshop-entry .w-speaker {
    min-width: 130px;
  }
}

@media (max-width: 960px) {
  .accordion-layout-grid,
  .purpose-vision-grid,
  .purpose-vision-grid.reverse-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .inline-gallery-flex {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 20px;
  }

  .speaker-block {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 12px;
  }

  .time-block .time {
    font-size: 0.75rem;
    font-weight: 700;
  }

  .day-head {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .workshop-entry {
    flex-wrap: wrap;
  }

  .workshop-entry .w-speaker {
    text-align: left;
    padding-left: 28px;
    min-width: unset;
    flex: 1;
  }

  .schedule-item.workshop {
    border-left-width: 3px;
  }

  .schedule-item.summary,
  .schedule-item.closing {
    border-left-width: 3px;
  }

  /* Speaker Profiles Responsive */
  .speakers-profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .speaker-profile-image {
    width: 120px;
    height: 120px;
  }

  .speaker-profile-bio {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  #agenda-section {
    padding: 50px 4%;
  }

  .agenda-title {
    font-size: 1.6rem;
  }

  .agenda-header {
    margin-bottom: 40px;
  }

  .schedule-item {
    padding: 12px 16px;
  }

  .session-name {
    font-size: 0.88rem;
  }

  .session-desc {
    font-size: 0.72rem;
  }

  .workshop-entry {
    font-size: 0.78rem;
  }

  .workshop-entry .w-speaker {
    font-size: 0.75rem;
    padding-left: 28px;
  }

  .agenda-footer {
    padding: 14px 18px;
  }

  .agenda-footer p {
    font-size: 0.8rem;
  }

  .day-name {
    font-size: 0.9rem;
  }

  .background-frame-box {
    padding: 24px;
  }

  .inline-gallery-flex {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .inline-gallery-flex img {
    height: 200px;
  }

  .oval-secure-btn {
    width: 150px;
    height: 150px;
    padding: 30px 20px;
    font-size: 0.85rem;
  }

  .oval-secure-btn span {
    font-size: 1.2rem;
  }

  /* Speaker Profiles Responsive */
  #honorable-speakers-section {
    padding: 70px 5%;
  }

  .honorable-speakers-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .speakers-profiles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 350px;
  }

  .speaker-profile-image {
    width: 120px;
    height: 120px;
  }

  .speaker-profile-name {
    font-size: 1.05rem;
  }

  .speaker-profile-bio {
    font-size: 0.8rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-mini-tag {
    font-size: 0.9rem;
  }

  .honorable-speakers-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  #honorable-speakers-section {
    padding: 50px 5%;
  }

  .schedule-item {
    padding: 10px 14px;
  }

  .time-block .time {
    font-size: 0.7rem;
  }

  .session-name {
    font-size: 0.82rem;
  }

  .speaker {
    font-size: 0.75rem;
  }

  .day-head {
    padding: 12px 16px;
  }

  .day-number {
    font-size: 0.6rem;
    padding: 2px 10px;
  }

  .day-name {
    font-size: 0.82rem;
  }

  .workshop-entry .w-speaker {
    font-size: 0.7rem;
    padding-left: 24px;
  }

  .speaker-profile-image {
    width: 100px;
    height: 100px;
  }

  .speaker-profile-name {
    font-size: 0.95rem;
  }

  .speaker-profile-title {
    font-size: 0.78rem;
  }

  .speaker-profile-bio {
    font-size: 0.78rem;
  }

  .speaker-profile-link {
    font-size: 0.8rem;
  }
}