/*
Theme Name: Dev & SEO Minimal
Theme URI: https://example.com
Description: Lightweight, high-performance one-page theme for freelance dev & SEO services targeting Spanish market
Version: 1.0.0
Author: Your Name
Author URI: https://example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dev-seo-minimal
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4

Minimal theme using Tailwind CSS (Play CDN), Alpine.js, and Lucide Icons.
Modern dark mode aesthetic with glassmorphism effects.
Mobile-first, semantic HTML5, optimized performance.
/* Menu Navigation Styling */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ====================================
   Contact Form 7 - Clean & Professional
   ==================================== */

/* Form Container - Force Flex Column */
.wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

/* Form Paragraphs - Force Block */
.wpcf7-form p {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    flex-direction: column !important;
    padding: 0 !important;
}

/* Remove BR elements in form */
.wpcf7-form br {
    display: none !important;
}

/* Form Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 1.1rem;
    color: #06b6d4;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* All Input Fields */
.wpcf7-form-control {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #475569 !important;
    border-radius: 0.5rem !important;
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

/* Text & Email Inputs */
input.wpcf7-text,
input.wpcf7-email {
    min-height: 40px !important;
}

/* Textarea */
textarea.wpcf7-textarea {
    min-height: 140px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

/* Placeholder */
.wpcf7-form-control::placeholder {
    color: #64748b;
}

/* Hover State */
.wpcf7-form-control:hover:not(:focus) {
    border-color: #0891b2 !important;
    background-color: #082f36 !important;
}

/* Focus State */
.wpcf7-form-control:focus {
    outline: none !important;
    border-color: #06b6d4 !important;
    background-color: #0a2331 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), inset 0 0 0 1px rgba(6, 182, 212, 0.1) !important;
}

/* Submit Button */
.wpcf7-form-control.wpcf7-submit {
    width: auto !important;
    padding: 0.75rem 2rem !important;
    border: none !important;
    border-radius: 0.5rem !important;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2) !important;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3) !important;
    transform: translateY(-2px) !important;
}

.wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2) !important;
}

/* Error State */
.wpcf7-form-control.wpcf7-invalid {
    border-color: #ef4444 !important;
    background-color: #0f172a !important;
}

.wpcf7-form-control.wpcf7-invalid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}
    border-color: #ef4444;
    background-color: #7f1d1d;
}

/* Error Message */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #ef4444;
}

