/* Current Care Gallery — tour photo albums (matches the reviews section) */
.ccdg {
	--ccdg-bg: #f3efe8;
	--ccdg-card: #f9f7f2;
	--ccdg-line: #e3dcd0;
	--ccdg-ink: #2b2a25;
	--ccdg-muted: #5f5b52;
	--ccdg-pill: #e8e4dc;
	--ccdg-outline: #a99d88;
	--ccdg-green: #2e3a30;
	--ccdg-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--ccdg-sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
	--ccdg-gutter: clamp(16px, 5vw, 86px);
	--ccdg-inner: 1204px;
	--ccdg-gap: clamp(14px, 1.75vw, 29px);

	background: var(--ccdg-bg);
	color: var(--ccdg-ink);
	font-family: var(--ccdg-sans);
	padding: clamp(48px, 5.5vw, 92px) 0 clamp(56px, 6vw, 110px);
	-webkit-font-smoothing: antialiased;
}
.ccdg *, .ccdg *::before, .ccdg *::after { box-sizing: border-box; }
.ccdg p { margin: 0; }
.ccdg svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.ccdg__inner { width: min(var(--ccdg-inner), calc(100% - 2 * var(--ccdg-gutter))); margin-inline: auto; }

/* Header ------------------------------------------------------------ */
.ccdg__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 64px; flex-wrap: wrap; }
.ccdg__eyebrow {
	font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
	color: var(--ccdg-ink); margin-bottom: clamp(18px, 2.4vw, 40px) !important;
}
.ccdg__title {
	font-family: var(--ccdg-serif); font-weight: 400;
	font-size: clamp(52px, 6.4vw, 108px); line-height: .98; letter-spacing: -.01em;
	color: var(--ccdg-ink); margin: 0;
}
.ccdg__title span, .ccdg__title em { display: block; }
.ccdg__title em { font-style: italic; }
.ccdg__title--album { font-size: clamp(44px, 5vw, 84px); }
.ccdg__intro { max-width: 40ch; font-size: 16px; line-height: 1.65; color: var(--ccdg-muted); padding-bottom: clamp(0px, 1vw, 16px); }

/* Album index ------------------------------------------------------- */
.ccdg__albums {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(36px, 3.4vw, 56px) var(--ccdg-gap);
	margin-top: clamp(44px, 5vw, 84px);
}
.ccdg__album { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.ccdg__album.is-lead { grid-column: span 2; grid-row: span 2; }
.ccdg__cover {
	display: block; overflow: hidden; border-radius: 6px; background: var(--ccdg-pill);
	aspect-ratio: 4 / 3;
}
.ccdg__album.is-lead .ccdg__cover { aspect-ratio: auto; flex: 1; min-height: 0; }
.ccdg__cover img, .ccdg__noimg {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.ccdg__album:hover .ccdg__cover img, .ccdg__album:focus-visible .ccdg__cover img { transform: scale(1.04); }
.ccdg__album:focus-visible { outline: 2px solid var(--ccdg-outline); outline-offset: 6px; border-radius: 6px; }
.ccdg__album-body { display: grid; gap: 6px; padding-top: 18px; }
.ccdg__meta { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ccdg-muted); }
.ccdg__album-title { font-family: var(--ccdg-serif); font-size: clamp(26px, 2vw, 34px); line-height: 1.1; }
.ccdg__album.is-lead .ccdg__album-title { font-size: clamp(30px, 2.8vw, 46px); }
.ccdg__album-foot {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ccdg-line);
	font-size: 14px; color: var(--ccdg-muted);
}
.ccdg__go {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ccdg-outline);
	display: grid; place-items: center; color: var(--ccdg-ink); transition: background .2s, color .2s, border-color .2s;
}
.ccdg__go svg { width: 17px; height: 17px; }
.ccdg__album:hover .ccdg__go { background: var(--ccdg-green); border-color: var(--ccdg-green); color: #fff; }
.ccdg__empty { margin-top: 48px !important; font-family: var(--ccdg-serif); font-size: 24px; color: var(--ccdg-muted); }

/* Album view -------------------------------------------------------- */
.ccdg__back {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(28px, 3vw, 48px);
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
	color: var(--ccdg-ink); text-decoration: none;
}
.ccdg__back svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .2s; }
.ccdg__back:hover svg { transform: rotate(180deg) translateX(4px); }

