/* ===== PAGE WITH GALLERY TEMPLATE ===== */

/* Simple Banner - Discreto */
.rc-page-banner {
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
	padding: clamp(40px, 6vw, 60px) 0;
}

.rc-page-banner__content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.rc-page-banner__title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--rc-navy);
	line-height: 1.2;
}

.rc-page-banner__subtitle {
	font-size: clamp(16px, 2.5vw, 18px);
	line-height: 1.6;
	color: var(--rc-gray);
	margin: 0;
}

/* Page Content */
.rc-page-content {
	padding: clamp(60px, 10vw, 80px) 0;
}

.rc-page-content .entry-content {
	font-size: clamp(15px, 2vw, 17px);
	line-height: 1.8;
	color: var(--rc-dark);
}

.rc-page-content .entry-content h2 {
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 700;
	margin: 48px 0 24px;
	color: var(--rc-navy);
	line-height: 1.2;
	position: relative;
	padding-bottom: 16px;
}

.rc-page-content .entry-content h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: var(--rc-navy);
	border-radius: 2px;
}

.rc-page-content .entry-content h2:first-child {
	margin-top: 0;
}

.rc-page-content .entry-content h3 {
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	margin: 36px 0 20px;
	color: var(--rc-dark);
	line-height: 1.3;
}

.rc-page-content .entry-content p {
	margin-bottom: 20px;
}

.rc-page-content .entry-content ul,
.rc-page-content .entry-content ol {
	margin: 24px 0;
	padding-left: 28px;
}

.rc-page-content .entry-content li {
	margin-bottom: 12px;
	line-height: 1.7;
}

.rc-page-content .entry-content strong {
	font-weight: 600;
	color: var(--rc-navy);
}

.rc-page-content .entry-content a {
	color: var(--rc-navy);
	text-decoration: underline;
	text-decoration-color: rgba(2, 70, 156, 0.3);
	text-underline-offset: 3px;
	transition: all 0.2s;
}

.rc-page-content .entry-content a:hover {
	color: var(--rc-royal);
	text-decoration-color: var(--rc-royal);
}

.rc-page-content .entry-content img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 32px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rc-page-content .entry-content blockquote {
	border-left: 4px solid var(--rc-navy);
	padding: 20px 24px;
	margin: 32px 0;
	background: #f9fafb;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: var(--rc-gray);
}

/* Gallery Section */
.rc-page-gallery-section {
	padding: clamp(60px, 8vw, 80px) 0;
	background: #f9fafb;
	border-top: 1px solid #e5e7eb;
}

.rc-page-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

@media (min-width: 640px) {
	.rc-page-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media (min-width: 1024px) {
	.rc-page-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Gallery Item */
.rc-page-gallery-item {
	display: block;
	text-decoration: none;
	color: inherit;
}

.rc-page-gallery-item__wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #e5e7eb;
	aspect-ratio: 4/3;
	transition: transform 0.3s;
}

.rc-page-gallery-item:hover .rc-page-gallery-item__wrapper {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.rc-page-gallery-item__wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.rc-page-gallery-item:hover .rc-page-gallery-item__wrapper img {
	transform: scale(1.08);
}

.rc-page-gallery-item__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(2, 70, 156, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rc-white);
	opacity: 0;
	transition: opacity 0.3s;
}

.rc-page-gallery-item:hover .rc-page-gallery-item__overlay {
	opacity: 1;
}

.rc-page-gallery-item__caption {
	font-size: 14px;
	color: var(--rc-gray);
	margin: 12px 0 0;
	line-height: 1.4;
}
