/* FoodHatch Crowdfunding — theme (Born to Give inspired) */
:root {
  --cyan: #00afd1;
  --cyan-dark: #0088a3;
  --cyan-light: #4ec6df;
  --teal-deep: #006d82;
  --charcoal: #2e2e2e;
  --charcoal-dark: #1a1a1a;
  --text: #333333;
  --text-muted: #777777;
  --light-grey: #f8f8f8;
  --border: #e5e5e5;
  --white: #ffffff;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Open Sans", "Segoe UI", sans-serif;
  --container: 1170px;
  --header-h: 80px;
  --radius: 0;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cyan-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-title .underline {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--cyan);
  margin: 0 auto;
}

.section-title p {
  max-width: 640px;
  margin: 16px auto 0;
}

.text-white { color: var(--white) !important; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn-cyan {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}

.btn-cyan:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: #ccc;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--cyan);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(46, 46, 46, 0.97);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.site-header.header-solid {
  position: relative;
  background: var(--charcoal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  flex-shrink: 0;
}

.logo img,
.logo svg {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-toggle {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}

.search-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: 16px;
}

.search-panel.open {
  display: block;
}

.search-panel form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.search-panel input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  font-family: var(--font-sans);
}

.search-panel button {
  background: var(--cyan);
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
}

/* Heroes */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.72) 0%, rgba(20, 20, 20, 0.35) 55%, rgba(20, 20, 20, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 120px 0 80px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease both;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-content .btn {
  animation: fadeUp 0.8s 0.3s ease both;
}

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding-top: 40px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.55);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero .underline {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--cyan);
}

/* CTA bars */
.cta-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-serif);
  transition: filter var(--transition);
}

.cta-bar:hover {
  filter: brightness(1.08);
  color: var(--white);
}

.cta-bar i {
  font-size: 22px;
}

.cta-bar-1 { background: var(--cyan-light); }
.cta-bar-2 { background: var(--cyan); }
.cta-bar-3 { background: var(--teal-deep); }

/* Cause cards */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cause-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.cause-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.cause-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cause-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cause-card:hover .cause-card-img img {
  transform: scale(1.06);
}

.progress-ring {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-ring svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 4;
}

.progress-ring .bg { stroke: #e8e8e8; }
.progress-ring .fg {
  stroke: var(--cyan);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.progress-ring .pct {
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.cause-card-body {
  padding: 42px 20px 22px;
  text-align: center;
}

.cause-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.cause-card-body h3 a {
  color: var(--text);
}

.cause-card-body h3 a:hover {
  color: var(--cyan);
}

.cause-meta {
  font-size: 13px;
  margin-bottom: 12px;
}

.cause-meta strong {
  color: var(--text);
}

.donate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Stats */
.stats-band {
  background: var(--light-grey);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stat-item .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* Events home */
.events-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.event-list-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.event-date {
  flex-shrink: 0;
  width: 72px;
  background: var(--cyan);
  color: var(--white);
  text-align: center;
  padding: 12px 8px;
  line-height: 1.2;
}

.event-date .day {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-serif);
}

.event-date .my {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-list-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.event-list-item h4 a {
  color: var(--text);
}

.event-list-item h4 a:hover {
  color: var(--cyan);
}

.event-time {
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 4px;
  font-weight: 600;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--cyan);
  padding: 12px;
}

.mosaic a {
  overflow: hidden;
  aspect-ratio: 1;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mosaic a:hover img {
  transform: scale(1.08);
}

/* Dark CTA band */
.dark-cta {
  position: relative;
  background: var(--charcoal) center/cover no-repeat;
  padding: 70px 0;
  color: rgba(255, 255, 255, 0.85);
}

.dark-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.82);
}

.dark-cta-box {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-left: auto;
  background: var(--white);
  padding: 36px 32px;
  color: var(--text-muted);
}

.dark-cta-box h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* Success story */
.success-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.success-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Partners */
.partners {
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

.partners h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 28px;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  align-items: center;
}

.partner-mark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  opacity: 0.85;
}

/* Quote band */
.quote-band {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.45;
  font-style: italic;
}

.play-btn {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-size: 20px;
  transition: all var(--transition);
}

.play-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Blog cards home */
.blog-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-card-lg {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.blog-card-lg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card-lg:hover img {
  transform: scale(1.05);
}

.blog-card-lg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.75));
}

.blog-card-lg .content {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: var(--white);
}

.blog-card-lg .meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan-light);
  margin-bottom: 8px;
}

.blog-card-lg h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0;
}

.blog-card-lg h3 a {
  color: var(--white);
}

.blog-card-lg h3 a:hover {
  color: var(--cyan-light);
}

/* Volunteer banner */
.volunteer-banner {
  background: var(--cyan);
  padding: 28px 0;
}

.volunteer-banner .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.volunteer-banner h3 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='14' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='2'/%3E%3C/svg%3E");
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  position: relative;
  padding-bottom: 40px;
}

