/*
Theme Name: AMP USTICA CUSTUM THEME
Author: MAB
Description: Custom theme for AMP Ustica.
Version: 1.0
*/

/* -----------------------------------
   1. PREMIUM FIXED HEADER BASE
----------------------------------- */
.premium-site-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; 
    background: rgba(250, 251, 252, 0.85); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    z-index: 999999; 
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    max-height: 45px; 
    width: auto;
    object-fit: contain;
}

/* -----------------------------------
   2. DESKTOP NAVIGATION
----------------------------------- */
.header-nav {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-nav li {
    position: relative;
}

.header-nav > ul > li > a {
    text-decoration: none;
    color: #111111; 
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
    padding: 28px 0; 
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-nav > ul > li > a:hover,
.header-nav li.current > a {
    color: #EF5922; 
}

.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* -----------------------------------
   3. DESKTOP MINI-MEGA MENU
----------------------------------- */
@media (min-width: 1025px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(20px); 
        background: rgba(255, 255, 255, 0.98) !important; 
        backdrop-filter: blur(35px) !important;
        -webkit-backdrop-filter: blur(35px) !important;
        min-width: 480px; 
        border-radius: 20px; 
        box-shadow: 0 35px 70px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important; 
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 14px;
    }

    .has-dropdown::before {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 20px;
    }

    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .menu-card-link {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 16px 14px 20px;
        text-decoration: none;
        border-radius: 12px;
        background: transparent;
        transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
    }

    .menu-card-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        width: 3px;
        height: 50%;
        background: #EF5922;
        border-radius: 4px;
        transition: transform 0.25s ease, height 0.25s ease;
    }

    .menu-card-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: #111111;
        transition: color 0.2s ease;
    }

    .menu-card-desc {
        font-size: 0.76rem;
        color: #666666;
        line-height: 1.3;
        transition: color 0.2s ease;
    }

    .menu-card-link:hover {
        background: rgba(255, 255, 255, 0.65) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02) !important;
        transform: translateY(-2px) !important;
        padding-left: 24px !important;
    }

    .menu-card-link:hover::before {
        transform: translateY(-50%) scaleY(1);
        height: 60%;
    }

    .menu-card-link:hover .menu-card-title {
        color: #EF5922;
    }

    .menu-card-link:hover .menu-card-desc {
        color: #333333;
    }
}

.mobile-nav-header {
    display: none;
}

