/* ==========================================================================
   Rent a Moving Box — theme styles
   Everything here styles native WordPress blocks via the class names the
   migration added (ramb-*). Edit text, prices and images in the block editor;
   edit looks here or in Appearance → Editor → Styles.
   ========================================================================== */

:root {
	/* #6DBE4C is the brand green: use it for backgrounds with black text, borders and icons.
	   #357A1D is the accessible green: use it for green text and buttons with white text (WCAG AA). */
	--ramb-green: var(--wp--preset--color--brand, #6DBE4C);
	--ramb-green-text: var(--wp--preset--color--primary, #357A1D);
	--ramb-green-dark: var(--wp--preset--color--primary-dark, #2A6316);
	--ramb-pink: var(--wp--preset--color--secondary, #F8B0C9);
	--ramb-pink-strong: var(--wp--preset--color--pink-strong, #B03060);
	--ramb-header-h: 112px;
	--ramb-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { position: relative; }
.wp-site-blocks > * { margin-block-start: 0; }
img { height: auto; }

/* ---------- Header (sits on top of each page's hero) ---------------------- */

.ramb-site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 50;
	color: #fff;
}
.ramb-header {
	padding: 14px 20px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.ramb-header__bar.ramb-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
}
.ramb-header__logo img {
	width: 96px;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}
.ramb-header__logo .wp-block-image { margin: 0; }
.ramb-header__right { justify-content: flex-end; gap: 18px !important; }
.ramb-header__order .wp-block-button__link { padding: 0.65em 1.4em; font-size: 0.95rem; border-radius: 3px; text-decoration: none; }
.ramb-header__phone { color: #fff !important; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.ramb-header__phone-text { display: none; }
@media (min-width: 1100px) { .ramb-header__phone-text { display: inline; } }

/* Hamburger + full-screen menu (replaces the Elementor Pro popup) */
.ramb-menu .wp-block-navigation__responsive-container-open {
	color: #fff;
	padding: 4px;
}
.ramb-menu .wp-block-navigation__responsive-container-open svg { width: 34px; height: 34px; }
.ramb-menu .wp-block-navigation__responsive-container.is-menu-open {
	background: #fff !important;
	color: #2F2F2F !important;
	padding: clamp(24px, 6vw, 80px);
	background-image: linear-gradient(90deg, #fff 0 55%, transparent 55%), url("https://rentamovingbox.com/wp-content/uploads/2022/05/woman-holding-small-box-1-1-scaled.jpg") !important;
	background-size: cover !important;
	background-position: center right !important;
}
@media (max-width: 780px) {
	.ramb-menu .wp-block-navigation__responsive-container.is-menu-open { background-image: none !important; }
}
.ramb-menu .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 48px; }
.ramb-menu .is-menu-open .wp-block-navigation__container { gap: 0.4em !important; align-items: flex-start !important; }
.ramb-menu .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.6rem, 4vw, 2.6rem);
	color: #2F2F2F !important;
	text-decoration: none;
	padding: 6px 0 !important;
}
.ramb-menu .is-menu-open .wp-block-navigation-item__content::before { content: "→ "; color: var(--ramb-green-text); }
.ramb-menu .is-menu-open .wp-block-navigation-item__content:hover { color: var(--ramb-green-text) !important; text-decoration: underline; }
.ramb-menu .is-menu-open .ramb-menu__cta .wp-block-navigation-item__content { color: var(--ramb-green-text) !important; }
.ramb-menu .wp-block-navigation__responsive-container-close { color: #2F2F2F; }
.ramb-menu .wp-block-navigation__responsive-container-close svg { width: 36px; height: 36px; }

@media (max-width: 600px) {
	:root { --ramb-header-h: 88px; }
	.ramb-header { padding: 10px 14px !important; }
	.ramb-header__logo img { width: 72px; }
	.ramb-header__order .wp-block-button__link { padding: 0.55em 0.9em; font-size: 0.8rem; }
	.ramb-header__right { gap: 10px !important; }
}

/* ---------- Hero ----------------------------------------------------------- */

.ramb-hero.wp-block-cover {
	padding-top: calc(var(--ramb-header-h) + 40px) !important;
	padding-bottom: 48px !important;
}
.ramb-hero h1 {
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
	font-size: clamp(2rem, 4.2vw, 3.25rem);
}
.ramb-hero p { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); font-size: 1.1rem; }
.ramb-hero .wp-block-spacer { max-height: 9vh; }
.ramb-hero--title.wp-block-cover { min-height: 340px !important; }
@media (max-width: 600px) {
	.ramb-hero.wp-block-cover { min-height: 0 !important; }
	.ramb-hero .wp-block-spacer { display: none; }
}

/* ---------- Sections ------------------------------------------------------- */

.ramb-section {
	padding-top: var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
}
.ramb-section + .ramb-section.has-white-background-color,
.ramb-section.has-white-background-color + .ramb-section.has-white-background-color { padding-top: 0 !important; }
.ramb-section > .wp-block-heading { margin-bottom: 0.4em; }
.ramb-section-cover.wp-block-cover { min-height: 260px; border-radius: 10px; overflow: hidden; }
.ramb-col-cover.wp-block-cover { border-radius: 10px; overflow: hidden; height: 100%; }
.ramb-col-photo img { border-radius: 10px; }
.ramb-box { padding: 24px; border-radius: 10px; }
.ramb-label { font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; margin-top: 0.4em; }
.wp-block-columns { gap: clamp(16px, 2.5vw, 32px); }

/* ---------- Buttons -------------------------------------------------------- */

.ramb-btn-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.6em;
	vertical-align: -0.12em;
	background: currentColor;
	-webkit-mask: var(--ramb-arrow) center / contain no-repeat;
	mask: var(--ramb-arrow) center / contain no-repeat;
}
:root {
	--ramb-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8M12 8l4 4-4 4'/%3E%3C/svg%3E");
}

/* ---------- Promo ticker (replaces <marquee>) ------------------------------ */

.ramb-ticker {
	background: var(--ramb-green);
	border: 2px solid #000;
	border-radius: 8px;
	overflow: hidden;
	padding: 12px 0 !important;
	margin-top: 24px !important;
	max-width: 1140px;
	margin-inline: auto !important;
}
.ramb-ticker > .ramb-ticker__text {
	display: inline-block;
	max-width: none !important;
	white-space: nowrap;
	margin: 0 !important;
	padding-left: 100%;
	color: #000;
	font-weight: 800;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-shadow: none !important;
	animation: ramb-ticker 26s linear infinite;
}
.ramb-ticker:hover .ramb-ticker__text { animation-play-state: paused; }
.ramb-ticker code {
	background: #000;
	color: #fff;
	padding: 2px 10px;
	border-radius: 4px;
	font-family: inherit;
	font-size: inherit;
}
@keyframes ramb-ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.ramb-ticker > .ramb-ticker__text { animation: none; padding-left: 16px; white-space: normal; }
}

/* ---------- Best Price Guarantee ------------------------------------------ */

.ramb-guarantee { text-align: center; padding: 14px 0 !important; border-top: 1px solid #e5e5e5; }
.ramb-guarantee > p { margin: 0 !important; }
.ramb-guarantee__title { font-weight: 700; font-size: 1rem; color: #333; }
.ramb-guarantee__title::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	vertical-align: -4px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236dbe4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ramb-guarantee__text { font-size: 0.9rem; color: #666; }
.ramb-guarantee__text strong { color: var(--ramb-green-text); }
.ramb-hero .ramb-guarantee__text strong, .ramb-guarantee.is-dark .ramb-guarantee__text strong { color: #8FD873; }
.ramb-hero .ramb-guarantee,
.ramb-guarantee.is-dark {
	display: inline-block;
	width: auto;
	max-width: 520px !important;
	margin-inline: auto !important;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid var(--ramb-green);
	border-radius: 8px;
	padding: 10px 22px !important;
}
.ramb-hero .ramb-guarantee__title,
.ramb-guarantee.is-dark .ramb-guarantee__title { color: #fff; }
.ramb-hero .ramb-guarantee__text,
.ramb-guarantee.is-dark .ramb-guarantee__text { color: #eee; }
.ramb-hero .wp-block-cover__inner-container > .ramb-guarantee { display: block; width: fit-content; }
.ramb-footer .ramb-guarantee {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	max-width: 450px !important;
	margin: 28px auto 18px !important;
	padding: 20px !important;
}

/* ---------- Promo box ------------------------------------------------------ */

.ramb-promo {
	background: #f0f9eb;
	border: 2px dashed var(--ramb-green);
	border-radius: 12px;
	padding: 20px !important;
	max-width: 560px !important;
	margin: 0 auto 30px !important;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.ramb-promo > * { margin-block: 0.4em !important; }
.ramb-promo h3 { font-family: var(--wp--preset--font-family--body); font-weight: 700; color: #2c3e50; }
.ramb-promo strong { color: var(--ramb-green-text); }
.ramb-promo__code {
	display: table;
	margin-inline: auto !important;
	background: #fff;
	border: 2px solid var(--ramb-green);
	border-radius: 50px;
	padding: 8px 25px;
	font-weight: 800;
	font-size: 1.25rem;
	color: #000;
	letter-spacing: 1px;
}
.ramb-promo__fine { font-size: 0.8rem; color: #5F5F5F; }

/* ---------- Feature icons row ---------------------------------------------- */

.ramb-feature-row { flex-wrap: wrap !important; }
.ramb-feature-row > .wp-block-column { flex: 1 1 140px !important; }
.ramb-imagebox { text-align: center; }
.ramb-imagebox__img img { width: 64px !important; }
.ramb-imagebox__title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	color: #2F2F2F;
	margin-top: 0.6em !important;
}
@media (max-width: 781px) {
	.ramb-feature-row { display: grid !important; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
	.ramb-feature-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Icon boxes ----------------------------------------------------- */

.ramb-iconbox { position: relative; }
.ramb-iconbox::before {
	content: "";
	display: block;
	width: 46px;
	height: 46px;
	margin: 0 auto 10px;
	background: var(--ramb-green);
	-webkit-mask: var(--ramb-ico) center / contain no-repeat;
	mask: var(--ramb-ico) center / contain no-repeat;
}
.ramb-iconbox.is-inline { padding-left: 62px; }
.ramb-iconbox.is-inline::before { position: absolute; left: 0; top: 4px; margin: 0; width: 42px; height: 42px; }
.ramb-iconbox__title { font-family: var(--wp--preset--font-family--body) !important; font-weight: 700 !important; font-size: 1.05rem !important; }
.ramb-iconbox.is-inline .ramb-iconbox__title { margin-bottom: 0.3em; text-transform: uppercase; letter-spacing: 0.3px; }
.ramb-iconbox.is-inline p { margin-top: 0; font-size: 0.95rem; }
.ramb-video video { border-radius: 12px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--ramb-shadow); }

.ramb-icon-truck { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62L18.3 8.38A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E"); }
.ramb-icon-truck-loading { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h4v14'/%3E%3Cpath d='M6 17h16'/%3E%3Crect x='9' y='5' width='8' height='8' rx='1'/%3E%3Ccircle cx='8' cy='19.5' r='1.5'/%3E%3Ccircle cx='19' cy='19.5' r='1.5'/%3E%3C/svg%3E"); }
.ramb-icon-box { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-9'/%3E%3Cpath d='M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.66 1.66 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z'/%3E%3Cpath d='M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13'/%3E%3Cpath d='M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.64 1.64 0 0 0 1.63 0z'/%3E%3C/svg%3E"); }
.ramb-icon-leaf { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E"); }
.ramb-icon-recycle { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 19H4.82a1.83 1.83 0 0 1-1.57-.88 1.79 1.79 0 0 1 0-1.8L7.2 9.5'/%3E%3Cpath d='M11 19h8.2a1.83 1.83 0 0 0 1.56-.9 1.82 1.82 0 0 0 0-1.79l-1.18-2.06'/%3E%3Cpath d='m14 16-3 3 3 3'/%3E%3Cpath d='M8.29 13.6 7.2 9.5 3.1 10.6'/%3E%3Cpath d='m9.34 5.8 1.09-1.89a1.8 1.8 0 0 1 1.55-.91 1.8 1.8 0 0 1 1.56.9l3.92 6.81'/%3E%3Cpath d='m13.38 9.5 4.1 1.1 1.1-4.1'/%3E%3C/svg%3E"); }
.ramb-icon-clock { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.ramb-icon-check, .ramb-icon-phone { --ramb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }

/* ---------- Pricing cards (replace Elementor Pro "Price Table") ------------ */

.ramb-price-grid { align-items: stretch !important; gap: 0 !important; flex-wrap: wrap !important; margin-bottom: 28px !important; }
.ramb-price-grid > .wp-block-column { flex: 1 1 220px !important; display: flex; }
.ramb-price-card {
	position: relative;
	overflow: hidden;
	flex: 1;
	background: #F7F7F7;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding-bottom: 28px;
	margin: 0 !important;
}
.ramb-price-card > * { margin-block: 0 !important; }
.ramb-price-card.is-featured { z-index: 1; transform: translateY(-14px); }
.ramb-price-card__head { background: #F7F7F7; padding: 24px 16px 18px; border-bottom: 1px solid #ececec; }
.ramb-price-card.is-featured .ramb-price-card__head { background: var(--ramb-green-text); border-bottom: 0; padding-top: 30px; padding-bottom: 28px; }
.ramb-price-card__name {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1.4rem !important;
	font-weight: 700 !important;
	color: #000 !important;
	margin: 0 !important;
}
.ramb-price-card__sub { margin: 4px 0 0 !important; font-size: 0.95rem; color: #000; letter-spacing: 0.4px; }
.ramb-price-card.is-featured .ramb-price-card__name,
.ramb-price-card.is-featured .ramb-price-card__sub { color: #fff !important; }
.ramb-price-card__price {
	font-family: var(--wp--preset--font-family--price);
	color: #000;
	line-height: 1 !important;
	padding-top: 34px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 4px;
}
.ramb-price-card__price s { font-size: 1rem; color: #555; align-self: center; margin-right: 10px; font-family: var(--wp--preset--font-family--body); }
.ramb-price-card__price sup { font-size: 1.3rem; font-weight: 700; top: 0; line-height: 1; padding-top: 6px; }
.ramb-price-card__price strong { font-size: 4.25rem; font-weight: 800; letter-spacing: -1px; }
.ramb-price-card__period {
	font-family: var(--wp--preset--font-family--price);
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 1px;
	color: #54595f;
	font-weight: 500;
	padding: 8px 12px 18px;
}
.ramb-price-card__features {
	list-style: none;
	padding: 0 22px !important;
	margin-bottom: 24px !important;
	flex: 1;
}
.ramb-price-card__features li {
	position: relative;
	padding: 13px 0 13px 30px;
	color: #5F5F5F;
	font-size: 0.95rem;
	text-align: left;
	border-bottom: 1px solid #e3e3e3;
}
.ramb-price-card__features li:last-child { border-bottom: 0; }
.ramb-price-card__features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	background: #5F5F5F;
	-webkit-mask: var(--ramb-arrow) center / contain no-repeat;
	mask: var(--ramb-arrow) center / contain no-repeat;
}
mark.ramb-pink { background: none; color: var(--ramb-pink-strong); }
.ramb-price-card__btn .wp-block-button__link {
	border: 2px solid #000 !important;
	color: #000 !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	font-size: 0.8rem !important;
	letter-spacing: 1px;
	font-weight: 500 !important;
	padding: 0.7em 1.4em !important;
}
.ramb-price-card__btn .wp-block-button__link:hover { background: #000 !important; color: #fff !important; }

/* diagonal SALE ribbon */
.ramb-price-card.has-sale::before,
.ramb-price-card.has-ribbon-popular::before {
	content: "SALE";
	position: absolute;
	top: 22px;
	left: -38px;
	width: 140px;
	padding: 6px 0;
	transform: rotate(-45deg);
	background: #000;
	color: #fff;
	font-weight: 800;
	font-size: 0.75rem;
	letter-spacing: 1px;
	text-align: center;
	z-index: 2;
}
.ramb-price-card.has-ribbon-popular::before { content: "POPULAR"; font-size: 0.62rem; }
.ramb-price-card.is-featured.has-sale::before,
.ramb-price-card.is-featured.has-ribbon-popular::before { background: #fff; color: #000; }
.ramb-price-card.has-sale .ramb-price-card__head,
.ramb-price-card.has-ribbon-popular .ramb-price-card__head { padding-inline: 44px; }

@media (max-width: 781px) {
	.ramb-price-grid { gap: 22px !important; }
	.ramb-price-card.is-featured { transform: none; }
}

/* section behind the price cards */
.ramb-section:has(.ramb-price-grid) { background-color: var(--wp--preset--color--pink-light) !important; }

/* ---------- Carousels (replace Elementor image carousel) -------------------- */

.wp-block-gallery.ramb-carousel {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: 16px !important;
	padding-bottom: 6px;
	scrollbar-width: thin;
}
.wp-block-gallery.ramb-carousel > .wp-block-image {
	flex: 0 0 calc((100% - 32px) / 3) !important;
	width: auto !important;
	scroll-snap-align: start;
	margin: 0 !important;
}
.wp-block-gallery.ramb-carousel > .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; height: 100% !important; }
.wp-block-gallery.ramb-carousel.is-logos > .wp-block-image { flex-basis: calc((100% - 80px) / 6) !important; }
.wp-block-gallery.ramb-carousel.is-logos > .wp-block-image img { aspect-ratio: 3 / 2; object-fit: contain; border-radius: 0; }
@media (max-width: 781px) {
	.wp-block-gallery.ramb-carousel > .wp-block-image { flex-basis: 78% !important; }
	.wp-block-gallery.ramb-carousel.is-logos > .wp-block-image { flex-basis: 42% !important; }
}

/* ---------- Testimonials --------------------------------------------------- */

.ramb-stars { color: #F5B301; font-size: 1.4rem; letter-spacing: 3px; margin-bottom: 0 !important; }

/* ---------- FAQ accordion (replaces Elementor accordion) ------------------- */

.ramb-faqs { display: grid; gap: 0; }
.ramb-faq { border-bottom: 1px solid #e6e6e6; padding: 4px 0; }
.ramb-faq summary {
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	color: #2F2F2F;
	padding: 14px 36px 14px 0;
	position: relative;
	font-size: 1.05rem;
}
.ramb-faq summary::-webkit-details-marker { display: none; }
.ramb-faq summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.6rem;
	font-weight: 400;
	color: var(--ramb-green-text);
}
.ramb-faq[open] summary::after { content: "–"; }
.ramb-faq > :not(summary) { margin-top: 0; padding-bottom: 6px; }

/* ---------- Lists, contact form, misc ------------------------------------- */

.ramb-iconlist { list-style: none; padding-left: 0; }
.ramb-iconlist li { padding: 4px 0; }
.ramb-iconlist li::before { content: "→ "; color: var(--ramb-green-text); font-weight: 700; }
.ramb-divider { width: 60px !important; height: 3px !important; border: 0 !important; background-color: var(--ramb-green) !important; margin-left: 0 !important; }
.has-text-align-center + .ramb-divider, .ramb-divider.aligncenter { margin-inline: auto !important; }

.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wpcf7 form > p { margin: 0; }
.wpcf7 form .ramb-cf-full, .wpcf7 form > p:has(textarea), .wpcf7 form > p:has(.wpcf7-acceptance), .wpcf7 form > p:has(.wpcf7-submit), .wpcf7 form .wpcf7-response-output { grid-column: 1 / -1; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font: inherit;
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
	background: #fff;
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 .wpcf7-submit {
	background: var(--ramb-green-text);
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: 0.8em 2em;
	font-weight: 700;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}
.wpcf7 .wpcf7-submit:hover { background: var(--ramb-green-dark); }
.wpcf7 .wpcf7-acceptance { font-size: 0.9rem; }
@media (max-width: 600px) { .wpcf7 form { grid-template-columns: 1fr; } }

/* zip-code lookup shortcode */
.ramb-box input[type="text"], .ramb-box input[type="search"] { padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; }

/* ---------- Footer --------------------------------------------------------- */

.ramb-footer-cta h2 { margin: 0; }
.ramb-footer h3 { font-family: var(--wp--preset--font-family--heading); margin-bottom: 0.3em; position: relative; padding-bottom: 12px; }
.ramb-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: #fff; }
.ramb-footer__links { list-style: none; padding-left: 0; }
.ramb-footer__links li { padding: 3px 0; }
.ramb-footer__links li::before { content: "› "; color: var(--ramb-green); font-weight: 700; }
.ramb-footer a { text-decoration: none; }
.ramb-footer__phone a::before { content: "☎ "; color: #61CE70; }
.ramb-footer__since { font-size: 0.85rem; opacity: 0.75; }
.ramb-footer__copy { opacity: 0.8; margin-top: 10px !important; }
@media (max-width: 781px) { .ramb-footer__logo { display: none !important; } }

/* Long legal pages read better narrower */
.page-template-default .ramb-main .wp-block-post-content > .ramb-section:only-of-type,
.ramb-hero--title + .ramb-section { max-width: none; }
.ramb-hero--title + .ramb-section > * { max-width: 860px; }

/* ---------- Spacing between full-width sections ---------------------------- */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + * { margin-block-start: 0 !important; }
.wp-block-post-content > :last-child { margin-block-end: 0; }
.ramb-main { margin-block-start: 0 !important; }
footer.wp-block-template-part { margin-block-start: 0 !important; }

/* headings that sit inside columns read better a size smaller */
.wp-block-column > h2.wp-block-heading:not(.has-x-large-font-size) { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

/* testimonials */
.wp-block-column:has(> .ramb-stars) { display: flex; flex-direction: column; }
.wp-block-column > .ramb-stars { text-align: left !important; order: -1; }
.wp-block-column:has(> .ramb-stars) > .wp-block-spacer { display: none; }
.wp-block-column:has(> .ramb-stars) > p:not(.ramb-stars) { font-style: italic; font-size: 1.05rem; }
.wp-block-column:has(> .ramb-stars) > h2 { font-family: var(--wp--preset--font-family--body); font-weight: 700; font-size: 1rem !important; color: var(--ramb-green-dark); margin-top: 0; }
.wp-block-columns:has(> .wp-block-column > .ramb-stars) > .wp-block-column {
	background: #fff; border-radius: 12px; padding: 26px 28px; box-shadow: var(--ramb-shadow);
}

.wpcf7 *, .wpcf7 *::before, .wpcf7 *::after { box-sizing: border-box; }


/* ==========================================================================
   Accessibility (WCAG 2.1 AA)
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 100000; padding: 12px 18px;
	background: #fff; color: #000; font-weight: 700; border-radius: 4px; box-shadow: 0 0 0 3px #000;
}

/* Clearly visible keyboard focus everywhere */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid #000 !important;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #fff;
	border-radius: 2px;
}
.ramb-site-header :where(a, button):focus-visible,
.ramb-hero :where(a, button):focus-visible,
.ramb-footer :where(a, button):focus-visible { outline-color: #fff !important; box-shadow: 0 0 0 5px #000; }

/* Buttons and links: no underline on buttons, underline on text links */
.wp-element-button, .wp-block-button__link, .wp-block-navigation a, .ramb-footer a, .wp-block-social-link a { text-decoration: none; }
.ramb-footer a:hover { color: var(--ramb-green) !important; text-decoration: underline; }

/* Pause / play controls for anything that moves (WCAG 2.2.2) */
.ramb-pause {
	/* Small, quiet icon button. Still 26px (above the 24px minimum target size) with a
	   white icon on a dark translucent circle so it stays visible on any background. */
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	opacity: 0.85;
	cursor: pointer;
	transition: opacity .15s, background-color .15s;
}
.ramb-pause:hover, .ramb-pause:focus-visible { opacity: 1; background: rgba(0, 0, 0, 0.8); }
.ramb-pause:focus-visible { outline: 3px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.ramb-pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ramb-pause svg { width: 10px; height: 10px; }
.ramb-ticker { position: relative; padding-right: 44px !important; }
.ramb-ticker > .ramb-pause { right: 8px; top: 50%; transform: translateY(-50%); }
.ramb-carousel-wrap { position: relative; }
.ramb-carousel-wrap > .ramb-pause { right: 8px; top: 8px; }
.wp-block-video.ramb-video { position: relative; }
.wp-block-video.ramb-video > .ramb-pause { right: 8px; bottom: 14px; }
.ramb-ticker.is-paused .ramb-ticker__text,
.ramb-ticker:focus-within .ramb-ticker__text { animation-play-state: paused; }

/* Bigger touch targets on phones (WCAG 2.5.8) */
@media (max-width: 781px) {
	.ramb-footer__links li a, .ramb-iconlist a, .ramb-city-list a { display: inline-block; padding: 6px 0; }
}

/* City links on Service Area */
.ramb-city-list { list-style: none; padding-left: 0; columns: 2; column-gap: 24px; }
.ramb-city-list li { padding: 3px 0; break-inside: avoid; }
@media (max-width: 600px) { .ramb-city-list { columns: 1; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Contact form labels */
.wpcf7 label { display: block; font-weight: 700; color: #2F2F2F; font-size: 0.95rem; }
.wpcf7 label .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; display: inline; }
.wpcf7 form .ramb-cf-note { grid-column: 1 / -1; font-size: 0.85rem; color: #5F5F5F; }
.wpcf7 .wpcf7-not-valid-tip { color: #B3261E; font-weight: 700; }

/* ---------- Service area map + zip checker ---------- */
.ramb-zipmap { max-width: 1000px; margin: 1.5rem auto 0; }
.ramb-zipmap__form label { display: block; font-weight: 700; text-align: center; margin-bottom: .5rem; color: #2F2F2F; }
.ramb-zipmap__row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.ramb-zipmap__row input { font-size: 1.1rem; padding: .65rem .9rem; width: 12rem; border: 2px solid #6b6b6b; border-radius: 4px; text-align: center; }
.ramb-zipmap__row input:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.ramb-zipmap__result { min-height: 1.5rem; margin: 1rem auto; max-width: 720px; text-align: center; padding: 0; border-radius: 6px; }
.ramb-zipmap__result:not(:empty) { padding: .9rem 1rem; border: 2px solid; background: #fff; }
.ramb-zipmap__result.is-free { border-color: #357A1D; }
.ramb-zipmap__result.is-fee { border-color: #B57A00; }
.ramb-zipmap__result.is-call, .ramb-zipmap__result.is-error { border-color: #B03060; }
.ramb-zipmap__result .wp-element-button { display: inline-block; margin: .5rem 0 0 .5rem; padding: .5em 1.2em; text-decoration: none; }
.ramb-zipmap__map { height: 520px; border-radius: 8px; border: 1px solid #d6d6d6; z-index: 0; }
@media (max-width: 600px) { .ramb-zipmap__map { height: 420px; } }
.ramb-zipmap__legend { list-style: none; padding: 0; margin: 1rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; font-size: .95rem; }
.ramb-zipmap__legend li { display: flex; align-items: center; gap: .45rem; }
.ramb-zipmap__swatch { width: 1.1rem; height: 1.1rem; border-radius: 3px; opacity: .85; border: 1px solid rgba(0,0,0,.25); }
.ramb-zipmap__swatch.is-blank { background: #fff; }
.ramb-zipmap__note { text-align: center; font-size: .95rem; }
.ramb-zipmap .leaflet-container a { color: #0b5394; }
.ramb-zipmap .leaflet-container { background: #f2f2f2; }
.ramb-zipmap.is-compact { max-width: 480px; margin: 0 auto; text-align: center; }
.ramb-zipmap.is-compact .ramb-zipmap__title { margin: 0 0 .75rem; }
.ramb-zipmap.is-compact .ramb-zipmap__result:not(:empty) { margin-top: 1rem; }
.ramb-zipmap.is-compact .ramb-zipmap__result .wp-element-button { margin: .6rem 0 0; }

/* Parallax hero photo (desktop only; ramb.js adds .is-parallax). Extra height so edges never show. */
.ramb-hero .wp-block-cover__image-background.is-parallax { top: -15%; height: 130%; will-change: transform; }
.ramb-zipmap__result .wp-element-button { display: table; margin: .7rem auto 0 !important; }

/* Compact zip checker: quieter title, field + button on one line */
.ramb-zipmap.is-compact .ramb-zipmap__title { font-size: 1.2rem; line-height: 1.3; margin-bottom: .6rem; }
.ramb-zipmap.is-compact .ramb-zipmap__row { flex-wrap: nowrap; gap: .4rem; }
.ramb-zipmap.is-compact .ramb-zipmap__row input { width: auto; flex: 1 1 auto; min-width: 0; max-width: 11rem; font-size: 1rem; padding: .55rem .7rem; }
.ramb-zipmap.is-compact .ramb-zipmap__row .wp-element-button { padding: .55em 1.1em; }
.ramb-zipmap.is-compact .ramb-zipmap__note { margin: .6rem 0 0; font-size: .9rem; }
.ramb-box:has(.ramb-zipmap.is-compact) { padding: 1.1rem 1rem !important; border-radius: 8px; }

/* Fade-up on scroll, like the old site. Only hides things once JS is running,
   and never for visitors who ask for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	.ramb-reveal-on .ramb-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--ramb-delay, 0ms); }
	.ramb-reveal-on .ramb-reveal.is-in { opacity: 1; transform: none; }
}
.ramb-zipmap.is-compact .ramb-zipmap__result:empty { min-height: 0; margin: 0; }

/* "What Fits in a Box?": three equal-height pictures, labels on one line */
.ramb-fits { align-items: stretch !important; }
.ramb-fits > .wp-block-column { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.ramb-fits .wp-block-image, .ramb-fits .ramb-fits__media { margin: 0 auto; height: 300px; width: 100%; display: flex; align-items: center; justify-content: center; }
.ramb-fits .wp-block-image img { max-height: 300px; width: auto; max-width: 100%; object-fit: contain; }
.ramb-fits .ramb-fits__media video { height: 300px; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.ramb-fits .wp-block-heading { font-size: var(--wp--preset--font-size--large); margin-top: .9rem; }
@media (max-width: 781px) { .ramb-fits .wp-block-image, .ramb-fits .ramb-fits__media, .ramb-fits .wp-block-image img, .ramb-fits .ramb-fits__media video { height: 240px; max-height: 240px; } }
.ramb-fits .ramb-fits__media { width: auto; max-width: 100%; }

/* Hero zip checker */
.ramb-zipmap.is-hero { margin: 1.2rem auto .4rem; max-width: 440px; }
.ramb-zipmap.is-hero .ramb-zipmap__label { display: block; color: #fff; font-weight: 700; margin-bottom: .45rem; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.ramb-zipmap.is-hero .ramb-zipmap__row input { max-width: 13rem; border-color: #fff; }
.ramb-zipmap.is-hero .ramb-zipmap__note a { color: #fff; }
.ramb-zipmap.is-hero .ramb-zipmap__result:not(:empty) { color: #2f2f2f; }

/* Sticky Order / Call bar — phones only */
.ramb-sticky-cta { display: none; }
@media (max-width: 781px) {
	.ramb-sticky-cta {
		display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff;
		box-shadow: 0 -2px 12px rgba(0,0,0,.15);
	}
	.ramb-sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 4px; font-weight: 700; text-decoration: none; }
	.ramb-sticky-cta__order { flex: 1; background: var(--wp--preset--color--primary); color: #fff; }
	.ramb-sticky-cta__call { flex: 0 0 96px; border: 2px solid var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
	.ramb-sticky-cta a:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Google review badge */
.ramb-reviews { text-align: center; margin: .8rem 0; font-size: .95rem; }
.ramb-reviews a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; }
.ramb-reviews a:hover { text-decoration: underline; }
.ramb-reviews__stars { color: #F5B301; letter-spacing: 1px; }
.ramb-hero .ramb-reviews a { color: #fff; background: rgba(0,0,0,.35); text-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* Why Rent with Us: intro on top, four short benefits in a row (2x2 on tablets, stacked on phones) */
.ramb-why-section .ramb-why__intro { max-width: 640px; margin: .4rem auto 2rem; font-size: 1.1rem; }
.ramb-why { gap: 2rem 1.5rem !important; }
.ramb-why .ramb-iconbox::before { margin: 0 auto .7rem; width: 48px; height: 48px; }
.ramb-why .ramb-iconbox__title { color: var(--wp--preset--color--pink-strong); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 .4rem; }
.ramb-why .ramb-iconbox p { margin: 0; font-size: .97rem; line-height: 1.6; }
@media (min-width: 600px) and (max-width: 1023px) {
	.ramb-why { flex-wrap: wrap !important; }
	.ramb-why > .wp-block-column { flex-basis: calc(50% - 1rem) !important; }
}

/* What Fits in a Box: identical white cards for all three pictures */
.ramb-fits .wp-block-image, .ramb-fits .ramb-fits__media { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.06); box-sizing: border-box; width: 100%; max-width: 340px; }
.ramb-fits .ramb-fits__media video { border-radius: 0; }
.ramb-fits .ramb-fits__media, .ramb-fits .wp-block-image { box-shadow: 0 2px 10px rgba(0,0,0,.06) !important; }
