/**
 * WRA Custom Widgets Styles
 */

/* Combined Sidebar Widget Container */


.wra-sidebar .widget:last-child {
    margin-bottom: 0;
}
.wra-combined-sidebar-widget {
    background: #EEE;
    border-radius: 0px 30px 0px 30px;
	padding:20px;
}
.wra-viewing-trip-section{
	 display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
.wra-callback-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
/* Common Widget Styles */
/* .wra-viewing-trip-widget,
.wra-free-callback-widget,
.wra-follow-us-widget,
.wra-viewing-trip-section,
.wra-callback-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
} */

.wra-viewing-trip-section:last-child,
.wra-callback-section:last-child,
.wra-follow-us-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wra-widget-icon {
    flex-shrink: 0;
}

.wra-widget-icon img {
    max-width: 60px;
    height: auto;
    display: block;
}

.wra-widget-content {
    flex: 1;
}

.wra-widget-title {
    /*font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;*/
    margin-bottom: 0;
}

.wra-widget-description {
    font-size: 17px;
    color: #666666;
    margin: 0;
    line-height: 1;
    font-weight: 300;
}

.wra-widget-phone {
    margin: 0;
}

.wra-widget-phone a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.wra-widget-phone a:hover {
    text-decoration: underline;
}

.wra-widget-link {
    margin: 10px 0 0 0;
}

.wra-page-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.wra-page-link:hover {
    background-color: #f5f5f5;
    border-color: #999;
    text-decoration: none;
    color: #333;
}

.wra-widget-title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: 23px;
    line-height: 34px;
}
.wra-widget-title-link:hover{
    color: #FF5000;
}
/*.wra-widget-title-link:hover {
    color: #0073aa;
    text-decoration: underline;
}*/

/* Viewing Trip Section */
/* .wra-viewing-trip-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
} */

/* Free Call Back Section */
/*.wra-callback-section {
    border-top: 1px solid #e0e0e0;
}*/

/* Follow Us Section */
/*.wra-follow-us-section {
    flex-direction: column;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}*/

.wra-follow-us-section .wra-widget-title {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 300;
    color: #151515;
}
.wra-sidebar-separator{
    height: 17px;
    margin: 14px 0px;
    background: url(../assets/imgs/aside_sep.png) right top no-repeat;
}
.wra-social-links-inner{
    display: flex;
    gap: 15px;
    align-items: end;
}
.wra-social-links {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.wra-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.wra-social-link:hover {
    opacity: 0.8;
}

.wra-social-icon {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}


/* HTML Box Section */
.wra-html-box-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Legacy Widget Support */
.wra-viewing-trip-widget {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #e0e0e0;
}

.wra-free-callback-widget {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.wra-follow-us-widget {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    flex-direction: column;
    border-top: 1px solid #e0e0e0;
}

.wra-follow-us-widget .wra-widget-title {
    margin-bottom: 15px;
}



/* Facebook */
/* .wra-facebook {
    background-color: #3b5998;
} */

/* Twitter */
/* .wra-twitter {
    background-color: #1da1f2;
} */

/* YouTube */
/* .wra-youtube {
    background-color: #ff0000;
} */

.wra-youtube .wra-social-icon {
    font-size: 10px;
    line-height: 1.1;
}

/* Currency Switcher */
/*.wra-currency-switcher {
    margin-top: 10px;
}*/

/* .wra-currency-button {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
} */

/* .wra-currency-button:hover {
    background-color: #e55a00;
    color: #fff;
    text-decoration: none;
} */

.wra-currency-symbols {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

.wra-currency-text {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Timeline Widget Styles */
/*.wra-timeline-widget {
    padding: 20px 0;
}*/

.wra-timeline-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.wra-timeline-title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wra-timeline-title-link:hover {
    color: #FF5000;
    text-decoration: none;
}

.wra-timeline-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
    font-style: italic;
}

.wra-timeline-image {
    margin: 20px 0;
    text-align: center;
}

.wra-timeline-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wra-timeline-content {
    margin-top: 20px;
    position: relative;
    padding-left: 40px;
}

.wra-timeline-content * {
    box-sizing: border-box;
}

/* Timeline Vertical Line */
.wra-timeline-content::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #FF5000;
    z-index: 1;
}

/* Timeline Items Container */
.wra-timeline-items {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.wra-timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 0;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.wra-timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wra-timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Node (Circular Dot) */
.wra-timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #999;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #FF5000;
    z-index: 2;
}

/* Timeline Item Link */
.wra-timeline-item-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.wra-timeline-item-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Timeline Item Icon */
.wra-timeline-item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.wra-timeline-item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Timeline Item Content */
.wra-timeline-item-content {
    flex: 1;
    min-width: 0;
}

.wra-timeline-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.wra-timeline-item-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Timeline Item Arrow */
.wra-timeline-item-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.wra-timeline-item:hover .wra-timeline-item-arrow {
    transform: translateX(5px);
    color: #FF5000;
}

.wra-timeline-item-arrow::after {
    content: '→';
    display: block;
}

/* Timeline Link Button */
.wra-timeline-link {
    margin-top: 30px;
    text-align: center;
}

.wra-timeline-link .wra-page-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FF5000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wra-timeline-link .wra-page-link:hover {
    background-color: #e04500;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 80, 0, 0.3);
}

/* Quick Pages Widget Styles */
.wra-quick-pages-widget {
    padding: 0;
}

.wra-quick-page-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
    padding: 10px 10px 0;
}

.wra-quick-page-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.wra-quick-page-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wra-quick-page-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.wra-quick-page-icon-link {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wra-quick-page-content {
    flex: 1;
    min-width: 0;
}

.wra-quick-page-title {
    margin-bottom: 0;
}

.wra-quick-page-title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: 23px;
    line-height: 34px;
}

.wra-quick-page-title-link:hover {
    color: #FF5000;
    text-decoration: none;
}

.wra-quick-page-description {
    font-size: 17px;
    color: #666666;
    margin: 0;
    line-height: 1;
    font-weight: 300;
}

.wra-quick-page-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
    height: 17px;
    background: url(../assets/imgs/aside_sep_left.png) left top no-repeat;
    margin: 14px 0px;
}