/* -----------------------------------
   4. GTRANSLATE INTEGRATION AREA
----------------------------------- */
.header-translate-wrapper {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.header-translate-wrapper .gtranslate_wrapper,
.header-translate-wrapper #gt_float_wrapper,
.header-translate-wrapper .gt_float_switcher {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.header-translate-wrapper .gt-selected {
    background: transparent !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 30px !important;
    padding: 6px 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}

.header-translate-wrapper .gt-selected:hover {
    border-color: #EF5922 !important;
    background: rgba(217, 33, 40, 0.03) !important;
}

.header-translate-wrapper .gt-current-lang {
    font-family: 'Inter', 'Helvetica Neue', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.header-translate-wrapper .gt-current-lang img {
    border-radius: 2px !important;
}

.header-translate-wrapper .gt_options {
    border-radius: 16px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    top: calc(100% + 10px) !important;
    bottom: auto !important;
}

.header-translate-wrapper .gt_options a {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    color: #555555 !important;
    transition: background 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-translate-wrapper .gt_options a:hover {
    background: rgba(217, 33, 40, 0.03) !important;
    color: #EF5922 !important;
}

/* -----------------------------------
   5. MOBILE SYSTEM
----------------------------------- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 16px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    z-index: 1000000;
    box-shadow: none !important;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: #111111;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .header-nav ul { gap: 10px; }
    .header-nav > ul > li > a { font-size: 0.75rem; padding: 28px 0; letter-spacing: 0.5px; }
}

@media (max-width: 1024px) {
    .mobile-menu-btn { display: flex; }
    
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background: #ffffff;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
        padding: 100px 40px 60px 40px;
        box-sizing: border-box;
        gap: 30px;
    }

    .header-nav.nav-open { right: 0; }

    .mobile-nav-header {
        display: block;
        position: absolute;
        top: 18px;
        left: 5%;
        height: 45px;
    }
    
    .mobile-nav-header img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    .header-nav > ul > li {
        width: 100%;
    }

    .header-nav > ul > li > a {
        font-size: 1.15rem;
        font-weight: 700;
        justify-content: center;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .dropdown-menu {
        display: none !important; 
        background: #f4f5f7;
        border-radius: 16px;
        padding: 8px;
        margin: 10px 0;
        box-shadow: none;
        border: none;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        gap: 4px;
    }

    .has-dropdown.mobile-open .dropdown-menu {
        display: flex !important;
    }

    .menu-card-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
    }

    .menu-card-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: #333333;
        text-align: center;
    }

    .menu-card-desc {
        display: none !important; 
    }

    .header-translate-wrapper {
        margin-top: 10px;
        margin-left: 0;
    }

    .mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #111; }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #111; }
}

/* -----------------------------------
   6. FULL-WIDTH MODERN FOOTER CORE
----------------------------------- */
.modern-site-footer {
    background-color: #fafbfc;
    color: #111111;
    font-family: 'Inter', -apple-system, sans-serif;
    padding: 100px 8% 50px 8%; 
    font-size: 14px;
    border-top: 1px solid #eaeaea;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid-layout {
    max-width: 100%; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2.5fr;
    gap: 80px;
    align-items: flex-start;
}

/* -----------------------------------
   7. RED ACCENT NEWSLETTER BLOCK
----------------------------------- */
.footer-brand-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #111111;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.footer-brand-section p {
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 340px;
}

.minimal-news-form {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 340px;
    border-bottom: 1px solid #111111;
    padding-bottom: 8px;
    transition: border-color 0.3s ease;
}

.minimal-news-form:focus-within {
    border-color: #EF5922; 
}

.minimal-news-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 14px;
    color: #111111;
    font-family: inherit;
}

.minimal-news-form input[type="email"]:focus {
    outline: none;
}

.minimal-news-form input[type="email"]::placeholder {
    color: #aaa;
}

.minimal-submit-arrow {
    background: transparent;
    border: none;
    padding: 0 5px;
    cursor: pointer;
    color: #111111;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.2s ease;
}

.minimal-submit-arrow svg {
    width: 18px;
    height: 18px;
}

.minimal-news-form:focus-within .minimal-submit-arrow {
    color: #EF5922; 
    transform: translateX(4px);
}

/* -----------------------------------
   8. NAVIGATION & NATIVE LOGOS RIBBON
----------------------------------- */
.footer-navigation-section {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 60px;
}

.footer-column-headline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999999;
    margin-bottom: 25px;
    display: block;
}

.footer-menu-tree {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-menu-tree a {
    color: #111111;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer-menu-tree a:hover {
    color: #EF5922; 
    padding-left: 4px;
}

/* 4-Column Balanced Logo Architecture grid */
.modern-logos-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 24px;
}

.logo-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logo-frame {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-frame img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: none !important; 
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.logo-item-wrapper:hover .logo-frame img {
    transform: translateY(-2px);
}

.logo-item-wrapper span {
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
}

.logo-item-wrapper a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo-item-wrapper a:hover {
    color: #EF5922; 
}

/* -----------------------------------
   9. STRUCTURAL BOTTOM METADATA BAR
----------------------------------- */
.footer-meta-credits-bar {
    max-width: 100%;
    margin: 80px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-size: 12px;
    color: #888888;
}

.credits-left strong {
    color: #111111;
    font-weight: 600;
}

/* -----------------------------------
   10. RESPONSIVE DESIGN BREAKPOINTS
----------------------------------- */
@media (max-width: 1200px) {
    .footer-grid-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .modern-logos-ribbon {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 960px) {
    .modern-site-footer {
        padding: 80px 5% 40px 5%;
    }
    .footer-navigation-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 520px) {
    .modern-logos-ribbon {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-meta-credits-bar {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }
}

/* -----------------------------------
   11. AGID PAGE COMPONENTS
----------------------------------- */
.agid-main-content {
    padding-top: 100px;
    padding-bottom: 60px;
}

.agid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.agid-breadcrumb {
    margin-bottom: 24px;
}

.agid-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.agid-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.agid-breadcrumb li a {
    color: #EF5922;
    text-decoration: underline;
    font-weight: 500;
}

.agid-breadcrumb li a:hover {
    color: #cc4411;
}

.agid-breadcrumb li + li::before {
    content: "/";
    padding: 0 8px;
    color: #999;
}

.agid-page-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
}

.agid-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px 0;
}

.agid-page-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    max-width: 800px;
}

/* -----------------------------------
   12. AGID DOCUMENT CARDS
----------------------------------- */
.agid-documents-wrapper {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.archive-hero-banner {
    text-align: center;
    margin-bottom: 40px;
}

.archive-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #111;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.archive-hero-desc {
    font-size: 1.15rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.agid-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.agid-documents-grid:hover .agid-document-card::before {
    opacity: 1;
}

.agid-document-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.agid-document-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), 
        rgba(239, 89, 34, 0.8),
        transparent 40%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.agid-document-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
}

