/* The institutional stylesheet supplies the typography, colors, header and footer. */
.gudde-blog main {
  --line: #d3d0c8;
  --muted: #555a68;
  line-height: 1.65;
}
.gudde-blog :focus-visible {outline: 3px solid #6c95ff; outline-offset: 4px}
.gudde-blog .site-header [aria-current] {opacity: 1; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px}
.skip {position: absolute; left: 1rem; top: -10rem; padding: .65rem 1rem; background: #fff; z-index: 30}
.skip:focus {top: .5rem}
.shell {width: min(1200px, 90%); margin-inline: auto}
.mast {
  position: relative;
  overflow: hidden;
  padding: clamp(125px, 10vw, 160px) 0 clamp(40px, 5vw, 78px);
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--blue));
}
.mast::before,.mast::after {
  content: ""; position: absolute; pointer-events: none; border: 1px solid #ffffff19;
  border-radius: 50%; width: min(44vw, 620px); aspect-ratio: 1; right: -7%; top: -65%;
}
.mast::after {width: min(29vw, 390px); right: 4%; top: -32%}
.mast .shell {position: relative; z-index: 1}
.breadcrumbs {display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; color: #d5dcf3}
.breadcrumbs a:hover,.topics a:hover,.story aside a:hover,.prose a:hover {text-decoration: underline}
.mast h1 {margin: 24px 0 15px; overflow-wrap: break-word}
.mast p {max-width: 62ch; margin: 0; font-size: 17px; line-height: 1.7; color: #d5dcf3}
.filters,.pages {display: flex; flex-wrap: wrap; align-items: center; gap: .5rem}
.filters {padding: 1.65rem 0 2rem}
.filters a,.pages a {
  display: inline-flex; align-items: center; justify-content: center; opacity: 1;
  min-height: 44px; padding: .45rem 1.1rem; border: 1px solid #c6c6bf; border-radius: 4px;
  font-size: .92rem; line-height: 1.3; font-weight: 700;
}
.filters a:hover,.pages a:hover {border-color: var(--blue); color: var(--blue)}
.filters a[aria-current],.pages a[aria-current] {border-color: var(--blue); background: var(--blue); color: var(--white)}
.archive {padding-bottom: clamp(3rem, 6vw, 6rem)}
.feature {display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white)}
.photo {display: block; overflow: hidden; background: #e5e4dd}
.photo img,.story-cover img {width: 100%; height: 100%; object-fit: cover}
.feature .photo {min-height: 300px}
.card-copy {display: flex; flex-direction: column; align-items: flex-start; min-width: 0}
.feature .card-copy {justify-content: center; padding: clamp(1.5rem, 4vw, 3.6rem)}
.topics {display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--blue); font-size: 11px; line-height: 1.6; letter-spacing: .12em; font-weight: 800; text-transform: uppercase}
.topics::before {content: ""; width: 1.5rem; height: 3px; background: var(--yellow)}
.feature h2,.card h2,.empty h2,.prose h2 {
  margin: .75rem 0 1rem; font: 800 clamp(2rem, 3.7vw, 3.85rem)/1.02 var(--font-display);
  letter-spacing: -.045em; overflow-wrap: break-word;
}
.feature h2 a:hover,.card h2 a:hover {color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px}
.card-copy > p {margin: 0; color: var(--muted); line-height: 1.7}
.card-end,.byline {display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem}
.card-end {margin-top: 1.55rem}
.card-end time,.byline {font-size: .89rem}
.card-end time {color: var(--muted)}
.read {
  display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 1.2rem;
  border-radius: 4px; background: var(--blue); color: var(--white); font-weight: 800; font-size: .88rem;
}
.read:hover {background: var(--deep)}
.cards {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.8rem 1.5rem; margin-top: 2.7rem}
.card .photo {aspect-ratio: 3/2; border-radius: 4px}
.card .card-copy {padding-top: 1rem}
.card h2 {font-size: clamp(1.45rem, 2.2vw, 2.15rem)}
.card .card-end {margin-top: .8rem}
.empty {padding-block: 1.5rem}
.empty .button {margin-top: 1rem}
.pages {margin-top: 2.5rem}
.pages span {padding-inline: .3rem}

.story-mast {padding-bottom: clamp(2rem, 3.8vw, 3.6rem)}
.story-head {max-width: 980px; margin-top: 1.65rem}
.story-head .topics {color: var(--yellow)}
.story h1 {max-width: 24ch; margin: 1rem 0; font-size: clamp(2.35rem, 4.8vw, 4.9rem); line-height: 1.03; letter-spacing: -.05em}
.story-head .summary {max-width: 65ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem)}
.byline {margin-top: 1.2rem; color: #d5dcf3}
.story-content {padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 6rem)}
.story-cover {width: min(100%, 1000px); margin-inline: auto; aspect-ratio: 2.65/1; overflow: hidden; border-radius: 6px}
.story-grid {display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 715px); gap: clamp(2rem, 6vw, 6rem); justify-content: center; margin-top: 3.5rem}
.story aside details {position: sticky; top: 1.5rem; border-top: 4px solid var(--yellow); padding-top: .8rem}
.story aside summary {font-weight: 800; color: var(--blue); cursor: pointer}
.story aside ol {padding-left: 1.3rem; color: var(--muted); font-size: .94rem}
.story aside li,.prose li {margin: .65rem 0}
.prose {font: 400 1.1rem/1.75 var(--font-body); overflow-wrap: break-word}
.prose section {margin-bottom: 2.4rem; scroll-margin-top: 1.5rem}
.prose h2 {font-size: clamp(1.65rem, 2.6vw, 2.55rem); line-height: 1.12; margin-top: 0}
.prose p {margin: 0 0 1rem}
.prose ul {padding-left: 1.35rem}
.sources {border-top: 1px solid var(--line); padding-top: 1.5rem}
.sources a {color: var(--blue); text-decoration: underline}

@media (max-width: 820px) {
  .feature .photo {min-height: 240px}
  .feature .card-copy {padding: 1.5rem}
  .cards {grid-template-columns: repeat(2, minmax(0, 1fr))}
  .story-grid {grid-template-columns: 1fr; gap: 1.6rem}
  .story aside details {position: static}
  .story aside ol {columns: 2; column-gap: 2rem}
}
@media (max-width: 610px) {
  .shell {width: calc(100% - 40px)}
  .mast {padding-top: 100px}
  .mast h1 {font-size: clamp(2.5rem, 10vw, 3.4rem); line-height: 1}
  .story h1 {font-size: clamp(2.1rem, 8.4vw, 2.95rem); line-height: 1.04}
  .filters {gap: .4rem; padding: 1.2rem 0 1.45rem}
  .filters a {font-size: .85rem; padding-inline: .7rem}
  .feature {display: flex; flex-direction: column}
  .feature .photo {min-height: 0; aspect-ratio: 1.8}
  .feature .card-copy {padding: 1.35rem}
  .card-end {margin-top: 1rem}
  .cards {grid-template-columns: 1fr; gap: 2rem}
  .story-cover {aspect-ratio: 1.7}
  .story-grid {margin-top: 1.8rem}
  .story aside ol {columns: 1}
  .prose {font-size: 1.04rem}
}
