/* ============================================= 
   SIVUTYYLITYKSET - YLEINEN
   ============================================= */

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-title {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 28px;
}

/* =============================================
   Home page
   ============================================= */

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2f5240 0%, #4a7c59 50%, #5c9068 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../assets/images/slider4.jpg') center/cover no-repeat;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 680px;
}

.hero-tagline {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-content h1 {
  color: #fff;
  font-size: 4rem;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.6) !important;
}
.hero-btn-outline:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #fff !important;
  text-decoration: none;
}

/* Showcase */
.showcase-band {
  padding: 28px 0 10px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 28px;
  align-items: end;
  padding: 30px 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 220, 152, 0.38), transparent 34%),
    linear-gradient(135deg, #f7efe0 0%, #fff9f1 55%, #eef6ed 100%);
  border: 1px solid rgba(82, 124, 89, 0.18);
  box-shadow: 0 18px 40px rgba(74, 124, 89, 0.12);
}

.showcase-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74, 124, 89, 0.1);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-copy h2 {
  margin-bottom: 12px;
  color: var(--brown);
}

.showcase-copy p {
  max-width: 52ch;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.showcase-count {
  font-family: var(--heading);
  font-size: 1.1rem;
  color: var(--green-dark);
}

.showcase-dots {
  display: flex;
  gap: 10px;
}

.showcase-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 124, 89, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.showcase-dot:hover {
  transform: scale(1.08);
}

.showcase-dot.is-active {
  background: var(--green-dark);
  transform: scale(1.15);
}

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.welcome-grid h2 {
  margin-bottom: 20px;
}

.welcome-grid p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.home-page-ideo-link {
  margin-top: 16px;
}

.welcome-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-chip {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-chip strong {
  display: block;
  font-family: var(--heading);
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 4px;
}

.value-chip p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Facebook */
.fb-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.fb-copy p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.fb-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.fb-embed-wrap iframe {
  display: block;
  width: 100%;
}

.home-page-facebook-embed {
  border: none;
  overflow: hidden;
}

.home-page-facebook-link {
  margin-top: 8px;
}

/* Services */
.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow);
}

.service-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin: 4px 0 0;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin: 0;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  margin-top: 8px;
}

/* CTA */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-box h2 { margin-bottom: 8px; }
.cta-box p { color: var(--text-muted); margin: 0; }

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.8rem; }
  .showcase-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .showcase-meta {
    align-items: flex-start;
  }
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fb-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: 400px; }
  .hero-content h1 { font-size: 2.2rem; }
  .showcase-band {
    padding-top: 18px;
  }
  .showcase-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}

/* Blogi page styles */

.blogi-page-intro {
	color: var(--text-muted);
	max-width: 700px;
	margin: 12px auto 0;
}

.blogi-page-notice {
	margin-bottom: 24px;
}

.blogi-page-muted {
	color: var(--text-muted);
}

.blogi-page-error-card {
	border: 1px solid #d29c6a;
	background: #fff8f1;
}

.blogi-page-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.blogi-page-article {
	padding: 32px;
}

.blogi-page-date {
	color: var(--text-muted);
	font-size: 0.85rem;
	margin: 0 0 12px;
}

.blogi-page-title {
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	line-height: 1.2;
	margin: 0 0 24px;
	color: var(--brown);
	overflow-wrap: anywhere;
}

.blogi-page-content {
	color: var(--text);
	line-height: 1.7;
	margin-bottom: 24px;
	font-size: 1rem;
}

.blogi-page-actions {
	border-top: 1px solid var(--border);
	padding-top: 20px;
}

/* Haku page styles */

.haku-page-form {
	max-width: 500px;
	margin: 20px auto 0;
}

.haku-page-form-row {
	display: flex;
	gap: 8px;
}

.haku-page-input {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 4px;
	font-size: 0.95rem;
	background: rgba(255,255,255,0.1);
	color: #fff;
}

.haku-page-input::placeholder {
	color: rgba(255,255,255,0.8);
}

.haku-page-submit {
	padding: 10px 20px;
	font-size: 0.95rem;
}

.haku-page-muted {
	color: var(--text-muted);
}

.haku-page-section-gap {
	margin-bottom: 40px;
}

.haku-page-page-list,
.haku-page-post-list {
	display: flex;
	flex-direction: column;
}

.haku-page-page-list {
	gap: 12px;
}

.haku-page-page-card {
	padding: 16px 24px;
}

