:root {
  --bg: #ffffff;
  --ink: #162033;
  --muted: #637083;
  --line: #dde4ef;
  --soft: #f5f7fb;
  --yellow: #ffd329;
  --red: #ef5350;
  --blue: #2878ff;
  --green: #18a957;
  --charcoal: #101722;
  --shadow: 0 22px 64px rgba(23, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  flex: 1 0 auto;
}

.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 211, 41, 0.16), rgba(255, 211, 41, 0) 18%),
    #ffffff;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 228, 239, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong,
h1,
h2,
h3 {
  font-family: Nunito, Inter, sans-serif;
}

.brand strong {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--charcoal);
  background: var(--yellow);
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(255, 211, 41, 0.24);
}

.brand-mark i {
  font-size: 20px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--charcoal);
  background: var(--yellow);
  outline: none;
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.dashboard-shell {
  position: relative;
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(620px, 1.3fr);
  gap: clamp(20px, 3.6vw, 46px);
  align-items: center;
  padding: clamp(18px, 3vw, 38px) clamp(18px, 5vw, 76px);
  overflow: hidden;
}

.dashboard-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 10px clamp(20px, 3vw, 30px) 30px;
}

.card-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7dce5;
  border-radius: 8px;
  box-shadow:
    0 16px 38px rgba(23, 32, 51, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.welcome-panel {
  position: relative;
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 3vw, 40px) clamp(42px, 6vw, 76px) 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 42%, rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 0.5) 100%),
    radial-gradient(circle at 17% 8%, rgba(255, 211, 41, 0.18), rgba(255, 211, 41, 0) 28%),
    #fff;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.06);
}

.welcome-city {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.18;
  filter: grayscale(1) contrast(1.08);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 84%, transparent 100%);
}

.paint-stroke,
.paint-swoosh {
  position: absolute;
  pointer-events: none;
}

.paint-stroke.yellow {
  top: 0;
  left: 0;
  width: 250px;
  height: 86px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 74%);
}

.paint-stroke.yellow::after,
.paint-stroke.blue::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-14deg);
}

.paint-stroke.yellow::after {
  top: 26px;
  left: -18px;
  width: 290px;
  height: 8px;
}

.paint-stroke.blue {
  bottom: 0;
  left: 0;
  width: 250px;
  height: 110px;
  background: #075bab;
  clip-path: polygon(0 16%, 64% 100%, 0 100%);
}

.paint-stroke.blue::after {
  bottom: 36px;
  left: -8px;
  width: 190px;
  height: 7px;
}

.paint-swoosh.red {
  right: -36px;
  bottom: -66px;
  width: 58%;
  height: 210px;
  border-top: 58px solid #df1f2d;
  border-radius: 50% 0 0 0;
  transform: rotate(-4deg);
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.welcome-copy h1 {
  margin: 0 0 18px;
  color: #172033;
  font-size: clamp(2.3rem, 3.6vw, 3.55rem);
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(23, 32, 51, 0.08);
}

.welcome-copy h1 span {
  display: inline-block;
}

.welcome-copy h1 span {
  color: #0b5fb3;
}

.welcome-copy p {
  max-width: 470px;
  margin-bottom: 0;
  color: #172033;
  font-size: 1.17rem;
  line-height: 1.42;
  font-weight: 600;
}

.featured-event {
  position: relative;
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  min-height: 180px;
  overflow: hidden;
  padding: 18px 44px 16px 18px;
}

.featured-event::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 176px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78) 0 10%, transparent 10% 90%, rgba(255, 255, 255, 0.78) 90% 100%),
    var(--yellow);
  /*clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);*/
}

.featured-event p {
  margin-bottom: 14px;
  color: #172033;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.featured-event h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 3.3vw, 3.15rem);
  line-height: 1;
}

.event-date-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #172033;
  font-size: 1.72rem;
  font-weight: 700;
}

.event-date-line i {
  font-size: 26px;
  line-height: 1;
  color: #df1f2d;
}

.dashboard-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  flex: 0 0 auto;
  color: #172033;
  border-radius: 8px;
}

.dashboard-icon i {
  font-size: 44px;
  line-height: 1;
}

.dashboard-icon.yellow {
  color: #172033;
}

