:root {
    --arcado-bg: #0a0a0a;
    --arcado-text: #f0f0f0;
    --arcado-muted: #888888;
}

/* --- BASE STYLES --- */
.arcado-portfolio-wrapper, .arcado-single-wrapper {
    color: var(--arcado-text);
    padding: 40px 0;
    box-sizing: border-box;
}

.arcado-portfolio-wrapper *, .arcado-single-wrapper * {
    box-sizing: border-box;
}

/* --- ARCHIVE GRID (Image 1) --- */
.arcado-portfolio-wrapper { padding: 40px 5%; }
.arcado-title { font-size: 2.5rem; font-weight: 400; margin-bottom: 30px; color: #fff;}

.arcado-filters { list-style: none; padding: 0; display: flex; gap: 30px; margin-bottom: 40px; border-bottom: 1px solid #222; }
.arcado-filters button { background: none; border: none; color: var(--arcado-muted); font-size: 1rem; padding: 10px 0; cursor: pointer; border-bottom: 2px solid transparent; transition: 0.3s; }
.arcado-filters button.active, .arcado-filters button:hover { color: #fff; border-bottom-color: #fff; }

/* Maximum 3 columns enforced */
.arcado-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.arcado-card { display: block; }

.arcado-image-wrap { display: block; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; }
.arcado-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.arcado-image-wrap:hover img { transform: scale(1.05); }

.arcado-badge { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.1); }
.arcado-link-icon { position: absolute; bottom: 15px; right: 15px; background: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: 0.3s; }
.arcado-image-wrap:hover .arcado-link-icon { opacity: 1; transform: translateY(0); }

.arcado-info { padding: 20px 0; }
.arcado-info h3 { margin: 0 0 10px 0; font-size: 1.2rem; font-weight: 500;}
.arcado-info h3 a { color: #fff; text-decoration: none; transition: color 0.3s; }
.arcado-info h3 a:hover { color: var(--arcado-muted); }

.arcado-meta-row { display: flex; flex-wrap: wrap; gap: 15px; color: var(--arcado-muted); font-size: 0.9rem; align-items: center; }
.arcado-meta-row span { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 18px;}
.arcado-meta-row span svg {
    /* fill: #000 !important; */
    color: rgb(255 255 255 / 26%);
    width: 25px;
    height: 25px;
}
/* --- SINGLE POST (Image 2) --- */
.arcado-single-wrapper { padding: 0;}
.arcado-hero { width: 90%; max-width: 1400px; margin: 0 auto 50px auto; height: 70vh; min-height: 500px; background-size: cover; background-position: center; border-radius: 24px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;}
.arcado-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
.arcado-hero h1 { position: relative; z-index: 1; color: #fff; font-size: 4rem; font-weight: 400; text-align: center; margin:0;}

.arcado-content-container { width: 90%; margin: 0 auto; padding-bottom: 80px; }
.arcado-content-container h2 { font-size: 2.5rem; font-weight: 400; margin-bottom: 20px; color: #fff;}
.arcado-description { color: #ccc; font-size: 1.1rem; line-height: 1.6; margin-bottom: 40px;}

.arcado-single-meta { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; color: #ccc; font-size: 1rem; border-top: 1px solid #222; padding-top: 30px; margin-bottom: 30px;}
.arcado-single-meta span { display: flex; align-items: center; gap: 8px; }
.arcado-single-meta .divider { color: #444; }

.arcado-portfolio-wrapper,
.arcado-content-container,
.arcado-hero {
    max-width: 1320px;
    padding: 0 15px;
    margin: auto;
}
.arcado-portfolio-wrapper {
    margin-bottom: 80px;
}
.arcado-single-wrapper {
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.arcado-single-wrapper img {
    border-radius: 28px;
}

/* Post Navigation Footer */
.arcado-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #222;
}
.arcado-post-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}
.arcado-post-nav a:hover {
    color: var(--arcado-muted);
}
.nav-prev { text-align: left; }
.nav-next { text-align: right; }
/* =========================================
   PAGINATION STYLES
   ========================================= */
.arcado-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.arcado-pagination a, .arcado-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: transparent;
    color: var(--arcado-muted);
    border: 1px solid #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.arcado-pagination a:hover {
    background: #222;
    color: #fff;
    border-color: #555;
}
.arcado-pagination span.current {
    background: #fff;
    color: #000;
    border-color: #fff;
    font-weight: 500;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .arcado-portfolio-wrapper { padding: 0px 15px; }
    
    /* Drop to 2 columns on tablets */
    .arcado-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .arcado-hero { height: 60vh; min-height: 400px; width: 95%; }
    .arcado-hero h1 { font-size: 3rem; }
    .arcado-content-container { width: 95%; }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .arcado-portfolio-wrapper { padding: 0px 15px; }
    .arcado-title { font-size: 2rem; margin-bottom: 20px; }
    
    /* Horizontal Scroll for Filters */
    .arcado-filters {
        gap: 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; 
    }
    .arcado-filters::-webkit-scrollbar { display: none; }
    
    /* Drop to 1 Column Grid for Phones */
    .arcado-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Single Post Hero */
    .arcado-hero { border-radius: 16px; margin-bottom: 30px; height: 50vh; min-height: 300px; }
    .arcado-hero h1 { font-size: 2.2rem; padding: 0 20px; }
    
    /* Single Post Content */
    .arcado-content-container h2 { font-size: 2rem; }
    .arcado-description { font-size: 1rem; }
    
    /* Stack Single Post Meta Data */
    .arcado-single-meta {
        align-items: flex-start;
        gap: 12px;
    }
    .arcado-image-wrap {
        aspect-ratio: 4 / 4;
    }
    .arcado-post-nav a { font-size: 0.95rem; }
}

/* Small Phones */
@media (max-width: 480px) {
    .arcado-title { font-size: 1.8rem; }
    .arcado-hero h1 { font-size: 1.8rem; }
    .arcado-meta-row { gap: 10px; font-size: 0.85rem; }
    .arcado-single-meta span { font-size: 0.95rem; }
}

/* 
   ---------------------------------
   SLIDER 1: CENTERED (Featured)
   ---------------------------------
*/
.arcado-slick-centered {
    position: relative;
}

/* Width Control for Centered Slider Items */
.arcado-slick-centered .arcado-slick-item {
    margin: 0 0; /* Gap between slides */
    transition: all 0.4s ease;
    opacity: 0.3;
    transform: scale(0.85); /* Shrinks side images */
    outline: none; /* Removes slick focus border */
}
/* The Active Center Item */
.arcado-slick-centered .slick-center {
    opacity: 1;
    transform: scale(1);
}

.arcado-slick-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
}
.arcado-slick-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arcado-slick-info {
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.arcado-slick-centered .slick-center .arcado-slick-info {
    opacity: 1;
}
.arcado-slick-info h3 { margin: 0 0 10px 0; font-size: 1.5rem; font-weight: 500; }
.arcado-slick-info h3 a { 
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
}

/* Custom Slick Arrows */
.arcado-slick-centered .slick-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: transparent; /* hides default slick text */
    border: none;
    cursor: pointer;
    z-index: 10;
}
.arcado-slick-centered .slick-prev { left: 20px; }
.arcado-slick-centered .slick-next { right: 20px; }

/* Draw the Arrow Icons inside the buttons */
.arcado-slick-centered .slick-arrow::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    border-width: 0;
    display: inline-block;
    padding: 6px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 28px;
    height: 28px;
}
.arcado-slick-centered .slick-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.165 6.91797L4.08337 13.9996L11.165 21.0813' stroke='%23080808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M23.9165 14L4.2815 14' stroke='%23080808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.arcado-slick-centered .slick-next::before {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.835 6.91797L23.9166 13.9996L16.835 21.0813' stroke='%23080808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.0835 14L23.7185 14' stroke='%23080808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    background: #fff !important;
}











/* 
   ---------------------------------
   ARCADO SYNCED SLIDER - UPDATED CSS
   ---------------------------------
*/

.arcado-sync-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 0;
    background: transparent;
    border-radius: 40px;
    box-sizing: border-box;
    align-items: center;
}

/* --- LEFT SIDE (MAIN SLIDER) --- */
.arcado-main-side {
    width: 60%; 
    height: 450px;
}

.arcado-main-slick, 
.arcado-main-slick .slick-list, 
.arcado-main-slick .slick-track {
    height: 100%;
}

.arcado-main-slide {
    position: relative;
    height: 100%;
    border-radius: 35px; /* Large curves from image */
    overflow: hidden;
    outline: none;
}

/* --- RIGHT SIDE (THUMBNAIL SLIDER) --- */
.arcado-thumb-side {
    width: 40%;
    height: 450px; /* Slightly shorter than main */
}

.arcado-thumb-slick {
    height: 100%;
}

/* Wrapper for the individual thumb */
.arcado-thumb-slide-wrapper {
    width: 200px; /* Width of the smaller vertical cards */
    margin-right: 20px;
    outline: none;
}

.arcado-thumb-slide {
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reference image shows the ACTIVE thumb is dimmed/hidden 
   because it is already shown in the main large view */
.slick-current .arcado-thumb-slide {
    opacity: 0.2; 
    filter: grayscale(100%);
    pointer-events: none;
}

/* --- SHARED UI ELEMENTS (Same to Same Look) --- */

.arc-bg {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

/* Top Left Pill (Cars, Beds, Baths) */
.arc-pill {
    position: absolute;
    top: 25px; left: 25px;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex; 
    gap: 15px; 
    color: #fff; 
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}
.arc-pill span { display: flex; align-items: center; gap: 6px; }

/* Top Right Circular Arrow */
.arc-arrow {
    position: absolute;
    top: 25px; right: 25px;
    width: 45px; height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: 0.3s;
    text-decoration: none;
}
.arc-arrow:hover { transform: scale(1.1); background: #f0f0f0; }

/* Bottom Text Overlay with Gradient */
.arc-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; 
    padding: 80px 40px 40px 40px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 5;
    box-sizing: border-box;
}

.arc-overlay h3 { 
    margin: 0; 
    font-size: 32px; 
    font-weight: 600; 
    line-height: 1.2;
}
.arc-overlay h3 a { color: #fff; text-decoration: none; }

.arc-overlay p { 
    margin: 10px 0 0 0; 
    font-size: 15px; 
    line-height: 1.5; 
    opacity: 0.8; 
    max-width: 90%;
}
/* Hide the active thumbnail in the sync slider */
.arcado-thumb-slick .slick-slide.slick-current {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    width: 0 !important; margin: 0 !important;
    /* transition: opacity 0.3s ease, width 0.3s ease; */
}

/* Ensure the inner slide content also inherits the hidden state */
.arcado-thumb-slick .slick-slide.slick-current .arcado-thumb-slide {
    opacity: 0 !important;
}
arcado-thumb-slick .slick-slide.slick-current {
    width: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s ease;
}
/* 
   ---------------------------------
   TABLET RESPONSIVE (1024px)
   ---------------------------------
*/
@media (max-width: 1024px) {
    .arcado-sync-wrapper {
        flex-direction: column;
        padding: 30px;
        height: auto;
        gap: 20px;
    }
    
    .arcado-main-side {
        width: 100%;
        height: 450px;
    }
    
    .arcado-thumb-side {
        width: 100%;
        height: 350px;
    }
    
    .arcado-thumb-slide,
    .arcado-thumb-slide-wrapper {
        height: 350px;
        width: 180px;
    }

    .arc-overlay h3 { font-size: 26px; }
}

/* 
   ---------------------------------
   MOBILE RESPONSIVE (768px)
   ---------------------------------
*/
@media (max-width: 768px) {
    .arcado-sync-wrapper {
        padding: 15px;
        border-radius: 25px;
        margin: 10px;
        width: auto;
    }
    
    .arcado-main-side {
        height: 380px;
    }
    
    .arcado-thumb-side {
        height: 250px;
    }
    
    .arcado-thumb-slide,
    .arcado-thumb-slide-wrapper {
        height: 250px;
        width: 140px;
    }

    .arc-pill {
        top: 15px; left: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .arc-arrow {
        top: 15px; right: 15px;
        width: 35px; height: 35px;
    }

    .arc-overlay {
        padding: 40px 20px 20px 20px;
    }

    .arc-overlay h3 { font-size: 20px; }
    .arc-overlay p { display: none; } /* Hide excerpt on small mobile for space */
}