/*
 * Every section, regardless of type, gets the same top/bottom spacing
 * from this one wrapper (added in renderer.php) instead of each
 * template declaring its own — so adding new section types can't
 * introduce a one-off gap that doesn't match the rest of the page.
 */
.swiss-pb-section-spacing {
	padding-top: 40px;
	padding-bottom: 40px;
}

@media (max-width: 767px) {
	.swiss-pb-section-spacing {
		padding-top: 24px;
		padding-bottom: 24px;
	}
}

/*
 * Card View — fully self-contained, no Elementor container classes
 * involved, so there's no fallback-variable spacing to fight or
 * accidentally double up on. Every gap here is explicit and only
 * declared once.
 *
 * .swiss-pb-cv itself isn't wrapped in anything that constrains width
 * (other sections inherit it from .elementor-container{max-width:1140px}),
 * so it has to set the same max-width/centering itself to line up with
 * the rest of the page.
 */
.swiss-pb-cv {
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 20px;
}

.swiss-pb-cv__heading {
	margin: 16px 0 12px;
}

.swiss-pb-cv__subheading {
	margin: 0 0 24px;
	color: #555;
}

.swiss-pb-cv__subheading p:last-child {
	margin-bottom: 0;
}

.swiss-pb-cv__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

@media (max-width: 767px) {
	.swiss-pb-cv__grid {
		grid-template-columns: 1fr;
	}
}

.swiss-pb-cv__card {
	background: #F0F1F4;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.swiss-pb-cv__card-image {
	margin: 0 0 16px;
}

.swiss-pb-cv__card-image img {
	/* Fixed aspect ratio + object-fit so a card's height doesn't balloon
	   to match whatever resolution/orientation the uploaded image happens
	   to be — every card image renders at the same size regardless. */
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.swiss-pb-cv__card-title {
	margin: 0 0 10px;
	color: #151515;
	font-size: 22px;
}

.swiss-pb-cv__card-title a {
	color: inherit;
	text-decoration: none;
}

.swiss-pb-cv__card-title a:hover {
	text-decoration: underline;
}

.swiss-pb-cv__card-text {
	color: #555;
}

.swiss-pb-cv__card-text p:last-child {
	margin-bottom: 0;
}

.swiss-pb-cv__after {
	margin-top: 24px;
}

.swiss-pb-cv__after p:last-child {
	margin-bottom: 0;
}

/*
 * CTA Strip — these structural/typography rules (border-radius, padding,
 * centering, fonts, button hover) come from the live site's per-element
 * generated CSS (post-2993.css, element be73e3b/dcab3b2/b1d3410). Colors
 * are still controlled via the section's own fields/inline styles; this
 * just fills in the parts that aren't configurable fields.
 *
 * Applied to .elementor-container (not the outer .elementor-section) so
 * the colored/rounded strip is capped at the boxed page width (1140px,
 * via Elementor's own .elementor-section-boxed>.elementor-container rule)
 * instead of stretching full browser width.
 */
.swiss-pb-cta-strip {
	border-radius: 15px;
	padding: 20px;
}

.swiss-pb-cta-strip .elementor-heading-title {
	text-align: center;
	font-family: "Roboto", Sans-serif;
	font-weight: 400;
	font-size: 25px;
}

.swiss-pb-cta-strip .elementor-button {
	font-family: "Montserrat", Sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.swiss-pb-cta-strip .elementor-button:hover,
.swiss-pb-cta-strip .elementor-button:focus {
	background-color: #9cb731 !important;
	color: #ffffff !important;
}

.swiss-pb-cta-strip .elementor-button:hover svg,
.swiss-pb-cta-strip .elementor-button:focus svg {
	fill: #ffffff;
}

/*
 * Image Accordion — fully self-contained, same approach as Card View:
 * own width constraint (matches Elementor's 1140px container) and no
 * dependency on any third-party widget CSS. The expand/collapse uses
 * native <details>/<summary>, so no JS is required for it to work.
 */
.swiss-pb-ia {
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 20px;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: center;
}

@media (max-width: 767px) {
	.swiss-pb-ia {
		grid-template-columns: 1fr;
	}
}

.swiss-pb-ia__image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

.swiss-pb-ia__heading {
	margin: 0 0 16px;
	line-height: 1.3;
}

.swiss-pb-ia__list {
	border-top: 1px solid #e4e4e7;
}

.swiss-pb-ia__item {
	border-bottom: 1px solid #e4e4e7;
}

.swiss-pb-ia__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.swiss-pb-ia__summary::-webkit-details-marker {
	display: none;
}

.swiss-pb-ia__icon {
	position: relative;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.swiss-pb-ia__icon::before,
.swiss-pb-ia__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.swiss-pb-ia__icon::before {
	width: 16px;
	height: 2px;
}

.swiss-pb-ia__icon::after {
	width: 2px;
	height: 16px;
}

.swiss-pb-ia__item[open] .swiss-pb-ia__icon::after {
	transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.swiss-pb-ia__answer {
	padding: 0 0 18px;
	color: #555;
}

.swiss-pb-ia__answer p:last-child {
	margin-bottom: 0;
}
