﻿/*
Theme Name: Friedland 3 App Theme
Theme URI: https://example.local/friedland3
Author: KGA Friedland 3
Description: Mobile-first WordPress-Theme für die Kleingartenkolonie Friedland 3 mit App-Startseite, Terminen, Meldungen und Schnellzugriffen.
Version: 1.3.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: friedland3
*/

:root {
  --f3-green-900: #073b1c;
  --f3-green-800: #0d4f27;
  --f3-green-700: #176834;
  --f3-green-600: #2b7a3d;
  --f3-lime: #a8c64a;
  --f3-blue: #3d9fe0;
  --f3-paper: #f7f8f1;
  --f3-card: #ffffff;
  --f3-line: #d9dfd2;
  --f3-text: #172117;
  --f3-muted: #657065;
  --f3-shadow: 0 12px 28px rgba(17, 32, 19, .18);
  --f3-radius: 8px;
  --f3-safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #e8ece3;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 30% -10%, rgba(168, 198, 74, .28), transparent 34rem),
    linear-gradient(180deg, #eef1e9 0%, #dce4d8 100%);
  color: var(--f3-text);
}

body.admin-bar .f3-shell {
  min-height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.f3-shell {
  width: min(100%, 430px);
  min-height: auto;
  margin: 0 auto;
  background: var(--f3-paper);
  box-shadow: var(--f3-shadow);
  position: relative;
  overflow-x: hidden;
}

.f3-topbar {
  min-height: 116px;
  padding: 18px 16px 16px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(7, 59, 28, .96), rgba(19, 96, 42, .93)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, .04) 18px 19px);
}

.f3-icon-user {
  display: inline-block;
  position: relative;
}

.f3-icon-user {
  width: 28px;
  height: 28px;
}

.f3-icon-user::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}

.f3-icon-user::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 20px;
  height: 11px;
  border-radius: 11px 11px 3px 3px;
  background: currentColor;
}

.f3-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 8px;
  align-items: center;
}

.f3-logo {
  width: min(330px, 100%);
  height: 82px;
}

.f3-logo-image {
  display: block;
  object-fit: contain;
  object-position: left center;
}

.f3-profile-link {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  padding: 0;
  color: currentColor;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.f3-logo-link,
.f3-profile-link {
  display: grid;
  place-items: center;
}

.f3-logo-link {
  min-width: 0;
  justify-content: start;
}

.f3-profile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: rgba(4, 15, 7, .34);
  opacity: 0;
  transition: opacity .18s ease;
}

.f3-profile-menu {
  position: fixed;
  top: 0;
  right: max(0px, calc((100vw - 430px) / 2));
  bottom: 0;
  z-index: 29;
  width: min(86vw, 330px);
  padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(18px + var(--f3-safe-bottom));
  color: var(--f3-text);
  background: var(--f3-paper);
  border-left: 1px solid rgba(20, 54, 25, .12);
  border-radius: 18px 0 0 18px;
  box-shadow: -18px 0 34px rgba(8, 28, 12, .28);
  transform: translateX(calc(100% + 28px));
  transition: transform .22s ease;
  overflow-y: auto;
}

.f3-profile-open .f3-profile-backdrop {
  opacity: 1;
}

.f3-profile-open .f3-profile-menu {
  transform: translateX(0);
}

.f3-profile-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 14px;
}

.f3-profile-menu-kicker {
  display: block;
  color: var(--f3-green-700);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.f3-profile-menu h2 {
  margin: 3px 0 0;
  color: var(--f3-green-900);
  font-size: 24px;
  line-height: 1.1;
}

.f3-profile-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d8e2d2;
  border-radius: 50%;
  background: #fff;
  color: var(--f3-green-800);
  cursor: pointer;
}

.f3-profile-close span {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}

.f3-profile-close span::before,
.f3-profile-close span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 2px;
  height: 15px;
  background: currentColor;
  border-radius: 2px;
}

.f3-profile-close span::before {
  transform: rotate(45deg);
}

.f3-profile-close span::after {
  transform: rotate(-45deg);
}

.f3-profile-menu-list {
  display: grid;
  gap: 9px;
}

.f3-profile-menu-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid #dfe7d8;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(21, 35, 20, .09);
}

