/* Desiderata Rescue -- basic site styles */

:root {
  --ink: #2b2420;
  --ink-soft: #5b5148;
  --paper: #fbf7f0;
  --card: #ffffff;
  --accent: #b5651d;
  --accent-dark: #8f4e15;
  --border: #e6ddce;
  --radius: 14px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

header.site-header {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid #9B7084;
  overflow: hidden;
  margin: 0 auto 16px;
  display: block;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1.site-title {
  font-size: 1.9rem;
  margin: 0 0 6px;
}

.tagline {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

nav.site-nav {
  text-align: center;
  margin-bottom: 32px;
}

nav.site-nav a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
}

nav.site-nav a:hover,
nav.site-nav a:focus-visible {
  text-decoration: underline;
}

.description {
  margin-bottom: 32px;
  text-align: center;
}

.description p {
  margin: 0 0 12px;
}

.description p:last-child {
  margin-bottom: 0;
}

h2.section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .link-grid {
    grid-template-columns: 1fr;
  }
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}

.link-card .icon {
  width: 56px;
  height: 56px;
  flex: none;
  color: var(--accent-dark);
  border-radius: 50%;
  overflow: hidden;
}

.link-card .icon-frame {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}

.link-card .icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.link-grid.row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.link-card.featured {
  grid-column: 1 / -1;
  color: var(--ink);
}

.icon-frame.photo {
  width: 100px;
  height: 100px;
}

.icon-frame.photo.large {
  width: 200px;
  height: 200px;
}

.icon-frame.photo.contain img {
  object-fit: contain;
  background: #fff;
}

section.links {
  margin-bottom: 36px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 14px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0 0 10px;
  color: var(--ink-soft);
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item ul.transport-locations {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.faq-item ul.transport-locations li {
  margin-bottom: 4px;
}

.faq-page h1.site-title {
  color: #c2185b;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer.site-footer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 40px;
}

footer.site-footer a {
  color: var(--ink-soft);
}
