/*
Theme Name: magazineverde-template
Theme URI: https://verd.1976.london
Author: Stuart Hunt
Description: Reusable one-page template for Magazine Verde builds
Version: 1.0
*/

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background: #0d6b3a;
    /* Magazine Verde green */
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

:root {
    --rp-panel-grad: linear-gradient(140deg, #0b5d32 0%, #128043 60%, #24a35c 100%);
    --rp-panel-border: 1px solid rgba(255, 255, 255, 0.28);
    --rp-panel-shadow: 0 14px 30px rgba(2, 44, 20, 0.28);
}

.rp-site-title-card {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto 1.2rem;
    background: var(--rp-panel-grad);
    border: var(--rp-panel-border);
    border-radius: 12px;
    padding: clamp(0.8rem, 1.5vw, 1.2rem) clamp(1rem, 2.2vw, 1.8rem);
    box-shadow: var(--rp-panel-shadow);
    position: relative;
    overflow: hidden;
}

.rp-site-title-card::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -35%;
    width: 28%;
    height: 160%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    pointer-events: none;
    animation: rp-title-sheen 1.2s ease-out 0.35s 1;
}

.rp-site-title-main {
    margin: 0;
    font-family: 'League Spartan', 'Arial Black', sans-serif;
    font-size: clamp(2rem, 7vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
}

.rp-site-title-main span {
    color: #1a1a1a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.rp-site-title-url {
    margin: 0.25rem 0 0;
    font-family: 'Barlow Semi Condensed', Arial, sans-serif;
    font-size: clamp(1rem, 2.7vw, 2rem);
    line-height: 1;
    letter-spacing: 0.01em;
    font-weight: 700;
    color: #fff;
}

.rp-site-title-url::after {
    content: '';
    display: block;
    width: clamp(120px, 26vw, 300px);
    height: 3px;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.4));
}

.rp-site-title-url span {
    color: #1a1a1a;
}

/* Main Container */
.rp-container {
    width: 96vw;
    margin: 2vh auto;
    background: rgba(255, 255, 255, 0.3);
    padding: 5%;
    border-radius: 8px;
}

/* Hero Card */
.rp-hero-card {
    background: var(--rp-panel-grad);
    border: var(--rp-panel-border);
    box-shadow: var(--rp-panel-shadow);
    padding: 5%;
    margin-bottom: 5%;
    border-radius: 12px;
    text-align: center;
}

/* Card Grid */
.rp-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
}

/* Individual Cards */
.rp-card {
    background: var(--rp-panel-grad);
    border: var(--rp-panel-border);
    box-shadow: var(--rp-panel-shadow);
    padding: 10%;
    border-radius: 12px;
    min-height: 200px;
    overflow: hidden;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .rp-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rp-card-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Sections */
.rp-card-top,
.rp-card-mid,
.rp-card-bottom {
    width: 100%;
}

/* Top and Middle are semi-transparent */
.rp-card-top,
.rp-card-mid {
    background: rgba(255, 255, 255, 0.3);
}

/* Bottom third is fully opaque */
.rp-card-bottom {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0 0 12px 12px;
}

.rp-card-bottom h3 {
    font-family: 'League Spartan', 'Arial Black', sans-serif;
    letter-spacing: 0.02em;
}

/* Lightbox Overlay */
.rp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 48, 25, 0.78);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Lightbox Content (96% viewport frosted panel) */
.rp-lightbox-content {
    width: 96vw;
    height: 96vh;
    background: var(--rp-panel-grad);
    border-radius: 12px;
    padding: 2%;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 22px 48px rgba(15, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation: rp-lightbox-pop 0.22s ease;
}

/* Lightbox Bottom Third (double frosty) */
.rp-lightbox-content .rp-bottom-third {
    background: rgba(255, 255, 255, 0.4);
    padding: 2%;
    border-radius: 0 0 12px 12px;
}

/* Close Button */
.rp-lightbox-close {
    position: absolute;
    top: 1%;
    right: 1%;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.rp-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.46);
}

