/*
Theme Name: Generate Press
Theme URI: https://newglass-france.fr
Author: Generate Press
Author URI: https://newglass-france.fr
Description: Theme WordPress pour la vitrerie automobile a domicile (pare-brise, reparation). Gestion des villes et referencement local — evolue a partir du theme metier Newglass.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generate-press
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout, full-width-template, theme-options

Generate Press WordPress Theme — usage metier vitrage / pare-brise.
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
	--ng-font-headings: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--ng-font-body: var(--ng-font-headings);
    --ng-blue: #2275bc;
    --ng-blue-dark: #1a5a94;
    --ng-blue-light: #e8f4fc;
    --ng-blue-soft: #f0f7ff;
    --ng-red: #e63946;
    --ng-red-dark: #c1121f;
    --ng-red-light: #ffe5e7;
    --ng-dark: #0f172a;
    --ng-gray-900: #1e293b;
    --ng-gray-700: #334155;
    --ng-gray-600: #475569;
    --ng-gray-500: #64748b;
    --ng-gray-300: #cbd5e1;
    --ng-gray-100: #f1f5f9;
    --ng-white: #ffffff;
    
    --ng-card-radius: 16px;
    --ng-archive-gap: 2rem;
    --ng-transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--ng-font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: #2f3952;
    background-color: #f6f6f6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2275bc;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #1a5a94;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ng-font-headings);
    font-weight: 700;
    line-height: 1.2;
}


/* Container & Utilities */
.ng-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HOMEPAGE SPECIFIC STYLES
   ============================================ */

/* Hero Home Variant */
.ng-hero-home {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(34, 117, 188, 0.95) 0%, rgba(47, 57, 82, 0.98) 100%),
                url('assets/images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
}

.ng-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
}

.ng-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ng-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ng-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.ng-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Rating Badge */
.ng-rating-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ng-rating-stars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.ng-stars {
    color: #ffc107;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.ng-rating-score {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.ng-review-count {
    font-weight: 400;
    opacity: 0.9;
    font-size: 0.9rem;
}

.ng-rating-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.ng-text-highlight {
    color: #64b5f6;
    display: block;
    margin-top: 0.5rem;
}

/* Emergency Button */
.ng-btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #e63946;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(230, 57, 70, 0.6); }
}

.ng-btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
    color: white;
}

.ng-btn-icon {
    font-size: 1.5rem;
}

.ng-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ng-btn-label {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
}

.ng-btn-phone {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Trust Bar */
.ng-trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.ng-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.ng-trust-icon {
    color: #4ade80;
    font-weight: 700;
}

/* Buttons */
.ng-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: #2275bc;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.ng-btn-primary:hover {
    background: #1a5a94;
    color: white;
}

.ng-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.ng-btn-secondary:hover {
    background: white;
    color: #2275bc;
    border-color: white;
}

.ng-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #2275bc;
    border: 2px solid #2275bc;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.ng-btn-outline:hover {
    background: #2275bc;
    color: white;
}

.ng-btn-small {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #2275bc;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.ng-btn-small:hover {
    background: #1a5a94;
    color: white;
}

/* Social Proof Strip */
.ng-social-proof {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.ng-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.ng-social-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2275bc;
    line-height: 1;
}

.ng-social-label {
    color: #81848c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.ng-social-label strong {
    color: #2f3952;
    display: block;
    font-size: 1rem;
}

/* Services Section */
.ng-services-section {
    background: #f6f6f6;
}

.ng-section {
    padding: 5rem 0;
}

.ng-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #2f3952;
    text-align: center;
    margin-bottom: 1rem;
}

