/* Tailwind v4 strips unprefixed backdrop-filter; re-add for Chrome/Firefox */
.hero-btn-secondary { backdrop-filter: blur(5px); }
.hero-btn-secondary:hover { backdrop-filter: blur(12px); }

/* Page-specific styles */

:root {
    --rov-green: #00754a;
    --rov-green-hover: #005a3a;
    --rov-yellow: #f3c300;
    /* Brand Colors */
    --rov-orange: #f4a261;
    --rov-dark-gray: #333333;
    --bg-cream: #f7f6f3;
    --bg-cream-alt: #f7f7f4;
    --dark-grey: #353535;

    /* Text Colors */
    --rov-text-dark: #1a1a1a;
    --rov-text-muted: #555;
    --rov-text-muted-light: #666;

    /* Border Radius */
    --rov-border-radius: 4px;
    --rov-border-radius-lg: 12px;
    --rov-border-radius-pill: 24px;

    /* Box Shadow */
    --rov-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Base Styles
   =========================== */

body:not(.bb-page-loaded) .primary-menu {
    overflow: visible !important;
}
html {
    overflow-x: hidden;
}
h1,
h2,
a h1,
a h2 {
    font-family: "Gotham Black";
}
/* BuddyPress/BuddyBoss profile name — use body font, not decorative heading */
h2.user-nicename {
    font-family: "Gotham Book", system-ui, sans-serif;
    font-weight: normal;
}
/* WooCommerce page headings and product titles — use medium weight, not decorative Gotham Black */
.woocommerce-checkout h1,
.woocommerce-cart h1,
.woocommerce-account h1,
.woocommerce-order-received h1,
.woocommerce-shop h1 {
    font-family: "Gotham Medium", system-ui, sans-serif;
    font-weight: normal;
}
h2.woocommerce-loop-product__title {
    font-family: "Gotham Medium", system-ui, sans-serif;
    font-weight: normal;
}
h3,
h4,
h5,
a h3,
a h4,
a h5 {
    font-family: "Gotham Book";
}
p,
body label,
body button,
body input,
body textarea {
    font-family: "Gotham Book", Sans-serif;
}

table p,
table td p,
table td {
    font-size: 14px;
}
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th,
table tbody tr:hover > td,
table tbody tr:hover > th {
    background: transparent !important;
}
/* .rov-text-orange removed (unused — use text-rov-orange from Tailwind theme token) */

body {
    width: 100% !important;
}
body:not(.page-template-page-fullscreen) .site {
    overflow-x: unset !important;
}
.wp-editor-container textarea.wp-editor-area {
    font-family: "Gotham Book" !important;
}
#signup-form fieldset {
    margin-bottom: unset;
    border: unset;
    padding: unset;
}
#signup-form .field_type_textarea fieldset {
    padding: 0 1em 0 0;
}
.rovBadge {
    color: var(--rov-green);
    border: 1px solid var(--rov-green);
    border-radius: 20px;
    margin-right: 4px;
    white-space: nowrap;
    font-size: 0.7em;
    line-height: 0.9;
    padding: 0.25em 0.5em;
}
/* .rovBgDArkGrey, .color-dark-grey removed (unused — use bg-dark-grey/text-dark-grey Tailwind tokens) */
/* .rov_green_bg migrated to tailwind.src.css @utility */
/* .rov_green_bg_50 removed (unused) */
#rovFooter .rovFooterSocials a {
    height: 50px;
    width: 50px;
    border: 1px solid white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.15s ease;
}
#rovFooter .rovFooterSocials a em {
    font-size: 1.4em;
}

/* .rov_green_text migrated to tailwind.src.css @utility */
#rovFooter hr {
    height: 0.5px;
    background-color: #e6eaf0a1;
}
#menu-footer li {
    list-style: none;
}
#menu-footer li a {
    color: #7a7a7a;
}
#menu-footer li a:hover,
#menu-footer li:hover {
    color: var(--rov-yellow);
    transition: 0.1s ease;
}

