
.gallery-page { padding: 44px 0 48px; background: #f5f6f9; min-height: 65vh; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.gallery-eyebrow { color: #b6610c; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; margin-bottom: 10px; }
.gallery-heading h1 { color: #1b2735; font-size: clamp(28px,3.5vw,44px); line-height: 1.2; letter-spacing: -1.3px; margin-bottom: 12px; }
.gallery-heading h1 span { color: #f5820b; }
.gallery-heading > div > p:last-child { color: #7a8594; font-size: 14px; max-width: 580px; }
.gallery-create { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 46px; padding: 12px 20px; background: #ef810e; color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; }
.gallery-section { margin-bottom: 36px; }
.gallery-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 13px; border-bottom: 1px solid #e0e5ec; }
.gallery-section-heading h2 { font-size: 22px; color: #29384c; }
.gallery-section-heading > span { font-size: 12px; color: #939dab; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.gallery-card { min-width: 0; background: white; border: 1px solid #e1e6ed; border-radius: 13px; overflow: hidden; box-shadow: 0 4px 12px #20344708; }
.gallery-card > a { display: block; overflow: hidden; }
.gallery-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gallery-card > a:hover img { transform: scale(1.025); }
.gallery-card-content { padding: 22px; }
.gallery-card-label { color: #ad631d; text-transform: uppercase; font-size: 10px; letter-spacing: .7px; font-weight: 700; margin-bottom: 9px; }
.gallery-card h3 { font-size: 19px; line-height: 1.35; color: #24344a; overflow-wrap: anywhere; }
.gallery-description { margin-top: 12px; color: #7d8795; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.gallery-description p + p { margin-top: 10px; }
.gallery-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; margin-top: 20px; border-top: 1px solid #edf0f4; color: #ae5708; font-size: 13px; font-weight: 700; min-height: 44px; }
.gallery-link span { font-size: 22px; }
.gallery-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #d7dfe9; border-radius: 12px; padding: 30px; text-align: center; color: #8a95a4; font-size: 13px; }
.gallery-empty > i { font-size: 30px; color: #e99a48; margin-bottom: 12px; }
.gallery-empty h3 { color: #536277; font-size: 17px; margin-bottom: 8px; }
.gallery-empty a { display: inline-block; margin-top: 15px; color: #b05b0c; font-weight: 700; padding: 10px; }
.gallery-message { background: #fff4e5; color: #975b18; border-radius: 8px; padding: 14px; margin-bottom: 20px; }
@media(max-width:1000px) { .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .gallery-page { padding-top: 28px; } .gallery-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; } .gallery-grid { grid-template-columns: minmax(0,1fr); gap: 18px; } .gallery-card-content { padding: 20px; } }
@media(prefers-reduced-motion:reduce) { .gallery-card img { transition: none; } }

.home-gallery { padding-top: 40px; padding-bottom: 24px; }
.home-gallery .gallery-section-heading > a { color: #ae5708; font-size: 13px; font-weight: 700; }