.doc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.doc-badge {
    background: rgba(239, 89, 34, 0.1);
    color: #EF5922;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.doc-badge svg {
    width: 14px;
    height: 14px;
}

.doc-date {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.doc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    margin: 0 0 30px 0;
    font-family: 'Inter', sans-serif;
}

.doc-card-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    margin-top: auto;
}

.doc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #EF5922;
    border: 1px solid #EF5922;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-action-btn:hover {
    background: #EF5922;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 89, 34, 0.2);
}

.doc-action-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.doc-action-btn:hover svg {
    transform: translateX(4px);
}

.doc-action-btn.disabled {
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}
.doc-action-btn.disabled:hover {
    background: transparent;
    color: #999;
    box-shadow: none;
    transform: none;
}

.agid-no-docs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: #666;
    font-size: 16px;
    border: 1px dashed rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .archive-hero-title { font-size: 2.2rem; }
    .archive-hero-desc { font-size: 1rem; }
    .agid-documents-grid { grid-template-columns: 1fr; }
}

body {
    background: #fafbfc;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(239, 89, 34, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 90%, rgba(0, 168, 204, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    background-size: cover;
}

.archive-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

.filter-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-group.search-group {
    flex: 2;
}

.archive-filter-input, .archive-filter-select {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    cursor: pointer;
}

.archive-filter-input {
    padding-left: 48px;
    cursor: text;
}

.archive-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #888;
    z-index: 2;
}

.select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #888;
    pointer-events: none;
}

.archive-filter-input:focus, .archive-filter-select:focus {
    background: #fff;
    border-color: #EF5922;
    box-shadow: 0 0 0 4px rgba(239, 89, 34, 0.1);
}

.archive-search-loading {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(239, 89, 34, 0.2);
    border-top-color: #EF5922;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: translateY(-50%) rotate(360deg); } }

/* Date Group specific styles */
.filter-group.date-group {
    position: relative;
}

.clear-date-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.06);
    color: #666;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    z-index: 3;
    transition: all 0.2s ease;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.clear-date-btn:hover {
    background: rgba(239, 89, 34, 0.15);
    color: #EF5922;
}

/* Flatpickr Styling Overrides to match orange brand theme */
.flatpickr-calendar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    font-family: 'Inter', sans-serif !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.prevMonthDay.selected, 
.flatpickr-day.nextMonthDay.selected, 
.flatpickr-day.prevMonthDay.startRange, 
.flatpickr-day.nextMonthDay.startRange, 
.flatpickr-day.prevMonthDay.endRange, 
.flatpickr-day.nextMonthDay.endRange {
    background: #EF5922 !important;
    border-color: #EF5922 !important;
    color: #fff !important;
}

.flatpickr-day.inRange {
    background: rgba(239, 89, 34, 0.08) !important;
    box-shadow: -5px 0 0 rgba(239, 89, 34, 0.08), 5px 0 0 rgba(239, 89, 34, 0.08) !important;
    border-color: transparent !important;
}

.flatpickr-day:hover {
    background: rgba(239, 89, 34, 0.15) !important;
    border-color: transparent !important;
}

.flatpickr-months .flatpickr-month {
    color: #111 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: #EF5922 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: #EF5922 !important;
}

.flatpickr-day.today {
    border-color: rgba(239, 89, 34, 0.4) !important;
}
.flatpickr-day.today:hover {
    background: rgba(239, 89, 34, 0.15) !important;
    color: #111 !important;
}

/* -----------------------------------
   6. PREMIUM CARD STATUS BADGES
   ----------------------------------- */
.doc-status-badge {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 1 !important;
}

.doc-status-badge.status-new {
    background: rgba(239, 89, 34, 0.1) !important;
    color: #EF5922 !important;
    border: 1px solid rgba(239, 89, 34, 0.2) !important;
}

.doc-status-badge.status-new::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #EF5922;
    border-radius: 50%;
    box-shadow: 0 0 6px #EF5922;
    animation: statusPulse 1.8s infinite ease-in-out;
}

.doc-status-badge.status-archived {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #777 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.doc-status-badge.status-archived::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #777;
    border-radius: 50%;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 10px rgba(239, 89, 34, 0.7); }
    100% { transform: scale(0.95); opacity: 0.6; }
}