.ccdg__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 3.4vw, 56px); }
.ccdg__chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px;
	border: 1px solid var(--ccdg-outline); border-radius: 999px; background: transparent; color: var(--ccdg-ink);
	font: 500 12px/1 var(--ccdg-sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.ccdg__chip span { font-size: 11px; color: var(--ccdg-muted); letter-spacing: .05em; }
.ccdg__chip:hover { border-color: var(--ccdg-ink); }
.ccdg__chip[aria-pressed="true"] { background: var(--ccdg-green); border-color: var(--ccdg-green); color: #fff; }
.ccdg__chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }

.ccdg__grid {
	list-style: none; padding: 0; margin: clamp(24px, 2.4vw, 40px) 0 0;
	columns: 3; column-gap: var(--ccdg-gap);
}
.ccdg__photo { break-inside: avoid; margin: 0 0 var(--ccdg-gap); }
.ccdg__photo[hidden] { display: none; }
.ccdg__photo button {
	display: block; width: 100%; padding: 0; border: 0; background: var(--ccdg-pill);
	border-radius: 6px; overflow: hidden; cursor: zoom-in;
}
.ccdg__photo img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.ccdg__photo button:hover img { transform: scale(1.03); }
.ccdg__photo button:focus-visible { outline: 2px solid var(--ccdg-outline); outline-offset: 3px; }
.ccdg__caption { font-size: 14px; color: var(--ccdg-muted); margin-top: 10px !important; line-height: 1.5; }

/* Lightbox ---------------------------------------------------------- */
.ccdg__lightbox {
	width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(27, 26, 23, .96); color: #f3efe8; overflow: hidden;
}
.ccdg__lightbox::backdrop { background: rgba(27, 26, 23, .96); }
.ccdg__lightbox[open] { display: grid; place-items: center; }
.ccdg__lb-figure {
	margin: 0; display: grid; justify-items: center; gap: 14px;
	max-width: calc(100vw - 160px); padding: 64px 0 56px;
}
.ccdg__lb-figure img {
	max-width: 100%; max-height: calc(100dvh - 180px); width: auto; height: auto;
	border-radius: 4px; object-fit: contain; user-select: none; -webkit-user-drag: none;
}
.ccdg__lb-caption { font-family: var(--ccdg-serif); font-size: 20px; text-align: center; max-width: 60ch; display: flex; gap: 12px; align-items: baseline; justify-content: center; flex-wrap: wrap; }
.ccdg__lb-moment { font: 500 11px/1 var(--ccdg-sans); letter-spacing: .26em; text-transform: uppercase; color: #c9bfae; }
.ccdg__lb-moment:empty { display: none; }
.ccdg__lb-top { position: absolute; top: 26px; left: 32px; right: 100px; display: flex; align-items: baseline; gap: 18px; }
.ccdg__lb-album { font-family: var(--ccdg-serif); font-size: 22px; color: #f3efe8; }
.ccdg__lb-album:empty { display: none; }
.ccdg__lb-count { font-size: 12px; letter-spacing: .26em; color: #c9bfae; }
.ccdg__lb-btn {
	position: absolute; width: 52px; height: 52px; border-radius: 50%;
	border: 1px solid rgba(243, 239, 232, .35); background: transparent; color: #f3efe8;
	display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s;
}
.ccdg__lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccdg__lb-btn:hover, .ccdg__lb-btn:focus-visible { background: rgba(243, 239, 232, .12); border-color: #f3efe8; outline: none; }
.ccdg__lb-close { top: 16px; right: 20px; }
.ccdg__lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.ccdg__lb-next { right: 24px; top: 50%; transform: translateY(-50%); }


/* Photo grid view (Gallery page) ------------------------------------- */
.ccdg__head--grid { margin-bottom: clamp(40px, 4.4vw, 72px); }
.ccdg__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.ccdg__bar .ccdg__chips { margin-top: 0; }
.ccdg--photos .ccdg__chip { min-height: 45px; padding: 0 21px; letter-spacing: .2em; font-size: 12px; background: transparent; }
.ccdg--photos .ccdg__chip[aria-pressed="true"] { background: var(--ccdg-green); }
.ccdg__total { flex: none; font-size: 13px; color: var(--ccdg-muted); white-space: nowrap; }

.ccdg__tiles {
	list-style: none; padding: 0; margin: clamp(28px, 2.6vw, 42px) 0 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 2.9vw, 48px) var(--ccdg-gap);
}
.ccdg__tile { margin: 0; }
.ccdg__tile[hidden] { display: none; }
.ccdg__tile button { border-radius: 0; aspect-ratio: 1; }
.ccdg__tile img { width: 100%; height: 100%; object-fit: cover; }
.ccdg__tile-cat {
	margin-top: 16px !important; font-size: 10px; font-weight: 500; letter-spacing: .28em;
	text-transform: uppercase; color: var(--ccdg-ink);
}
.ccdg__tile-cat:empty { display: none; }
.ccdg__tile-trip { margin-top: 5px !important; font-size: 13px; color: var(--ccdg-muted); }

/* Album tile on the "Our groups" tab */
.ccdg__tile--album button { position: relative; }
.ccdg__badge {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 9px;
	border-radius: 999px; background: rgba(27, 26, 23, .62); color: #fff;
	font: 500 12px/1 var(--ccdg-sans); letter-spacing: .04em;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ccdg__badge svg { width: 15px; height: 15px; }
.ccdg__tile--album button { cursor: pointer; }

.ccdg__more-wrap { display: flex; justify-content: center; margin-top: clamp(36px, 3.4vw, 56px); }
.ccdg__more-wrap[hidden] { display: none; }
.ccdg__more {
	min-height: 52px; padding: 0 34px; border-radius: 999px;
	border: 1px solid var(--ccdg-outline); background: transparent; color: var(--ccdg-ink);
	font: 500 12px/1 var(--ccdg-sans); letter-spacing: .26em; text-transform: uppercase; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.ccdg__more:hover { background: var(--ccdg-green); border-color: var(--ccdg-green); color: #fff; }

.ccdg__footrow {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
	margin-top: clamp(40px, 3.6vw, 60px); padding-top: clamp(28px, 2.4vw, 40px);
	border-top: 1px solid var(--ccdg-line);
}
.ccdg__footnote { font-size: 13px; color: var(--ccdg-muted); }
.ccdg__ig {
	display: inline-flex; align-items: center; gap: 14px; color: var(--ccdg-ink); text-decoration: none;
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
}
.ccdg__ig span { padding-bottom: 7px; border-bottom: 1px solid var(--ccdg-ink); }
.ccdg__ig svg { width: 18px; height: 18px; margin-bottom: 6px; transition: transform .2s; }
.ccdg__ig:hover svg { transform: translateX(4px); }

/* "Be in the next album." band -------------------------------------- */
.ccdg-cta {
	--ccdg-gutter: clamp(16px, 5vw, 86px);
	--ccdg-inner: 1204px;
	background: #e3d8c7; color: #2b2a25;
	font-family: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
	padding: clamp(80px, 11.5vw, 200px) 0;
	-webkit-font-smoothing: antialiased;
}
.ccdg-cta *, .ccdg-cta *::before, .ccdg-cta *::after { box-sizing: border-box; }
.ccdg-cta p { margin: 0; }
.ccdg-cta__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.ccdg-cta .ccdg__eyebrow {
	font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
	margin-bottom: clamp(18px, 2.2vw, 36px) !important; color: #2b2a25;
}
.ccdg-cta__title {
	font-family: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	font-weight: 400; font-size: clamp(48px, 5.4vw, 92px); line-height: 1; letter-spacing: -.01em;
	margin: 0; color: #2b2a25;
}
.ccdg-cta__title span, .ccdg-cta__title em { display: block; }
.ccdg-cta__title em { font-style: italic; }
.ccdg-cta__btn {
	display: inline-flex; align-items: center; gap: 14px; min-height: 62px; padding: 0 38px;
	margin-bottom: clamp(0px, 1vw, 18px);
	border-radius: 999px; background: #2e3a30; color: #fff; text-decoration: none;
	font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
	transition: background .2s;
}
.ccdg-cta__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ccdg-cta__btn:hover { background: #1f2821; color: #fff; }
.ccdg-cta__btn:hover svg { transform: translateX(4px); }

/* Responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
	.ccdg__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ccdg__albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ccdg__album.is-lead { grid-row: auto; }
	.ccdg__album.is-lead .ccdg__cover { aspect-ratio: 16 / 9; flex: none; }
	.ccdg__grid { columns: 2; }
}
@media (max-width: 700px) {
	.ccdg__bar { flex-direction: column; align-items: flex-start; }
	.ccdg__bar .ccdg__chips { width: calc(100% + 2 * var(--ccdg-gutter)); }
	.ccdg__tiles { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
	.ccdg__tile-cat { font-size: 9px; letter-spacing: .2em; margin-top: 10px !important; }
	.ccdg__tile-trip { font-size: 12px; }
	.ccdg__footrow { flex-direction: column; align-items: flex-start; }
	.ccdg__ig { font-size: 11px; letter-spacing: .14em; gap: 10px; }
	.ccdg-cta__btn { width: 100%; justify-content: center; }
	.ccdg__head { align-items: flex-start; flex-direction: column; }
	.ccdg__albums { grid-template-columns: 1fr; }
	.ccdg__album.is-lead { grid-column: auto; }
	.ccdg__album.is-lead .ccdg__cover { aspect-ratio: 4 / 3; }
	.ccdg__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--ccdg-gutter)); padding-inline: var(--ccdg-gutter); scrollbar-width: none; }
	.ccdg__chip { flex: none; }
	.ccdg__lb-figure { max-width: 100vw; padding: 72px 0 96px; }
	.ccdg__lb-figure img { border-radius: 0; max-height: calc(100dvh - 200px); }
	.ccdg__lb-caption { padding: 0 20px; font-size: 18px; }
	.ccdg__lb-prev, .ccdg__lb-next { top: auto; bottom: 20px; transform: none; }
	.ccdg__lb-prev { left: calc(50% - 62px); }
	.ccdg__lb-next { right: calc(50% - 62px); }
	.ccdg__lb-top { left: 20px; top: 28px; right: 80px; flex-direction: column; gap: 4px; }
	.ccdg__lb-album { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	.ccdg__cover img, .ccdg__photo img { transition: none; }
}