/* Quick Pages Widget Admin Styles */
.wra-quick-pages-widget-admin {
    padding: 10px 0;
}

.wra-quick-pages-info {
    background: #f0f0f1;
    padding: 10px;
    border-left: 4px solid #2271b1;
    margin-bottom: 15px;
}

.wra-quick-pages-items {
    margin-bottom: 15px;
}

.wra-quick-page-item-admin {
    margin-bottom: 10px;
}

.wra-quick-page-item-admin .wra-remove-item {
    cursor: pointer;
}

.wra-quick-page-item-admin .wra-remove-item:hover {
    background: #a00 !important;
    border-color: #a00 !important;
}

/* Collapse/Expand Styles for Quick Pages Widget */
.wra-quick-page-item-wrapper {
    border-radius: 4px;
    overflow: hidden;
}

.wra-quick-page-item-header {
    user-select: none;
    transition: background-color 0.2s ease;
}

.wra-quick-page-item-header:hover {
    background-color: #f0f0f0 !important;
}

.wra-item-toggle-icon {
    transition: transform 0.3s ease !important;
}

.wra-quick-page-item-content {
    transition: all 0.3s ease;
}

.wra-quick-page-item-wrapper.collapsed .wra-quick-page-item-content {
    display: none !important;
}

.wra-quick-page-item-wrapper.collapsed .wra-item-toggle-icon {
    transform: rotate(-90deg) !important;
}

/* ============================================
   WRA Other Properties Widget Styles
   ============================================ */

.widget_wra_other_properties_widget .widget-top h3{
    font-size: 28px;
    font-weight: 300;
    color: #151515;
    margin: 50px 0 25px 0px;
}
.wra-other-properties-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wra-other-property-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #CCC;
}

.wra-other-property-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wra-other-property-image {
    position: relative;
    flex-shrink: 0;
    width: 92px;
    height: 67px;
    overflow: visible;
    margin: 3px;
    padding: 3px;
    border: 1px solid #DDD;
}

.wra-other-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.wra-other-property-image .label-wrap.top-left.property-status-badge {
    left: -5px;
    position: absolute;
    top: -5px;
    width: 65%;
}
/*.wra-other-property-image .label-wrap.top-left.property-status-badge img{
    width: 66px;
    height: 66px;
    object-fit: cover;
}*/
/*.wra-other-property-image:hover img {
    transform: scale(1.05);
}*/

