/*
Theme Name: funnycatsite.com
Theme URI: https://funnycatsite.com/
Author: funnycatsite.com
Description: Film-strip humor magazine theme for funnycatsite.com with broad category archives.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: funnycatsite-com
*/

:root {
  --fc-ink: #1b1714;
  --fc-paper: #fff8e8;
  --fc-muted: #786c60;
  --fc-line: rgba(27, 23, 20, 0.18);
  --fc-dark: #11100f;
  --fc-yellow: #ffd75d;
  --fc-coral: #ff6f61;
  --fc-blue: #4f8dd9;
  --fc-green: #56a878;
}

* {
  box-sizing: border-box;
}

body.fc-theme-body {
  margin: 0;
  min-height: 100vh;
  background: #171411;
  color: var(--fc-ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.fc-theme-body a {
  color: inherit;
  text-decoration: none;
}

.fc-film-site {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  background: var(--fc-paper);
}

.fc-film-rail {
  display: grid;
  grid-template-rows: 120px repeat(6, minmax(82px, 1fr)) 120px;
  background: var(--fc-dark);
  color: #fff;
  border-right: 1px solid #000;
}

.fc-film-logo {
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fc-film-logo img {
  display: block;
  width: 74px;
  height: 74px;
}

.fc-film-rail a {
  display: grid;
  place-items: center;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.fc-film-rail a span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 7px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  color: var(--fc-yellow);
  font-size: 13px;
}

.fc-film-foot {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.fc-main {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(680px, 86vh) auto auto;
}

.fc-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 248, 232, 0.96), rgba(255, 248, 232, 0.68) 45%, rgba(255, 248, 232, 0.04)),
    url("https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?auto=format&fit=crop&w=1800&q=84");
  background-size: cover;
  background-position: center right;
}

.fc-cover-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: clamp(28px, 6vw, 82px);
  max-width: 820px;
}

.fc-kicker,
.fc-editorial-intro span,
.fc-sequence code,
.fc-page-kicker {
  display: inline-flex;
  color: var(--fc-coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.fc-cover h1,
.fc-page-header h1,
.fc-single h1,
.fc-empty h1 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 136px);
  line-height: 0.8;
  letter-spacing: 0;
}

.fc-lead,
.fc-page-header p,
.fc-single-meta,
.fc-archive-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--fc-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.fc-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fc-cover-actions a,
.fc-read-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  background: var(--fc-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.fc-cover-actions a:nth-child(2),
.fc-read-more.secondary {
  background: var(--fc-yellow);
  color: var(--fc-ink);
}

.fc-caption-strip {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 clamp(18px, 4vw, 54px) clamp(18px, 4vw, 54px) 0;
  background: rgba(17, 16, 15, 0.82);
  color: #fff;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.fc-caption-strip div {
  min-height: 128px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.fc-caption-strip div:nth-child(2n) {
  border-right: 0;
}

.fc-caption-strip span {
  color: var(--fc-yellow);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.fc-caption-strip strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.fc-ticker {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  overflow-x: auto;
  background: var(--fc-dark);
  color: #fff;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.fc-ticker a {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.fc-ticker span {
  display: block;
  margin-bottom: 8px;
  color: var(--fc-yellow);
  font-size: 10px;
  text-transform: uppercase;
}

.fc-editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  background: var(--fc-paper);
}

.fc-editorial-intro {
  min-height: 600px;
  padding: clamp(26px, 5vw, 70px);
  border-right: 1px solid var(--fc-line);
  background:
    radial-gradient(circle at 28px 28px, rgba(27, 23, 20, 0.12) 0 3px, transparent 3px),
    #f4ead4;
  background-size: 54px 54px;
}

.fc-editorial-intro h2,
.fc-sequence h3,
.fc-post-list h2,
.fc-page-body h2,
.fc-single-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.96;
}

.fc-editorial-intro h2 {
  margin: 12px 0 0;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 0.92;
}

.fc-editorial-intro p,
.fc-sequence p,
.fc-post-list p,
.fc-empty p {
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.65;
}

.fc-sequence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fc-sequence article {
  min-height: 300px;
  padding: clamp(20px, 3vw, 38px);
  border-right: 1px solid var(--fc-line);
  border-bottom: 1px solid var(--fc-line);
}

.fc-sequence article:nth-child(2n) {
  border-right: 0;
}

.fc-sequence h3 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.2vw, 46px);
}

.fc-post-links {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.fc-post-links a {
  color: var(--fc-blue);
  font-size: 12px;
  font-weight: 900;
}

.fc-page-header,
.fc-single,
.fc-empty {
  padding: clamp(28px, 6vw, 82px);
  background: var(--fc-paper);
}

.fc-post-list {
  display: grid;
  background: var(--fc-paper);
}

.fc-post-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(22px, 4vw, 44px) clamp(28px, 6vw, 82px);
  border-top: 1px solid var(--fc-line);
}

.fc-post-list time {
  color: var(--fc-coral);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.fc-post-list h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
}

.fc-page-body,
.fc-single-body {
  max-width: 900px;
  margin-top: 30px;
  color: var(--fc-ink);
  font-size: 18px;
  line-height: 1.78;
}

.fc-page-body h2,
.fc-single-body h2 {
  margin-top: 34px;
  font-size: 34px;
}

.fc-page-body p,
.fc-single-body p {
  margin: 16px 0 0;
}

.fc-pagination {
  padding: 0 clamp(28px, 6vw, 82px) clamp(28px, 6vw, 82px);
  color: var(--fc-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.fc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(18px, 4vw, 46px);
  color: var(--fc-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--fc-paper);
  border-top: 1px solid var(--fc-line);
}

@media (max-width: 1040px) {
  .fc-film-site,
  .fc-cover,
  .fc-editorial {
    grid-template-columns: 1fr;
  }

  .fc-film-rail {
    grid-template-rows: none;
    grid-template-columns: 98px repeat(6, minmax(90px, 1fr));
    overflow-x: auto;
  }

  .fc-film-logo,
  .fc-film-rail a {
    min-height: 86px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .fc-film-foot {
    display: none;
  }

  .fc-main {
    grid-template-rows: auto auto auto;
  }

  .fc-cover {
    min-height: 760px;
  }

  .fc-editorial-intro {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--fc-line);
  }
}

@media (max-width: 680px) {
  .fc-caption-strip,
  .fc-sequence,
  .fc-post-list article {
    grid-template-columns: 1fr;
  }

  .fc-cover {
    min-height: 850px;
    background:
      linear-gradient(180deg, rgba(255, 248, 232, 0.98), rgba(255, 248, 232, 0.52) 58%, rgba(255, 248, 232, 0.08)),
      url("https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?auto=format&fit=crop&w=1200&q=84");
    background-size: cover;
    background-position: center bottom;
  }

  .fc-caption-strip {
    margin: 0 18px 18px;
  }

  .fc-sequence article,
  .fc-caption-strip div {
    border-right: 0;
  }
}