.site-footer h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 14px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.social-links a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

.footer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-links a::before {
  content: "›";
  color: var(--cyan);
  font-weight: 700;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.share-grid a {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.share-grid a:hover {
  background: var(--cyan);
  color: var(--white);
}

.footer-bottom {
  background: var(--charcoal-dark);
  padding: 16px 0;
  position: relative;
}

.footer-bottom .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: var(--cyan);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.footer-legal span {
  opacity: 0.4;
}

/* About features */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--cyan);
  font-size: 28px;
}

.feature-item h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.about-visuals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-visuals figure figcaption {
  font-size: 13px;
  margin-top: 10px;
}

.about-visuals img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.cta-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.cta-strip .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-strip h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-muted);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 18px;
}

.team-card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.team-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: grid;
  place-items: center;
  color: #999;
  font-size: 12px;
}

.team-social a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: white;
}

.team-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.team-names {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 20px;
}

.team-names a {
  color: var(--text);
  font-size: 14px;
}

.team-names a::before {
  content: "› ";
  color: var(--cyan);
}

/* Events list page */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.event-entry {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.event-entry .event-date {
  width: 80px;
  padding: 16px 8px;
}

.event-entry .event-date .day {
  font-size: 2rem;
}

.sidebar-widget {
  margin-bottom: 36px;
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-grey);
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.cat-list a::before {
  content: "› ";
  color: var(--cyan);
  margin-right: 4px;
}

.cat-list a:hover {
  color: var(--cyan);
}

.cause-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cause-mini .mini-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.cause-mini h5 {
  font-size: 14px;
  margin-bottom: 2px;
}

.cause-mini h5 a {
  color: var(--text);
}

.cause-mini .left {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.gallery-filters button {
  background: var(--light-grey);
  border: none;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--cyan);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  opacity: 0.85;
}

.gallery-item figcaption {
  font-size: 13px;
  color: #999;
}

.gallery-item.hidden {
  display: none;
}

/* Blog list */
.blog-entry {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.blog-entry img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-entry h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.blog-entry h2 a {
  color: var(--text);
}

.blog-entry h2 a:hover {
  color: var(--cyan);
}

.posted-on {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.tabs-widget .tab-heads {
  display: flex;
}

.tabs-widget .tab-heads button {
  flex: 1;
  border: none;
  background: var(--light-grey);
  padding: 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-muted);
}

.tabs-widget .tab-heads button.active {
  background: var(--cyan);
  color: white;
}

.tab-panel {
  display: none;
  padding: 16px 0;
}

.tab-panel.active {
  display: block;
}

.recent-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.recent-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-item h5 {
  font-size: 13px;
  margin-bottom: 4px;
}

.recent-item h5 a {
  color: var(--text);
}

.search-widget {
  display: flex;
}

.search-widget input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
}

.search-widget button {
  background: var(--cyan);
  border: none;
  color: white;
  padding: 0 16px;
  cursor: pointer;
}

.story-box {
  background: var(--light-grey);
  padding: 20px;
  position: relative;
  font-style: italic;
  margin-bottom: 16px;
}

.story-box::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--cyan);
  line-height: 1;
  position: absolute;
  top: 8px;
  left: 12px;
  opacity: 0.5;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 6px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
}

.pagination a:hover,
.pagination .active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: white;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan);
}

.form-control.is-invalid {
  border-color: #d9534f;
}

.form-error {
  display: none;
  color: #d9534f;
  font-size: 12px;
  margin-top: 5px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  background: #e8f8f0;
  border: 1px solid #a8e0c0;
  color: #1a7a45;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-wrap,
.legal-content,
.simple-form-wrap {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

/* Detail pages */
.detail-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 28px;
}

.donate-panel {
  background: var(--light-grey);
  padding: 28px;
  border-top: 3px solid var(--cyan);
}

.donate-panel h3 {
  margin-bottom: 8px;
}

.progress-bar-wrap {
  margin: 16px 0;
}

.progress-bar-bg {
  height: 10px;
  background: #e0e0e0;
  overflow: hidden;
}

.progress-bar-fg {
  height: 100%;
  background: var(--cyan);
}

.amount-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.amount-pills button {
  border: 1px solid var(--border);
  background: white;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-sans);
}

.amount-pills button.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: white;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  margin-bottom: 20px;
  color: #999;
}

.content-sidebar > div > ul,
.content-sidebar > article > ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.content-sidebar > div > ul li,
.content-sidebar > article > ul li {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

.content-sidebar > div > h3,
.content-sidebar > article > h3 {
  margin-top: 1.5rem;
}

.content-sidebar > article > ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.content-sidebar > article > ol li {
  margin-bottom: 0.45rem;
}

.tags a {
  display: inline-block;
  background: var(--light-grey);
  padding: 4px 10px;
  margin: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.tags a:hover {
  background: var(--cyan);
  color: white;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeUp 0.7s ease both;
}