/* ABOUT PAGE */
.page-id-12516 h2 {
    color: #54595f;
    font-family: "Gotham Medium", Sans-serif;
}
.page-id-12516 h4 {
    color: #54595f;
    font-family: "Gotham Book", Sans-serif;
}
@media (max-width: 1024px) {
    .creatorCard {
        border-bottom: 1px solid #54595f30;
    }
}

.creatorCard .socials a {
    background-color: #99cccc;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}
#rovFooter .rovFooterSocials a:hover,
.creatorCard .socials a:hover {
    opacity: 1;
}
.creatorCard .creatorBioTitle {
    color: #99cccc;
}
.creatorCard p {
    line-height: 1.2;
    font-weight: 700;
}
.creatorCard h3 {
    font-family: "Gotham Black";
    color: #54595f;
}
.rovOurMissionStatement h1 {
    color: var(--rov-green);
    font-family: "Hackney Bold", Sans-serif;
    font-size: 4em;
}
@media screen and (max-width: 600px) {
    .rovOurMissionStatement h1 {
        font-size: 3.1em;
    }
}
.rovOurMissionStatement {
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}
.page-id-12516 .site-content {
    padding-left: 0;
    padding-right: 0;
}

.page-id-12516 .site-content > .container {
    max-width: none;
    padding: 0;
}
@keyframes pulse {
    0% {
        transform: scale(0.99);
        opacity: 0.8;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.99);
        opacity: 0.8;
    }
}
/* SKELETON SHIMMER - reusable loading placeholder animation */
.skeleton-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.skeleton-shimmer-line {
    height: 14px;
    border-radius: 4px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.rovShareBar > span {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 4px;
}

@media screen and (max-width: 1400px) {
    .rovShareBar > span {
        width: 28px;
        height: 28px;
        cursor: pointer;
    }
}
/* SUGGESTED VIEWS STYLING */
/* @media screen and (max-width: 1024px) { */
#suggestedViewsCardGroup {
    gap: 20px;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
}
#suggestedViewsCardGroup > .suggested-post-card {
    flex: 1 1 160px;
    height: 240px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* Carousel container - fixed height, no grow/shrink */
#suggestedViewsCardGroup > .suggested-post-card .carousel,
#suggestedViewsCardGroup > .suggested-post-card .image-wrapper {
    width: 100%;
    height: 150px;
    flex-shrink: 0;
    flex-grow: 0;
    object-fit: cover;
    overflow: hidden;
}
#suggestedViewsCardGroup > .suggested-post-card .r1v-carousel-inner,
#suggestedViewsCardGroup > .suggested-post-card .r1v-slide {
    height: 150px;
}
#suggestedViewsCardGroup > .suggested-post-card .r1v-carousel img,
#suggestedViewsCardGroup > .suggested-post-card .image-wrapper img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
#suggestedViewsCardGroup .rovBadge:nth-of-type(n + 4) {
    display: none;
    padding: 0;
}
/* Title container - fixed height with proper text wrapping */
#suggestedViewsCardGroup .suggested-post-card > div:last-child {
    padding: 8px;
    height: 90px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#suggestedViewsCardGroup .suggested-post-card h5 {
    font-size: 0.85em;
    line-height: 1.3;
    text-align: center;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (min-width: 480px) {
    #suggestedViewsCardGroup > .suggested-post-card {
        flex: 1 1 250px;
    }
}

/* BUDDYBOSS FOLLOW AND UNFOLLOW BUTTONS */
#buddypress .following-wrap strong,
#buddypress .followers-wrap strong {
    color: #939597;
}
body #buddypress .member-header-actions > .generic-button > *.following:hover,
#item-header-cover-image
    .member-header-actions
    .generic-button
    button.follow-button.outline {
    background-color: white !important;
    color: var(--rov-green) !important;
}
body
    #buddypress
    .member-header-actions
    > .generic-button
    > .follow-button
    i:before {
    content: unset !important;
}
#item-header-cover-image
    .member-header-actions
    .generic-button
    button.follow-button {
    box-shadow: unset !important;
}

