.dog-gallery { margin: 0 0 28px; padding: 24px; border: 1px solid #e0ebe3; border-radius: 18px; background: #fff; }
.dog-gallery-heading { margin-bottom: 24px; }
.dog-gallery-heading h2 { margin: 0 0 8px; color: #234b3c; font-size: 25px; }
.dog-gallery-heading > p:last-child { margin: 0; color: #53645a; }
.dog-gallery-source { min-width: 0; margin-top: 24px; }
.dog-gallery-source h3 { margin: 0 0 8px; color: #315746; font-size: 19px; }
.dog-gallery-attribution, .dog-gallery-status { color: #53645a; font-size: 14px; }
.dog-gallery-attribution a { color: #1b6542; text-decoration: underline; }
.dog-gallery-carousel { max-width: 640px; margin: 14px auto; }
.dog-gallery-card { min-width: 0; overflow: hidden; border: 1px solid #e1e9e3; border-radius: 12px; background: #f8fbf8; }
.dog-gallery-card > img { display: block; width: 100%; max-height: 430px; aspect-ratio: 4 / 3; object-fit: contain; background: #edf3ee; }
.dog-gallery-card-actions { display: flex; align-items: center; gap: 10px; padding: 10px; }
.dog-gallery-like, .dog-gallery-button { padding: 8px 12px; border: 1px solid #347653; border-radius: 8px; background: #fff; color: #234b3c; font: inherit; font-weight: 700; cursor: pointer; }
.dog-gallery-like:hover, .dog-gallery-button:hover { background: #f1f8f2; }
.dog-gallery-like:disabled, .dog-gallery-button:disabled { cursor: default; opacity: .65; }
.dog-gallery-upload { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid #e1e9e3; border-radius: 12px; background: #f8fbf8; }
.dog-gallery-upload > label:first-child { color: #315746; font-weight: 700; }
.dog-gallery-upload input[type="file"] { width: 100%; min-width: 0; max-width: 100%; }
.dog-gallery-upload .dog-gallery-button { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.dog-gallery-consent { display: flex; align-items: flex-start; gap: 9px; color: #53645a; font-size: 13px; line-height: 1.5; }
.dog-gallery-consent input { flex: 0 0 auto; margin-top: 3px; }
.dog-gallery-status { min-height: 1.4em; margin: 10px 0 0; }
.dog-gallery [hidden] { display: none; }
@media (min-width: 768px) {
	.dog-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
	.dog-gallery-heading { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.dog-gallery { padding: 18px; border-radius: 14px; }
	.dog-gallery-heading h2 { font-size: 22px; }
	.dog-gallery-card > img { max-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
	.dog-gallery *, .dog-gallery *::before, .dog-gallery *::after { scroll-behavior: auto !important; }
}