.ng-section-intro {
    text-align: center;
    color: #81848c;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.ng-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.ng-service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}

.ng-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.ng-service-highlight {
    border: 2px solid #2275bc;
    transform: scale(1.02);
}

.ng-service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e63946;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ng-service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ng-service-card h3 {
    color: #2f3952;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ng-service-card p {
    color: #81848c;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ng-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.ng-service-features li {
    padding: 0.5rem 0;
    color: #2f3952;
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.5rem;
}

.ng-service-features li::before {
    content: "✓";
    color: #22c55e;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Reviews Section */
.ng-reviews-section {
    background: linear-gradient(to bottom, #f6f6f6 0%, white 100%);
}

.ng-reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ng-google-logo {
    width: 50px;
    height: 50px;
    background: #4285f4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.ng-reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ng-big-stars {
    color: #ffc107;
    font-size: 2rem;
    letter-spacing: 4px;
}

.ng-rating-text {
    color: #81848c;
    font-size: 1rem;
}

.ng-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ng-review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.ng-review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ng-review-avatar {
    width: 48px;
    height: 48px;
    background: #2275bc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.ng-review-meta strong {
    display: block;
    color: #2f3952;
}

.ng-review-stars {
    color: #ffc107;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.ng-review-meta time {
    font-size: 0.75rem;
    color: #81848c;
}

.ng-review-text {
    color: #2f3952;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.ng-review-verified {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
}

/* Map */
.ng-map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ng-map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    max-width: 300px;
}

.ng-map-info h3 {
    margin: 0 0 0.5rem;
    color: #2f3952;
}

.ng-map-info p {
    margin: 0 0 0.25rem;
    color: #81848c;
    font-size: 0.875rem;
}

/* Process Section */
.ng-process-section {
    background: white;
}

.ng-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.ng-process-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.ng-process-number {
    width: 60px;
    height: 60px;
    background: #2275bc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.ng-process-item h3 {
    color: #2f3952;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.ng-process-item p {
    color: #81848c;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.ng-process-arrow {
    display: none;
    color: #2275bc;
    font-size: 2rem;
}

/* Insurance Section */
.ng-insurance-section {
    background: #2f3952;
    color: white;
}

.ng-insurance-section .ng-container {
    max-width: 1200px;
}

.ng-insurance-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.ng-insurance-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ng-insurance-text p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.ng-checklist {
    list-style: none;
    padding: 0;
}

.ng-checklist li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.ng-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 700;
    font-size: 1.25rem;
}

.ng-insurance-card {
    background: white;
    color: #2f3952;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.ng-insurance-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.ng-insurance-price {
    margin: 1.5rem 0;
}

.ng-price-old {
    display: block;
    text-decoration: line-through;
    color: #81848c;
    font-size: 1.25rem;
}

.ng-price-new {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
}

.ng-insurance-note {
    color: #81848c;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* FAQ */
.ng-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ng-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ng-faq-summary {
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2f3952;
    transition: background 0.2s;
}

.ng-faq-summary:hover {
    background: rgba(34, 117, 188, 0.05);
}

.ng-faq-summary::-webkit-details-marker {
    display: none;
}

.ng-faq-icon {
    color: #2275bc;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.ng-faq-item[open] .ng-faq-icon {
    transform: rotate(45deg);
}

.ng-faq-content {
    padding: 0 1.5rem 1.5rem;
    color: #81848c;
    line-height: 1.7;
}

.ng-faq-content strong {
    color: #2275bc;
}

/* Final CTA */
.ng-final-cta {
    background: linear-gradient(135deg, #2275bc 0%, #1a5a94 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.ng-cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.ng-cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ng-cta-subtitle {
    opacity: 0.9;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.ng-cta-buttons {
    margin-bottom: 2rem;
}

.ng-btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.ng-cta-guarantee {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.ng-cta-address {
    opacity: 0.8;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Scroll indicator */
.ng-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   BLOG & ARCHIVE SYSTEM
   ============================================ */

/* Archive Header */
.ng-archive-header {
    background: linear-gradient(135deg, var(--ng-blue) 0%, var(--ng-blue-dark) 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.ng-archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.3;
}

.ng-archive-header .ng-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.ng-archive-meta {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.ng-archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.ng-archive-description {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.ng-archive-breadcrumbs {
    background: white;
    border-bottom: 1px solid var(--ng-gray-100);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ng-breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    color: var(--ng-gray-500);
}

.ng-breadcrumb-list a {
    color: var(--ng-gray-500);
    text-decoration: none;
}

.ng-breadcrumb-list a:hover {
    color: var(--ng-blue);
}

.ng-breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--ng-gray-300);
}

/* Layout */
.ng-blog-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1280px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    align-items: start;
}

/* Posts Grid */
.ng-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--ng-archive-gap);
}

/* Blog Card */
.ng-blog-card {
    background: white;
    border-radius: var(--ng-card-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--ng-transition-smooth);
    border: 1px solid var(--ng-gray-100);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: ng-fade-in-up 0.5s ease forwards;
    opacity: 0;
}

.ng-blog-card:nth-child(1) { animation-delay: 0.1s; }
.ng-blog-card:nth-child(2) { animation-delay: 0.2s; }
.ng-blog-card:nth-child(3) { animation-delay: 0.3s; }
.ng-blog-card:nth-child(4) { animation-delay: 0.4s; }
.ng-blog-card:nth-child(5) { animation-delay: 0.5s; }
.ng-blog-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes ng-fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ng-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(34, 117, 188, 0.2);
}

.ng-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ng-gray-100);
}

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

.ng-blog-card:hover .ng-card-image img {
    transform: scale(1.08);
}

.ng-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ng-blue) 0%, var(--ng-blue-dark) 100%);
    color: white;
    font-size: 3rem;
    text-decoration: none;
}

