/* ========================================
 PRESS/RASSEGNA STAMPA PAGE STYLES - HICMAN CAPITAL
 Stili completi per la pagina rassegna stampa
======================================== */

/* ========================================
 HERO SECTION PRESS
======================================== */

.press-hero-section {
 min-height: 40vh;
 background: linear-gradient(135deg, #282942 0%, #3a3b5c 50%, #4a4d7c 100%);
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 padding-top: 80px;
 overflow: hidden;
}

.hero-content-press {
 position: relative;
 z-index: 2;
 color: #ffffff;
 padding: 2rem;
 text-align: center;
 width: 100%;
}

.press-hero-title {
 font-size: clamp(2.5rem, 5vw, 4rem);
 font-weight: 300;
 margin-bottom: 1.5rem;
 letter-spacing: -0.03em;
 line-height: 1.2;
 animation: fadeInUp 0.8s ease-out;
 color: #ffffff;
}

.press-hero-subtitle {
 font-size: clamp(1.1rem, 2vw, 1.3rem);
 font-weight: 300;
 margin-bottom: 3rem;
 line-height: 1.6;
 opacity: 0.95;
 animation: fadeInUp 0.8s ease-out 0.2s both;
 color: rgba(255, 255, 255, 0.9);
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

/* Hero overlay */
.hero-overlay-finance {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(180deg, transparent 0%, rgba(40, 41, 66, 0.2) 100%);
 z-index: 1;
}

/* Animazione fade in up */
@keyframes fadeInUp {
 from {
 opacity: 0;
 transform: translateY(30px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
}

/* ========================================
 PRESS POSTS SECTION
======================================== */

.press-posts-section {
 background: linear-gradient(180deg, #ffffff 0%, #f5f6fb 100%);
 padding: 100px 0;
 position: relative;
}

/* ========================================
 EMPTY STATE - No Articles
======================================== */

.empty-state {
 background: #ffffff;
 padding: 3rem 2rem;
 border-radius: 16px;
 border: 1px solid #d0d4e4;
 box-shadow: 0 2px 8px rgba(40, 41, 66, 0.06);
 text-align: center;
}

.empty-icon {
 width: 100px;
 height: 100px;
 background: linear-gradient(135deg, #d5daf5, #e8eaf6);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 1.5rem;
 font-size: 3rem;
 color: #282942;
}

.empty-title {
 font-size: 1.5rem;
 font-weight: 600;
 color: #282942;
 margin-bottom: 0.75rem;
}

.empty-text {
 font-size: 1rem;
 color: #2e2e2e;
 margin: 0;
}

/* ========================================
 PRESS CARDS - Article Cards
======================================== */

.press-card {
 background: #ffffff;
 border-radius: 16px;
 overflow: hidden;
 box-shadow: 0 2px 8px rgba(40, 41, 66, 0.08);
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 display: flex;
 flex-direction: column;
 border: 1px solid #d0d4e4;
 height: 100%;
}

.press-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 16px 48px rgba(40, 41, 66, 0.16);
 border-color: #282942;
}

/* -------- Image Section -------- */

.press-card-image {
 position: relative;
 height: 220px;
 background: linear-gradient(135deg, #d5daf5, #e8eaf6);
 overflow: hidden;
}

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

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

.press-card-overlay {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(40, 41, 66, 0.2);
 transition: background 0.3s ease;
}

.press-card:hover .press-card-overlay {
 background: rgba(40, 41, 66, 0.4);
}

/* No Image Placeholder */
.press-card-no-image {
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(135deg, #d5daf5, #e8eaf6);
}

.press-card-no-image i {
 font-size: 3.5rem;
 color: #282942;
}

/* -------- Card Body -------- */

.press-card-body {
 padding: 2rem;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}

/* Meta Information */
.press-card-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 1rem;
 margin-bottom: 1rem;
 font-size: 0.85rem;
}

.press-source,
.press-date {
 display: flex;
 align-items: center;
 color: #282942;
 font-weight: 500;
}

.press-source i,
.press-date i {
 color: #4a4d7c;
 margin-right: 0.5rem;
}

/* Title */
.press-card-title {
 font-size: 1.25rem;
 font-weight: 600;
 color: #282942;
 margin-bottom: 1rem;
 line-height: 1.4;
 flex-grow: 1;
}

.press-card-title a {
 color: inherit;
 text-decoration: none;
 transition: color 0.3s ease;
}

.press-card-title a:hover {
 color: #4a4d7c;
}

/* Excerpt */
.press-card-excerpt {
 font-size: 0.95rem;
 color: #2e2e2e;
 line-height: 1.6;
 margin-bottom: 1rem;
 flex-grow: 1;
}

/* -------- Card Footer -------- */

.press-card-footer {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding-top: 1rem;
 border-top: 1px solid #f0f0f0;
 margin-top: auto;
}

.press-read-more {
 display: inline-flex;
 align-items: center;
 color: #282942;
 text-decoration: none;
 font-weight: 600;
 transition: all 0.3s ease;
 font-size: 0.95rem;
}

.press-read-more:hover {
 color: #4a4d7c;
 gap: 0.5rem;
}

.press-read-more i {
 margin-left: 0.5rem;
 transition: transform 0.3s ease;
}

.press-read-more:hover i {
 transform: translateX(4px);
}

.press-external-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 background: #f5f6fb;
 border-radius: 8px;
 color: #282942;
 text-decoration: none;
 transition: all 0.3s ease;
 font-size: 1rem;
 border: 1px solid #d0d4e4;
}

.press-external-link:hover {
 background: #282942;
 color: #ffffff;
 transform: translateY(-2px);
 border-color: #282942;
}

/* ============================================
 PAGINATION
 ============================================ */

.pagination {
 margin-top: 3rem;
}

.page-item .page-link {
 color: #282942;
 border-color: #d0d4e4;
 border-radius: 6px;
 margin: 0 0.25rem;
 padding: 0.5rem 0.75rem;
 font-weight: 500;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 font-size: 0.95rem;
}

.page-item .page-link:hover {
 background: #282942;
 color: #ffffff;
 border-color: #282942;
 transform: translateY(-2px);
}

.page-item.active .page-link {
 background: linear-gradient(135deg, #282942, #4a4d7c);
 border-color: #282942;
 color: #ffffff;
}

.page-item.disabled .page-link {
 color: #cccccc;
 cursor: not-allowed;
 opacity: 0.5;
}

/* ============================================
 TESTIMONIALS CTA SECTION
 ============================================ */

.press-testimonials-cta {
 background: linear-gradient(180deg, #f5f6fb 0%, #ffffff 100%);
 padding: 100px 0;
 position: relative;
}

.cta-testimonials-title {
 font-size: clamp(2rem, 4vw, 2.8rem);
 font-weight: 400;
 color: #282942;
 display: flex;
 align-items: center;
 margin-bottom: 1rem;
 gap: 1rem;
}

.cta-testimonials-title i {
 font-size: 2.5rem;
 color: #282942;
}

.cta-testimonials-text {
 font-size: 1.1rem;
 color: #2e2e2e;
 line-height: 1.8;
 font-weight: 300;
}

/* Button Styling */
.btn-finance-primary {
 background-color: #ffffff;
 color: #282942 !important;
 border: 2px solid #282942;
 padding: 16px 40px;
 font-size: 1rem;
 font-weight: 500;
 border-radius: 50px;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 text-decoration: none;
 display: inline-block;
 box-shadow: 0 4px 14px rgba(40, 41, 66, 0.1);
 position: relative;
 overflow: hidden;
 cursor: pointer;
}

.btn-finance-primary::before {
 content: '';
 position: absolute;
 top: 50%;
 left: 50%;
 width: 0;
 height: 0;
 border-radius: 50%;
 background: rgba(40, 41, 66, 0.1);
 transform: translate(-50%, -50%);
 transition: width 0.6s, height 0.6s;
 z-index: 0;
}

.btn-finance-primary:hover::before {
 width: 300px;
 height: 300px;
}

.btn-finance-primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 20px rgba(40, 41, 66, 0.15);
 background-color: #282942;
 color: #ffffff !important;
}

.btn-lg {
 padding: 18px 50px;
 font-size: 1.05rem;
}

/* ========================================
 RESPONSIVE DESIGN
======================================== */

@media (max-width: 1200px) {
 .press-posts-section,
 .press-testimonials-cta {
 padding: 80px 0;
 }
}

@media (max-width: 991px) {
 .press-hero-section {
 min-height: 40vh;
 padding-top: 60px;
 }

 .press-hero-title {
 font-size: 2.5rem;
 }

 .press-hero-subtitle {
 font-size: 1.1rem;
 }

 .press-posts-section,
 .press-testimonials-cta {
 padding: 60px 0;
 }

 .cta-testimonials-title {
 text-align: center;
 font-size: 2rem;
 flex-direction: column;
 }

 .cta-testimonials-title i {
 font-size: 2rem;
 }

 .cta-testimonials-text {
 text-align: center;
 }

 .btn-finance-primary {
 width: 100%;
 max-width: 300px;
 display: block;
 margin: 0 auto;
 }

 /* Related Posts — tablet */
 .related-posts-section {
 padding-top: 2.5rem;
 }

 .related-title {
 font-size: 1.5rem;
 }

 .related-posts-header .section-icon {
 width: 52px;
 height: 52px;
 font-size: 1.3rem;
 }
}

@media (max-width: 768px) {
 .press-hero-section {
 min-height: 40vh;
 padding-top: 50px;
 }

 .press-hero-title {
 font-size: 2rem;
 margin-bottom: 1rem;
 }

 .press-hero-subtitle {
 font-size: 1rem;
 margin-bottom: 2rem;
 }

 .press-posts-section,
 .press-testimonials-cta {
 padding: 50px 0;
 }

 .press-card-body {
 padding: 1.5rem;
 }

 .press-card-image {
 height: 180px;
 }

 .press-card-title {
 font-size: 1.1rem;
 }

 .press-card-excerpt {
 font-size: 0.9rem;
 }

 .press-card-footer {
 flex-direction: column;
 gap: 1rem;
 align-items: flex-start;
 }

 .press-read-more {
 width: 100%;
 justify-content: space-between;
 font-size: 0.9rem;
 }

 .press-external-link {
 width: 32px;
 height: 32px;
 font-size: 0.9rem;
 }

 .empty-state {
 padding: 2rem 1.5rem;
 }

 .empty-icon {
 width: 80px;
 height: 80px;
 font-size: 2.5rem;
 }

 .empty-title {
 font-size: 1.3rem;
 }

 .cta-testimonials-title {
 font-size: 1.75rem;
 }

 .cta-testimonials-text {
 font-size: 1rem;
 }

 .pagination {
 margin-top: 2rem;
 }

 .page-item .page-link {
 padding: 0.4rem 0.6rem;
 font-size: 0.85rem;
 }

 /* Related Posts — mobile */
 .related-posts-section {
 padding-top: 2rem;
 margin-top: 2.5rem !important;
 }

 .related-title {
 font-size: 1.35rem;
 }

 .related-subtitle {
 font-size: 0.9rem;
 }

 .related-posts-header .section-icon {
 width: 46px;
 height: 46px;
 font-size: 1.2rem;
 }

 .related-posts-header {
 margin-bottom: 2rem !important;
 }
}

@media (max-width: 480px) {
 .press-hero-title {
 font-size: 1.75rem;
 }

 .press-hero-subtitle {
 font-size: 0.9rem;
 }

 .press-posts-section,
 .press-testimonials-cta {
 padding: 50px 0 !important;
 }

 .press-card {
 border-radius: 12px;
 }

 .press-card-body {
 padding: 1.25rem;
 }

 .press-card-image {
 height: 160px;
 }

 .press-card-title {
 font-size: 1rem;
 margin-bottom: 0.75rem;
 }

 .press-card-excerpt {
 font-size: 0.85rem;
 margin-bottom: 0.75rem;
 }

 .press-card-meta {
 gap: 0.75rem;
 margin-bottom: 0.75rem;
 }

 .press-card-footer {
 padding-top: 0.75rem;
 gap: 0.5rem;
 }

 .press-read-more {
 font-size: 0.85rem;
 }

 .press-external-link {
 width: 30px;
 height: 30px;
 font-size: 0.8rem;
 }

 .empty-state {
 padding: 1.5rem 1rem;
 }

 .empty-icon {
 width: 70px;
 height: 70px;
 font-size: 2rem;
 margin-bottom: 1rem;
 }

 .empty-title {
 font-size: 1.1rem;
 margin-bottom: 0.5rem;
 }

 .empty-text {
 font-size: 0.9rem;
 }

 .cta-testimonials-title {
 font-size: 1.5rem;
 gap: 0.5rem;
 }

 .cta-testimonials-title i {
 font-size: 1.75rem;
 }

 .cta-testimonials-text {
 font-size: 0.95rem;
 }

 .btn-finance-primary,
 .btn-lg {
 padding: 12px 24px;
 font-size: 0.9rem;
 width: 100%;
 max-width: 280px;
 }

 .pagination {
 margin-top: 1.5rem;
 }

 .page-item .page-link {
 padding: 0.35rem 0.5rem;
 font-size: 0.8rem;
 margin: 0 0.15rem;
 }

 /* Related Posts — small mobile */
 .related-posts-section {
 padding-top: 1.75rem;
 }

 .related-title {
 font-size: 1.2rem;
 }

 .related-subtitle {
 font-size: 0.85rem;
 }

 .related-posts-header .section-icon {
 width: 40px;
 height: 40px;
 font-size: 1.1rem;
 margin-bottom: 0.75rem !important;
 }
}

/* ========================================
   RELATED POSTS SECTION (press-detail page)
======================================== */

.related-posts-section {
    padding-top: 3rem;
    border-top: 2px solid #d0d4e4;
}

.related-posts-header .section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d5daf5, #e8eaf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: #282942;
}

.related-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #282942;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.related-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
}

/* ========================================
 DARK MODE SUPPORT
======================================== */

@media (prefers-color-scheme: dark) {
 .press-posts-section,
 .press-testimonials-cta {
 background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
 }

 .press-card,
 .empty-state {
 background: #0f0f1e;
 border-color: rgba(255, 255, 255, 0.1);
 }

 .press-card-title a,
 .empty-title {
 color: #d5daf5;
 }

 .press-card-excerpt,
 .empty-text,
 .cta-testimonials-text {
 color: rgba(255, 255, 255, 0.9);
 }

 .cta-testimonials-title {
 color: #d5daf5;
 }

 .press-card-meta {
 color: rgba(255, 255, 255, 0.8);
 }

 .press-card-footer {
 border-top-color: rgba(255, 255, 255, 0.1);
 }

 .press-read-more {
 color: #d5daf5;
 }

 .press-read-more:hover {
 color: #ffffff;
 }

 .press-external-link {
 background: rgba(255, 255, 255, 0.1);
 color: #d5daf5;
 border-color: rgba(255, 255, 255, 0.1);
 }

 .press-external-link:hover {
 background: #282942;
 color: #ffffff;
 border-color: #282942;
 }

 .page-item .page-link {
 color: #d5daf5;
 border-color: rgba(255, 255, 255, 0.1);
 }

 .page-item .page-link:hover {
 background: #282942;
 border-color: #282942;
 }

 .page-item.active .page-link {
 background: linear-gradient(135deg, #282942, #4a4d7c);
 border-color: #282942;
 }

 .empty-icon {
 background: linear-gradient(135deg, rgba(213, 218, 245, 0.1), rgba(232, 234, 246, 0.1));
 color: #d5daf5;
 }

 .btn-finance-primary {
 background-color: rgba(255, 255, 255, 0.1);
 color: #d5daf5 !important;
 border-color: #d5daf5;
 }

 .btn-finance-primary:hover {
 background-color: #282942;
 color: #ffffff !important;
 border-color: #282942;
 }
}

/* ========================================
 ANIMATION UTILITIES
======================================== */

.animate__animated {
 animation-duration: 0.8s;
 animation-fill-mode: both;
}

.animate__fadeInUp {
 animation-name: fadeInUp;
}

.animate__delay-1s {
 animation-delay: 1s;
}

/* ========================================
 PRINT STYLES
======================================== */

@media print {
 .press-hero-section,
 .btn-finance-primary,
 .pagination {
 display: none;
 }

 .press-posts-section,
 .press-testimonials-cta {
 page-break-inside: avoid;
 box-shadow: none;
 border: 1px solid #ddd;
 }

 .press-card {
 page-break-inside: avoid;
 }
}