.wpcf7-form-control.wpcf7-not-valid-tip {
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Response Messages */
.wpcf7-response-output {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    border: 1px solid;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background-color: #064e3b;
    border-color: #10b981;
    color: #a7f3d0;
}

/* Error Message */
.wpcf7-mail-sent-ng {
    background-color: #7f1d1d;
    border-color: #ef4444;
    color: #fca5a5;
}

/* Spam Message */
.wpcf7-spam-blocked {
    background-color: #7c2d12;
    border-color: #f97316;
    color: #fed7aa;
}

/* Loading Message */
.wpcf7-submitting {
    opacity: 0.6;
    pointer-events: none;
}

/* Spam Validation */
.wpcf7-form.init .wpcf7-response-output {
    display: none;
}

/* Multi-row Layout */
@media (min-width: 768px) {
    .wpcf7-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .wpcf7-form p:has(textarea) {
        grid-column: 1 / -1;
    }
    
    .wpcf7-form p.submit {
        grid-column: 1 / -1;
    }
}
.post-content .btn,
.prose .btn,
article .btn,
.entry-content .btn-primary,
.post-content .btn-primary,
.prose .btn-primary,
article .btn-primary {
    display: inline-block !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 0.45rem !important;
    background: var(--ds-btn-bg) !important;
    color: #042027 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid rgba(2,132,199,0.12) !important;
    transition: background-color 160ms ease, transform 120ms ease !important;
}

.entry-content .btn:hover,
.entry-content .btn-primary:hover,
.post-content .btn:hover,
.post-content .btn-primary:hover,
.prose .btn:hover,
.prose .btn-primary:hover,
article .btn:hover,
article .btn-primary:hover {
    background: var(--ds-btn-bg-hover) !important;
}

/* Unified button style for inline links that act like buttons */
.btn,
.btn-primary,
.entry-content .btn,
.post-content .btn,
.prose .btn,
article .btn {
    display: inline-block !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 0.45rem !important;
    background: var(--ds-btn-bg) !important;
    color: #042027 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid rgba(2,132,199,0.12) !important;
    transition: background-color 160ms ease, transform 120ms ease !important;
}

.btn:hover,
.btn-primary:hover,
.entry-content .btn:hover,
.post-content .btn:hover,
.prose .btn:hover,
article .btn:hover {
    background: var(--ds-btn-bg-hover) !important;
}

/* Category badges -> use same visual language but lighter */
.category-badge {
    background: rgba(6,182,212,0.06) !important;
    color: var(--ds-link) !important;
    border: 1px solid rgba(6,182,212,0.10) !important;
    text-decoration: none !important;
    padding: 0.35rem 0.7rem !important;
    font-weight: 700 !important;
}

/* Related post link (title) - ensure good contrast */
article .group h4 a,
article .group p a {
    color: #e2e8f0 !important;
    text-decoration: none !important;
}

/* Read more style override inside article */
article .group a[href] {
    color: var(--ds-btn-bg) !important;
    font-weight: 700 !important;
}

/* reduce noisy hover effects from other rules within article */
.entry-content a:hover,
.post-content a:hover,
.prose a:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Thumbnail image fix: ensure images fill their slot without top gap */
/* Targets the cards on the home/archive lists (.h-48 / .h-40 containers) */
article .h-48,
article .h-40,
.card-media {
    line-height: 0; /* remove inline img baseline gap */
}

article .h-48 img,
article .h-40 img,
.card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    border: 0;
}

/* Tech logos styling in header */
/* tech-logos removed from header */

/* Hero small badges above CTAs */
.hero-top-zone > div {
    background: rgba(148,163,184,0.06);
    border: 1px solid rgba(148,163,184,0.06);
    color: #cbd5e1;
    font-weight: 600;
}

@media (min-width: 640px) {
    .hero-top-zone {
        gap: 1rem;
    }
}


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

.menu li a {
    text-decoration: none;
}

/* ====================================
   Contact Form 7 - Clean & Professional
   ==================================== */

/* Form Container - Force Flex Column */
.wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

/* Form Paragraphs - Force Block */
.wpcf7-form p {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    flex-direction: column !important;
    padding: 0 !important;
}

/* Remove BR elements in form */
.wpcf7-form br {
    display: none !important;
}

/* Form Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 1.1rem;
    color: #06b6d4;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* All Input Fields */
.wpcf7-form-control {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #475569 !important;
    border-radius: 0.5rem !important;
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

/* Text & Email Inputs */
input.wpcf7-text,
input.wpcf7-email {
    min-height: 40px !important;
}

/* Textarea */
textarea.wpcf7-textarea {
    min-height: 140px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

/* Placeholder */
.wpcf7-form-control::placeholder {
    color: #64748b;
}

/* Hover State */
.wpcf7-form-control:hover:not(:focus) {
    border-color: #0891b2 !important;
    background-color: #082f36 !important;
}

/* Focus State */
.wpcf7-form-control:focus {
    outline: none !important;
    border-color: #06b6d4 !important;
    background-color: #0a2331 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), inset 0 0 0 1px rgba(6, 182, 212, 0.1) !important;
}

/* Submit Button */
.wpcf7-form-control.wpcf7-submit {
    width: auto !important;
    padding: 0.75rem 2rem !important;
    border: none !important;
    border-radius: 0.5rem !important;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-top: 1rem !important;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2) !important;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3) !important;
    transform: translateY(-2px) !important;
}

.wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.2) !important;
}

