/*
Theme Name: Cascade Current
Theme URI: https://github.com/ttbakiatwoam/CascadeCurrentApp
Author: Cascade Current
Description: A river-inspired, calendar-first community events and news theme for Cascade, Iowa.
Version: 0.1.3
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: cascade-current
Tags: blog, news, custom-logo, custom-menu, featured-images, full-width-template
*/
:root {
  --cc-ink: #103e5b;
  --cc-deep: #0c3047;
  --cc-river: #047a9c;
  --cc-river-strong: #075a74;
  --cc-wave: #1aa7b7;
  --cc-fog: #e5f7f8;
  --cc-cream: #f6f9fa;
  --cc-copper: #a45d24;
  --cc-line: #d7e3e9;
  --cc-muted: #526976;
  --cc-shadow: 0 14px 40px rgba(21, 65, 75, .09);
  --cc-round: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--cc-cream); color: var(--cc-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--cc-river-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cc-copper); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #bd681b; outline-offset: 3px; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.cc-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.cc-skip-link { position: absolute; top: -100px; left: 12px; z-index: 10000; padding: 12px; background: #fff; }
.cc-skip-link:focus { top: 12px; }
.cc-site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--cc-line); background: rgba(255, 255, 255, .96); }
.cc-header-inner { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 25px; }
.cc-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 0; color: var(--cc-ink); text-decoration: none; }
.cc-brand:hover { color: var(--cc-ink); }
.cc-brand-mark { width: 78px; height: 64px; object-fit: contain; }
.cc-brand-name { display: flex; flex-direction: column; font-size: 24px; font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.cc-brand-name strong { color: var(--cc-river); }
.cc-brand-name small { color: var(--cc-muted); font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: .02em; }
.cc-site-nav { margin-left: auto; }
.cc-nav-links, .cc-footer-links { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 8px 18px; align-items: center; }
.cc-nav-links a { display: inline-block; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--cc-ink); font-size: 16px; font-weight: 700; }
.cc-nav-links a:hover, .cc-nav-links .current-menu-item > a, .cc-nav-links .current_page_item > a { background: var(--cc-fog); color: var(--cc-river-strong); }
.cc-hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #e8f4f1 0%, #f8f7f0 66%, #fff5e8 100%); }
.cc-hero-inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; align-items: center; min-height: 385px; padding-block: 46px 62px; }
.cc-hero-copy { position: relative; z-index: 1; max-width: 670px; min-width: 0; }
.cc-eyebrow { margin: 0 0 12px; color: var(--cc-river-strong); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: 14px; }
.cc-eyebrow-dot { display: inline-block; width: 9px; height: 9px; background: var(--cc-copper); border-radius: 50%; margin-right: 8px; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
.cc-hero h1 { margin: 0 0 20px; font-size: clamp(40px, 5.5vw, 78px); line-height: 1.06; letter-spacing: -.06em; color: var(--cc-deep); }
.cc-hero-lede { max-width: 560px; margin: 0 0 28px; color: #385968; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; }
.cc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; border: 1px solid transparent; border-radius: 11px; padding: 10px 21px; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; }
.cc-button-primary { background: var(--cc-river); color: #fff; box-shadow: 0 6px 14px rgba(22, 105, 122, .16); }
.cc-button-primary:hover, .cc-button-primary:focus { background: var(--cc-river-strong); color: #fff; }
.cc-button-light { background: #fff; color: var(--cc-ink); border-color: var(--cc-line); }
.cc-button-light:hover { color: var(--cc-river); border-color: var(--cc-wave); }
.cc-button-outline { background: #fff; border-color: #a2c1c2; color: var(--cc-river-strong); }
.cc-hero-art { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
.cc-hero-art-ring { display: flex; justify-content: center; align-items: center; width: min(350px, 100%); aspect-ratio: 1.12; border: 2px solid rgba(79, 168, 177, .35); border-radius: 44% 56% 54% 46% / 48% 41% 59% 52%; background: radial-gradient(circle at 50% 42%, #fff 0 30%, #d9f0ee 88%); box-shadow: 0 0 0 15px rgba(255, 255, 255, .35); transform: rotate(-4deg); }
.cc-hero-art-ring img { width: 82%; transform: rotate(4deg); }
/* Uploaded wordmarks should not sit as square stickers on a decorative oval.
   Multiply makes opaque white areas merge with the pale hero background
   while preserving the uploaded logo's original colors and proportions. */
.cc-hero-art-logo { display: flex; align-items: center; justify-content: center; width: min(380px, 100%); min-width: 0; }
.cc-hero-art-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 320px; object-fit: contain; mix-blend-mode: multiply; }
@supports not (mix-blend-mode: multiply) {
  .cc-hero-art-logo { background: #fff; padding: 16px; border-radius: 16px; box-shadow: var(--cc-shadow); }
}

.cc-hero-art-caption { text-align: center; font-size: 16px; font-weight: 800; letter-spacing: .025em; color: #385968; }
.cc-wave-stripe { height: 11px; background: repeating-linear-gradient(110deg, #047a9c 0 55px, #1aa7b7 55px 110px, #c9e6de 110px 165px, #a45d24 165px 180px); opacity: .85; }
.cc-section { padding-block: 64px; }
.cc-calendar-section { padding-bottom: 26px; }
.cc-section-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.cc-section-intro h2 { margin: 0 0 5px; color: var(--cc-deep); font-size: clamp(30px, 3vw, 40px); letter-spacing: -.05em; line-height: 1.14; }
.cc-section-intro p:not(.cc-eyebrow) { margin: 0; color: var(--cc-muted); }
.cc-today-link { font-size: 16px; font-weight: 800; white-space: nowrap; }
.cc-calendar-panel { background: #fff; border: 1px solid var(--cc-line); border-radius: 20px; overflow: hidden; box-shadow: var(--cc-shadow); }
.cc-calendar-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; gap: 14px; }
.cc-toolbar-label { color: var(--cc-muted); text-transform: uppercase; font-weight: 800; font-size: 14px; letter-spacing: .12em; margin: 0 0 2px; }
.cc-calendar-toolbar h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0; line-height: 1.2; letter-spacing: -.035em; }
.cc-month-controls { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.cc-month-controls a, .cc-month-controls .cc-month-disabled { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #ccdfdf; border-radius: 10px; text-decoration: none; color: var(--cc-ink); font-size: 29px; line-height: 1; }
.cc-month-controls a:hover { background: var(--cc-fog); }
.cc-month-controls .cc-month-disabled { opacity: .4; cursor: default; user-select: none; }
.cc-month-controls .cc-month-current { padding: 0 15px; font-size: 16px; font-weight: 800; }
.cc-filter-bar { display: flex; gap: 8px; padding: 0 26px 22px; overflow-x: auto; scrollbar-width: thin; }
.cc-filter-chip { flex-shrink: 0; border: 1px solid #d4e4e3; border-radius: 999px; padding: 10px 16px; min-height: 44px; background: #f8fbfa; color: var(--cc-ink); font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; }
.cc-filter-chip:hover { background: #e9f4f3; color: var(--cc-deep); }
.cc-filter-chip.is-active { background: var(--cc-river); border-color: var(--cc-river); color: #fff; }
.cc-calendar-weekdays, .cc-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cc-calendar-weekdays { background: #f4f8f7; border-top: 1px solid var(--cc-line); border-bottom: 1px solid var(--cc-line); }
.cc-calendar-weekdays span { padding: 13px 5px; text-align: center; color: #557079; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cc-calendar-grid { background: #e2ece9; gap: 1px; }
.cc-calendar-day { min-width: 0; min-height: 172px; padding: 9px; background: #fff; }
.cc-calendar-day.is-blank { background: #f9fbfa; }
.cc-calendar-day.is-today { background: #eef8f6; }
.cc-calendar-day-number { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 50%; color: var(--cc-ink); text-decoration: none; font-size: 16px; font-weight: 800; }
.cc-calendar-day-number:hover, .cc-calendar-day-number.is-selected { background: var(--cc-ink); color: #fff; }
.cc-calendar-day.is-today .cc-calendar-day-number { background: var(--cc-river); color: #fff; }
.cc-calendar-pills { display: grid; gap: 4px; margin-top: 6px; }
.cc-calendar-event { display: block; border-left: 3px solid var(--cc-river); border-radius: 4px; background: var(--cc-fog); color: var(--cc-deep); padding: 4px 6px; font-size: 16px; line-height: 1.3; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-calendar-event:nth-child(even) { border-left-color: var(--cc-copper); background: #fbf2e8; }
.cc-calendar-event span { font-weight: 800; margin-right: 2px; }
.cc-calendar-event:hover { text-decoration: underline; color: var(--cc-deep); }
.cc-calendar-more { display: inline-flex; align-items: center; min-height: 32px; padding: 3px 6px; font-size: 16px; font-weight: 800; margin-left: 6px; }
.cc-calendar-dots { display: none; justify-content: center; gap: 3px; padding-top: 5px; }
.cc-calendar-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--cc-river); }
.cc-calendar-dots span:nth-child(2) { background: var(--cc-copper); }
.cc-calendar-dots span:nth-child(3) { background: var(--cc-wave); }
.cc-calendar-help { padding: 13px 24px; background: #f8fbfa; color: var(--cc-muted); font-size: 14px; }
.cc-agenda-section { padding-top: 38px; }
.cc-agenda-heading { align-items: center; }
.cc-agenda-day { margin: 0 0 38px; }
.cc-agenda-date { font-size: 19px; color: var(--cc-deep); margin: 0 0 15px; letter-spacing: -.02em; }
.cc-agenda-list { display: grid; gap: 12px; }
.cc-event-card { display: grid; grid-template-columns: 66px 190px 1fr; gap: 22px; align-items: stretch; padding: 18px; background: #fff; border-radius: var(--cc-round); border: 1px solid var(--cc-line); box-shadow: 0 4px 15px rgba(23, 59, 80, .035); }
.cc-event-card:hover { border-color: #b7d2d1; box-shadow: 0 10px 26px rgba(23, 59, 80, .065); }
.cc-event-date { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding-top: 9px; }
.cc-event-date span { color: var(--cc-river-strong); font-size: 14px; text-transform: uppercase; font-weight: 800; letter-spacing: .07em; }
.cc-event-date strong { font-size: 30px; line-height: 1; color: var(--cc-ink); }
.cc-event-image { display: block; width: 100%; min-height: 132px; border-radius: 11px; background: #dcece9; overflow: hidden; }
.cc-event-image img { width: 100%; height: 100%; max-height: 170px; object-fit: cover; display: block; }
.cc-event-image-placeholder { display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, #d7ece6, #f3f5e8); color: var(--cc-river); }
.cc-event-image-placeholder span { font-size: 72px; line-height: 1; transform: rotate(-15deg); }
.cc-event-info { padding: 1px 4px 2px 0; }
.cc-event-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; font-size: 16px; color: var(--cc-river-strong); font-weight: 800; }
.cc-event-tag { color: #86501f; background: #fcf2e6; padding: 2px 9px; border-radius: 6px; font-size: 14px; }
.cc-event-info h4 { margin: 0 0 7px; font-size: clamp(19px, 2vw, 24px); line-height: 1.23; letter-spacing: -.03em; }
.cc-event-info h4 a { color: var(--cc-deep); text-decoration: none; }
.cc-event-info h4 a:hover { color: var(--cc-river); text-decoration: underline; }
.cc-event-info p { margin: 0 0 8px; }
.cc-event-venue { color: #46616e; font-size: 16px; font-weight: 700; }
.cc-event-description { color: var(--cc-muted); font-size: 16px; }
.cc-text-link { font-size: 16px; font-weight: 800; text-decoration: none; }
.cc-text-link:hover { text-decoration: underline; }
.cc-empty { border: 1px dashed #b7d2d1; padding: 25px; border-radius: 14px; background: #fff; color: var(--cc-muted); }
.cc-empty h3 { color: var(--cc-ink); margin: 0 0 5px; }
.cc-empty p { margin: 0 0 8px; }
.cc-news-section { background: #edf5f2; }
.cc-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cc-news-card { background: #fff; border: 1px solid var(--cc-line); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px rgba(23, 59, 80, .04); }
.cc-news-thumbnail { display: flex; height: 178px; width: 100%; background: #d8e9e5; }
.cc-news-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.cc-news-placeholder { align-items: center; justify-content: center; color: var(--cc-river); font-size: 78px; line-height: 1; }
.cc-news-body { padding: 23px; }
.cc-news-date, .cc-post-date { color: var(--cc-river-strong); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 9px; }
.cc-news-body h3 { font-size: 21px; line-height: 1.24; letter-spacing: -.03em; margin: 0 0 12px; }
.cc-news-body h3 a { color: var(--cc-ink); text-decoration: none; }
.cc-news-body h3 a:hover { text-decoration: underline; }
.cc-news-body p:not(.cc-news-date) { font-size: 16px; color: var(--cc-muted); margin: 0 0 17px; }
.cc-site-footer { background: var(--cc-deep); color: #d9ebe9; padding: 44px 0; }
.cc-footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.cc-site-footer p { margin: 0 0 9px; font-size: 14px; }
.cc-footer-title { font-size: 22px !important; color: #fff; font-weight: 800; }
.cc-site-footer a { color: #fff; }
.cc-footer-right { text-align: right; }
.cc-footer-links { justify-content: flex-end; margin-bottom: 12px; }
.cc-footer-links a { font-weight: 700; text-decoration: none; font-size: 14px; }
.cc-prose-layout { width: min(850px, calc(100% - 40px)); min-height: 60vh; padding-top: 60px; padding-bottom: 88px; }
.cc-content-header { margin-bottom: 30px; }
.cc-content-header h1 { margin: 0 0 15px; font-size: clamp(36px, 4vw, 54px); line-height: 1.14; letter-spacing: -.045em; }
.cc-content-header p { color: var(--cc-muted); }
.cc-article-image { margin-bottom: 28px; overflow: hidden; border-radius: 15px; }
.cc-article-image img { width: 100%; display: block; }
.cc-article-body { color: #2e4958; font-size: 18px; line-height: 1.8; }
.cc-article-body > :first-child { margin-top: 0; }
.cc-article-body h2, .cc-article-body h3 { color: var(--cc-ink); line-height: 1.25; }
.cc-article-body a { text-decoration: underline; }
.cc-article-body img { border-radius: 10px; }
.cc-article-body .alignwide { max-width: 100%; }
.cc-article-body .wp-block-image { margin-block: 24px; }
.cc-post-summary { background: #fff; border: 1px solid var(--cc-line); padding: 30px; border-radius: 14px; margin-bottom: 15px; }
.cc-post-summary h2 { margin: 0 0 13px; letter-spacing: -.03em; }
.cc-post-summary h2 a { color: var(--cc-ink); text-decoration: none; }
.cc-post-summary h2 a:hover { text-decoration: underline; }
.cc-post-summary p { margin: 0 0 12px; color: var(--cc-muted); }
.cc-pagination { margin-top: 30px; }
.cc-pagination .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.cc-pagination .page-numbers { display: inline-flex; min-width: 40px; justify-content: center; padding: 5px; border-radius: 8px; }
.cc-pagination .page-numbers.current { background: var(--cc-river); color: #fff; }
.cc-event-detail-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding: 23px; margin-bottom: 26px; background: var(--cc-fog); border: 1px solid #c9dfdd; border-radius: 15px; }
.cc-event-detail-box > div { flex: 1 1 210px; }
.cc-event-detail-box strong { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--cc-river-strong); }
.cc-event-detail-box p { margin: 6px 0 0; }
.cc-post-navigation { border-top: 1px solid var(--cc-line); margin-top: 30px; padding-top: 20px; }
.cc-post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; }
@media (max-width: 1000px) {
  .cc-event-card { grid-template-columns: 58px 150px 1fr; gap: 16px; }
  .cc-calendar-day { min-height: 172px; padding: 6px; }
  .cc-calendar-event { font-size: 16px; padding-inline: 4px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 28px; }
  body { font-size: 16px; }
  .cc-shell { width: min(100% - 28px, 600px); }
  .cc-header-inner { min-height: 0; padding-top: 12px; padding-bottom: 8px; display: block; }
  .cc-brand-mark { width: 60px; height: 52px; }
  .cc-brand-name { font-size: 21px; }
  .cc-site-nav { width: 100%; overflow-x: auto; padding-top: 6px; }
  .cc-nav-links { flex-wrap: nowrap; gap: 4px; width: max-content; }
  .cc-nav-links a { font-size: 16px; min-height: 44px; white-space: nowrap; padding: 10px; }
  .cc-hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 38px 40px; }
  .cc-hero h1 { font-size: clamp(41px, 9vw, 58px); }
  .cc-hero-art { display: none; }
  .cc-section { padding-block: 45px; }
  .cc-calendar-section { padding-bottom: 14px; }
  .cc-section-intro { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .cc-calendar-toolbar { padding: 18px 14px; flex-wrap: wrap; }
  .cc-calendar-toolbar h3 { font-size: 23px; }
  .cc-month-controls { gap: 4px; }
  .cc-month-controls a, .cc-month-controls .cc-month-disabled { min-width: 44px; min-height: 44px; }
  .cc-month-controls .cc-month-current { font-size: 16px; padding: 0 8px; }
  .cc-filter-bar { padding: 0 14px 16px; }
  .cc-calendar-weekdays span { font-size: 14px; padding: 10px 1px; }
  .cc-calendar-day { min-height: 73px; padding: 3px 1px; text-align: center; }
  .cc-calendar-day-number { min-width: 39px; min-height: 42px; font-size: 16px; }
  .cc-calendar-pills { display: none; }
  .cc-calendar-dots { display: flex; }
  .cc-calendar-help { padding: 11px 15px; font-size: 14px; }
  .cc-agenda-section { padding-top: 22px; }
  .cc-event-card { grid-template-columns: 52px 1fr; gap: 12px; padding: 13px; }
  .cc-event-image { display: none; }
  .cc-event-date { padding-top: 8px; }
  .cc-event-date strong { font-size: 26px; }
  .cc-event-info h4 { font-size: 20px; }
  .cc-event-description { display: none; }
  .cc-news-grid { grid-template-columns: 1fr; }
  .cc-news-thumbnail { height: 190px; }
  .cc-footer-inner { flex-direction: column; }
  .cc-footer-right { text-align: left; }
  .cc-footer-links { justify-content: flex-start; }
  .cc-prose-layout { padding-top: 38px; padding-bottom: 60px; }
  .cc-article-body { font-size: 17px; }
}
@media (max-width: 375px) {
  .cc-month-controls .cc-month-current { display: none; }
  .cc-calendar-day-number { min-width: 0; width: 100%; min-height: 44px; }
  .cc-event-tag { display: none; }
  .cc-brand-name { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
