/* Brand, about and contact pages */
.page-title-sm { font-size: 28px; margin: 0 0 22px; color: #0a3d22; }
.sub-title { display: inline-block; color: var(--brand-gold, #b88838); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }

/* Brand cards */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.brand-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 14px rgba(10, 61, 34, .08); border-top: 4px solid var(--brand, #0a6b3a); }
.brand-card__media { display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand, #0a6b3a) 8%, #fff); height: 220px; padding: 18px; }
.brand-card__media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.brand-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.brand-card__logo { max-height: 56px; max-width: 220px; width: auto; object-fit: contain; }
.brand-card__tag { color: var(--brand, #0a6b3a); font-weight: 600; font-size: 14px; }
.brand-card__body p { margin: 0; color: #4a5a50; flex: 1; }

/* Brand story page */
.brand-story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.brand-story__logo { max-height: 90px; max-width: 320px; width: auto; margin-bottom: 18px; display: block; }
.brand-story__label { display: inline-block; color: var(--brand, #0a6b3a); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.brand-story__text p { font-size: 17px; line-height: 1.75; color: #34443a; margin: 0 0 16px; }
.brand-story__image { margin: 0; text-align: center; }
.brand-story__image img { max-width: 100%; max-height: 460px; object-fit: contain; }

/* About */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 40px; }
.about-intro h2 { margin: 0 0 14px; color: #0a3d22; }
.about-intro p { font-size: 17px; line-height: 1.75; color: #34443a; }
.about-intro figure { margin: 0; text-align: center; }
.about-perks { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.about-perks li { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 2px 14px rgba(10, 61, 34, .08); display: flex; flex-direction: column; gap: 6px; }
.about-perks i { font-size: 26px; color: var(--brand-green); }
.about-perks span { color: #5a6b60; font-size: 15px; }
.about-cta { text-align: center; margin-top: 56px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-info-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 18px; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card li > i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e3f4e8; color: var(--brand-green); display: grid; place-items: center; }
.contact-info-card strong { display: block; color: #0a3d22; }
.contact-info-card a { color: #34443a; }
.contact-social { display: flex; gap: 10px; }
.contact-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-green); color: #fff; display: grid; place-items: center; }
.ks-field select, .ks-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #d5dfd8; border-radius: 12px; font: inherit; background: #fff; }

/* Home: brand story rows */
.brand-story-section .brand-logo-mark { max-height: 70px; max-width: 300px; width: auto; margin-bottom: 14px; display: block; }
.brand-story-section .sub-title { color: var(--brand, #b88838); }

@media (max-width: 900px) {
  .brand-story__grid, .about-intro, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-story__image { order: -1; }
}

/* CMS page body */
.page-content { max-width: 860px; margin: 0 auto; padding: 36px 40px; }
.page-content h2 { font-size: 24px; margin: 30px 0 10px; color: #0a3d22; }
.page-content h3 { font-size: 20px; margin: 24px 0 8px; color: #0a3d22; }
.page-content > :first-child { margin-top: 0; }
.page-content p, .page-content li { font-size: 16.5px; line-height: 1.75; color: #34443a; }
.page-content p { margin: 0 0 14px; }
.page-content ul, .page-content ol { margin: 0 0 16px; padding-left: 22px; }
.page-content a { color: var(--brand-green); text-decoration: underline; }
.page-content blockquote { margin: 18px 0; padding: 8px 18px; border-left: 4px solid var(--brand-yellow, #f8ca38); background: #fffaeb; border-radius: 0 12px 12px 0; }
.page-content__image { max-width: 100%; border-radius: 16px; margin-bottom: 18px; }
.page-content__updated { margin-top: 28px !important; padding-top: 14px; border-top: 1px solid #e6ece8; font-size: 13px !important; }
@media (max-width: 767px) { .page-content { padding: 22px 18px; } }
.page-content__body h2 { margin: 0 0 14px; color: #0a3d22; }
.page-content__body p { font-size: 17px; line-height: 1.75; color: #34443a; }
.page-content__intro { max-width: 760px; margin-bottom: 24px; font-size: 17px; line-height: 1.7; color: #34443a; }

/* Footer legal links */
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.footer-legal a:hover { color: var(--brand-yellow, #f8ca38); }
.main-footer .footer-bottom .inner-container { flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 6px; }
.page-content strong, .page-content b { font-weight: 700; color: #0a3d22; }
.page-content em, .page-content i { font-style: italic; }
.page-content__body strong { font-weight: 700; }
.page-content ul > li { display: list-item; list-style: disc outside; }
.page-content ol > li { display: list-item; list-style: decimal outside; }

/* Compact page heading used instead of a banner */
.page-head { padding: 34px 0 0; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); color: #0a3d22; }
.page-head p { margin: 6px 0 0; color: #5a6b60; font-size: 16px; }
.page-head + .ks-section { padding-top: 24px; }
@media (max-width: 767px) { .page-head { padding-top: 20px; } .page-head + .ks-section { padding-top: 16px; } }

/* Blog */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.blog-cats a { padding: 8px 16px; border-radius: 999px; background: #eef3ef; color: #34443a; font-weight: 600; font-size: 14px; }
.blog-cats a.is-active, .blog-cats a:hover { background: var(--brand-green); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 2px 14px rgba(10, 61, 34, .08); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: #e3f4e8; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; font-size: 40px; color: #9fc7ad; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.post-card__meta { display: flex; gap: 8px; font-size: 13px; color: #6b7a70; }
.post-card__meta a { color: var(--brand-green); font-weight: 600; }
.post-card h3 { font-size: 20px; line-height: 1.3; margin: 0; }
.post-card h3 a { color: #0a3d22; }
.post-card p { margin: 0; color: #4a5a50; flex: 1; font-size: 15px; }
.blog-pager { margin-top: 32px; display: flex; justify-content: center; }
.blog-post { padding: 34px 0 70px; }
.blog-post__head { max-width: 860px; margin: 0 auto 22px; }
.blog-post__head h1 { margin: 6px 0 10px; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.2; color: #0a3d22; }
.blog-post__cat { color: var(--brand-green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.blog-post__meta { display: flex; flex-wrap: wrap; gap: 8px; color: #6b7a70; font-size: 14px; margin: 0; }
.blog-post__cover { max-width: 860px; margin: 0 auto 22px; }
.blog-post__cover img { width: 100%; border-radius: 22px; max-height: 480px; object-fit: cover; }
.blog-post__body img { max-width: 100%; height: auto; border-radius: 14px; margin: 14px 0; }
.blog-share { max-width: 860px; margin: 18px auto 0; display: flex; align-items: center; gap: 10px; color: #6b7a70; font-weight: 600; }
.blog-share a { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-green); color: #fff; display: grid; place-items: center; }
.blog-related { margin-top: 56px; }