.haku-page-page-link {
	font-size: 1.1rem;
	font-weight: 600;
}

.haku-page-error-card {
	border: 1px solid #d29c6a;
	background: #fff8f1;
}

.haku-page-post-list {
	gap: 24px;
}

.haku-page-post-card {
	padding: 24px;
}

.haku-page-post-date {
	color: var(--text-muted);
	font-size: 0.85rem;
	margin: 0 0 12px;
}

.haku-page-post-title {
	margin: 0 0 12px;
}

.haku-page-post-excerpt {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.haku-page-post-link-row {
	margin: 12px 0 0;
}

/* Tunnit page styles */

.tunnit-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.tunnit-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.tunnit-page-image {
	width: 100%;
	display: block;
	max-height: 320px;
	object-fit: cover;
}

.tunnit-page-grid {
	gap: 40px;
	align-items: start;
}

.tunnit-page-card-gap-lg {
	margin-top: 24px;
}

.tunnit-page-muted {
	color: var(--text-muted);
}

.tunnit-page-paragraph-gap {
	margin-top: 10px;
}

.tunnit-page-note {
	margin-top: 10px;
	font-size: 0.88rem;
}

.tunnit-page-paragraph-offset {
	margin-top: 12px;
}

.tunnit-page-section-heading {
	margin-top: 28px;
}

.tunnit-page-list {
	color: var(--text-muted);
}

.tunnit-page-info-card {
	margin-top: 28px;
	background: var(--green-light);
	border: 1px solid var(--green);
}

.tunnit-page-booking-section {
	margin-top: 56px;
}

.tunnit-page-booking-title {
	text-align: center;
	margin-bottom: 8px;
}

.tunnit-page-booking-copy {
	text-align: center;
	color: var(--text-muted);
	margin-bottom: 0;
}

/* Hevosvoimaterapia page styles */

.hevosvoimaterapia-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.hevosvoimaterapia-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.hevosvoimaterapia-page-image {
	width: 100%;
	display: block;
	max-height: 320px;
	object-fit: cover;
}

.hevosvoimaterapia-page-grid {
	gap: 48px;
	align-items: start;
}

.hevosvoimaterapia-page-muted {
	color: var(--text-muted);
}

.hevosvoimaterapia-page-list {
	color: var(--text-muted);
}

.hevosvoimaterapia-page-paragraph-gap-lg {
	margin-top: 16px;
}

.hevosvoimaterapia-page-info-card {
	background: var(--green-light);
	border: 1px solid var(--green);
}

.hevosvoimaterapia-page-card-gap-xl {
	margin-top: 28px;
}

.hevosvoimaterapia-page-access-note {
	color: var(--text-muted);
	margin-top: 16px;
	font-size: 0.9rem;
}

.hevosvoimaterapia-page-card-gap-lg {
	margin-top: 24px;
}

.hevosvoimaterapia-page-paragraph-gap {
	margin-top: 10px;
}

.hevosvoimaterapia-page-card-gap-md {
	margin-top: 20px;
}

.hevosvoimaterapia-page-booking-section {
	margin-top: 56px;
}

.hevosvoimaterapia-page-booking-title {
	text-align: center;
	margin-bottom: 8px;
}

.hevosvoimaterapia-page-booking-copy {
	text-align: center;
	color: var(--text-muted);
	margin-bottom: 0;
}

/* Leirit page styles */

.leirit-page-intro {
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

.leirit-page-image-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 28px;
}

.leirit-page-image {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.leirit-page-grid {
  gap: 48px;
  align-items: start;
}

.leirit-page-season-heading {
  color: var(--green-dark);
}

.leirit-page-season-heading-winter {
  margin-top: 20px;
}

.leirit-page-season-heading-summer {
  margin-top: 24px;
}

.leirit-page-card-gap-xl {
  margin-top: 28px;
}

.leirit-page-card-gap-lg {
  margin-top: 20px;
}

.leirit-page-list {
  color: var(--text-muted);
  margin: 12px 0 0;
}

.leirit-page-info-card {
  background: var(--green-light);
  border: 1px solid var(--green);
}

.leirit-page-schedule-title {
  margin-bottom: 4px;
}

.leirit-page-schedule-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.leirit-page-schedule-item {
  margin-bottom: 18px;
}

.leirit-page-schedule-item-title {
  color: var(--green-dark);
  margin-bottom: 6px;
  font-size: 1rem;
}

.leirit-page-schedule-dates {
  font-weight: 500;
}

.leirit-page-schedule-info {
  color: var(--text-muted);
}

.leirit-page-schedule-note {
  border-top: 1px solid var(--green);
  padding-top: 14px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.leirit-page-schedule-note-followup {
  margin-top: 6px;
}

.leirit-page-form-section {
  margin-top: 48px;
}

.leirit-page-form-copy {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.leirit-page-form-feedback {
  margin-bottom: 16px;
  border: 1px solid #f5d600;
  background: #fffde7;
}

.leirit-page-form-feedback-success {
  background: #fffde7;
  border-color: #f5d600;
}

.leirit-page-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.leirit-page-form-grid-gap-top {
  margin-top: 16px;
}

.leirit-page-form-group-tight {
  margin: 0;
}

.leirit-page-textarea {
  min-height: 80px;
}

.leirit-page-form-card {
	margin-top: 20px;
	background: var(--green-light);
	border: 1px solid var(--green);
	border-radius: var(--radius-lg);
	padding: 28px 32px;
}

.leirit-page-submit {
  margin-top: 20px;
}

@media (max-width: 720px) {
	.leirit-page-form-card {
		padding: 22px 18px;
	}

  .leirit-page-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Tallipaikat page styles */

.tallipaikat-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.tallipaikat-page-container {
	max-width: 800px;
}

.tallipaikat-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.tallipaikat-page-image {
	width: 100%;
	display: block;
	max-height: 320px;
	object-fit: cover;
}

.tallipaikat-page-section {
	margin-bottom: 28px;
}

.tallipaikat-page-muted {
	color: var(--text-muted);
}

.tallipaikat-page-paragraph-gap {
	margin-top: 12px;
}

.tallipaikat-page-list {
	color: var(--text-muted);
	margin: 12px 0 0;
}

.tallipaikat-page-contact {
	margin-top: 10px;
}

/* Hevoskoulutus page styles */

.hevoskoulutus-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.hevoskoulutus-page-container {
	max-width: 800px;
}

.hevoskoulutus-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.hevoskoulutus-page-image {
	width: 100%;
	display: block;
	max-height: 320px;
	object-fit: cover;
}

.hevoskoulutus-page-section {
	margin-bottom: 28px;
}

.hevoskoulutus-page-muted {
	color: var(--text-muted);
}

.hevoskoulutus-page-paragraph-gap {
	margin-top: 12px;
}

.hevoskoulutus-page-list {
	color: var(--text-muted);
	margin: 12px 0 0;
}

.hevoskoulutus-page-contact {
	margin-top: 10px;
}

/* Ohjelmaa page styles */

.ohjelmaa-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.ohjelmaa-page-container {
	max-width: 800px;
}

.ohjelmaa-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.ohjelmaa-page-image {
	width: 100%;
	display: block;
	max-height: 320px;
	object-fit: cover;
}

.ohjelmaa-page-section {
	margin-bottom: 28px;
}

.ohjelmaa-page-muted {
	color: var(--text-muted);
}

.ohjelmaa-page-grid {
	margin-bottom: 32px;
}

.ohjelmaa-page-icon {
	font-size: 2rem;
	margin-bottom: 10px;
}

.ohjelmaa-page-contact-card {
	background: var(--green-light);
	border: 1px solid var(--green);
}

.ohjelmaa-page-actions {
	margin-top: 16px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Hevoset page styles */

.hevoset-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.hevoset-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.hevoset-page-image {
	width: 100%;
	display: block;
	max-height: 460px;
	object-fit: cover;
	object-position: top;
}

.hevoset-page-summary-card {
	margin-bottom: 48px;
}

.hevoset-page-subheading {
	margin-bottom: 12px;
}

.hevoset-page-muted {
	color: var(--text-muted);
}

.hevoset-page-paragraph-gap {
	margin-top: 10px;
}

.hevoset-page-members-title {
	margin-bottom: 28px;
}

.horse-card {
	padding: 20px;
}

.hevoset-page-card-image,
.hevoset-page-foal-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: top;
	border-radius: var(--radius);
}

.hevoset-page-card-image {
	margin-bottom: 16px;
}

.hevoset-page-card-fallback {
	width: 100%;
	height: 300px;
	background: var(--green-light);
	border-radius: var(--radius);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
}

.hevoset-page-card-title {
	margin: 0 0 4px;
}

.hevoset-page-card-meta,
.hevoset-page-foal-meta {
	color: var(--text-muted);
	font-size: 0.88rem;
}

.hevoset-page-card-meta {
	margin: 0 0 4px;
}

.hevoset-page-card-note {
	color: var(--text-muted);
	font-size: 0.82rem;
	margin-top: 8px;
}

.hevoset-page-foals-title {
	margin: 48px 0 20px;
}

.hevoset-page-foals-grid {
	max-width: 600px;
}

.hevoset-page-foal-card {
	text-align: center;
}

.hevoset-page-foal-image {
	margin-bottom: 12px;
}

.hevoset-page-foal-meta {
	margin: 0;
}

/* Pihattotalli page styles */

.pihattotalli-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.pihattotalli-page-container {
	max-width: 800px;
}

.pihattotalli-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.pihattotalli-page-image {
	width: 100%;
	display: block;
	max-height: 340px;
	object-fit: cover;
}

.pihattotalli-page-section {
	margin-bottom: 28px;
}

.pihattotalli-page-muted {
	color: var(--text-muted);
}

.pihattotalli-page-paragraph-gap {
	margin-top: 12px;
}

.pihattotalli-page-link {
	display: inline-flex;
	margin-top: 14px;
}

.pihattotalli-page-detail-image {
	width: 100%;
	border-radius: var(--radius);
	margin-bottom: 14px;
}

.pihattotalli-page-list {
	color: var(--text-muted);
	margin: 12px 0 0;
}

/* Intsi page styles */

.intsi-page-intro {
	color: var(--text-muted);
	max-width: 680px;
	margin: 12px auto 0;
}

.intsi-page-container {
	max-width: 860px;
}

.intsi-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.intsi-page-image {
	width: 100%;
	display: block;
	max-height: 380px;
	object-fit: cover;
}

.intsi-page-summary-card {
	margin-bottom: 20px;
}

.intsi-page-muted {
	color: var(--text-muted);
}

.intsi-page-grid {
	gap: 24px;
}

.intsi-page-heading {
	margin-bottom: 10px;
}

.intsi-page-paragraph-gap {
	margin-top: 10px;
}

/* Avustajat page styles */

.avustajat-page-intro {
	color: var(--text-muted);
	max-width: 680px;
	margin: 12px auto 0;
}

.avustajat-page-container {
	max-width: 900px;
}

.avustajat-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.avustajat-page-image {
	width: 100%;
	display: block;
	max-height: 480px;
	object-fit: cover;
	object-position: top;
}

.avustajat-page-summary-card {
	margin-bottom: 24px;
}

.avustajat-page-muted {
	color: var(--text-muted);
}

.avustajat-page-paragraph-gap {
	margin-top: 10px;
}

.avustajat-page-grid {
	gap: 24px;
}

.avustajat-page-heading {
	margin-bottom: 10px;
}

.avustajat-page-list {
	color: var(--text-muted);
}

.avustajat-page-list-tight {
	margin: 0;
}

.avustajat-page-practice-card {
	margin-top: 24px;
}

.avustajat-page-list-gap {
	margin-top: 8px;
}

.avustajat-page-contact {
	margin-top: 12px;
}

/* Kauhajoki ja historia page styles */

.kauhajoki-historia-page-intro {
  color: var(--text-muted);
  max-width: 680px;
  margin: 12px auto 0;
}

.kauhajoki-historia-page-container {
  max-width: 980px;
}

.kauhajoki-historia-page-section {
  margin-bottom: 24px;
}

.kauhajoki-historia-page-muted {
  color: var(--text-muted);
}

.kauhajoki-historia-page-paragraph-gap {
  margin-top: 12px;
}

.kauhajoki-historia-page-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.kauhajoki-historia-page-gallery-card {
  padding: 0;
  overflow: hidden;
}

.kauhajoki-historia-page-gallery-image {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.kauhajoki-historia-page-gallery-history .kauhajoki-historia-page-gallery-image {
  max-height: 280px;
}

@media (max-width: 760px) {
  .kauhajoki-historia-page-gallery {
    grid-template-columns: 1fr;
  }
}

/* Ideologia page styles */

.ideologia-page-intro {
	color: var(--text-muted);
	max-width: 600px;
	margin: 12px auto 0;
}

.ideologia-page-image-card {
	padding: 0;
	overflow: hidden;
	margin: 0 auto 28px;
	max-width: 780px;
}

.ideologia-page-image {
	width: 100%;
	display: block;
	max-height: 360px;
	object-fit: cover;
}

.ideologia-page-content {
	max-width: 780px;
	margin: 0 auto;
}

.ideo-section {
	margin-bottom: 48px;
	padding: 32px 40px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.ideo-section h2 {
	font-size: 1.55rem;
	color: var(--green-dark);
	margin-bottom: 16px;
}

.ideo-section p {
	color: var(--text-muted);
	margin-bottom: 12px;
}

@media (max-width: 600px) {
	.ideo-section {
		padding: 24px 20px;
	}
}

/* Yhteystiedot page styles */

.yhteystiedot-page-image-card {
	padding: 0;
	overflow: hidden;
	margin-bottom: 28px;
}

.yhteystiedot-page-image {
	width: 100%;
	display: block;
	max-height: 300px;
	object-fit: cover;
}

.yhteystiedot-page-grid {
	gap: 48px;
	align-items: start;
}

.yhteystiedot-page-card-gap {
	margin-top: 20px;
}

.yhteystiedot-page-table {
	width: 100%;
	border-collapse: collapse;
}

.yhteystiedot-page-row {
	border-bottom: 1px solid var(--border);
}

.yhteystiedot-page-label {
	padding: 10px 0;
	color: var(--text-muted);
	width: 36%;
	font-size: 0.88rem;
	font-weight: 600;
}

.yhteystiedot-page-value {
	padding: 10px 0;
}

.yhteystiedot-page-mono {
	font-family: monospace;
	font-size: 0.92rem;
}

.yhteystiedot-page-info-card {
	background: var(--green-light);
	border: 1px solid var(--green);
}

.yhteystiedot-page-muted {
	color: var(--text-muted);
}

.yhteystiedot-page-map-card {
	margin-top: 28px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
}

.yhteystiedot-page-map-frame {
	display: block;
	border: none;
}

.yhteystiedot-page-map-unavailable {
	margin-top: 28px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	padding: 24px;
	background: #fff8f1;
	text-align: center;
}

.yhteystiedot-page-form {
	margin-top: 20px;
	background: var(--green-light);
	border: 1px solid var(--green);
	border-radius: var(--radius-lg);
	padding: 24px;
}

.yhteystiedot-page-form-feedback {
	margin-top: 20px;
	margin-bottom: 0;
	border: 1px solid #f5d600;
	background: #fffde7;
}

.yhteystiedot-page-form-feedback-success {
	background: #fffde7;
	border-color: #f5d600;
}

/* ComingSoon page styles */

.coming-soon-page-content {
	text-align: center;
	padding: 40px 24px;
}

.coming-soon-page-icon {
	font-size: 3rem;
	margin-bottom: 16px;
}

.coming-soon-page-lead {
	color: var(--text-muted);
	font-size: 1.1rem;
}

.coming-soon-page-contact {
	color: var(--text-muted);
	margin-top: 8px;
}

/* Verkkokurssit ja etatunnit page styles */

.verkkokurssit-page-intro {
	color: var(--text-muted);
	max-width: 700px;
	margin: 12px auto 0;
}

.verkkokurssit-page-container {
	max-width: 980px;
}

.verkkokurssit-page-lead-card h2 {
	color: var(--green-dark);
}

.verkkokurssit-page-lead-card {
	margin-bottom: 36px;
}

.verkkokurssit-page-muted {
	color: var(--text-muted);
}

.verkkokurssit-page-gap-sm {
	margin-top: 10px;
}

.verkkokurssit-page-grid {
	gap: 28px;
	align-items: stretch;
}

.verkkokurssit-page-offerings {
	margin-top: 8px;
	margin-bottom: 36px;
}

.verkkokurssit-page-offer-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.verkkokurssit-page-price {
	display: inline-flex;
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--green-light);
	color: var(--green-dark);
	font-weight: 700;
	font-family: var(--heading);
}

.verkkokurssit-page-gap-lg {
	margin-top: 40px;
}

.verkkokurssit-page-contact-card {
	background: var(--green-light);
	border: 1px solid var(--green);
}

.verkkokurssit-page-form {
	margin-top: 18px;
}

.verkkokurssit-page-form-feedback {
	margin-top: 14px;
	margin-bottom: 0;
	border: 1px solid #f5d600;
	background: #fffde7;
}

.verkkokurssit-page-form-feedback-success {
	background: #fffde7;
	border-color: #f5d600;
}

.verkkokurssit-page-submit {
	margin-top: 8px;
}

.verkkokurssit-page-form .form-group:last-child {
	margin-bottom: 0;
}