.ng-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--ng-red);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.ng-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ng-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--ng-gray-500);
}

.ng-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ng-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.ng-card-title a {
    color: var(--ng-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.ng-card-title a:hover {
    color: var(--ng-blue);
}

.ng-card-excerpt {
    color: var(--ng-gray-500);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ng-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--ng-gray-100);
    margin-top: auto;
}

.ng-read-more {
    color: var(--ng-blue);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s;
}

.ng-read-more:hover {
    gap: 0.5rem;
}

.ng-reading-time {
    font-size: 0.75rem;
    color: var(--ng-gray-500);
    background: var(--ng-gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* Sidebar */
.ng-blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.ng-sidebar-widget {
    background: white;
    border-radius: var(--ng-card-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ng-gray-100);
}

.ng-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ng-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--ng-blue);
}

/* Search */
.ng-search-form {
    position: relative;
}

.ng-search-form input[type="search"] {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    border: 2px solid var(--ng-gray-100);
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.ng-search-form input[type="search"]:focus {
    border-color: var(--ng-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(34, 117, 188, 0.1);
}

.ng-search-form button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ng-blue);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Recent Posts Sidebar */
.ng-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ng-recent-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.2s;
    text-decoration: none;
}

.ng-recent-item:hover {
    background: var(--ng-blue-soft);
}

.ng-recent-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--ng-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ng-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ng-recent-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ng-recent-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ng-dark);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ng-recent-date {
    font-size: 0.8125rem;
    color: var(--ng-gray-500);
}

/* Categories List */
.ng-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ng-categories-list li {
    border-bottom: 1px solid var(--ng-gray-100);
}

.ng-categories-list li:last-child {
    border-bottom: none;
}

.ng-categories-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    color: var(--ng-gray-700);
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.ng-categories-list a:hover {
    color: var(--ng-blue);
    padding-left: 0.5rem;
}

.ng-cat-count {
    background: var(--ng-gray-100);
    color: var(--ng-gray-500);
    padding: 0.125rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ng-categories-list a:hover .ng-cat-count {
    background: var(--ng-blue);
    color: white;
}

/* CTA Sidebar */
.ng-sidebar-cta {
    background: linear-gradient(135deg, var(--ng-blue) 0%, var(--ng-blue-dark) 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: var(--ng-card-radius);
}

.ng-sidebar-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.ng-sidebar-cta p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.ng-sidebar-cta .ng-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--ng-red);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    width: 100%;
    transition: transform 0.2s;
}

.ng-sidebar-cta .ng-btn:hover {
    transform: translateY(-2px);
}

/* Pagination */
.ng-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ng-gray-100);
}

.ng-pagination a,
.ng-pagination span {
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.ng-pagination a {
    background: white;
    color: var(--ng-gray-700);
    border: 1px solid var(--ng-gray-100);
}

.ng-pagination a:hover {
    background: var(--ng-blue);
    color: white;
    border-color: var(--ng-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 117, 188, 0.3);
}

.ng-pagination .current {
    background: var(--ng-blue);
    color: white;
}

/* Single Post */
.ng-single-header {
    background: var(--ng-dark);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    position: relative;
}

.ng-single-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
}

.ng-single-header .ng-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ng-single-category {
    display: inline-block;
    background: var(--ng-red);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ng-single-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.ng-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.ng-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    align-items: start;
}

.ng-article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ng-gray-600);
}