/* Align document card header for multiple badges */
.doc-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
}

/* -----------------------------------
   7. PRESS CONTACT CARD IN HERO BANNER
   ----------------------------------- */
.press-contact-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    margin-top: 15px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    flex-wrap: wrap !important;
}

.press-label {
    color: #666 !important;
    font-weight: 500 !important;
}

.press-name {
    color: #111 !important;
    font-weight: 600 !important;
}

.press-email {
    color: #EF5922 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.press-email:hover {
    color: #cc4411 !important;
}

/* -----------------------------------
   8. MODERN IFRAME MODAL POPUP
   ----------------------------------- */
body.modal-open {
    overflow: hidden !important;
}

.amp-iframe-modal-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.amp-iframe-modal-wrapper.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.amp-iframe-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.amp-iframe-modal-container {
    position: relative !important;
    width: 92% !important;
    max-width: 1366px !important;
    height: 80vh !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transform: translateY(40px) !important;
    opacity: 0 !important;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease !important;
}

.amp-iframe-modal-wrapper.active .amp-iframe-modal-container {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.amp-iframe-modal-header {
    padding: 18px 24px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.amp-iframe-modal-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #111 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.amp-iframe-modal-close {
    background: transparent !important;
    border: none !important;
    font-size: 28px !important;
    color: #666 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.amp-iframe-modal-close:hover {
    color: #EF5922 !important;
}

.amp-iframe-modal-body {
    flex: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    background: #fff !important;
}

.amp-iframe-modal-body iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

.amp-iframe-loader {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #fff !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.amp-spinner {
    width: 40px !important;
    height: 40px !important;
    border: 3px solid rgba(239, 89, 34, 0.1) !important;
    border-top-color: #EF5922 !important;
    border-radius: 50% !important;
    animation: modalSpin 1s linear infinite !important;
}

@keyframes modalSpin {
    to { transform: rotate(360deg); }
}

/* -----------------------------------
   9. SERVIZI TURISTICI DIRECTORY
   ----------------------------------- */
.services-archive-wrapper,
.services-single-wrapper {
    position: relative !important;
    min-height: 100vh !important;
    padding: 130px 20px 60px 20px !important;
    overflow: hidden !important;
    background: #fdfdfd !important;
    font-family: 'Inter', sans-serif !important;
}

.services-container,
.services-single-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Hero Section */
.services-hero {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.services-logo-container {
    margin-bottom: 24px !important;
}

.services-logo-container img {
    height: 70px !important;
    width: auto !important;
    object-fit: contain !important;
}

.services-hero h1 {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px !important;
}

.services-hero p {
    font-size: 1.1rem !important;
    color: #666 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* Filter Panel */
.services-filter-panel {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.services-filter-top-row {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
    width: 100% !important;
}

.services-export-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #EF5922 !important;
    color: #fff !important;
    border: 1px solid #EF5922 !important;
    border-radius: 16px !important;
    padding: 16px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(239, 89, 34, 0.15) !important;
    height: 54px !important; /* Align perfectly with input height */
    box-sizing: border-box !important;
}

.services-export-btn:hover {
    background: #d44a19 !important;
    border-color: #d44a19 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 89, 34, 0.3) !important;
}

.services-export-btn:active {
    transform: translateY(0) !important;
}

.services-export-btn .pdf-icon {
    width: 20px !important;
    height: 20px !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .services-filter-top-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .services-export-btn {
        width: 100% !important;
    }
}

.services-search-wrapper {
    position: relative !important;
    width: 100% !important;
}

.services-search-wrapper .search-icon {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    color: #999 !important;
}

#services-search-input {
    width: 100% !important;
    padding: 16px 20px 16px 52px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-size: 0.95rem !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

#services-search-input:focus {
    border-color: #EF5922 !important;
    box-shadow: 0 0 0 4px rgba(239, 89, 34, 0.1) !important;
    outline: none !important;
}

/* Category Pills */
.services-category-pills {
    display: flex !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE and Edge */
}

.services-category-pills::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
}

.category-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #555 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.category-pill:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #111 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.category-pill.active {
    background: #EF5922 !important;
    color: #fff !important;
    border-color: #EF5922 !important;
    box-shadow: 0 4px 15px rgba(239, 89, 34, 0.25) !important;
}

/* Grid Layout */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
    gap: 24px !important;
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.service-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05) !important;
}

.service-card.is-hidden {
    display: none !important;
}

