/* Connected channels and the monthly publication share the studio's editorial grid. */
.channel-grid,
.social-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  gap: 100px;
  align-items: start;
}
.channel-intro > p,
.social-intro > p {
  max-width: 410px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}
.channel-intro > .text-link { margin-top: 4px; }
.channel-content,
.social-content { min-width: 0; padding-left: 48px; }

.channel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.channel-feed-label {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--petrol);
}
.channel-arrows { display: inline-flex; gap: 8px; }
.channel-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #93b9c4;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.channel-arrows button:disabled { opacity: .35; cursor: default; }
.channel-arrows button:hover:not(:disabled) { background: var(--ice); border-color: var(--petrol); }
.channel-arrows button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.channel-feed {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #8cb9c3 transparent;
  padding: 3px 3px 18px;
  margin: -3px -3px 0;
}
.channel-feed::-webkit-scrollbar { height: 5px; }
.channel-feed::-webkit-scrollbar-thumb { background: #8cb9c3; border-radius: 3px; }
.channel-feed::-webkit-scrollbar-track { background: transparent; }
.channel-post {
  flex: 0 0 calc(100% - 36px);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid var(--line);
  border-top: 3px solid var(--mint);
  background: var(--white);
}
.channel-post-link { display: flex; flex-direction: column; height: 100%; padding: 25px 24px 19px; }
.channel-post-link:focus-visible { outline-offset: 1px; }
.channel-post-image { width: 100%; height: auto; max-height: 240px; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.channel-post-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 7px;
  margin-bottom: 15px;
  background: var(--ice);
  color: var(--ink);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .7px;
  font-weight: 500;
  text-transform: uppercase;
}
.channel-post time { display: block; font-size: 11px; line-height: 1.6; color: var(--muted); margin-bottom: 12px; }
.channel-post h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.5px; font-weight: 500; margin-bottom: 16px; }
.channel-post p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 22px; overflow-wrap: anywhere; }
.channel-post-cta,
.channel-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--petrol);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.channel-post-cta > span,
.channel-read > span { font-size: 21px; line-height: 1; }
.channel-post-link:hover .channel-post-cta,
.channel-post-link:hover .channel-read { color: var(--ink); }
.channel-empty {
  padding: 30px 26px;
  border-top: 1px solid #a8c8cf;
  border-bottom: 1px solid #a8c8cf;
  background: var(--white);
}
.channel-mark { display: block; width: 72px; height: 45px; margin-bottom: 23px; color: var(--petrol); }
.channel-empty > span { font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--petrol); }
.channel-empty h3 { font-family: "Instrument Serif", Georgia, serif; font-style: normal; font-weight: 400; font-synthesis: none; font-size: 32px; line-height: 1.15; letter-spacing: -.35px; margin: 14px 0 18px; }
.channel-empty p { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: 21px; }
.channel-empty .text-link { font-size: 13px; }
.channel-status { color: var(--muted); font-size: 12px; line-height: 1.75; margin: 15px 0 0; }

/* A real A4 cover is presented as a publication, without simulated volume. */
.monthly-cover-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 210 / 297;
  object-fit: contain;
  border: 1px solid #95bdc6;
}
.monthly-stamp {
  display: inline-flex;
  align-items: center;
  border: 1px solid #8ebbc7;
  border-radius: 999px;
  padding: 6px 11px;
  margin-top: 18px;
  color: #d4e8ee;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.journal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 26px; }
.journal-content .journal-actions .button { margin-top: 0; }
.journal-actions .text-link { color: #d4e8ee; border-bottom-color: #8ebbc7; font-size: 13px; gap: 14px; }
.journal-actions .text-link:hover { color: var(--white); }
.monthly-format { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 19px; border-top: 1px solid #ffffff30; font-size: 11px; line-height: 1.7; color: #c5e2e9; }
.monthly-format > span { display: block; }
.journal-content .journal-note { margin-top: 18px; }

/* Public profiles are simple, recognizable destinations. */
.social-link {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.social-link:first-of-type { border-top: 1px solid var(--line); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--petrol); }
.social-icon svg { display: block; width: 27px; height: 27px; }
.social-name { display: block; flex: 1; min-width: 0; }
.social-name strong { display: block; font-size: 23px; line-height: 1.3; letter-spacing: -.4px; font-weight: 500; }
.social-name small { display: block; margin-top: 5px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.social-arrow { display: block; flex: 0 0 auto; margin-left: auto; font-size: 26px; line-height: 1; color: var(--petrol); }
.social-link:hover .social-name strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.social-link:hover .social-icon,
.social-link:hover .social-arrow { color: var(--cyan); }
.social-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }

@media (max-width: 1100px) {
  .channel-intro > p,
  .social-intro > p { font-size: 16px; }
  .channel-empty { padding: 26px 22px; }
  .channel-post-link { padding: 23px 21px 18px; }
  .channel-post h3 { font-size: 23px; }
}
@media (max-width: 800px) {
  .channel-grid,
  .social-grid { grid-template-columns: 1fr; gap: 35px; }
  .channel-content,
  .social-content { padding-left: 44px; }
  .channel-intro > p,
  .social-intro > p { max-width: none; font-size: 16px; }
  .channel-feed { gap: 15px; }
  .channel-post { flex-basis: calc(100% - 18px); }
  .channel-post-link { padding: 22px 18px 17px; }
  .channel-empty { padding: 26px 20px; }
  .channel-empty h3 { font-size: 30px; }
  .channel-empty p { font-size: 15px; }
  .channel-empty .text-link { font-size: 12px; gap: 10px; }
  .channel-feed-label { font-size: 9px; letter-spacing: .6px; }
  .monthly-cover-image { max-height: 430px; }
  .journal-actions { gap: 13px 20px; margin-top: 24px; }
  .journal-content .journal-actions .button { max-width: 100%; padding: 14px 16px; gap: 12px; font-size: 13px; white-space: normal; text-align: left; }
  .monthly-format { gap: 7px 16px; margin-top: 25px; font-size: 10px; }
  .social-link { gap: 15px; min-height: 92px; padding: 21px 0; }
  .social-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .social-icon svg { width: 25px; height: 25px; }
  .social-name strong { font-size: 21px; }
  .social-name small { font-size: 12px; }
  .social-arrow { font-size: 24px; }
}
@media (max-width: 390px) {
  .channel-empty { padding: 24px 17px; }
  .channel-post { flex-basis: 100%; }
  .channel-post-link { padding-left: 17px; padding-right: 17px; }
  .monthly-cover-image { max-height: 400px; }
  .social-link { gap: 12px; }
  .social-icon { flex-basis: 28px; width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .channel-feed { scroll-behavior: auto; scroll-snap-type: none; }
}