.dashboard-icon.blue {
  color: #fff;
  background: linear-gradient(135deg, #0b6ed0, #064da0);
}

.dashboard-icon.red {
  color: #fff;
  background: linear-gradient(135deg, #e92732, #c61421);
}

.dashboard-icon.green {
  color: #fff;
  background: linear-gradient(135deg, #16a35b, #087338);
}

.detail-button,
.mini-link b {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
}

.detail-button.yellow {
  min-height: 56px;
  padding: 0 24px;
  color: #172033;
  background: var(--yellow);
  border-radius: 8px;
}

.detail-button span,
.mini-link em,
.wide-link em {
  font-size: 2.2rem;
  font-style: normal;
  line-height: 1;
}

.wide-link {
  grid-column: 7 / 13;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 136px;
  padding: 24px 28px 24px 18px;
}

.wide-link strong,
.mini-link strong {
  display: block;
  color: #172033;
  font-family: Nunito, Inter, sans-serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.wide-link small,
.mini-link small {
  display: block;
  margin-top: 12px;
  color: #626a78;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
}

.wide-link em,
.mini-link em {
  color: #075bab;
  justify-self: end;
}

.mini-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 22px 24px 22px 18px;
}

.mini-link--formati {
  grid-column: 1 / 5;
}

.mini-link--lega {
  grid-column: 5 / 9;
}

.mini-link--contatti {
  grid-column: 9 / 13;
}

.mini-link .dashboard-icon {
  width: 96px;
  height: 96px;
}

.mini-link strong {
  font-size: 1.75rem;
}

.mini-link b {
  margin-top: 28px;
  color: #075bab;
  font-size: 1.2rem;
}

.mini-link--formati b,
.mini-link--formati em {
  color: #df1f2d;
}

.mini-link--lega b,
.mini-link--lega em {
  color: #128247;
}

.dashboard-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(380px, 1.1fr) minmax(220px, 0.6fr);
  gap: 28px;
  align-items: center;
  min-height: 108px;
  padding: 20px 46px;
}

.update-copy,
.social-strip,
.contact-link {
  display: flex;
  align-items: center;
}

.update-copy {
  gap: 18px;
}

.update-copy i {
  font-size: 34px;
  line-height: 1;
  color: #172033;
}

.update-copy strong,
.social-strip strong {
  display: block;
  color: #172033;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.update-copy small {
  display: block;
  margin-top: 6px;
  color: #626a78;
  font-size: 0.98rem;
}

.social-strip {
  justify-content: center;
  gap: 16px;
  min-height: 62px;
  border-left: 1px solid #d1d6de;
  border-right: 1px solid #d1d6de;
}

.social {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
}

.social.red {
  background: #e92732;
}

.social.blue {
  background: #0b65c7;
}

.social.pink {
  background: linear-gradient(135deg, #e64b93, #ff8a00);
}

.social.green {
  background: #12a04e;
}

.contact-link {
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  color: #128247;
  border: 2px solid #128247;
  border-radius: 8px;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
}

.contact-link i {
  font-size: 20px;
  line-height: 1;
}

.dashboard-photo,
.dashboard-overlay {
  position: absolute;
  inset: 0;
}

.dashboard-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.dashboard-overlay {
  background:
    radial-gradient(circle at 82% 20%, rgba(40, 120, 255, 0.18), rgba(40, 120, 255, 0) 32%),
    linear-gradient(90deg, rgba(10, 14, 22, 0.92) 0%, rgba(10, 14, 22, 0.7) 42%, rgba(10, 14, 22, 0.24) 100%),
    linear-gradient(0deg, rgba(10, 14, 22, 0.74) 0%, rgba(10, 14, 22, 0.08) 52%);
}

.dashboard-intro,
.dashboard-grid {
  position: relative;
  z-index: 1;
}

.dashboard-intro {
  max-width: 560px;
  color: #fff;
}

.dashboard-intro p,
.eyebrow,
.section-heading p,
.card-kicker {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-intro p {
  color: var(--yellow);
  margin-bottom: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 5.3vw, 5.15rem);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
}

.dashboard-intro > span {
  display: block;
  max-width: 470px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.55;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: 900 0.9rem/1 Inter, sans-serif;
}

.button.primary {
  color: var(--charcoal);
  background: var(--yellow);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.button.dark {
  color: #fff;
  background: var(--charcoal);
}

.button.full {
  width: 100%;
}

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

.summary-card,
.detail-card,
.event-card,
.contact-card {
  border-radius: 8px;
}

.summary-card {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.summary-card:hover,
.summary-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--yellow);
  outline: none;
}

.summary-card.highlight {
  min-height: 154px;
  grid-column: span 2;
  background: var(--yellow);
  border-color: var(--yellow);
}

.summary-card.wide {
  grid-column: 1 / -1;
  min-height: 106px;
}

.summary-card strong {
  display: block;
  margin: 12px 0 8px;
  font-family: Nunito, Inter, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.03;
  font-weight: 900;
}

.summary-card small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  font-weight: 700;
}

.summary-card em {
  margin-top: 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.summary-card.highlight em,
.summary-card.highlight small,
.summary-card.highlight .card-kicker {
  color: rgba(16, 23, 34, 0.72);
}

.card-kicker.blue {
  color: var(--blue);
}

.card-kicker.green {
  color: var(--green);
}

.card-kicker.red {
  color: var(--red);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  padding: clamp(26px, 3.5vw, 48px) clamp(18px, 5vw, 76px) 38px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.page-hero h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.page-hero p:not(.eyebrow),
.section-heading > span,
.detail-card p,
.event-card p,
.contact-page p,
.format-note p {
  color: var(--muted);
  line-height: 1.65;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.hero-stat {
  padding: 24px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: Nunito, Inter, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.content-section {
  padding: 54px clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p {
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 0.98;
  font-weight: 900;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 42px;
  padding: 0 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: 900 0.86rem/1 Inter, sans-serif;
}

.filter.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.event-date {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  text-align: center;
}

.event-date strong {
  display: block;
  font-family: Nunito, Inter, sans-serif;
  font-size: 2rem;
  line-height: 0.82;
  font-weight: 900;
}

.event-date span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card h3 {
  margin-bottom: 7px;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
}

.event-card p {
  max-width: 760px;
  margin-bottom: 0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.event-meta span,
.event-type {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 900;
}

.event-meta span {
  color: var(--muted);
  background: #fff;
}

.event-type {
  justify-self: end;
  color: #fff;
  background: var(--charcoal);
}

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

.detail-card {
  min-height: 260px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.07);
}

.detail-card h3 {
  margin: 16px 0 10px;
  font-size: 1.6rem;
}

.detail-card p {
  margin-bottom: 0;
}

.icon-box {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--charcoal);
  background: var(--yellow);
  border-radius: 8px;
}

.icon-box i {
  font-size: 24px;
  line-height: 1;
}

.icon-box.blue {
  color: #fff;
  background: var(--blue);
}

.icon-box.red {
  color: #fff;
  background: var(--red);
}

.icon-box.green {
  color: #fff;
  background: var(--green);
}

.format-note,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  background: var(--yellow);
}

.format-note h2,
.contact-page h2 {
  color: var(--charcoal);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 23, 34, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.activity-row h3 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}

.activity-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.dot {
  width: 14px;
  height: 14px;
  margin-top: 8px;
  border-radius: 50%;
}

.dot.green {
  background: var(--green);
}

.dot.red {
  background: var(--red);
}

.dot.blue {
  background: var(--blue);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-family: Nunito, Inter, sans-serif;
  font-size: 1.35rem;
}

.contact-card a {
  padding: 13px 0;
  color: var(--blue);
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.copy-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: #0b111c;
  font-size: 0.86rem;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
  }

  .header-action {
    grid-column: 2;
  }

  .dashboard-shell,
  .page-hero,
  .format-note,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    min-height: auto;
  }

  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-board {
    grid-template-columns: 1fr;
    padding: 12px 18px 24px;
  }

  .welcome-panel,
  .featured-event,
  .wide-link,
  .mini-link--formati,
  .mini-link--lega,
  .mini-link--contatti,
  .dashboard-footer {
    grid-column: 1;
  }

  .welcome-panel {
    grid-row: auto;
    min-height: 460px;
  }

  .dashboard-footer {
    grid-template-columns: 1fr;
  }

  .social-strip {
    justify-content: flex-start;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #d1d6de;
    border-bottom: 1px solid #d1d6de;
    padding: 14px 0;
  }
}

@media (min-width: 1041px) and (max-height: 800px) {
  .dashboard-board {
    gap: 12px 16px;
    padding: 6px 30px 16px;
  }

  .welcome-panel {
    min-height: 260px;
    padding: 34px 46px 24px;
  }

  .welcome-copy {
    max-width: 440px;
  }

  .welcome-copy h1 {
    margin-bottom: 10px;
    font-size: 2.85rem;
  }

  .welcome-copy p {
    max-width: 390px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .paint-stroke.yellow {
    width: 210px;
    height: 62px;
  }

  .paint-stroke.blue {
    width: 200px;
    height: 78px;
  }

  .paint-swoosh.red {
    bottom: -126px;
    height: 160px;
    border-top-width: 34px;
  }

  .featured-event {
    grid-template-columns: 142px 1fr;
    min-height: 158px;
    gap: 24px;
    padding: 16px 28px 14px 14px;
  }

  .featured-event::before {
    width: 142px;
  }

  .featured-event p {
    margin-bottom: 8px;
    font-size: 1.02rem;
  }

  .featured-event h2 {
    margin-bottom: 8px;
    font-size: 1.85rem;
  }

  .event-date-line {
    gap: 10px;
    font-size: 1.22rem;
  }

  .event-date-line i {
    font-size: 20px;
  }

  .dashboard-icon {
    width: 92px;
    height: 92px;
  }

  .dashboard-icon i {
    font-size: 32px;
  }

  .detail-button,
  .mini-link b {
    margin-top: 10px;
    font-size: 1rem;
  }

  .detail-button.yellow {
    min-height: 42px;
    padding: 0 18px;
  }

  .detail-button span,
  .mini-link em,
  .wide-link em {
    font-size: 1.7rem;
  }

  .wide-link {
    min-height: 96px;
    gap: 22px;
    padding: 12px 22px 12px 16px;
  }

  .wide-link strong,
  .mini-link strong {
    font-size: 1.55rem;
  }

  .wide-link small,
  .mini-link small {
    margin-top: 8px;
    font-size: 0.9rem;
  }

  .mini-link {
    min-height: 92px;
    gap: 15px;
    padding: 12px 16px;
  }

  .mini-link .dashboard-icon {
    width: 62px;
    height: 62px;
  }

  .mini-link .dashboard-icon i {
    font-size: 24px;
  }

  .mini-link strong {
    font-size: 1.32rem;
  }

  .mini-link b {
    margin-top: 7px;
    font-size: 0.92rem;
  }

  .dashboard-footer {
    min-height: 70px;
    grid-template-columns: minmax(230px, 0.85fr) minmax(330px, 1.1fr) minmax(190px, 0.55fr);
    gap: 18px;
    padding: 12px 34px;
  }

  .update-copy {
    gap: 12px;
  }

  .update-copy i {
    font-size: 24px;
  }

  .update-copy strong,
  .social-strip strong {
    font-size: 0.98rem;
  }

  .update-copy small {
    margin-top: 2px;
    font-size: 0.8rem;
  }

  .social-strip {
    min-height: 46px;
    gap: 10px;
  }

  .social {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .contact-link {
    min-height: 42px;
    gap: 10px;
    font-size: 1rem;
  }

  .contact-link i {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 180px;
    font-size: 0.92rem;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .dashboard-shell {
    padding: 34px 16px;
  }

  .dashboard-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .summary-card.highlight {
    grid-row: auto;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-hero,
  .content-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-type {
    justify-self: start;
  }

  .button {
    flex: 1 1 150px;
  }

  .dashboard-board {
    gap: 12px;
    padding: 10px 14px 18px;
  }

  .welcome-panel {
    min-height: 430px;
    padding: 44px 28px 28px;
  }

  .welcome-city {
    width: 100%;
    height: 100%;
  }

  .welcome-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .welcome-copy p {
    font-size: 0.98rem;
  }

  .paint-swoosh.red {
    right: -60px;
    bottom: -126px;
    width: 96%;
    height: 160px;
    border-top-width: 28px;
  }

  .featured-event {
    grid-template-columns: 78px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .featured-event::before {
    width: 92px;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  }

  .dashboard-icon {
    width: 72px;
    height: 72px;
  }

  .dashboard-icon i {
    font-size: 28px;
  }

  .featured-event h2 {
    font-size: 1.55rem;
  }

  .event-date-line {
    font-size: 0.92rem;
  }

  .wide-link,
  .mini-link {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .wide-link em,
  .mini-link em {
    justify-self: end;
  }

  .mini-link .dashboard-icon {
    width: 72px;
    height: 72px;
  }

  .dashboard-footer {
    padding: 18px;
  }

  .social-strip {
    flex-wrap: wrap;
  }

  .contact-link {
    min-height: 48px;
  }
}
