/* plavbalodi.cz, the landing stage on a misty river (proposal 063, D10 and "Design
   identity"). Hand-written, not part of the Tailwind build. Every colour this domain
   prints lives here as a custom property. Tailwind utilities in the templates carry
   spacing, grid and type scale only. Unlayered, so it beats Tailwind's utility layer. */

:root {
  --pl-mist: #e6f0ec;
  --pl-card: #ffffff;
  --pl-band: #d3e4de;
  --pl-line: #b4cbc3;
  --pl-ink: #10231f;
  --pl-muted: #465953;
  --pl-jade: #0a5a52;
  --pl-jade-dark: #07423c;
  --pl-hull: #0d2b2a;
  --pl-foam: #bfe9dc;
  --pl-buoy: #ffb27a;
  --pl-head: 'Rokkitt', Georgia, 'Times New Roman', serif;
  --pl-text: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pl-mono: 'Sometype Mono', ui-monospace, 'Courier New', monospace;
}

.pl-body {
  background: var(--pl-mist);
  color: var(--pl-ink);
  font-family: var(--pl-text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* The inherited directory partials (areas, breadcrumbs, pagination, gone,
   source-attribution) keep their Tailwind colours, recoloured here as 048 does. */
.pl-body .text-gray-700, .pl-body .text-gray-600, .pl-body .text-gray-500, .pl-body .text-gray-400 { color: var(--pl-muted); }
.pl-body .hover\:text-blue-700:hover { color: var(--pl-jade-dark); }
.pl-body .bg-white { background: var(--pl-card); }
.pl-body .border-gray-200 { border-color: var(--pl-line); }
.pl-body .hover\:border-blue-400:hover { border-color: var(--pl-jade); }
.pl-body .text-xl.font-semibold, .pl-body .text-3xl.font-semibold { font-family: var(--pl-head); color: var(--pl-ink); font-weight: 700; }

/* Header and nav. The links wrap onto a second row on a phone, every one visible. */
.pl-header { background: var(--pl-card); border-bottom: 1px solid var(--pl-line); }
.pl-logo-word { font-family: var(--pl-head); font-weight: 700; font-size: 20px; color: var(--pl-ink); line-height: 1.2; }
.pl-logo-word .pl-logo-2 { color: var(--pl-jade); }
.pl-navrow { display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: 0.25rem; }
.pl-nav { color: var(--pl-ink); font-size: 15px; font-weight: 500; white-space: nowrap; }
.pl-nav:hover { color: var(--pl-jade); text-decoration: underline; text-underline-offset: 3px; }

/* Type. */
.pl-h1, .pl-h2, .pl-h3 { font-family: var(--pl-head); color: var(--pl-ink); }
.pl-h1 { font-weight: 700; line-height: 1.1; }
.pl-h2 { font-weight: 700; line-height: 1.2; }
.pl-h3 { font-weight: 600; line-height: 1.25; }
.pl-hero .pl-h1, .pl-hero .pl-h2 { color: var(--pl-mist); }
.pl-kicker { font-family: var(--pl-mono); font-weight: 500; font-size: 14px; color: var(--pl-foam); letter-spacing: 0.04em; }
.pl-mono { font-family: var(--pl-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.pl-note { color: var(--pl-muted); font-size: 15px; }
.pl-link, .pl-ticket a:not(.pl-btn), .pl-table a:not(.pl-btn), .pl-prose a:not(.pl-btn), .pl-card a:not(.pl-btn) {
  color: var(--pl-jade);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pl-link:hover, .pl-ticket a:not(.pl-btn):hover, .pl-table a:not(.pl-btn):hover, .pl-prose a:not(.pl-btn):hover, .pl-card a:not(.pl-btn):hover { color: var(--pl-jade-dark); }
.pl-hero a:not(.pl-btn) { color: var(--pl-foam); text-decoration: underline; text-underline-offset: 3px; }
.pl-hero a:not(.pl-btn):hover { color: var(--pl-buoy); }

/* Button. */
.pl-btn {
  display: inline-block;
  background: var(--pl-jade);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
}
.pl-btn:hover { background: var(--pl-jade-dark); color: #ffffff; }

/* Hero. */
.pl-hero { background: var(--pl-hull); color: var(--pl-mist); }

/* The boat ticket, the signature element: a white face, a perforation 3.5rem from the
   left edge with a half-round notch at its top and bottom, the stub left of it. */
.pl-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  min-height: 4.5rem;
  background:
    radial-gradient(circle at 3.5rem 0, var(--pl-mist) 8px, transparent 8.5px),
    radial-gradient(circle at 3.5rem 100%, var(--pl-mist) 8px, transparent 8.5px),
    var(--pl-card);
  border: 1px solid var(--pl-line);
  border-radius: 4px;
}
.pl-ticket-stub {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed var(--pl-line);
  margin: 10px 0;
  font-family: var(--pl-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--pl-muted);
  text-align: center;
  line-height: 1.2;
}
.pl-ticket-body { padding: 0.75rem 1rem; min-width: 0; }
.pl-ring { width: 14px; height: 14px; border: 3px solid var(--pl-jade); border-radius: 50%; }
.pl-ticketgrid { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 768px) { .pl-ticketgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pl-ticketgrid { grid-template-columns: 1fr 1fr 1fr; } }

/* A plain white card, for the operator page and the guides. */
.pl-card { background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 4px; padding: 1rem 1.25rem; }

/* Tables scroll inside their wrapper on a phone. */
.pl-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.pl-table { width: 100%; min-width: 30rem; border-collapse: collapse; background: var(--pl-card); }
.pl-table th { background: var(--pl-band); text-align: left; font-weight: 700; padding: 0.5rem 0.75rem; font-size: 15px; }
.pl-table td { padding: 0.5rem 0.75rem; border-top: 1px solid var(--pl-line); vertical-align: top; }
.pl-num { font-family: var(--pl-mono); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pl-table th.pl-num { font-family: var(--pl-text); font-weight: 700; }
.pl-tripnote { display: block; color: var(--pl-muted); font-size: 14px; }

/* An operator's contact list, one column on a phone. */
.pl-dl { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.pl-dl dt { color: var(--pl-muted); font-size: 15px; }
.pl-dl dd { margin: 0 0 0.6rem; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .pl-dl { grid-template-columns: 9rem 1fr; }
  .pl-dl dd { margin: 0 0 0.4rem; }
}

/* Text pages. */
.pl-prose p, .pl-prose ul { margin-bottom: 1rem; }
.pl-prose ul { list-style: disc; padding-left: 1.25rem; }
.pl-prose blockquote { border-left: 3px solid var(--pl-line); padding-left: 1rem; color: var(--pl-muted); margin-bottom: 1rem; }

/* The wave. Foam on the hull under the hero, the line colour on mist above the footer. */
.pl-waterline { display: block; width: 100%; height: 24px; }
.pl-waterline-hero { background: var(--pl-hull); color: var(--pl-foam); }
.pl-waterline-foot { color: var(--pl-line); }

/* Footer. Links are styled with :not(.pl-btn), never a bare `.pl-footer a` (044). */
.pl-footer { background: var(--pl-hull); color: var(--pl-mist); }
.pl-footer a:not(.pl-btn) { color: var(--pl-foam); text-decoration: underline; text-underline-offset: 3px; }
.pl-footer a:not(.pl-btn):hover { color: var(--pl-buoy); }
.pl-footer-label { color: var(--pl-foam); font-family: var(--pl-mono); font-weight: 500; font-size: 14px; letter-spacing: 0.04em; }