/* Base link/heading colors — in @layer base so Tailwind utilities (text-white etc.) can override */
@layer base {
    a {
        color: var(--rov-green);
        outline: 0;
        text-decoration: none;
    }
}

/* .solid-button removed (unused — duplicated .rov_standard_button) */

#rovTagSelection .categorychecklist-holder {
    max-height: 100% !important;
}

.single-post .entry-content {
    max-width: 700px !important;
    font-size: 1.25rem !important;
    margin: 0 auto !important;
}

/* Article content typography: restore paragraph spacing lost to Tailwind preflight */
.entry-content p,
.main-content p,
#state-content p {
    margin-bottom: 1em;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.main-content h2,
.main-content h3,
.main-content h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

/* Improve the appearance of the filter panel */
#rovFilterListShowOnScrollUp {
    box-shadow: var(--rov-box-shadow);
    border-radius: 0 0 var(--rov-border-radius) var(--rov-border-radius);
}
@layer base {
    body h1,
    body h2,
    body h3,
    body h4,
    body h5,
    body h6 {
        color: var(--rov-dark-gray);
    }
}
/* Route 1 Views brand fonts */
@font-face {
    font-family: "Gotham Book";
    src: url(../fonts/Gotham-Book.woff) format('woff');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gotham Black";
    src: url(../fonts/Gotham-Black.woff) format('woff');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: "Gotham Medium";
    src: url(../fonts/Gotham-Medium.woff) format('woff');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: "Hackney Bold";
    src: url(/wp-content/uploads/2022/05/Hackney-Personal-Use-Only.woff2);
    font-weight: normal;
    font-display: swap;
}

/* SITEWIDE MODAL */
#rovSitewideModal .modal-body {
    /* Specific Modal Style */
    max-height: 85vh;
    overflow-y: auto;
}

/* Preview Mode Toggle */
.preview-mode-toggle {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--color-bg-muted);
    border-radius: 0.5rem;
}
.preview-mode-toggle .btn {
    padding: 0.375rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    border-radius: 0.375rem;
    transition: all 0.15s ease;
}
.preview-mode-toggle .btn.active {
    background: white;
    color: var(--rov-dark-gray);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.preview-mode-toggle .btn:hover:not(.active) {
    color: var(--rov-dark-gray);
}

/* Phone Preview Frame */
.phone-preview-frame {
    position: relative;
    width: 375px;
    height: 700px;
    margin: 1rem auto;
    background: var(--color-rov-text-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 3px var(--color-rov-dark-gray),
        0 20px 50px rgba(0,0,0,0.3);
}
.phone-preview-frame::before {
    /* Notch */
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: var(--color-rov-text-dark);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}
.phone-preview-frame::after {
    /* Home indicator */
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: var(--color-rov-text-muted-light);
    border-radius: 3px;
    z-index: 10;
}
.phone-preview-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 28px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}
/* Hide scrollbar in phone preview for cleaner look */
.phone-preview-screen::-webkit-scrollbar {
    width: 0;
    display: none;
}

/* Desktop preview (full width) */
.desktop-preview-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Modal adjustments for phone preview */
#rovSitewideModal.phone-preview-mode .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-rov-light-gray);
    min-height: 80vh;
    overflow: hidden;
}
#rovSitewideModal.phone-preview-mode .modal-body > .flex.border-b {
    background: var(--color-rov-light-gray);
    border-bottom-color: var(--color-bg-muted) !important;
    width: 100%;
}
#rovSitewideModal.phone-preview-mode .modal-footer {
    background: var(--color-rov-light-gray);
    border-top-color: var(--color-bg-muted);
}
#rovSitewideModal.phone-preview-mode .modal-dialog {
    max-width: 500px;
}
.acf-form .acf-radio-list {
    display: flex;
    flex-wrap: wrap;
}
.acf-form .acf-checkbox-list {
    display: block;
    columns: 3;
    column-gap: 20px;
}
body .acf-taxonomy-field .acf-checkbox-list {
    padding: 0;
}
body .acf-taxonomy-field .categorychecklist-holder {
    border: none;
}
/* Utilities below have been migrated to tailwind.src.css @utility definitions */


