/* Photo stories: portrait grid and a quiet, full-width reading layout. */
.ichudu-photos { --photo-accent: var(--cb-blue, #21549b); color: #252d32; }
.photo-banner { background: var(--cb-blue, #21549b); padding: 54px 0; }
.photo-banner h1, .photo-banner a { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; text-transform: uppercase; }
.photo-main { padding-top: 30px; padding-bottom: 64px; }
.photo-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; font-size: 15px; }
.ichudu-photos a { color: var(--photo-accent); }
.ichudu-photos .photo-banner a { color: #fff; }
.photo-intro { font-size: clamp(18px, 2vw, 23px); line-height: 1.65; font-weight: 400; margin-bottom: 32px; max-width: 1050px; }
.photo-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.photo-filters label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.photo-filters select { max-width: 100%; min-width: 200px; padding: 10px 36px 10px 12px; border: 1px solid #d6e0ee; border-radius: 4px; background: #fff; color: #252d32; }
.photo-filters button { background: var(--photo-accent); color: #fff; border: 0; border-radius: 4px; padding: 11px 20px; min-height: 44px; }
.photo-filters > a { padding: 10px 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.photo-card { min-width: 0; margin: 0; }
.photo-card > a { position: relative; display: block; overflow: hidden; background: #e3ebf5; aspect-ratio: 9 / 16; }
.photo-card-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.photo-card a:hover .photo-card-image { transform: scale(1.035); }
.photo-card-caption { position: absolute; inset: auto 0 0; padding: 56px 18px 22px; background: linear-gradient(transparent, rgba(10, 24, 48, .88)); }
.photo-card-caption h2 { color: #fff; font-size: 17px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.photo-placeholder { display: grid; place-items: center; height: 100%; color: var(--cb-blue, #21549b); font-size: 28px; }
.ichudu-photos .pagination { display: block; margin: 42px 0 0; text-align: center; }
.ichudu-photos .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ichudu-photos .page-numbers { display: inline-block; padding: 10px 15px; border: 1px solid #d6e0ee; border-radius: 4px; }
.ichudu-photos .page-numbers.current { background: var(--photo-accent); color: #fff; }
.photo-empty { padding: 48px 24px; background: #f4f7fb; text-align: center; }
.photo-story-header { margin-bottom: 36px; }
.photo-story-header h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; margin-bottom: 20px; overflow-wrap: anywhere; }
.photo-meta { background: #f7f8f8; color: #677376; padding: 12px 16px; font-size: 14px; }
.photo-meta span { margin: 0 12px; }
.photo-featured { margin: 0 auto 30px; max-width: 900px; text-align: center; }
.photo-featured img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.photo-featured figcaption { color: #677376; font-size: 14px; line-height: 1.6; margin-top: 12px; }
.photo-story-content { max-width: 900px; margin: 0 auto; font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.photo-story-content img, .photo-story-content figure, .photo-story-content .wp-caption { max-width: 100%; height: auto; }
.photo-terms { max-width: 900px; margin: 30px auto; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.ichudu-photos .post-navigation { border-top: 1px solid #d6e0ee; padding-top: 24px; margin-top: 36px; }
.ichudu-photos .post-navigation .nav-links { justify-content: space-between; gap: 24px; }
.ichudu-photos .post-navigation .nav-previous, .ichudu-photos .post-navigation .nav-next { flex: 1; overflow-wrap: anywhere; }
.photo-back { text-align: center; margin-top: 30px; }
.ichudu-photos a:focus-visible, .ichudu-photos button:focus-visible, .ichudu-photos select:focus-visible { outline: 3px solid #e2a526; outline-offset: 4px; }
.photo-location-section { margin: 48px 0; }
.photo-location-section h2 { margin-bottom: 24px; }
@media (max-width: 991px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
	.photo-banner { padding: 32px 0; }
	.photo-main { padding-top: 22px; }
	.photo-grid { gap: 20px 12px; }
	.photo-card-caption { padding: 40px 10px 14px; }
	.photo-card-caption h2 { font-size: 14px; }
	.photo-filters label { width: 100%; }
	.photo-filters select { width: 100%; min-width: 0; }
	.photo-story-content { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .photo-card-image { transition: none; } }