.wra-other-property-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.wra-property-status-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.wra-other-property-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wra-other-property-title {
    margin: 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}

.wra-other-property-title a {
    color: #FF5000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wra-other-property-title a:hover {
    color: #FF5000;
    text-decoration: underline;
}

.wra-property-beds {
    color: #FF5000;
    font-weight: 400;
}

.wra-other-property-location {
    font-size: 15px;
    color: #818181;
    line-height: 1;
    font-weight: 300;
}

.wra-other-property-price {
    font-size: 15px;
    font-weight: 300;
    color: #151515;
    line-height: 1;
}

.wra-other-property-price sub {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    vertical-align: baseline;
}

/* ============================================
   WRA Events Widget Styles
   ============================================ */
.widget_wra_events_widget .widget-top h3{
    color: #151515;
    font-size: 33px;
    font-weight: 300;
    margin-top: 50px;
    margin-bottom: 20px;
}
.wra-events-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wra-event-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    border-bottom: 1px dotted #CCC;
}

.wra-event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wra-event-date {
    font-size: 15px;
    color: #151515;
    font-weight: 300;
    line-height: 1;
}

.wra-event-title {
    margin: 0;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.wra-event-title a {
    color: #FF5000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wra-event-title a:hover {
    color: #FF5000;
    text-decoration: underline;
}

.wra-event-description {
    font-size: 15px;
    color: #666666;
    line-height: 20px;
    margin-top: 10px;
}

/*.wra-events-view-all {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}*/

.wra-events-view-all a {
    color: #FF5000;
    font-size: 17px;
    font-weight: 400;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wra-events-view-all a:hover,.wra-events-view-all a:focus {
    color: #FF5000;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px){
 .wra-viewing-trip-widget,
    .wra-free-callback-widget,
    .wra-viewing-trip-section,
    .wra-callback-section,
    .wra-follow-us-section
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
@media (min-width: 768px) and (max-width: 992px){

    .widget_wra_events_widget .widget-top h3,.widget_wra_other_properties_widget .widget-top h3{
        margin-top: 0;
    }

}
@media (max-width: 768px) {
    .wra-viewing-trip-widget,
    .wra-free-callback-widget,
    .wra-viewing-trip-section,
    .wra-callback-section,
    .wra-follow-us-section
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .wra-social-links-inner{
        justify-content: center;
    }
    .wra-sidebar-separator{
        background: url(../assets/imgs/aside_sep.png) center center no-repeat;
    }

    .wra-timeline-image img{
        width: 100%;
    }

    .wra-widget-icon {
        margin: 0 auto;
    }

    .wra-social-links {
        justify-content: center;
    }

    .wra-timeline-title {
        font-size: 20px;
    }

    .wra-timeline-subtitle {
        font-size: 14px;
    }

    .wra-timeline-content {
        padding-left: 30px;
    }

    .wra-timeline-content::before {
        left: 10px;
    }

    .wra-timeline-item::before {
        left: -22px;
        width: 12px;
        height: 12px;
    }

    .wra-timeline-item {
        padding: 15px;
    }

    .wra-timeline-item-icon {
        width: 40px;
        height: 40px;
    }

    .wra-timeline-item-title {
        font-size: 16px;
    }

    .wra-timeline-item-description {
        font-size: 13px;
    }

     .wra-quick-page-item {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .wra-quick-page-separator{
        background: url(../assets/imgs/aside_sep_left.png) center center no-repeat;
    }

   /* .wra-quick-page-icon {
        width: 50px;
        height: 50px;
    }*/

    .wra-quick-page-title {
        font-size: 16px;
    }

    .wra-quick-page-description {
        font-size: 13px;
    }

    /*.wra-other-property-item {
        flex-direction: column;
        gap: 10px;
    }

    .wra-other-property-image {
        width: 100%;
        height: 180px;
    }*/

    .wra-other-property-title {
        font-size: 16px;
    }

    .wra-other-property-price {
        font-size: 18px;
    }

    .wra-event-title {
        font-size: 15px;
    }
    
    .wra-event-description {
        font-size: 12px;
    }
    
    .wra-events-view-all a {
        font-size: 14px;
    }
}