.acf-form .acf-checkbox-list li {
    width: 100%;
    break-inside: avoid;
}

/* Special checkbox sauce */
.acf-form .acf-field-checkbox li input,
.acf-form .acf-checkbox-list li input {
    visibility: hidden !important;
    margin-right: 16px !important;
}

.acf-form .acf-field-checkbox li label:before,
.acf-form .acf-checkbox-list li label:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid var(--rov-green) !important;
    border-radius: 3px !important;
    background-color: white !important;
    z-index: 1;
}

.acf-form .acf-field-checkbox label.selected:after,
.acf-form .acf-checkbox-list label.selected:after {
    content: "\2714" !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    font-size: 0px !important;
    line-height: 21px !important;
    color: var(--rov-yellow) !important;
    z-index: 99;
}

.acf-form .acf-checkbox-list li label.selected:after {
    font-size: 30px !important;
    transition: all 0.2s ease 0s !important;
}
@media only screen and (max-width: 1024px) {
    body .acf-form .acf-checkbox-list {
        padding: 0;
        columns: 2;
    }
    .acf-form .acf-checkbox-list li {
        width: 100%;
    }
    .acf-form .acf-checkbox-list li label {
        display: flex;
    }
    .acf-form .acf-checkbox-list li span {
        display: inline-block;
    }
}

@media only screen and (max-width: 768px) {
    .acf-form .acf-checkbox-list {
        columns: 2;
    }
    .acf-form .acf-checkbox-list li {
        width: 100%;
    }
    .acf-form .acf-checkbox-list li span {
        font-size: 0.8em;
    }
}

/* OVERRIDE BUDDYBOSS THEME STYLES - Potentially Specific */

/* Keep specific label styles */
.acf-form label:not(.acf-hide-label label) {
    color: black;
}
.single-post:not(.has-sidebar) .site-content-grid {
    max-width: 1100px !important;
}
.bb-mobile-panel-inner .bb-login-section a {
    color: white;
}
/* .rovTextGreen migrated to tailwind.src.css @utility */
.rovAiTag > div {
    min-width: 50px;
}
#rovTagSelection label,
.acf-field-wysiwyg label {
    color: var(--rov-dark-gray) !important;
}
.wp-editor-container input {
    border-color: #50575e;
    color: #50575e;
}
.wp-editor-container input,
.wp-editor-container button,
.acf-field-wysiwyg .mce-btn button {
    background-color: transparent !important;
}

.user-wrap.menu-item-has-children .user-name {
    line-height: 1.3;
    white-space: nowrap;
    padding-right: 3px;
    text-overflow: ellipsis;
    max-width: 100px;
    font-size: 1.2em;
    overflow: hidden;
}

