/* Crysten Curry Elementor Widget - The Journal (fonts come from fonts.css) */

.cc-jnl-wrap {
  --cc-j-bg: #F3EEE7;
  --cc-j-pad: clamp(56px, 8vw, 120px);
  --cc-j-maxw: 1680px;
  --cc-j-gutter: clamp(20px, 3vw, 48px);
  --cc-j-label: #520000;
  --cc-j-heading: #0A0708;
  --cc-j-link: #0A0708;
  --cc-j-fmeta: #520000;
  --cc-j-ftitle: #0A0708;
  --cc-j-fexcerpt: #4A4447;
  --cc-j-line: #0A0708;
  --cc-j-rtitle: #0A0708;
  --cc-j-rtitle-hover: #520000;
  --cc-j-rmeta: #0A0708;
  width: 100%;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  box-sizing: border-box;
}
.cc-jnl-wrap *, .cc-jnl-wrap *::before, .cc-jnl-wrap *::after { box-sizing: border-box; }

.cc-jnl { background: var(--cc-j-bg); padding-block: var(--cc-j-pad); }
.cc-jnl__wrap { width: 100%; max-width: var(--cc-j-maxw); margin: 0 auto; padding-inline: var(--cc-j-gutter); }

/* ---------- header ---------- */
.cc-jnl__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.cc-jnl-wrap .cc-jnl__label {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--cc-j-label);
}
.cc-jnl-wrap .cc-jnl__heading {
  margin: 20px 0 0;
  font-family: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  font-size: clamp(41.6px, 6.4vw, 99.2px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--cc-j-heading);
}
.cc-jnl-wrap .cc-jnl__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cc-j-link);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s;
}
.cc-jnl-wrap .cc-jnl__more:hover,
.cc-jnl-wrap .cc-jnl__more:focus { background-size: 100% 1px; }
.cc-jnl .cc-ico { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- feature ---------- */
.cc-jnl__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  text-decoration: none;
}
.cc-jnl__fimg { overflow: hidden; background: #E8E2D8; }
.cc-jnl__fimg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.cc-jnl__feature:hover .cc-jnl__fimg img { transform: scale(1.025); }
.cc-jnl__fbody {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--cc-j-line);
  padding-top: 18px;
}
.cc-jnl-wrap .cc-jnl__fmeta {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cc-j-fmeta);
}
.cc-jnl-wrap .cc-jnl__ftitle {
  margin: 26px 0 0;
  font-family: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.6vw, 54.4px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--cc-j-ftitle);
}
.cc-jnl-wrap .cc-jnl__fexcerpt {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 16px;
  color: var(--cc-j-fexcerpt);
}
.cc-jnl-wrap .cc-jnl__flink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  align-self: flex-start;
  padding-top: 34px;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cc-j-link);
}

/* ---------- list ---------- */
.cc-jnl__list { margin-top: clamp(36px, 5vw, 72px); border-top: 1px solid var(--cc-j-line); }
.cc-jrow {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 190px 24px;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--cc-j-line);
  text-decoration: none;
}
.cc-jrow__meta {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--cc-j-rmeta);
}
.cc-jrow .cc-jrow__title {
  margin: 0;
  font-family: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--cc-j-rtitle);
}
.cc-jrow:hover .cc-jrow__title,
.cc-jrow:focus-visible .cc-jrow__title { color: var(--cc-j-rtitle-hover); }
.cc-jrow .cc-ico { justify-self: end; }
.cc-jnl a:focus-visible { outline: 2px solid #B0122A; outline-offset: 3px; }

@media (max-width: 900px) {
  .cc-jnl__feature { grid-template-columns: 1fr; }
  .cc-jrow { grid-template-columns: 1fr 24px; }
  .cc-jrow__meta:nth-child(1), .cc-jrow__meta:nth-child(3) { grid-column: 1; }
  .cc-jrow .cc-jrow__title { grid-column: 1; }
  .cc-jrow .cc-ico { grid-column: 2; grid-row: 1; }
}

/* ======================================================================
   Layout: banner photo + post list
   ==================================================================== */
.cc-jnl-wrap--banner {
  --cc-j-bh: clamp(360px, 60vh, 700px);
  --cc-j-by: 40%;
  --cc-j-shade: .3;
  --cc-j-btext: #FFFFFF;
}
.cc-jnl-wrap--banner .cc-jnl { padding-top: 0; }

.cc-jnl__banner {
  position: relative;
  width: 100%;
  height: var(--cc-j-bh);
  overflow: hidden;
  background: #2A2426;
  color: var(--cc-j-btext);
}
.cc-jnl__bimg, .cc-jnl__bshade { position: absolute; inset: 0; }
.cc-jnl__bimg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% var(--cc-j-by);
}
.cc-jnl__bshade {
  background: linear-gradient(to top, rgba(10, 7, 8, calc(var(--cc-j-shade) + .25)) 0%, rgba(10, 7, 8, var(--cc-j-shade)) 45%, rgba(10, 7, 8, calc(var(--cc-j-shade) * .4)) 100%);
}
.cc-jnl__bcopy {
  position: absolute;
  left: var(--cc-j-gutter);
  bottom: clamp(20px, 3.2vw, 52px);
  right: var(--cc-j-gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cc-jnl-wrap .cc-jnl__bsub {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--cc-j-btext);
}
.cc-jnl-wrap .cc-jnl__btitle {
  margin: 14px 0 0;
  font-family: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 12vw, 190px);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--cc-j-btext);
}
.cc-jnl-wrap .cc-jnl__bmore {
  position: absolute;
  right: var(--cc-j-gutter);
  bottom: clamp(24px, 3.4vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cc-j-btext);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s;
}
.cc-jnl-wrap .cc-jnl__bmore:hover,
.cc-jnl-wrap .cc-jnl__bmore:focus { background-size: 100% 1px; }
.cc-jnl-wrap--banner .cc-jnl__list { margin-top: clamp(24px, 3vw, 44px); }

@media (max-width: 600px) {
  /* small screens: the link moves to the top-right corner of the photo so it never collides with the big title */
  .cc-jnl-wrap .cc-jnl__bmore { top: 20px; bottom: auto; }
}

/* ---- layout: post list only (sub header + rows) ---- */
.cc-jnl-wrap .cc-jnl__sub {
  margin: 0 0 clamp(18px, 2vw, 30px);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--cc-j-heading, #0A0708);
}
.cc-jnl-wrap--list .cc-jnl__list { margin-top: 0; }
