719 lines
17 KiB
CSS
719 lines
17 KiB
CSS
/* ============================================
|
|
HERO COMPACTO DEL BLOG
|
|
============================================ */
|
|
.blog-hero-compact {
|
|
padding: calc(var(--spacing-lg) + 2rem) var(--spacing-md) var(--spacing-lg);
|
|
background-color: transparent;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.hero-compact-content {
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.blog-hero-compact .badge-filosofia {
|
|
display: inline-block;
|
|
padding: 0.4rem 1rem;
|
|
border-radius: 999px;
|
|
background-color: var(--badge-bg);
|
|
color: var(--badge-text);
|
|
font-family: var(--font-small);
|
|
font-weight: 600;
|
|
font-size: 0.85rem;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
opacity: 0;
|
|
animation: fadeInUp 0.9s ease-out 0s forwards;
|
|
}
|
|
|
|
.blog-hero-compact .hero-compact-title {
|
|
font-family: var(--font-title);
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
font-size: clamp(2.5rem, 6vw, 4rem);
|
|
line-height: 1.1;
|
|
color: var(--text-primary);
|
|
opacity: 0;
|
|
animation: fadeInUp 0.9s ease-out 0.2s forwards;
|
|
}
|
|
|
|
.blog-hero-compact .hero-compact-subtitle {
|
|
font-family: var(--font-body);
|
|
font-size: clamp(1rem, 2vw, 1.15rem);
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
max-width: 600px;
|
|
opacity: 0;
|
|
animation: fadeInUp 0.9s ease-out 0.4s forwards;
|
|
}
|
|
|
|
/* ============================================
|
|
SECCIÓN FILTROS Y BUSCADOR
|
|
============================================ */
|
|
.blog-filters-section {
|
|
padding: var(--spacing-md) var(--spacing-md);
|
|
background-color: var(--bg-surface-t0);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.filters-container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.filters-top-row {
|
|
display: flex;
|
|
gap: var(--spacing-sm);
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.search-wrapper-compact {
|
|
flex: 1;
|
|
min-width: 280px;
|
|
max-width: 480px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: var(--bg-base);
|
|
border: 1.5px solid var(--border);
|
|
border-radius: 999px;
|
|
padding: 0.5rem 0.5rem 0.5rem 1.1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.search-wrapper-compact:focus-within {
|
|
border-color: var(--brand-crimson);
|
|
box-shadow: 0 0 0 3px rgba(186, 18, 77, 0.1);
|
|
background-color: var(--bg-surface);
|
|
}
|
|
|
|
.search-wrapper-compact .search-icon {
|
|
color: var(--text-muted);
|
|
margin-right: 0.6rem;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-wrapper-compact input {
|
|
flex: 1;
|
|
border: none;
|
|
background: transparent;
|
|
font-family: var(--font-body);
|
|
font-size: 0.95rem;
|
|
color: var(--text-primary);
|
|
padding: 0.4rem 0;
|
|
outline: none;
|
|
min-width: 0;
|
|
}
|
|
|
|
.search-wrapper-compact input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.search-clear {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
padding: 0.4rem;
|
|
display: none;
|
|
border-radius: 50%;
|
|
transition: all 0.2s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.search-clear:hover {
|
|
background-color: var(--bg-surface-elevated);
|
|
color: var(--brand-crimson);
|
|
}
|
|
|
|
.search-clear.visible {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.filter-group-compact {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.filter-btn {
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
padding: 0.5rem 1rem;
|
|
border: 1.5px solid var(--border);
|
|
border-radius: 999px;
|
|
background-color: transparent;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
border-color: var(--brand-crimson);
|
|
color: var(--brand-crimson);
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background-color: var(--brand-crimson);
|
|
border-color: var(--brand-crimson);
|
|
color: var(--text-on-accent);
|
|
}
|
|
|
|
.filters-bottom-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
flex-wrap: wrap;
|
|
padding-top: var(--spacing-xs);
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.filter-categories-compact {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.category-btn {
|
|
font-family: var(--font-small);
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
padding: 0.4rem 0.85rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
background-color: var(--bg-base);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.category-btn:hover {
|
|
border-color: var(--brand-teal);
|
|
color: var(--brand-teal);
|
|
}
|
|
|
|
.category-btn.active {
|
|
background-color: var(--brand-teal);
|
|
border-color: var(--brand-teal);
|
|
color: var(--text-on-accent);
|
|
}
|
|
|
|
.filter-secondary-compact {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sort-select-compact {
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
padding: 0.45rem 2rem 0.45rem 0.9rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
background-color: var(--bg-base);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
appearance: none;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23170c1d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right 0.75rem center;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sort-select-compact:hover {
|
|
border-color: var(--brand-teal);
|
|
}
|
|
|
|
.results-info-compact {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
padding-top: var(--spacing-xs);
|
|
}
|
|
|
|
.reset-filters-compact {
|
|
background: none;
|
|
border: none;
|
|
color: var(--brand-crimson);
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
padding: 0.3rem 0.6rem;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.reset-filters-compact:hover {
|
|
background-color: rgba(186, 18, 77, 0.1);
|
|
}
|
|
|
|
/* ============================================
|
|
TAGS DE CATEGORÍAS
|
|
============================================ */
|
|
.category-tag {
|
|
font-family: var(--font-small);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
padding: 0.35rem 0.85rem;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
border: 1.5px solid transparent;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.category-tag.branding { background-color: var(--brand-crimson); color: #ffffff; border-color: var(--brand-crimson); }
|
|
.category-tag.web { background-color: var(--brand-teal); color: #ffffff; border-color: var(--brand-teal); }
|
|
.category-tag.automatizaciones { background-color: var(--brand-plum); color: #ffffff; border-color: var(--brand-plum); }
|
|
.category-tag.redes { background-color: #00a88c; color: #ffffff; border-color: #00a88c; }
|
|
.category-tag.paid { background-color: #6b4c9a; color: #ffffff; border-color: #6b4c9a; }
|
|
.category-tag.estrategia { background-color: #d97706; color: #ffffff; border-color: #d97706; }
|
|
.category-tag.casos { background-color: #475569; color: #ffffff; border-color: #475569; }
|
|
|
|
[data-theme="dark"] .category-tag.automatizaciones { background-color: rgba(23, 12, 29, 0.95); color: var(--brand-sage-light); border-color: rgba(23, 12, 29, 1); }
|
|
[data-theme="dark"] .category-tag.redes { background-color: rgba(5, 104, 87, 0.95); color: #ffffff; border-color: rgba(0, 168, 140, 1); }
|
|
|
|
.category-tag:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* ============================================
|
|
ARTÍCULOS DESTACADOS
|
|
============================================ */
|
|
.featured-posts {
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
background-color: var(--bg-base-t3);
|
|
position: relative;
|
|
}
|
|
|
|
.featured-posts .section-header {
|
|
max-width: 1400px;
|
|
margin: 0 auto var(--spacing-lg);
|
|
text-align: left;
|
|
padding-left: var(--spacing-sm);
|
|
position: relative;
|
|
}
|
|
|
|
.featured-posts .section-header::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 4px;
|
|
height: 60px;
|
|
background: linear-gradient(180deg, var(--brand-crimson) 0%, var(--brand-teal) 100%);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.featured-posts .section-title {
|
|
font-family: var(--font-title);
|
|
font-style: italic;
|
|
font-size: clamp(1.2rem, 2vw, 1.8rem);
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-xs);
|
|
line-height: 1.2;
|
|
padding-left: var(--spacing-md);
|
|
}
|
|
|
|
.featured-posts .section-subtitle {
|
|
font-family: var(--font-body);
|
|
font-size: 1.1rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
padding-left: var(--spacing-md);
|
|
max-width: 600px;
|
|
}
|
|
|
|
.featured-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--spacing-md);
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.featured-card {
|
|
background-color: var(--bg-surface);
|
|
border: 1.5px solid var(--border);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 250px !important;
|
|
}
|
|
|
|
.featured-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
border-radius: 20px;
|
|
padding: 2px;
|
|
background: linear-gradient(135deg, rgba(186, 18, 77, 0.3) 0%, rgba(0, 63, 82, 0.3) 50%, rgba(186, 18, 77, 0.3) 100%);
|
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask-composite: exclude;
|
|
opacity: 0;
|
|
transition: opacity 0.4s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.featured-card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.featured-card:hover::before { opacity: 1; }
|
|
|
|
.featured-badge {
|
|
position: absolute;
|
|
top: var(--spacing-sm);
|
|
left: var(--spacing-sm);
|
|
background-color: var(--brand-crimson);
|
|
color: var(--text-on-accent);
|
|
font-family: var(--font-small);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
padding: 0.35rem 0.8rem;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
z-index: 2;
|
|
box-shadow: 0 2px 8px rgba(186, 18, 77, 0.3);
|
|
}
|
|
|
|
.featured-image {
|
|
position: relative;
|
|
overflow: hidden;
|
|
aspect-ratio: 16/8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.featured-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.featured-card:hover .featured-image img { transform: scale(1.05); }
|
|
|
|
.featured-content {
|
|
padding: var(--spacing-md);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-xs);
|
|
flex: 1;
|
|
}
|
|
|
|
.featured-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.featured-title {
|
|
font-family: var(--font-title);
|
|
font-style: italic;
|
|
font-size: 1.1rem;
|
|
color: var(--text-primary);
|
|
line-height: 1.2;
|
|
margin-bottom: var(--spacing-xs);
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.featured-excerpt {
|
|
font-family: var(--font-body);
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
flex: 1;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
margin-bottom: 0.3rem !important;
|
|
}
|
|
|
|
.featured-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: var(--spacing-sm);
|
|
padding-top: var(--spacing-sm);
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.reading-time {
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.btn-read {
|
|
font-family: var(--font-small);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--brand-crimson);
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.btn-read:hover {
|
|
transform: translateX(4px);
|
|
color: var(--brand-teal);
|
|
}
|
|
|
|
/* ============================================
|
|
GRID DE ARTÍCULOS
|
|
============================================ */
|
|
.blog-grid-section {
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
background-color: var(--bg-surface-t3);
|
|
}
|
|
.blog-grid-section .section-header {
|
|
max-width: 1400px;
|
|
margin: 0 auto var(--spacing-lg);
|
|
text-align: left;
|
|
padding-left: var(--spacing-sm);
|
|
position: relative;
|
|
}
|
|
|
|
.blog-grid-section .section-header::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 4px;
|
|
height: 60px;
|
|
background: linear-gradient(180deg, var(--brand-teal) 0%, var(--brand-crimson) 100%);
|
|
border-radius: 2px;
|
|
}
|
|
.blog-grid-section .section-title {
|
|
font-family: var(--font-title);
|
|
font-style: italic;
|
|
font-size: clamp(1.2rem, 2vw, 1.8rem);
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-xs);
|
|
line-height: 1.2;
|
|
padding-left: var(--spacing-md);
|
|
}
|
|
|
|
.blog-grid-section .section-subtitle {
|
|
font-family: var(--font-body);
|
|
font-size: 1.1rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
padding-left: var(--spacing-md);
|
|
max-width: 600px;
|
|
}
|
|
.blog-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--spacing-md);
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.blog-card {
|
|
background-color: var(--bg-base);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.blog-card:hover {
|
|
transform: translateY(-6px);
|
|
box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
|
|
border-color: var(--brand-teal);
|
|
}
|
|
|
|
.card-image {
|
|
position: relative;
|
|
aspect-ratio: 16/10;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.blog-card:hover .card-image img { transform: scale(1.08); }
|
|
|
|
.card-category {
|
|
position: absolute;
|
|
top: var(--spacing-sm);
|
|
left: var(--spacing-sm);
|
|
font-family: var(--font-small);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
padding: 0.3rem 0.8rem;
|
|
border-radius: 999px;
|
|
background-color: var(--bg-surface);
|
|
color: var(--brand-crimson);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.card-content {
|
|
padding: var(--spacing-md);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-xs);
|
|
flex: 1;
|
|
}
|
|
|
|
.card-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.reading-time-mini { font-weight: 600; }
|
|
|
|
.card-title {
|
|
font-family: var(--font-title);
|
|
font-style: italic;
|
|
font-size: 1.2rem;
|
|
color: var(--text-primary);
|
|
line-height: 1.3;
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.card-excerpt {
|
|
font-family: var(--font-body);
|
|
font-size: 0.95rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
.card-link {
|
|
font-family: var(--font-small);
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--brand-crimson);
|
|
text-decoration: none;
|
|
margin-top: var(--spacing-xs);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.card-link:hover {
|
|
color: var(--brand-teal);
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
/* Estado vacío */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
grid-column: 1 / -1;
|
|
display: none;
|
|
}
|
|
|
|
.empty-state h3 {
|
|
font-family: var(--font-title);
|
|
font-style: italic;
|
|
font-size: 1.5rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.empty-state p {
|
|
color: var(--text-muted);
|
|
margin-bottom: var(--spacing-md);
|
|
max-width: 500px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.load-more-container {
|
|
text-align: center;
|
|
margin-top: var(--spacing-lg);
|
|
}
|
|
|
|
/* ============================================
|
|
RESPONSIVE BLOG
|
|
============================================ */
|
|
@media (max-width: 1024px) {
|
|
.blog-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
|
|
.featured-card { min-height: 420px; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.blog-hero-compact { padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md); }
|
|
.blog-filters-section { padding: var(--spacing-sm); }
|
|
.filters-top-row { flex-direction: column; align-items: stretch; }
|
|
.search-wrapper-compact { max-width: 100%; min-width: 100%; }
|
|
.filter-group-compact { justify-content: center; }
|
|
.filters-bottom-row { flex-direction: column; align-items: stretch; }
|
|
.filter-categories-compact {
|
|
overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch;
|
|
scrollbar-width: none; padding-bottom: 4px;
|
|
}
|
|
.filter-categories-compact::-webkit-scrollbar { display: none; }
|
|
.category-btn { flex-shrink: 0; }
|
|
.filter-secondary-compact { align-self: flex-end; }
|
|
.blog-grid, .featured-grid { grid-template-columns: 1fr; max-width: 500px; }
|
|
.featured-card { min-height: auto; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.blog-hero-compact .hero-compact-title { font-size: 2rem; }
|
|
.search-wrapper-compact { padding: 0.4rem 0.4rem 0.4rem 1rem; }
|
|
.search-wrapper-compact input { font-size: 0.9rem; }
|
|
.filter-btn { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
|
|
.featured-title, .card-title { font-size: 1.2rem; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.blog-card, .featured-card, .filter-btn, .category-btn, .search-wrapper-compact, .category-tag { transition: none; }
|
|
} |