.site-header #header-aside > .header-aside-inner > *:not(.user-wrap) i,
.site-header #header-aside .user-wrap > .user-link i,
.primary-menu > .menu-item-has-children:not(.hideshow):after,
.site-header .notification-dropdown i,
.site-header .header-search-wrap i,
.user-wrap.menu-item-has-children #header-my-account-menu a {
    color: #fefeff !important;
    font-size: 1.2em;
}
/* Dropdown icons: dark on white background */
.user-wrap .sub-menu i {
    color: #6b7280 !important;
    font-size: 1em !important;
}
/* Invisible hover bridge — prevents dropdown from closing when moving mouse from trigger to menu */
.user-wrap .sub-menu {
    padding-top: 8px !important;
    margin-top: -8px !important;
}
.site-header .menu-item-has-children > a.user-link {
    color: rgb(254 254 255 / 75%) !important;
}
.bb-header-buttons a.button.outline,
#site-navigation .primary-menu > li > a,
#site-navigation .primary-menu > li > a > i {
    font-size: 1.2em;
}
#site-navigation .primary-menu > li.current_page_item > a,
.site-header .menu-item-has-children > a.user-link:hover,
.bb-header-buttons a.button.outline:hover,
#site-navigation .primary-menu > li > a:hover,
#site-navigation .primary-menu > li > a > i:hover {
    color: rgb(254 254 255 / 100%) !important;
    transition: 0.5s ease;
}
.site-header .sub-menu a {
    font-size: 1.2em;
}

.site-header #menu-mobile-menu i,
nav#object-nav a {
    color: rgb(0, 117, 74) !important;
}

/* Sitewide standard style for all buttons  */
.rov_outline_button,
.rov_standard_button {
    display: inline-block !important;
    background-color: rgba(0, 117, 74, 0.85) !important;
    color: white !important;
    font-family: "gotham medium" !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    padding: 0.375rem 1.25rem !important;
    min-width: 100px !important;
    line-height: 1.5 !important;
    border-radius: 0 !important;
}
.rov_standard_button:hover {
    background-color: rgb(0, 117, 74) !important;
    transition: 0.5s ease;
    color: white !important;
}

.rov_outline_button {
    background-color: transparent !important;
    border: 1px solid rgb(0, 117, 74, 0.85) !important;
    color: rgb(0, 117, 74) !important;
    border-radius: 0 !important;
}

.rov_outline_button:hover {
    border-color: rgb(0, 117, 74) !important;
}

/* Font family utilities migrated to tailwind.src.css @utility definitions */

/* Loading Spinner Contols */
.rov_map_loading_container {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #000000bd;
    z-index: 5;
}

.shake {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;

    /* When the animation is finished, start again */
    animation-iteration-count: 1;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

#toggle-button {
    padding: 10px;
}
#toggle-button.active {
    animation: glowing-border 1s ease-out infinite;
    border: 3px solid red;
    border-radius: 50%;
}

@keyframes glowing-border {
    0% {
        box-shadow: 0 0 0 0 red;
    }
    100% {
        box-shadow: 0 0 0 5px transparent;
    }
}

@keyframes vibrate {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(2px);
    }
    60% {
        transform: translateX(-2px);
    }
    80% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
    }
}

.vibrate {
    color: crimson !important;
    animation: vibrate 0.5s;
    animation-iteration-count: 1;
}

#charCount {
    color: crimson;
    font-size: 0.8em;
    position: absolute;
    right: 5px;
    bottom: -50px;
    z-index: 999999;
}
/* Dropzone */
#rovEditMediaContainer .deleteMediaIcon {
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
}

#rovEditMediaContainer li i {
    position: absolute;
    color: white;
    left: 6px;
    top: 5px;
    z-index: 99;
    background: #000000a8;
    padding: 4%;
    cursor: pointer;
    opacity: 0;
}

#rovEditMediaContainer li:hover i {
    opacity: 1;
    transition: 0.5s ease;
}

@media screen and (max-width: 1024px) {
    #rovEditMediaContainer li i {
        opacity: 1;
        transition: 0.5s ease;
    }
}

#rovEditMediaContainer .fa {
    background: #ffffffed;
    padding: 9px;
    border-radius: 50%;
    opacity: 0;
    z-index: 9;
}

#rovEditMediaContainer li:hover .fa {
    opacity: 1;
    transition: 0.5s ease;
}

#site-navigation ul,
.header-aside-inner ul {
    padding-left: 0 !important;
}

