/* Advisory Filters - Modern Design */
.gpss-advisory-filters-modern {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.filters-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.filter-item {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-icon {
    font-size: 20px !important;
    line-height: 1 !important;
}

.advisory-filter-select {
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    min-width: 120px;
    transition: all 0.3s ease;
}

.advisory-filter-select:hover {
    background: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.advisory-filter-select:focus {
    outline: none;
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.advisory-filter-select option {
    background: white;
    color: #1e293b;
}

.btn-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.btn-filter-reset:hover {
    background: white;
    color: #4f46e5;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.3);
}

.reset-icon {
    font-size: 16px !important;
    transition: transform 0.3s !important;
}

.btn-filter-reset:hover .reset-icon {
    transform: rotate(180deg) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .filters-row {
        gap: 10px !important;
    }

    .filter-item {
        flex: 1 1 calc(50% - 10px) !important;
        min-width: 200px !important;
    }
}

@media (max-width: 768px) {
    .filters-row {
        flex-direction: column !important;
    }

    .filter-item {
        width: 100% !important;
    }

    .btn-filter-reset {
        width: 100% !important;
        margin-left: 0 !important;
        justify-content: center !important;
    }
}

/* Advisory Ticker */
.gpss-advisory-ticker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 10px;
    margin: 30px 0;
}

.ticker-label {
    background: rgba(0,0,0,0.2);
    padding: 10px 20px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 20px;
    border-radius: 5px;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    display: flex;
}

.ticker-items {
    display: flex;
    gap: 40px;
    animation: scroll-ticker 30s linear infinite;
}

.gpss-advisory-ticker.speed-slow .ticker-items {
    animation-duration: 50s;
}

.gpss-advisory-ticker.speed-fast .ticker-items {
    animation-duration: 20s;
}

.ticker-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.ticker-item a:hover {
    text-decoration: underline;
}

.ticker-date {
    opacity: 0.8;
    font-size: 13px;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gpss-advisory-ticker:hover .ticker-items {
    animation-play-state: paused;
}

/* Advisory Tabs */
.advisory-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 3px solid #e5e7eb;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e5e7eb;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    top: 3px;
}

.tab-btn:hover {
    background: #f9fafb;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.advisory-grid-tabs {
    display: grid;
    gap: 25px;
}

.advisory-grid-tabs.cols-2 { grid-template-columns: repeat(2, 1fr); }
.advisory-grid-tabs.cols-3 { grid-template-columns: repeat(3, 1fr); }
.advisory-grid-tabs.cols-4 { grid-template-columns: repeat(4, 1fr); }

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

    .advisory-tabs {
        flex-wrap: wrap;
    }
}

.advisory-card-tabs {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 5px solid #667eea;
}

.advisory-card-tabs:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.advisory-card-tabs .card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 15px 0 10px;
    line-height: 1.4;
}

.advisory-card-tabs .card-title a {
    color: #1e293b;
    text-decoration: none;
}

.advisory-card-tabs .card-title a:hover {
    color: #667eea;
}

.advisory-card-tabs .card-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #64748b;
}

.btn-read {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-read:hover {
    transform: scale(1.05);
}

/* Advisory Grid & Cards */
.gpss-advisory-grid,
.gpss-guides-grid {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.gpss-advisory-grid.cols-2,
.gpss-guides-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.gpss-advisory-grid.cols-3,
.gpss-guides-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.gpss-advisory-grid.cols-4,
.gpss-guides-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1200px) {
    .gpss-advisory-grid.cols-4,
    .gpss-guides-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .gpss-advisory-grid,
    .gpss-guides-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 576px) {
    .gpss-advisory-grid,
    .gpss-guides-grid { grid-template-columns: 1fr !important; }
}

/* Guide Cards */
.guide-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

/* Card Image */
.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.guide-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-placeholder {
    font-size: 80px;
    opacity: 0.9;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.guide-card:hover .card-overlay {
    opacity: 1;
}

.overlay-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 24px;
    background: #667eea;
    border-radius: 8px;
    transition: all 0.3s;
}

.overlay-link:hover {
    background: #764ba2;
    transform: scale(1.05);
}

/* Card Content */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.guide-card .card-title a {
    color: #1f2937;
    text-decoration: none;
    flex: 1;
    transition: color 0.3s;
}

.guide-card .card-title a:hover {
    color: #3b82f6;
}

.guide-card .title-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.card-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

/* Card Meta */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.meta-left {
    display: flex;
    gap: 8px;
    align-items: center;
}

.meta-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-critical { background: #fee2e2; color: #991b1b; }
.badge-high { background: #fed7aa; color: #9a3412; }
.badge-medium { background: #fef3c7; color: #92400e; }
.badge-low { background: #d1fae5; color: #065f46; }

.meta-region {
    font-size: 18px;
}

.meta-date {
    color: #64748b;
    font-size: 13px;
}

/* Severity Badges */
.severity-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.severity-critical { background: #fee2e2; color: #991b1b; }
.severity-high { background: #fed7aa; color: #9a3412; }
.severity-medium { background: #fef3c7; color: #92400e; }
.severity-low { background: #d1fae5; color: #065f46; }

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.no-results p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

/* Pagination */
.gpss-pagination {
    margin-top: 40px;
    text-align: center;
}

.gpss-pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.gpss-pagination li {
    margin: 0;
}

.gpss-pagination a,
.gpss-pagination span {
    display: block;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
}

.gpss-pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.gpss-pagination .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    font-weight: 700;
}