.service-card-body {
    position: relative !important;
    z-index: 2 !important;
}

.service-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
}

.service-cat-badge {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #555 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.service-card-thumb img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.service-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.4 !important;
}

.service-info-rows {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.info-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    line-height: 1.5 !important;
}

.info-icon {
    width: 16px !important;
    height: 16px !important;
    color: #EF5922 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

/* Contacts quick buttons */
.service-quick-contacts {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
}

.contact-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #666 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.contact-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.contact-icon-btn:hover {
    background: #EF5922 !important;
    color: #fff !important;
    border-color: #EF5922 !important;
    transform: scale(1.05) !important;
}

.service-card-footer {
    position: relative !important;
    z-index: 2 !important;
    margin-top: auto !important;
}

.service-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    border: 1.5px solid #EF5922 !important;
    background: transparent !important;
    color: #EF5922 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.service-action-btn svg {
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease !important;
}

.service-action-btn:hover {
    background: #EF5922 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(239, 89, 34, 0.2) !important;
}

.service-action-btn:hover svg {
    transform: translateX(4px) !important;
}


/* -----------------------------------
   11. SERVICE DETAILS POPUP LIGHTBOX
   ----------------------------------- */
.service-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.service-modal-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.service-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 1 !important;
}

.service-modal-container {
    position: relative !important;
    width: 90% !important;
    max-width: 600px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 28px !important;
    padding: 36px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    z-index: 2 !important;
    transform: scale(0.9) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-sizing: border-box !important;
}

.service-modal-overlay.open .service-modal-container {
    transform: scale(1) !important;
}

.service-modal-close {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: #444 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    z-index: 10 !important;
}

.service-modal-close:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    transform: rotate(90deg) !important;
}

.service-modal-close svg {
    width: 16px !important;
    height: 16px !important;
}

.service-modal-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
}

/* Header */
.modal-business-header {
    margin-right: 40px !important;
}

.modal-cat-badge {
    background: rgba(239, 89, 34, 0.1) !important;
    color: #EF5922 !important;
    border: 1px solid rgba(239, 89, 34, 0.2) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}

.modal-business-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
}

/* Body and Listings */
.modal-business-body {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-top: 24px !important;
}

.modal-section-subtitle {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 16px 0 !important;
}

.modal-info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.modal-info-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.modal-info-item .item-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.03) !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.modal-info-item .item-icon svg {
    width: 16px !important;
    height: 16px !important;
}

.modal-info-item .item-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.modal-info-item .lbl {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #888 !important;
}

.modal-info-item .val {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #222 !important;
    line-height: 1.4 !important;
}

.modal-info-item .val a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.modal-info-item .val a:hover {
    color: #EF5922 !important;
}

/* Actions footer */
.modal-business-actions {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-top: 24px !important;
}

.modal-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 18px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.modal-cta-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.modal-cta-btn.btn-call {
    background: #EF5922 !important;
    color: #fff !important;
    border: 1.5px solid #EF5922 !important;
}

.modal-cta-btn.btn-call:hover {
    background: #d84815 !important;
    border-color: #d84815 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(239, 89, 34, 0.2) !important;
}

.modal-cta-btn.btn-email {
    background: #111 !important;
    color: #fff !important;
    border: 1.5px solid #111 !important;
}

.modal-cta-btn.btn-email:hover {
    background: #222 !important;
    border-color: #222 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.modal-cta-btn.btn-website {
    background: transparent !important;
    color: #EF5922 !important;
    border: 1.5px solid #EF5922 !important;
}

.modal-cta-btn.btn-website:hover {
    background: rgba(239, 89, 34, 0.05) !important;
    transform: translateY(-2px) !important;
}

.modal-cta-btn.btn-directions {
    background: #4caf50 !important;
    color: #fff !important;
    border: 1.5px solid #4caf50 !important;
}

.modal-cta-btn.btn-directions:hover {
    background: #43a047 !important;
    border-color: #43a047 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2) !important;
}