/* Error State */
.wpcf7-form-control.wpcf7-invalid {
    border-color: #ef4444 !important;
    background-color: #0f172a !important;
}

.wpcf7-form-control.wpcf7-invalid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}
    border-color: #ef4444;
    background-color: #7f1d1d;
}

/* Error Message */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #ef4444;
}

.wpcf7-form-control.wpcf7-not-valid-tip {
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Response Messages */
.wpcf7-response-output {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    border: 1px solid;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background-color: #064e3b;
    border-color: #10b981;
    color: #a7f3d0;
}

/* Error Message */
.wpcf7-mail-sent-ng {
    background-color: #7f1d1d;
    border-color: #ef4444;
    color: #fca5a5;
}

/* Spam Message */
.wpcf7-spam-blocked {
    background-color: #7c2d12;
    border-color: #f97316;
    color: #fed7aa;
}

/* Loading Message */
.wpcf7-submitting {
    opacity: 0.6;
    pointer-events: none;
}

/* Spam Validation */
.wpcf7-form.init .wpcf7-response-output {
    display: none;
}

/* Multi-row Layout */
@media (min-width: 768px) {
    .wpcf7-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .wpcf7-form p:has(textarea) {
        grid-column: 1 / -1;
    }
    
    .wpcf7-form p.submit {
        grid-column: 1 / -1;
    }
}

/* ====================================
   TYPOGRAPHIE - ARTICLES & CONTENU
   ==================================== */

/* Headings - H1 à H6 */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #e2e8f0 !important;
    letter-spacing: -0.5px !important;
}

h1,
.entry-content h1,
.post-content h1,
article h1 {
    font-size: 1.75rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 1.2em !important;
    color: #f0f9fa !important;
}

h2,
.entry-content h2,
.post-content h2,
article h2 {
    font-size: 1.4rem !important;
    color: #e2e8f0 !important;
    border-left: none !important;
    padding-left: 0 !important;
}

h3,
.entry-content h3,
.post-content h3,
article h3 {
    font-size: 1.15rem !important;
    color: #cbd5e1 !important;
}

h4,
.entry-content h4,
.post-content h4,
article h4 {
    font-size: 1rem !important;
    color: #94a3b8 !important;
}