#publishPost {
    min-width: 400px;
    max-width: 100%;
    height: 50px;
    font-size: 1.2em;
    font-weight: bold;
    background: var(--rov-green); /* Your custom green */
    color: white;
    border: none;
    border-radius: 5px;
    position: relative;
}
#publishPost:disabled {
    background: #ccc !important;
    pointer-events: none;
}

/* vh-75, vh-50, vh-md-75: now in tailwind.src.css @utility */

/* ============================================
   EDITOR'S NOTE - View Panel
   ============================================ */
.rov-editors-note {
    background: #f0f1f3;
    border-left: 3px solid var(--color-slate-dark);
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-slate-dark);
}
.rov-editors-note strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    color: var(--color-text-secondary);
}
.rov-editors-note a {
    color: var(--rov-green);
    text-decoration: underline;
}

/* ============================================
   R1V Splide Gallery
   ============================================ */

.r1v-gallery {
    margin: 16px 0;
}

.r1v-gallery-main {
    position: relative;
}

.r1v-gallery-main .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.r1v-gallery-main .splide__slide img {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
}

.r1v-gallery-main .splide__arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    pointer-events: none;
    z-index: 1;
}

.r1v-gallery-main .splide__arrow {
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    pointer-events: auto;
}

.r1v-gallery-main .splide__arrow:hover {
    opacity: 1;
}

.r1v-gallery-main .splide__arrow svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
    fill: white !important;
}

.r1v-gallery-thumbs {
    margin-top: 8px;
}

.r1v-gallery-thumbs .splide__slide {
    opacity: 0.5;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
}

.r1v-gallery-thumbs .splide__slide.is-active {
    opacity: 1;
    border-color: var(--rov-green);
}

.r1v-gallery-thumbs .splide__slide:hover {
    opacity: 0.8;
}

.r1v-gallery-thumbs .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r1v-gallery-credit {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.r1v-gallery-credit a {
    color: var(--rov-green);
    text-decoration: none;
}

.r1v-gallery-credit a:hover {
    text-decoration: underline;
}

/* ============================================
   GUTENBERG ALIGNMENT SUPPORT
   ============================================ */

/* Full width alignment support */
.main-content .alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
}

.main-content .alignwide {
    width: 1200px;
    max-width: calc(100vw - 2rem);
    margin-left: calc((640px - 1200px) / 2);
    margin-right: calc((640px - 1200px) / 2);
}

/* Alternative approach - break out and center */
@media (min-width: 768px) {
    .main-content .alignwide {
        margin-left: calc((100vw - 1200px) / 2 - (100vw - 640px) / 2);
        margin-right: calc((100vw - 1200px) / 2 - (100vw - 640px) / 2);
    }
}

/* Ensure images within aligned containers are responsive */
.alignfull img,
.alignwide img {
    width: 100%;
    height: auto;
    max-width: none;
}

/* Reset margins for aligned content */
.alignfull,
.alignwide {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ============================================
   CAROUSEL CONTROLS
   ============================================ */

.r1v-carousel-prev-icon,
.r1v-carousel-next-icon {
    opacity: 1;
    width: 3rem;
    height: 3rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.r1v-carousel-prev,
.r1v-carousel-next {
    width: 10%;
    opacity: 1;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

/* ============================================
   HOMEPAGE UTILITY CLASSES
   ============================================ */

/* Text Color Utilities: .text-dark-heading, .text-muted-dark, .text-muted-light removed (unused) */

/* Section Title Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rov-text-dark);
}
.section-subtitle {
    font-size: 1rem;
    color: var(--rov-text-muted-light);
}

/* Stat Card Styles */
.stat-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--color-green-light-bg);
    border-radius: 50%;
}
.stat-icon {
    width: 28px;
    height: 28px;
    color: var(--rov-green);
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--rov-text-dark);
    margin-bottom: 8px;
}
.stat-label {
    font-size: 1rem;
    color: var(--rov-text-muted-light);
    font-weight: 500;
    text-transform: none; /* Override marketing.css uppercase */
}
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* Feature Card Icon Circle */
.icon-circle {
    width: 48px;
    height: 48px;
    background: var(--color-green-light-bg);
    border-radius: 50%;
}
.icon-circle i,
.icon-circle svg {
    color: var(--rov-green);
}

