/* ==========================================
   VARIABLES Y RESET
   ========================================== */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #0d9488;
    --accent: #f0fdfa;

    /* Backward compatibility */
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER Y NAVEGACIÓN
   ========================================== */
.main-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 200px;
    background-color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
    margin-bottom: 0.25rem;
}

.logo-text .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* ==========================================
   SECTION TITLE (Compartido)
   ========================================== */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-inner h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 20px -5px rgba(30, 58, 138, 0.35);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -5px rgba(30, 58, 138, 0.45);
    background: #1e40af;
}

/* ==========================================
   FEATURES SECTION (¿Qué es?)
   ========================================== */
.features-section {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    background: white;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   ARTICLES SECTION
   ========================================== */
.articles-section {
    padding: 6rem 0;
    background: #f9fafb;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.articles-section h2 {
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

.article-cover {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-size: 2.5rem;
}

.article-body {
    padding: 1.5rem;
}

.article-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 0.2rem 0.75rem;
    border-radius: 15px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.article-body h3 a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.article-body h3 a:hover {
    color: var(--secondary);
}

.article-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-meta i {
    color: var(--secondary);
    margin-right: 0.25rem;
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 0.6rem;
}

/* ==========================================
   TOPICS SECTION
   ========================================== */
.topics-section {
    padding: 6rem 0;
    background: white;
}

.topics-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.topic-card-new {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.topic-card-new:hover {
    border-color: var(--primary-light);
    transform: translateX(5px);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08);
    background: white;
}

.topic-icon-new {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.topic-content-new h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.topic-content-new p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==========================================
   QUOTE SECTION
   ========================================== */
.quote-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
}

.quote-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: white;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
}

.quote-author {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.contact-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-section > .container > p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item .icon {
    font-size: 1.25rem;
    color: var(--secondary);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background: #111827;
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ==========================================
   PROFILE HERO (SOBRE MI)
   ========================================== */
.profile-hero {
    background: linear-gradient(135deg, var(--primary), #312e81);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
    position: relative;
}

.profile-hero-content {
    position: relative;
    z-index: 2;
}

.profile-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.profile-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

/* ==========================================
   ABOUT ME SECTION
   ========================================== */
.about-me-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-me-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.profile-image-wrapper {
    position: sticky;
    top: 100px;
}

.profile-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.profile-highlight {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.profile-highlight h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.profile-highlight ul {
    list-style: none;
}

.profile-highlight li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.profile-content-col h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.profile-bio p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.profile-values {
    margin-top: 3rem;
}

.profile-values h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.experience-section {
    padding: 5rem 0;
    background: white;
}

.experience-section h2 {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.timeline-content {
    margin-left: 2rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    flex-grow: 1;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ==========================================
   INTERESTS SECTION
   ========================================== */
.interests-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.interests-section h2 {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.interest-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.interest-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   ARTICLE CONTENT (páginas internas)
   ========================================== */
.article-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary), #312e81);
    color: white;
}

.article-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.article-info {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-content blockquote {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    margin: 2rem 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
}

/* ==========================================
   INTRO SECTION (compatibilidad otras páginas)
   ========================================== */
.intro-section {
    padding: 4rem 0;
    background: white;
}

.intro-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.intro-card {
    text-align: center;
    padding: 2rem;
}

.intro-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.intro-card p {
    color: var(--text-light);
}

/* ==========================================
   TOPIC CARDS (compatibilidad otras páginas)
   ========================================== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.topic-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s;
}

.topic-card:hover {
    transform: translateY(-3px);
}

.topic-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.topic-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 0.75rem 2rem;
    border: 2px solid white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    .logo {
        gap: 10px;
    }

    .logo-image {
        height: 65px;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .hero-inner h2 {
        font-size: 2.25rem;
    }

    .hero-author-badge {
        flex-direction: column;
        gap: 0.5rem;
    }

    .author-info {
        text-align: center;
    }

    .section-title,
    .profile-title {
        font-size: 2rem;
    }

    .quote-text {
        font-size: 1.25rem;
    }

    .about-me-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image-wrapper {
        position: static;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 25px;
    }

    .features-grid,
    .articles-grid,
    .intro-grid,
    .topics-grid,
    .topics-grid-new,
    .interests-grid {
        grid-template-columns: 1fr;
    }

    .profile-badges {
        flex-direction: column;
        align-items: center;
    }

    .article-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-inner h2 {
        font-size: 1.75rem;
    }

    .features-section,
    .articles-section,
    .topics-section {
        padding: 4rem 0;
    }

    .profile-title {
        font-size: 1.75rem;
    }

    .profile-subtitle {
        font-size: 1.1rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