@media (max-width: 576px) {
    .services-modal-container {
        padding: 24px !important;
    }
    .modal-business-title {
        font-size: 1.5rem !important;
    }
    .modal-business-actions {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================
   10. NEWS ARCHIVE & SINGLE POST DESIGNS
   =================================== */
.news-archive-wrapper,
.news-single-wrapper {
    position: relative !important;
    min-height: 100vh !important;
    padding: 140px 20px 80px 20px !important; /* Top padding to offset fixed header */
    overflow: hidden !important;
    background: #fcfdfe !important;
    font-family: 'Inter', sans-serif !important;
}

.news-container,
.news-single-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Radial background gradient soft orbs */
.news-archive-wrapper::before,
.news-single-wrapper::before {
    content: "" !important;
    position: absolute !important;
    top: -10% !important;
    left: -10% !important;
    width: 50vw !important;
    height: 50vw !important;
    background: radial-gradient(circle, rgba(239, 89, 34, 0.04) 0%, rgba(255,255,255,0) 70%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.news-archive-wrapper::after,
.news-single-wrapper::after {
    content: "" !important;
    position: absolute !important;
    bottom: -10% !important;
    right: -10% !important;
    width: 60vw !important;
    height: 60vw !important;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.03) 0%, rgba(255,255,255,0) 70%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Hero Header */
.news-hero {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.news-logo-container {
    margin-bottom: 20px !important;
}

.news-logo-container img {
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

.news-hero h1 {
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.5px !important;
}

.news-hero p {
    font-size: 1.05rem !important;
    color: #555 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* Grid Layout */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
}

/* Glassmorphic Article Cards */
.news-card {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.news-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(239, 89, 34, 0.08) !important;
    border-color: rgba(239, 89, 34, 0.18) !important;
}

/* Thumbnail Layout */
.news-card-thumb {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}

.news-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.04) !important;
}

/* Card Body */
.news-card-body {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.news-card-meta {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.85rem !important;
    color: #ef5922 !important;
    font-weight: 600;
}

.news-card-meta svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
}

.news-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 12px 0 !important;
}

.news-card-title a {
    color: #111 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.news-card-title a:hover {
    color: #EF5922 !important;
}

.news-card-excerpt {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    flex-grow: 1 !important;
}

.news-card-footer {
    margin-top: auto !important;
}

/* Read More Button */
.news-readmore-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #EF5922 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.news-readmore-btn svg {
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.2s ease !important;
}

.news-readmore-btn:hover {
    color: #d44a19 !important;
}

.news-readmore-btn:hover svg {
    transform: translateX(4px) !important;
}

/* Custom Pagination styling */
.news-pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 40px !important;
}

.news-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 6px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #EF5922 !important;
    color: #fff !important;
    border-color: #EF5922 !important;
    box-shadow: 0 4px 12px rgba(239, 89, 34, 0.25) !important;
}

.news-pagination .page-numbers svg {
    width: 14px !important;
    height: 14px !important;
}

/* -----------------------------------
   11. SINGLE POST VIEW DESIGN
   ----------------------------------- */
.news-single-container {
    max-width: 1100px !important;
}

.news-single-back {
    margin-bottom: 24px !important;
}

.back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #555 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.back-link svg {
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.2s ease !important;
}

.back-link:hover {
    color: #EF5922 !important;
}

.back-link:hover svg {
    transform: translateX(-4px) !important;
}

.news-single-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03) !important;
    padding: 50px !important;
    overflow: hidden !important;
}

.news-single-header {
    margin-bottom: 30px !important;
}

.news-single-header h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #111 !important;
    margin: 12px 0 0 0 !important;
    letter-spacing: -0.5px !important;
    font-family: 'Inter', sans-serif !important;
}

.news-single-meta {
    display: flex !important;
    align-items: center !important;
    font-size: 0.9rem !important;
    color: #EF5922 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px !important;
}

.news-single-meta svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 6px !important;
}

.news-single-thumb {
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 40px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04) !important;
}

.news-single-thumb img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Post Content Typography */
.news-single-body {
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    color: #2c3338 !important;
}

.news-single-body p {
    margin-bottom: 24px !important;
}

.news-single-body strong {
    color: #111 !important;
}

.news-single-body a {
    color: #EF5922 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.15s ease !important;
}

.news-single-body a:hover {
    color: #d44a19 !important;
}

/* Responsive News details rules */
@media (max-width: 768px) {
    .news-archive-wrapper,
    .news-single-wrapper {
        padding-top: 110px !important;
    }
    .news-hero h1 {
        font-size: 2.1rem !important;
    }
    .news-single-header h1 {
        font-size: 1.85rem !important;
    }
    .news-single-card {
        padding: 30px 20px !important;
        border-radius: 16px !important;
    }
}

/* ===================================
   12. INTERACTIVE CRAB BG ANIMATION
   =================================== */
#amp-crabs-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: -10 !important; /* Move to the absolute background */
    opacity: 0.22 !important; /* Elegant, clear visibility blending */
}