.ng-article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--ng-dark);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.ng-article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ng-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.ng-article-content p {
    margin-bottom: 1.5rem;
}

.ng-article-content a {
    color: var(--ng-blue);
    border-bottom: 2px solid var(--ng-blue-light);
    text-decoration: none;
}

.ng-article-content a:hover {
    border-bottom-color: var(--ng-blue);
}

.ng-article-content blockquote {
    background: var(--ng-blue-soft);
    border-left: 4px solid var(--ng-blue);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

/* ============================================
   CONTACT PAGE - 50/50 LAYOUT
   ============================================ */

.ng-contact-hero {
    background: linear-gradient(135deg, #2275bc 0%, #1a5a94 100%);
    padding: 60px 0 30px;
    text-align: center;
    color: white;
}

.ng-contact-header {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ng-contact-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ng-contact-intro {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
}

.ng-contact-layout-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    align-items: start;
}

.ng-contact-info-column,
.ng-contact-form-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Contact Cards */
.ng-contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.ng-contact-card:hover {
    border-color: #2275bc;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.ng-contact-phone {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.ng-contact-phone:hover {
    color: white;
    transform: translateY(-2px);
}

.ng-contact-phone .ng-contact-icon {
    background: rgba(255,255,255,0.2);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ng-contact-phone .ng-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.ng-contact-phone .ng-value {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0.25rem 0;
}

.ng-contact-phone .ng-hint {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.ng-contact-icon {
    width: 48px;
    height: 48px;
    background: #f0f7ff;
    color: #2275bc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ng-contact-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ng-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.ng-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.25rem 0;
}

.ng-hint {
    font-size: 0.875rem;
    color: #64748b;
}

/* Trust Box */
.ng-trust-box {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    width: 100%;
    box-sizing: border-box;
}

.ng-trust-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.ng-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ng-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.ng-check {
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.ng-trust-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
}

.ng-trust-item span {
    display: block;
    color: #fff;
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Address Box */
.ng-address-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.ng-address-box h4 {
    margin: 0 0 0.5rem 0;
    color: #0f172a;
    font-size: 1rem;
}

.ng-address-box p {
    margin: 0;
    color: #64748b;
}

/* Form Card */
.ng-form-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 100px;
}

.ng-form-value-header {
    background: linear-gradient(135deg, #2275bc 0%, #1a5a94 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ng-form-value-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.ng-value-badge {
    display: inline-block;
    background: #fbbf24;
    color: #92400e;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ng-form-value-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    position: relative;
    z-index: 1;
}

.ng-value-sub {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

.ng-form-trust-bar {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ng-trust-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
}

.ng-trust-mini span {
    font-size: 1.25rem;
}

.ng-form-body {
    padding: 2rem;
}

.ng-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ng-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ng-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ng-form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.ng-contact-form input,
.ng-contact-form select,
.ng-contact-form textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
}

.ng-contact-form textarea {
    min-height: 3.5rem;
    max-height: 90px;
    resize: vertical;
    overflow-y: auto;
}

.ng-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #e63946;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
}

.ng-form-benefits {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.ng-benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(186, 230, 253, 0.5);
}

.ng-benefit-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ng-benefit-row:first-child {
    padding-top: 0;
}

.ng-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.ng-benefit-row strong {
    display: block;
    color: #0f172a;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.ng-benefit-row small {
    display: block;
    color: #64748b;
    font-size: 0.8125rem;
}

.ng-benefit-highlight {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.ng-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: #166534;
}

/* Urgence Card */
.ng-urgence-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    transition: transform 0.2s;
}

.ng-urgence-card:hover {
    transform: translateY(-2px);
    color: white;
}

.ng-urgence-icon {
    font-size: 1.5rem;
}

.ng-urgence-content {
    flex: 1;
}

.ng-urgence-content strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.ng-urgence-content span {
    font-size: 1.125rem;
    font-weight: 700;
}

.ng-urgence-arrow {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Social Proof */
.ng-social-proof {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 0;
    border-top: 1px dashed #e2e8f0;
}

.ng-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ng-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    margin-left: -8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ng-avatar:first-child {
    margin-left: 0;
}

.ng-avatar-more {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    border: 2px solid white;
    margin-left: -8px;
}

/* FAQ Contact */
.ng-contact-faq {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.ng-faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   DEFAULT PAGE TEMPLATE
   ============================================ */

.ng-page-default {
    background: #f8fafc;
}

.ng-page-hero {
    background: linear-gradient(135deg, #2275bc 0%, #1a5a94 100%);
    padding: 80px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.ng-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.ng-page-hero .ng-container {
    position: relative;
    z-index: 1;
}

.ng-page-hero .breadcrumbs {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.ng-page-hero .breadcrumbs a {
    color: rgba(255,255,255,0.9);
}

.ng-page-hero .breadcrumbs a:hover {
    color: white;
}

.ng-page-hero .breadcrumbs .current {
    color: white;
    font-weight: 600;
}

.ng-page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.ng-page-intro {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 1rem 0 0 0;
    max-width: 600px;
}

.ng-page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ng-page-layout.has-sidebar {
    grid-template-columns: 1fr 380px;
    align-items: start;
}

.ng-page-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    min-width: 0;
}

.ng-page-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.ng-page-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 0.75rem;
}

.ng-page-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #475569;
}

.ng-page-content ul,
.ng-page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.ng-page-content li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.ng-page-content a {
    color: #2275bc;
    border-bottom: 2px solid #e0f2fe;
    text-decoration: none;
    transition: all 0.2s;
}

.ng-page-content a:hover {
    border-bottom-color: #2275bc;
    background: #f0f9ff;
}

.ng-page-content blockquote {
    background: #f0f9ff;
    border-left: 4px solid #2275bc;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #0f172a;
}

.ng-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ng-page-sidebar .widget {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.ng-page-sidebar .widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #2275bc;
}

/* CTA Section */
.ng-page-cta {
    background: white;
    padding: 4rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.ng-cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    border: 2px solid #bae6fd;
}

.ng-cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.ng-cta-box p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.ng-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   WORDPRESS CORE STYLES
   ============================================ */

/* WordPress Core Alignments */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* WordPress Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5em;
}

.gallery-item {
    flex: 1 0 200px;
}

.gallery-caption {
    font-size: 0.875rem;
    color: #81848c;
    margin-top: 0.5rem;
}

.gallery-columns-2 .gallery-item {
    flex: 0 0 calc(50% - 0.5rem);
}

.gallery-columns-3 .gallery-item {
    flex: 0 0 calc(33.333% - 0.667rem);
}

.gallery-columns-4 .gallery-item {
    flex: 0 0 calc(25% - 0.75rem);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f6f6f6;
    clip: auto !important;
    clip-path: none;
    color: #2f3952;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Post Navigation */
.post-navigation {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    max-width: 48%;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 50%;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2275bc;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #b0c2cd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2275bc;
    box-shadow: 0 0 0 3px rgba(34, 117, 188, 0.1);
}

button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2275bc;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #1a5a94;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

th {
    font-weight: 600;
    background: #f6f6f6;
}

/* Blockquote */
blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #2275bc;
    background: #f6f6f6;
    font-style: italic;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

.pagination a {
    background: #fff;
    color: #2f3952;
    border: 1px solid #e5e5e5;
}

.pagination a:hover {
    background: #2275bc;
    color: #fff;
    border-color: #2275bc;
}

.pagination .current {
    background: #2275bc;
    color: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #81848c;
}

.breadcrumbs a {
    color: #81848c;
}

.breadcrumbs a:hover {
    color: #2275bc;
}

.breadcrumbs .current {
    color: #2f3952;
    font-weight: 500;
}

/* Sticky Post */
.sticky {
    position: relative;
}

.sticky::before {
    content: 'Épinglé';
    position: absolute;
    top: 0;
    right: 0;
    background: #2275bc;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 8px 0 8px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (min-width: 768px) {
    .ng-social-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .ng-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ng-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ng-process-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    }
    
    .ng-process-arrow {
        display: block;
    }
    
    .ng-insurance-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .ng-hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .ng-btn-emergency {
        min-width: 300px;
    }
}

@media (min-width: 1024px) {
    .ng-page-layout.has-sidebar .ng-page-sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
    }
}

@media (max-width: 1024px) {
    .ng-blog-layout,
    .ng-single-layout,
    .ng-page-layout.has-sidebar {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .ng-blog-sidebar,
    .ng-page-sidebar {
        position: relative;
        top: 0;
        order: 2;
    }
    
    .ng-page-content {
        order: 1;
        padding: 2rem;
    }
    
    .ng-contact-layout-50 {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .ng-form-card {
        position: relative;
        top: 0;
        order: 1;
    }
    
    .ng-contact-info-column {
        order: 2;
    }
    
    .ng-urgence-card {
        position: relative;
        margin-top: 1rem;
    }
    
    .ng-contact-faq {
        padding-bottom: 2rem;
    }
    
    .ng-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .ng-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .ng-scroll-indicator {
        display: none;
    }
    
    .ng-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .ng-social-number {
        font-size: 2rem;
    }
    
    .ng-services-grid {
        grid-template-columns: 1fr;
    }
    
    .ng-service-highlight {
        transform: none;
    }
    
    .ng-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .ng-process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ng-process-arrow {
        display: none;
    }
    
    .ng-insurance-content {
        grid-template-columns: 1fr;
    }
    
    .ng-faq-summary {
        padding: 1.25rem;
        font-size: 0.9375rem;
    }
    
    .ng-cta-box h2 {
        font-size: 1.75rem;
    }
    
    .ng-cta-guarantee {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .ng-archive-header {
        padding: 60px 0 40px;
    }
    
    .ng-single-header {
        padding: 100px 0 40px;
    }
    
    .ng-trust-grid {
        grid-template-columns: 1fr;
    }
    
    .ng-form-row {
        grid-template-columns: 1fr;
    }
    
    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gallery-columns-4 .gallery-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 640px) {
    .ng-page-hero {
        padding: 60px 0 30px;
    }
    
    .ng-page-content {
        padding: 1.5rem;
    }
    
    .ng-cta-box {
        padding: 2rem 1.5rem;
    }
    
    .ng-cta-box h2 {
        font-size: 1.5rem;
    }
    
    .ng-form-value-header h3 {
        font-size: 1.5rem;
    }
    
    .ng-value-sub {
        font-size: 0.9375rem;
    }
    
    .ng-form-trust-bar {
        gap: 0.5rem;
    }
    
    .ng-trust-mini small {
        font-size: 0.6875rem;
    }
    
    .ng-contact-card {
        padding: 1.25rem;
    }
    
    .ng-contact-phone .ng-value {
        font-size: 1.25rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .no-print,
    .site-header,
    .site-footer,
    .sidebar,
    .comments-area,
    .post-navigation {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .entry-content {
        width: 100%;
        margin: 0;
    }
}

/* Respect reduced-motion to improve accessibility and mobile performance */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* ============================================
   BLOG LAYOUT - POSTS LEFT | SIDEBAR RIGHT
   ============================================ */

.ng-blog-layout {
    display: grid !important;
    grid-template-columns: 1fr 380px !important; /* 1fr = posts (left), 380px = sidebar (right) */
    gap: 3rem !important;
    max-width: 1280px !important;
    margin: 3rem auto !important;
    padding: 0 1.5rem !important;
    direction: ltr !important; /* Force left-to-right */
}

/* Posts à gauche (premier élément) */
.ng-blog-layout > .ng-posts-grid {
    order: 1 !important;
    grid-column: 1 / 2 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
}

/* Sidebar à droite (deuxième élément) */
.ng-blog-layout > .ng-blog-sidebar {
    order: 2 !important;
    grid-column: 2 / 3 !important;
    position: sticky !important;
    top: 100px !important;
    height: fit-content !important;
    width: 380px !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .ng-blog-layout {
        grid-template-columns: 1fr !important;
    }
    
    .ng-blog-layout > .ng-posts-grid,
    .ng-blog-layout > .ng-blog-sidebar {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        position: relative !important;
    }
    
    .ng-blog-layout > .ng-blog-sidebar {
        order: 2 !important;
    }
}

/* Global page container width alignment (same as homepage) */
:root {
    --ng-site-max-width: 1400px;
}

.ng-container,
.ng-container-v2,
.container,
.ng-wrap-final,
.ng-blog-container,
.ng-filter-container,
.ng-villes-container,
.sitemap-container,
.ng-hero-container {
    width: 100%;
    max-width: var(--ng-site-max-width) !important;
    margin-left: auto;
    margin-right: auto;
}