/* ==========================================================================
   Content Calendar & Post Approval page
   All page-specific styles live here; styles.css is untouched.
   ========================================================================== */

/* Hero
   ========================================================================== */

.hero--calendar .hero__content { max-width: 860px; }
.hero--calendar .hero__content > p:not([class]) { max-width: 800px; margin-top: 26px; }

/* Calendar showcase (dark section)
   ========================================================================== */

.calendar-showcase { padding-bottom: clamp(56px, 5vw, 100px); }

.calendar-browser {
  max-width: 1066px;
  margin-inline: auto;
  border: 0;
  border-radius: 14px;
}

/* Address bar sits on the right as a small pill */
.calendar-browser .browser__bar { padding: 16px 24px; }
.calendar-browser .browser__url {
  flex: 0 1 auto;
  margin-left: auto;
  padding: 6px 12px;
  font-size: 13px;
}

.calendar-showcase__caption {
  max-width: 620px;
  margin: 40px auto 0;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 500;
  text-align: center;
}

/* Calendar
   ========================================================================== */

.calendar {
  padding: 28px clamp(16px, 7vw, 76px) 0;
  color: var(--ink);
}

.calendar__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  font-size: 12px;
  font-weight: 600;
}

.calendar__select {
  display: inline-block;
  min-width: 110px;
  margin-left: 6px;
  padding: 4px 26px 4px 6px;
  border: 1px solid #c9c9c9;
  border-radius: 2px;
  background: #f3f3f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 6px center / 10px no-repeat;
  font-weight: 400;
}

.calendar__hint {
  margin: 20px 0 8px;
  font-size: 11px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .02em;
}

.calendar__hint::before { content: "* "; color: var(--red); }

/* Table scrolls sideways on narrow screens rather than squashing */
.calendar__scroll { overflow-x: auto; }

.calendar__grid {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.calendar__grid th,
.calendar__grid td { border: 1px solid #ececec; }

.calendar__grid th {
  padding: 13px 4px;
  font-weight: 600;
}

.calendar__grid td {
  height: 132px;
  padding: 6px 10px;
  vertical-align: top;
  font-weight: 600;
}

.calendar__grid tr:last-child td { height: 90px; }
.calendar__grid td.is-empty { border: 0; }

/* Scheduled posts */
.post {
  display: block;
  margin-top: 10px;
  padding: 2px 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--white);
}

.post b { display: block; font-weight: 600; }

.post i {
  display: block;
  font-size: 9px;
  font-weight: 500;
  text-align: left;
}

.post--engagement     { background: #8f1a1c; }
.post--engagement-alt { background: #a535b0; }
.post--static         { background: #db2f2f; }
.post--carousel       { background: #1324c7; }
.post--reels          { background: #cd47d6; }
.post--guide          { background: #5cc95a; }
.post--market         { background: #5db5c9; }
.post--question       { background: #2f6b3c; }
.post--spotlight      { background: #000; }
.post--quote          { background: #d6643d; }
.post--lifestyle      { background: #e5c55c; }

/* Key benefits
   ========================================================================== */

.features--benefits { row-gap: 50px; }

.features--benefits .feature { padding: 20px 30px 70px; }

.features--benefits .feature__icon { margin-bottom: 16px; }

.features--benefits .feature h3 {
  margin: 0 0 22px;
  font-size: 18px;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .features--benefits { row-gap: 20px; }
  .features--benefits .feature { padding-bottom: 40px; }
}

@media (max-width: 520px) {
  .calendar-browser .browser__url { font-size: 12px; }
  .calendar__filters { justify-content: flex-start; }
  .calendar__hint { margin-top: 14px; }
}