/* Feature Card Styles */
.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rov-text-dark);
    margin-bottom: 8px;
}
.feature-copy {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rov-text-muted);
    margin: 0;
}

/* Link Styles */
.link-dark {
    color: var(--color-slate-dark);
    font-weight: 600;
}
.link-dark:hover {
    color: var(--rov-green);
}

/* ===========================
   Reusable CTA Components
   Shared by front-page.php and page-articles.php
   =========================== */

/* Simple CTA Block */
.cta-block {
    background: var(--color-slate-dark);
    padding: 80px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
    color: white;
}

.cta-block h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: white;
}

.cta-block p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-block .btn {
    background: white;
    color: var(--color-slate-dark);
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cta-block .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--color-slate-dark);
}

/* Split Layout CTA */
.explore-content {
    padding: 60px 40px;
}

.explore-content h2 {
    margin-bottom: 24px;
    color: var(--rov-text-dark);
}

.explore-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--rov-text-muted);
    margin-bottom: 32px;
}

.map-emerging {
    padding: 60px 40px;
}

.map-emerging img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cta-block h2 {
        font-size: 1.8rem;
    }

    .cta-block {
        padding: 60px 30px;
    }

    .explore-content {
        padding: 40px 20px;
        text-align: center;
    }

    .map-emerging {
        padding: 40px 20px;
    }
}

/* =============================================
   Homepage Section Padding Normalization
   ============================================= */

/* Base section padding class - for carousels */
.section-hp {
    padding-top: 60px;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
}

/* Larger section padding - for feature cards, stats */
.section-hp-lg {
    padding-top: 80px;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
}

/* Mobile: tighter horizontal padding (16px) for wider cards */
@media (max-width: 767px) {
    .section-hp,
    .section-hp-lg {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ===================================================================
   SAVE INDICATOR
   =================================================================== */

.save-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

body.admin-bar .save-indicator {
    top: calc(20px + 32px);
}

@media (max-width: 782px) {
    body.admin-bar .save-indicator {
        top: calc(20px + 46px);
    }
}

.save-indicator.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.save-indicator .spinner {
    width: 18px;
    height: 18px;
    animation: save-rotate 1s linear infinite;
}

.save-indicator .spinner circle {
    stroke: white;
    stroke-linecap: round;
    animation: save-dash 1.5s ease-in-out infinite;
}

.save-indicator .checkmark {
    width: 18px;
    height: 18px;
    display: none;
}

.save-indicator.saved .spinner {
    display: none;
}

.save-indicator.saved .checkmark {
    display: block;
}

.save-indicator .checkmark path {
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: save-checkmark-draw 0.4s ease-out forwards;
}

@keyframes save-checkmark-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes save-rotate {
    100% { transform: rotate(360deg); }
}

@keyframes save-dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* ===========================
   WooCommerce Overrides
   =========================== */

/* My Account: clean nav sidebar */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 0.5rem 1rem;
    color: inherit;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.woocommerce-MyAccount-navigation-link a:hover {
    color: var(--rov-green);
    border-left-color: var(--rov-green);
}
.woocommerce-MyAccount-navigation-link.is-active a {
    color: var(--rov-green);
    font-weight: 600;
    border-left-color: var(--rov-green);
}

/* WooCommerce buttons: match brand outlined style */
/* Include .alt to override WooCommerce's purple .button.alt color on single product pages */
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: transparent;
    border: 1px solid var(--rov-green);
    color: var(--rov-green);
    border-radius: 0;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: transparent;
    border-color: var(--rov-green);
    color: var(--rov-green);
    opacity: 0.85;
}