.rp-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rp-contact-content {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    padding: 1.2rem;
}

.rp-contact-intro {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.rp-form-grid {
    display: grid;
    gap: 1rem;
}

.rp-form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rp-form-field label {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rp-contact-form input,
.rp-contact-form select,
.rp-contact-form textarea {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    font-size: 1rem;
}

.rp-contact-form input:focus,
.rp-contact-form select:focus,
.rp-contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.rp-contact-form button {
    margin-top: 0.5rem;
    padding: 0.95rem 1.2rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.rp-contact-form button:hover {
    background: #000;
    transform: translateY(-1px);
}

.rp-container {
    width: 96vw;
    max-width: 1200px;
    min-height: 96vh;
    margin: 20px auto;
    padding: 2rem 0 4rem 0;
    background: transparent;
}

.rp-hero-card {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.rp-hero-subtitle {
    margin-bottom: 0.9rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rp-hero-actions {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.rp-hero-button {
    display: inline-block;
    text-decoration: none;
    background: #1a1a1a;
    color: #fff;
    padding: 0.72rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.rp-hero-button:hover {
    background: #000;
    transform: translateY(-1px);
}

.rp-hero-button-alt {
    background: rgba(255, 255, 255, 0.16);
}

.rp-hero-button-alt:hover {
    background: rgba(255, 255, 255, 0.26);
}

.rp-form-status {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
}

.rp-form-status-success {
    background: rgba(20, 120, 20, 0.85);
    color: #fff;
}

.rp-form-status-error {
    background: rgba(160, 20, 20, 0.9);
    color: #fff;
}

.rp-card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1040px;
    margin: 2rem auto 0;
}

.rp-card {
    width: 45%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .rp-card {
        width: 100%;
    }
}

.rp-card-placeholder.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.rp-card-placeholder.gallery div {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.rp-card-placeholder.contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    opacity: 0.8;
}

.rp-card-content {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px 10px 0 0;
}

.rp-card-placeholder.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
    height: 120px;
}

.rp-card-placeholder.gallery div {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

.rp-card-thumb-grid {
    width: 100%;
    height: 120px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    opacity: 1;
    font-size: 0;
}

.rp-card-thumb {
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.rp-card-thumb.is-empty {
    background: rgba(255, 255, 255, 0.4);
}

.rp-card-placeholder.rp-card-single-thumb {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rp-card-placeholder.rp-card-single-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.38) 100%);
}

.rp-card-placeholder.rp-card-single-thumb span {
    position: relative;
    z-index: 1;
}

.rp-card-placeholder.rp-card-single-thumb.is-empty {
    background: rgba(255, 255, 255, 0.25);
}

.rp-card-placeholder.contact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-size: 2rem;
    opacity: 0.8;
    gap: 0.5rem;
    text-align: center;
}

.rp-card-placeholder.faq,
.rp-card-placeholder.reviews {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.rp-card-bottom {
    margin-top: auto;
}

.rp-copy-block {
    width: 100%;
    max-width: 1040px;
    margin: 1.5rem auto 0;
    background: var(--rp-panel-grad);
    border: var(--rp-panel-border);
    box-shadow: var(--rp-panel-shadow);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
}

.rp-copy-block h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.rp-copy-block p {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
}

.rp-checkatrade-cta {
    width: 100%;
    max-width: 1040px;
    margin: 1.75rem auto 0;
    text-align: center;
    background: var(--rp-panel-grad);
    border: var(--rp-panel-border);
    box-shadow: var(--rp-panel-shadow);
    border-radius: 14px;
    padding: 1.6rem 1.2rem;
}

.rp-checkatrade-label {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.2rem;
}

.rp-checkatrade-cta h2 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.rp-checkatrade-cta p {
    margin-bottom: 1rem;
}

.rp-checkatrade-button {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.rp-checkatrade-button:hover {
    background: #000;
}

.rp-reviews-content {
    max-width: 960px;
    margin: 0 auto;
}

.rp-reviews-summary {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.rp-reviews-rating {
    font-size: 1.15rem;
    font-weight: 700;
}

.rp-reviews-rating span {
    font-size: 0.95rem;
    font-weight: 400;
}

.rp-reviews-carousel-shell {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
}

.rp-reviews-carousel-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.9rem;
}

.rp-reviews-fallback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.rp-review-item {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    border-radius: 10px;
    padding: 0.85rem 0.9rem;
}

.rp-review-item h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.rp-lightbox-content {
    max-width: 1200px;
    width: 96vw;
    margin: 0 auto;
}

.rp-lightbox-inner {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    line-height: 1.6;
    padding: 2.5rem 1rem 1.25rem;
}

.rp-lightbox-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
    font-family: 'League Spartan', 'Arial Black', sans-serif;
}

.rp-lightbox-inner p {
    margin-bottom: 0.9rem;
}

.rp-gallery-content {
    max-width: 980px;
    margin: 0 auto;
}

.rp-gallery-intro {
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.rp-gallery-shell {
    position: relative;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    padding: 0.9rem;
}

.rp-gallery-viewport {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rp-gallery-viewport img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.rp-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.rp-gallery-prev {
    left: 1.25rem;
}

.rp-gallery-next {
    right: 1.25rem;
}

.rp-gallery-meta {
    margin: 0.8rem 0 0.65rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.rp-gallery-meta p {
    margin: 0;
    font-weight: 700;
}

.rp-gallery-meta span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}

.rp-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.55rem;
}

.rp-gallery-thumb {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.rp-gallery-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.rp-gallery-thumb.is-active {
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.rp-faq-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #fff;
}

.rp-faq-content p {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.rp-faq-content p+h3 {
    margin-top: 1.9rem;
}

.rp-site-footer {
    position: fixed;
    bottom: 1.2rem;
    z-index: 1000;
}

.rp-site-footer-left {
    left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rp-site-footer-right {
    right: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rp-github-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    transition: all 0.24s ease;
}

.rp-github-link:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.rp-github-icon {
    width: 26px;
    height: 26px;
}

.rp-theme-toggle {
    width: 52px;
    min-height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: #0d6b3a;
    color: #fff;
    font-family: 'League Spartan', 'Arial Black', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 8px 18px rgba(3, 52, 23, 0.3);
}

.rp-theme-toggle:hover {
    transform: translateY(-2px);
    background: #139a4f;
}

.rp-theme-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

body.rp-theme-white {
    background: #fff7db;
    color: #6f5400;
}

body.rp-theme-white .rp-site-title-card,
body.rp-theme-white .rp-hero-card,
body.rp-theme-white .rp-card,
body.rp-theme-white .rp-copy-block,
body.rp-theme-white .rp-checkatrade-cta,
body.rp-theme-white .rp-lightbox-content {
    background: linear-gradient(140deg, #fffef6 0%, #fff8db 56%, #ffefaf 100%);
    border: 1px solid rgba(145, 104, 0, 0.32);
    box-shadow: 0 14px 30px rgba(110, 88, 12, 0.16);
}

body.rp-theme-white .rp-site-title-main,
body.rp-theme-white .rp-hero-card h1,
body.rp-theme-white .rp-card-bottom h3,
body.rp-theme-white .rp-copy-block h2,
body.rp-theme-white .rp-checkatrade-cta h2,
body.rp-theme-white .rp-lightbox-inner h2 {
    color: #6f5400;
}

body.rp-theme-white .rp-site-title-main span,
body.rp-theme-white .rp-site-title-url span {
    color: #b78a00;
}

body.rp-theme-white .rp-site-title-url,
body.rp-theme-white .rp-hero-card p,
body.rp-theme-white .rp-copy-block p,
body.rp-theme-white .rp-checkatrade-cta p,
body.rp-theme-white .rp-card-bottom p,
body.rp-theme-white .rp-gallery-intro,
body.rp-theme-white .rp-lightbox-inner,
body.rp-theme-white .rp-gallery-meta span,
body.rp-theme-white .rp-faq-content p {
    color: #5f4c0a;
}

body.rp-theme-white .rp-card-content {
    background: rgba(145, 104, 0, 0.09);
}

body.rp-theme-white .rp-card-bottom {
    background: rgba(145, 104, 0, 0.13);
    border-top: 1px solid rgba(145, 104, 0, 0.24);
}

body.rp-theme-white .rp-lightbox {
    background: rgba(255, 246, 210, 0.94);
}

body.rp-theme-white .rp-contact-content,
body.rp-theme-white .rp-gallery-shell,
body.rp-theme-white .rp-gallery-viewport,
body.rp-theme-white .rp-reviews-summary,
body.rp-theme-white .rp-reviews-carousel-shell,
body.rp-theme-white .rp-faq-content p {
    background: rgba(145, 104, 0, 0.09);
    border: 1px solid rgba(145, 104, 0, 0.22);
}

body.rp-theme-white .rp-review-item {
    background: #fff;
    color: #3c0f0f;
}

body.rp-theme-white .rp-gallery-nav {
    background: rgba(145, 104, 0, 0.92);
    border-color: rgba(145, 104, 0, 0.92);
    color: #fff;
}

body.rp-theme-white .rp-gallery-thumb {
    border-color: rgba(145, 104, 0, 0.24);
}

body.rp-theme-white .rp-gallery-thumb.is-active {
    border-color: rgba(145, 104, 0, 0.82);
}

body.rp-theme-white .rp-github-link,
body.rp-theme-white .rp-social-link {
    background: rgba(145, 104, 0, 0.14);
    border: 1px solid rgba(145, 104, 0, 0.38);
    color: #7b5b00;
}

body.rp-theme-white .rp-github-link:hover,
body.rp-theme-white .rp-social-link:hover {
    background: rgba(145, 104, 0, 0.2);
    border-color: rgba(145, 104, 0, 0.62);
}

.rp-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    transition: all 0.24s ease;
}

.rp-social-link:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.rp-social-icon {
    width: 26px;
    height: 26px;
}


@keyframes rp-lightbox-pop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rp-title-sheen {
    from {
        left: -35%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    to {
        left: 120%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .rp-container {
        padding: 1rem 0 3rem;
    }

    .rp-site-title-card {
        border-radius: 10px;
        padding: 0.75rem 0.85rem;
    }

    .rp-card-grid {
        gap: 1rem;
        margin-top: 1.2rem;
    }

    .rp-card {
        padding: 6%;
    }

    .rp-hero-card {
        padding: 1.2rem;
    }

    .rp-lightbox-content {
        width: 98vw;
        height: 98vh;
        padding: 0.75rem;
    }

    .rp-lightbox {
        background: rgba(6, 56, 29, 0.9);
    }

    .rp-lightbox-inner {
        padding: 2.75rem 0.25rem 1rem;
    }

    .rp-gallery-shell {
        padding: 0.65rem;
    }

    .rp-gallery-viewport {
        aspect-ratio: 4 / 3;
    }

    .rp-gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .rp-gallery-prev {
        left: 0.55rem;
    }

    .rp-gallery-next {
        right: 0.55rem;
    }

    .rp-gallery-meta {
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }

    .rp-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rp-faq-content p {
        padding: 0.8rem 0.85rem;
    }

    .rp-form-grid-2 {
        grid-template-columns: 1fr;
    }

    .rp-copy-block,
    .rp-checkatrade-cta {
        padding: 1rem;
    }

    .rp-reviews-fallback-grid {
        grid-template-columns: 1fr;
    }
}