.f3-profile-menu-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--f3-green-700);
  background: #edf5e8;
  border-radius: 50%;
}

.f3-profile-menu-item svg {
  width: 22px;
  height: 22px;
}

.f3-profile-menu-item strong {
  min-width: 0;
  color: #142114;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.f3-main {
  padding: 13px 14px 92px;
}

.f3-section {
  margin-bottom: 17px;
}

.f3-weather-warning {
  margin-bottom: 13px;
}

.f3-weather-warning:empty {
  display: none;
}

.f3-ha-temp-section {
  display: flex;
  justify-content: flex-end;
  margin: -3px 0 13px;
}

.f3-ha-temp-section .ha-temp-wrapper {
  margin: 0;
}

.f3-ha-temp-section .ha-temp-box {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 5px 8px;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: #12301a;
  background: linear-gradient(135deg, #ffffff, #eef6e9);
  border: 1px solid #d9e6d1;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(21, 35, 20, .1);
}

.f3-ha-temp-section .ha-temp-header {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 0;
}

.f3-ha-temp-section .ha-temp-icon {
  font-size: 14px;
  line-height: 1;
}

.f3-ha-temp-section .ha-temp-label {
  color: var(--f3-muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.f3-ha-temp-section .ha-temp-value {
  color: var(--f3-green-800);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.f3-ha-temp-section .ha-temp-unit {
  font-size: 11px;
  font-weight: 800;
}

.f3-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1px 7px;
}

.f3-section-title {
  margin: 0;
  color: var(--f3-green-800);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.f3-view-all {
  color: var(--f3-green-700);
  font-size: 12px;
  font-weight: 650;
}

.f3-card {
  background: var(--f3-card);
  border: 1px solid var(--f3-line);
  border-radius: var(--f3-radius);
  box-shadow: 0 3px 12px rgba(28, 43, 26, .12);
  overflow: hidden;
}

.f3-card.f3-quick-grid,
.f3-card.f3-more-grid {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.f3-empty {
  margin: 0;
  padding: 14px 12px;
  color: var(--f3-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.f3-empty-grid {
  grid-column: 1 / -1;
}

.f3-list-row {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  gap: 8px;
  align-items: center;
  min-height: 45px;
  padding: 8px 9px;
  border-bottom: 1px solid #e7ebe1;
}

.f3-list-row-important {
  position: relative;
  margin: 0;
  padding-left: 13px;
  border-bottom-color: #ead8d8;
  background: linear-gradient(90deg, rgba(213, 41, 41, .08), #fff 36%);
}

.f3-list-row-important::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #d52929;
}

.f3-list-row-important .f3-row-title {
  color: #9f1919;
  font-weight: 800;
}

.f3-list-row:last-child {
  border-bottom: 0;
}

.f3-row-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--f3-green-700);
}

.f3-row-title {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 650;
}

.f3-row-meta {
  display: block;
  margin-top: 2px;
  color: var(--f3-muted);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 600;
}

.f3-location-meta {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.f3-location-meta svg {
  width: 13px;
  height: 13px;
  color: var(--f3-green-700);
  fill: currentColor;
}

.f3-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #7e897b;
  border-right: 2px solid #7e897b;
  transform: rotate(45deg);
}

.f3-event-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 7px 9px;
  border-bottom: 1px solid #e7ebe1;
}

.f3-event-row:last-child {
  border-bottom: 0;
}

.f3-date-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  color: #fff;
  background: linear-gradient(180deg, #6e9c3a, #4f7a2c);
  border-radius: 5px;
  text-align: center;
  line-height: .92;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.f3-date-badge-required {
  background: linear-gradient(180deg, #ff1f1f, #c70f0f);
}

.f3-date-badge-community {
  background: linear-gradient(180deg, #39d900, #25a800);
}

.f3-date-badge-event {
  background: linear-gradient(180deg, #63c7df, #3aa8c7);
}

.f3-date-badge-special {
  color: #2d2207;
  background: linear-gradient(180deg, #ffd86b, #d9a51e);
}

.f3-event-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 2px;
  vertical-align: -1px;
}

.f3-event-dot-required {
  background: #ff1f1f;
}

.f3-event-dot-community {
  background: #2fc900;
}

.f3-event-dot-event {
  background: #55bdd7;
}

.f3-event-dot-special {
  background: #f0b923;
}

.f3-event-row-special {
  position: relative;
  background: linear-gradient(90deg, rgba(240, 185, 35, .18), #fff 42%);
}

.f3-event-row-special::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #d9a51e;
}

.f3-special-events {
  display: grid;
  gap: 8px;
}

.f3-special-card {
  --f3-special-bg: none;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 7px 9px;
  color: #2b2109;
  background:
    linear-gradient(90deg, rgba(255, 246, 211, .96), rgba(255, 255, 255, .96) 62%),
    var(--f3-special-bg) center / cover no-repeat,
    #fff;
  border: 1px solid #e7c762;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(112, 82, 12, .16);
}

.f3-special-card.has-image {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(36, 25, 3, .84), rgba(36, 25, 3, .5)),
    var(--f3-special-bg) center / cover no-repeat,
    #3d2a05;
  border-color: rgba(240, 185, 35, .82);
}

.f3-special-card.has-template {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}

.f3-special-card.is-template-football {
  background:
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, .96) 0 8px, transparent 9px),
    linear-gradient(135deg, transparent 0 13px, rgba(255, 255, 255, .12) 13px 15px, transparent 15px 28px),
    linear-gradient(90deg, #164b24, #0b2f17);
}

.f3-special-card.is-template-summer {
  background:
    radial-gradient(circle at 88% 20%, #ffd966 0 12px, transparent 13px),
    linear-gradient(90deg, #1f8b4c, #0e5f37);
}

.f3-special-card.is-template-garden {
  background:
    radial-gradient(circle at 86% 78%, rgba(255, 201, 89, .9) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 26%, rgba(190, 231, 97, .85) 0 8px, transparent 9px),
    linear-gradient(90deg, #216c38, #123f21);
}

.f3-special-card.is-template-kids {
  background:
    radial-gradient(circle at 86% 24%, #ffcf4a 0 7px, transparent 8px),
    radial-gradient(circle at 76% 72%, #5db6e8 0 7px, transparent 8px),
    linear-gradient(90deg, #2f7d3e, #1b5730);
}

.f3-special-card.is-template-work {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16) 0 10px, transparent 10px 20px),
    linear-gradient(90deg, #365929, #173e1f);
}

.f3-special-card.is-template-christmas {
  background:
    radial-gradient(circle at 88% 24%, #e8f4d8 0 5px, transparent 6px),
    radial-gradient(circle at 78% 70%, #d12b2b 0 5px, transparent 6px),
    linear-gradient(90deg, #13562d, #7d1b1b);
}

.f3-special-content {
  display: grid;
  min-width: 0;
}

.f3-special-kicker {
  color: #876005;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.f3-special-title {
  color: #182218;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.f3-special-note,
.f3-special-meta {
  color: #5e5437;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}

.f3-special-meta {
  color: #25612d;
  font-weight: 800;
}

.f3-special-card.has-image .f3-special-title,
.f3-special-card.has-image .f3-special-note,
.f3-special-card.has-image .f3-special-meta,
.f3-special-card.has-template .f3-special-title,
.f3-special-card.has-template .f3-special-note,
.f3-special-card.has-template .f3-special-meta {
  color: #fff;
  text-shadow: 0 1px 7px rgba(0, 0, 0, .55);
}

.f3-special-card.has-image .f3-special-meta,
.f3-special-card.has-template .f3-special-meta {
  color: #ffe58a;
}

.f3-event-legend {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 10px 12px;
  color: #fff;
  background: var(--f3-green-700);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
}

.f3-event-legend span {
  display: flex;
  align-items: center;
}

.f3-date-day {
  display: block;
  font-size: 18px;
  font-weight: 850;
}

.f3-date-month {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.f3-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.f3-quick-item {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 10px 5px 8px;
  background: #fff;
  border: 1px solid #e2e8dc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(21, 35, 20, .1);
  text-align: center;
}

.f3-quick-item.is-featured {
  border-color: #5fa33b;
  box-shadow: inset 0 0 0 1px #5fa33b, 0 4px 12px rgba(21, 35, 20, .12);
}

.f3-quick-icon {
  display: block;
  width: 37px;
  height: 37px;
  margin-bottom: 6px;
  color: var(--f3-green-700);
}

.f3-quick-title {
  min-height: 29px;
  display: grid;
  place-items: center;
  color: #1b251b;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.f3-quick-item[data-icon="water"] .f3-quick-icon,
.f3-row-icon[data-icon="water"] {
  color: var(--f3-blue);
}

.f3-quick-item[data-icon="energy"] .f3-quick-icon,
.f3-row-icon[data-icon="energy"] {
  color: #247a2c;
}

.f3-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 430px);
  padding: 7px 8px calc(7px + var(--f3-safe-bottom));
  background: linear-gradient(180deg, var(--f3-green-800), var(--f3-green-900));
  color: #fff;
  transform: translateX(-50%);
  box-shadow: 0 -8px 22px rgba(15, 42, 20, .22);
}

.f3-nav-item {
  display: grid;
  gap: 3px;
  place-items: center;
  min-width: 0;
  min-height: 44px;
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.f3-nav-item svg {
  width: 22px;
  height: 22px;
}

.f3-nav-item.is-active {
  color: #cbe866;
}

.f3-more-backdrop {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(4, 15, 7, .32);
  opacity: 0;
  transition: opacity .18s ease;
}

.f3-more-sheet {
  position: fixed;
  left: 50%;
  bottom: calc(58px + var(--f3-safe-bottom));
  z-index: 19;
  width: min(100%, 430px);
  max-height: min(68vh, 520px);
  padding: 9px 14px 14px;
  background: var(--f3-paper);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 34px rgba(15, 42, 20, .24);
  transform: translate(-50%, calc(100% + 80px));
  transition: transform .22s ease;
  overflow-y: auto;
}

.f3-more-open .f3-more-backdrop {
  opacity: 1;
}

.f3-more-open .f3-more-sheet {
  transform: translate(-50%, 0);
}

.f3-more-open .f3-more-toggle {
  color: #cbe866;
}

.f3-more-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #c7d3bf;
}

.f3-more-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1px 8px;
}

.f3-more-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d8e2d2;
  border-radius: 50%;
  background: #fff;
  color: var(--f3-green-800);
  cursor: pointer;
}

.f3-more-close span {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.f3-more-close span::before,
.f3-more-close span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
  background: currentColor;
  border-radius: 2px;
}

.f3-more-close span::before {
  transform: rotate(45deg);
}

.f3-more-close span::after {
  transform: rotate(-45deg);
}

.f3-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.f3-more-grid .f3-quick-item {
  min-height: 68px;
  padding: 8px 4px 7px;
}

.f3-more-grid .f3-quick-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 5px;
}

.f3-more-grid .f3-quick-title {
  min-height: 23px;
  font-size: 10px;
}

.f3-page-header {
  padding: 18px 14px 10px;
}

.f3-page-title {
  margin: 0 0 16px;
  color: var(--f3-green-900);
  font-size: 25px;
  line-height: 1.05;
}

.f3-content {
  padding: 20px 14px 94px;
}

.f3-content :where(p, ul, ol) {
  font-size: 15px;
  line-height: 1.55;
}

.f3-post {
  padding: 13px;
}

.f3-event-detail-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e1e7dc;
}

.f3-event-detail-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.f3-event-detail-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: center;
}

.f3-event-detail-list dt {
  color: var(--f3-muted);
  font-size: 12px;
  font-weight: 800;
}

.f3-event-detail-list dd {
  margin: 0;
  color: var(--f3-text);
  font-size: 13px;
  font-weight: 700;
}

.f3-event-single {
  padding: 12px;
}

.f3-event-hero {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 11px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4eadf;
}

.f3-event-single .f3-date-badge {
  width: 42px;
  height: 52px;
}

.f3-event-single .f3-date-day {
  font-size: 20px;
}

.f3-event-hero-text {
  min-width: 0;
}

.f3-event-hero-top {
  display: flex;
  gap: 8px;
  align-items: start;
  justify-content: space-between;
}

.f3-event-title {
  margin: 0;
  color: #122012;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 850;
}

.f3-event-pill {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 3px 7px;
  color: #fff;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.1;
}

.f3-event-pill-required {
  background: #d71919;
}

.f3-event-pill-community {
  background: #2aa300;
}

.f3-event-pill-event {
  background: #42aeca;
}

.f3-event-pill-special {
  color: #2d2207;
  background: #f0b923;
}

.f3-event-single-special {
  border-color: #e7c762;
  box-shadow: 0 4px 16px rgba(112, 82, 12, .16);
}

.f3-special-detail-note {
  margin-top: 12px;
  padding: 10px;
  color: #2b2109;
  background: #fff6d8;
  border: 1px solid #e7c762;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.f3-special-detail-note span {
  display: block;
  margin-bottom: 2px;
  color: #876005;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.f3-event-hero-text p,
.f3-event-description :where(p, ul, ol) {
  font-size: 12px;
  line-height: 1.45;
}

.f3-event-hero-text p {
  margin: 7px 0 0;
}

.f3-event-description {
  padding: 12px 0 10px;
  border-bottom: 1px solid #edf1e9;
}

.f3-event-description > :first-child {
  margin-top: 0;
}

.f3-event-description > :last-child {
  margin-bottom: 0;
}

.f3-event-info-list {
  display: grid;
  gap: 13px;
  margin: 14px 0 0;
}

.f3-event-info-row {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
}

.f3-event-info-row dt {
  display: contents;
  color: #1b2a1b;
  font-size: 12px;
  font-weight: 850;
}

.f3-event-info-row dt span {
  display: grid;
  place-items: start center;
  color: #263326;
}

.f3-event-info-row dt svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.f3-event-info-row dd {
  grid-column: 2;
  margin: 2px 0 0;
  color: #1d281d;
  font-size: 12px;
  line-height: 1.35;
}


.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 700px) {
  body {
    padding: 18px 0;
  }

  .f3-shell {
    min-height: auto;
    border-radius: 22px;
    overflow: hidden;
  }

  .f3-bottom-nav {
    border-radius: 0 0 22px 22px;
  }
}

@media (max-width: 699px) {
  html {
    background: var(--f3-paper);
    margin-top: 0 !important;
  }

  body {
    min-height: 100dvh;
    background: var(--f3-paper);
  }

  body.admin-bar .f3-shell {
    min-height: calc(100dvh - 32px);
  }

  .f3-shell {
    min-height: 100dvh;
    background: var(--f3-paper);
    box-shadow: none;
  }

  .f3-topbar {
    min-height: 138px;
    padding-top: calc(38px + env(safe-area-inset-top, 0px));
  }

  .f3-main {
    padding-bottom: calc(72px + var(--f3-safe-bottom));
  }

  .f3-section-title {
    font-size: 17px;
  }

  .f3-view-all {
    font-size: 13.5px;
  }

  .f3-list-row {
    grid-template-columns: 30px 1fr 18px;
    gap: 10px;
    min-height: 54px;
    padding: 10px 10px;
  }

  .f3-row-icon {
    width: 25px;
    height: 25px;
  }

  .f3-row-title {
    font-size: 17px;
    line-height: 1.25;
  }

  .f3-row-meta {
    font-size: 14px;
  }

  .f3-event-row {
    grid-template-columns: 48px 1fr;
    min-height: 64px;
    padding: 9px 10px;
  }

  .f3-date-badge {
    width: 39px;
    height: 48px;
  }

  .f3-date-day {
    font-size: 20px;
  }

  .f3-date-month {
    font-size: 12px;
  }

  .f3-event-dot {
    width: 13px;
    height: 13px;
  }

  .f3-quick-item {
    min-height: 86px;
    padding: 12px 6px 10px;
  }

  .f3-quick-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }

  .f3-quick-title {
    font-size: 15px;
    line-height: 1.18;
  }

  .f3-nav-item {
    font-size: 11.5px;
  }

  .f3-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: min(100%, 430px);
    transform: translateX(-50%);
  }
}

@media (max-width: 360px) {
  .f3-hero {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .f3-logo {
    width: min(300px, 100%);
    height: 78px;
  }

  .f3-quick-title {
    font-size: 12px;
  }
}
