/* _CSS-Media.css — scoped styles for Public Media page
   Simplified flat desert tone with hover accent.
   Safe for 1200px max-width layout.
*/

/* Fallback color variables if main color sheet isn't present */
:root{
  --desert-brown: #7a4a31;
  --desert-dark: #6a3f2b;
  --desert-accent: #d69a5b;
  --sand-light: #f6efe6;
  --sand-mid: #e8dccf;
  --sand-deep: #cdb79d;
  --desert-link: #2b5a7a;
  --text-main: #333333;
  --white: #ffffff;
  --panel-radius: 8px;
}

/* Container fits inside your 1200px header border */
.media-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.45;
  font-size: 14px;
}

/* Intro */
.media-intro { text-align: left; margin-bottom: 16px; }
.media-intro h1 {
  font-size: 1.6rem;
  margin: 0 0 6px 0;
  color: var(--desert-brown);
}
.media-subtitle {
  font-size: 1rem;
  color: var(--desert-accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.media-desc { margin: 0 0 12px 0; color: var(--text-main); }

/* Accordion wrapper */
.media-accordion { margin-top: 6px; }

/* Panel header (button) */
.media-panel {
  margin-bottom: 10px;
  border-radius: var(--panel-radius);
  overflow: hidden;
  background: transparent;
}

/* Toggle button styling - simplified flat tone */
.media-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 0;
  background: var(--sand-light);
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, transform .08s ease;
  border: 1px solid var(--sand-mid);
  border-radius: var(--panel-radius);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.media-toggle:hover {
  background: var(--sand-mid);
}

/* Title inside header */
.media-title {
  display: block;
  font-weight: 700;
  color: var(--desert-dark);
  font-size: 15px;
}
.media-title small {
  display: block;
  font-weight: 400;
  color: #5c4a3f;
  font-size: 12px;
  margin-top: 4px;
}

/* Chevron — simple square rotated */
.media-chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--desert-brown);
  border-bottom: 2px solid var(--desert-brown);
  transform: rotate(-45deg);
  transition: transform 220ms ease;
  margin-left: 12px;
}

/* When panel opened, flip chevron */
.media-panel.open .media-chevron {
  transform: rotate(45deg);
}

/* Content area */
.media-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease, padding 220ms ease;
  background: var(--white);
  border-left: 1px solid var(--sand-mid);
  border-right: 1px solid var(--sand-mid);
  border-bottom: 1px solid var(--sand-mid);
  padding: 0 14px;
  box-sizing: border-box;
}

/* When open, we'll toggle a class to expand; JS sets inline max-height */
.media-panel-content .media-section { padding: 12px 0; border-top: 1px dashed var(--sand-mid); }
.media-panel-content .media-section:first-child { border-top: none; padding-top: 14px; }

/* Section heading inside content */
.media-section h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: var(--desert-brown);
  font-weight: 700;
}

/* Tables */
.media-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.media-table thead th {
  text-align: left;
  padding: 8px 6px;
  font-weight: 700;
  background: var(--sand-deep);
  color: var(--white);
  font-size: 12px;
}
.media-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--sand-mid);
  vertical-align: top;
  color: var(--text-main);
}
.media-table a { color: var(--desert-link); text-decoration: none; }
.media-table a:hover { text-decoration: underline; }

/* Footnote */
.media-footnote {
  margin: 14px 0 24px;
  font-size: 12px;
  color: #5a4d45;
}

/* Responsive tweaks */
@media (max-width: 800px) {
  .media-wrap { padding: 8px; font-size: 13px; }
  .media-intro h1 { font-size: 1.3rem; }
  .media-title { font-size: 14px; }
  .media-title small { font-size: 11px; }
  .media-table thead th, .media-table td { font-size: 12px; padding: 7px 5px; }
}



/* ===========================
   PUBLIC MEDIA PAGE - INTRO + VERIFIED BOX
   =========================== */
.media-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #3b2a1a;
}

.media-intro h1 {
  font-size: 1.8rem;
  color: #5b3e2a;
  margin-bottom: 0.5rem;
}

.media-subtext {
  font-size: 1.05rem;
  color: #4a3a2d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Verified Outlets Box */
.media-verified-box {
  display: flex;
  align-items: flex-start;
  background-color: #f7efe6;
  border-left: 5px solid #b57b3a;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(60, 40, 20, 0.15);
}

.media-verified-icon {
  font-size: 2rem;
  color: #b57b3a;
  margin-right: 1rem;
  line-height: 1;
}

.media-verified-text h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #5b3e2a;
}

.media-verified-text p {
  margin: 0.4rem 0;
  color: #3e2c1b;
}

.media-verified-text .note {
  font-size: 0.95rem;
  color: #6b4e37;
  font-style: italic;
}