h5,
.entry-content h5,
.post-content h5,
article h5 {
    font-size: 0.95rem !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

h6,
.entry-content h6,
.post-content h6,
article h6 {
    font-size: 0.9rem !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Paragraphes */
p {
    margin-bottom: 1.2em;
    line-height: 1.8;
    color: #cbd5e1;
}

p:last-child {
    margin-bottom: 0;
}

/* Liens */
a {
    color: #06b6d4;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

a:hover {
    color: #0891b2;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:focus {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
    border-radius: 2px;
}

a:visited {
    color: #0f766e;
}

/* Lien avec effet soulignement animé */
a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #06b6d4;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Citations / Blockquotes */
blockquote {
    border-left: 4px solid #06b6d4;
    padding: 1.5em 1.5em 1.5em 2em;
    margin: 1.5em 0;
    background-color: #0f172a;
    font-style: italic;
    color: #94a3b8;
    line-height: 1.8;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.1);
}

blockquote p {
    margin-bottom: 0.5em;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    color: #64748b;
    font-size: 0.9em;
}

blockquote cite::before {
    content: '— ';
    font-weight: 700;
}

/* Code et Pre */
code {
    background-color: #0f172a;
    color: #22d3ee;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    word-break: break-word;
    border: 1px solid #1e293b;
}

pre {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 1.5em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5em 0;
    line-height: 1.5;
    border-left: 4px solid #06b6d4;
    border: 1px solid #1e293b;
}

pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    border: none;
}

ol,
/* Listes - scoped to article content only */
.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol,
.prose ul,
.prose ol,
article .prose ul,
article .prose ol {
    margin: 1.5em 0 1.5em 2.25em !important;
    line-height: 1.8 !important;
    padding: 0 !important;
    list-style: auto !important;
}

.entry-content li,
.post-content li,
.prose li,
article .prose li {
    margin-bottom: 0.6em !important;
    color: #cbd5e1 !important;
    padding-left: 0 !important;
    transition: color 0.2s ease !important;
    list-style-position: outside !important;
}

.entry-content li:hover,
.post-content li:hover,
.prose li:hover,
article .prose li:hover {
    color: #e2e8f0 !important;
}

.entry-content li:last-child,
.post-content li:last-child,
.prose li:last-child,
article .prose li:last-child {
    margin-bottom: 0 !important;
}

/* Marqueurs listes à puces - scoped */
.entry-content ul li::marker,
.post-content ul li::marker,
.prose ul li::marker,
article .prose ul li::marker {
    color: #06b6d4 !important;
    font-weight: 700 !important;
    font-size: 1.05em !important;
}

/* Force l'affichage des puces seulement dans article content */
.entry-content ul,
.post-content ul,
.prose ul,
article .prose ul {
    list-style-type: disc !important;
}

.entry-content ol,
.post-content ol,
.prose ol,
article .prose ol {
    list-style-type: decimal !important;
}

/* Numérotation listes ordonnées */
ol li::marker,
.entry-content ol li::marker,
.post-content ol li::marker,
article ol li::marker {
    color: #06b6d4 !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
}

/* Force l'affichage de la numérotation */
ol,
.entry-content ol,
.post-content ol,
article ol {
    list-style-type: decimal !important;
}

ol li,
.entry-content ol li,
.post-content ol li,
article ol li {
    list-style-type: decimal !important;
}

/* Listes imbriquées */
ul ul,
ol ol,
ul ol,
ol ul,
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul,
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul,
article ul ul,
article ol ol,
article ul ol,
article ol ul {
    margin-top: 0.75em !important;
    margin-bottom: 0.75em !important;
    margin-left: 1.5em !important;
}

/* Listes de définition */
dl,
.entry-content dl,
.post-content dl,
article dl {
    margin: 1.5em 0 !important;
}

dt,
.entry-content dt,
.post-content dt,
article dt {
    font-weight: 700 !important;
    color: #e2e8f0 !important;
    margin-top: 0.5em !important;
}

dd,
.entry-content dd,
.post-content dd,
article dd {
    margin-left: 2em !important;
    margin-bottom: 1em !important;
    color: #cbd5e1 !important;
    padding-left: 0.5em !important;
    border-left: 2px solid rgba(6, 182, 212, 0.3) !important;
}

/* Emphasis */
strong,
b {
    font-weight: 700;
    color: #f0f9fa;
}

em,
i {
    font-style: italic;
    color: #e2e8f0;
}

/* Petits textes */
small {
    font-size: 0.85em;
    color: #64748b;
}

/* Marquer */
mark {
    background-color: #1e293b;
    padding: 2px 4px;
    border-radius: 2px;
    color: #22d3ee;
    border-left: 3px solid #06b6d4;
}

/* Souligné */
u {
    text-decoration: underline;
    text-decoration-color: #06b6d4;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

/* Suppression */
del,
s {
    color: #64748b;
    text-decoration: line-through;
    text-decoration-color: #475569;
}

/* Inséré */
ins {
    background-color: #064e3b;
    color: #86efac;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Horizontal Rule / Séparateur */
hr,
.entry-content hr,
.post-content hr,
article hr {
    border: none !important;
    border-top: 1px solid #334155 !important;
    margin: 2.5em 0 !important;
    opacity: 0.6 !important;
    transition: opacity 0.3s ease !important;
}

hr:hover,
.entry-content hr:hover,
.post-content hr:hover,
article hr:hover {
    opacity: 1 !important;
}

/* Tableau */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid #1e293b;
    border-radius: 4px;
    overflow: hidden;
}

table thead {
    background-color: #0f172a;
}

table th {
    padding: 0.75em 1em;
    text-align: left;
    font-weight: 700;
    color: #e2e8f0;
    border-bottom: 2px solid #06b6d4;
}

table td {
    padding: 0.75em 1em;
    border-bottom: 1px solid #1e293b;
    color: #cbd5e1;
}

table tbody tr:hover {
    background-color: #0a2331;
}

table tbody tr:nth-child(even) {
    background-color: #0f172a;
}

/* Contenu principal article */
.entry-content,
.post-content,
article {
    /* inherit page/text color to avoid breaking light themes */
    color: inherit;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.entry-content p,
.post-content p {
    margin-bottom: 1.2em;
}

.entry-content a,
.post-content a,
article a {
    color: #7dd3fc !important; /* lighter/catchy cyan for contrast */
    text-decoration: none !important;
    font-weight: 600 !important;
    background-image: linear-gradient(transparent 65%, rgba(125,211,252,0.08) 0) !important;
    padding-bottom: 2px !important;
    transition: color 150ms ease, box-shadow 150ms ease, background-image 150ms ease !important;
}

.entry-content a:hover,
.post-content a:hover,
article a:hover {
    color: #22d3ee !important; /* brighter on hover */
    text-decoration: none !important;
    background-image: linear-gradient(transparent 65%, rgba(34,211,238,0.16) 0) !important;
    box-shadow: inset 0 -2px 0 rgba(34,211,238,0.09) !important;
}

.entry-content a:focus,
.post-content a:focus,
article a:focus {
    outline: 3px solid rgba(34,211,238,0.18) !important;
    outline-offset: 3px !important;
    border-radius: 6px !important;
}

.entry-content a:visited,
.post-content a:visited,
article a:visited {
    color: #60a5fa !important;
}

/* Image dans les articles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5em 0;
}

figure {
    margin: 1.5em 0;
    text-align: center;
}

figcaption {
    margin-top: 0.75em;
    color: #64748b;
    font-size: 0.9em;
    font-style: italic;
}

/* Ombre pour les images */
img.shadow {
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

/* Pull Quote */
.pull-quote {
    font-size: 1.3em;
    font-weight: 700;
    color: #06b6d4;
    margin: 2em 0;
    padding: 1em 0;
    border-top: 2px solid #06b6d4;
    border-bottom: 2px solid #06b6d4;
    text-align: center;
    line-height: 1.5;
}

/* Mise en avant */
.highlight {
    background-color: #1e293b;
    padding: 1em 1.5em;
    border-left: 4px solid #22d3ee;
    border-radius: 4px;
    margin: 1.5em 0;
}

.highlight p:last-child {
    margin-bottom: 0;
}

/* Warning / Alerte */
.alert-box {
    padding: 1.5em;
    margin: 1.5em 0;
    border-left: 4px solid #ef4444;
    background-color: #7f1d1d;
    color: #fca5a5;
    border-radius: 4px;
}

.alert-box p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    padding: 1.5em;
    margin: 1.5em 0;
    border-left: 4px solid #06b6d4;
    background-color: #082f36;
    color: #22d3ee;
    border-radius: 4px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Success Box */
.success-box {
    padding: 1.5em;
    margin: 1.5em 0;
    border-left: 4px solid #10b981;
    background-color: #064e3b;
    color: #a7f3d0;
    border-radius: 4px;
}

.success-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    body {
        font-size: 0.95rem;
    }

    blockquote {
        padding: 1.2em 1.2em 1.2em 1.5em;
    }

    ul,
    ol {
        margin-left: 1.5em;
    }

    table {
        font-size: 0.9em;
    }

    table th,
    table td {
        padding: 0.5em 0.75em;
    }
}

/* Overrides: disable global underline/animated pseudo for badge links */
.category-badge {
    text-decoration: none !important;
    position: relative !important;
    display: inline-block !important;
}
.category-badge::after,
.category-badge::before {
    display: none !important;
    content: none !important;
}
.category-badge:hover {
    text-decoration: none !important;
    transform: none !important;
}
