/* ============================================
   TIPS / BLOG - ESTILOS COMPLETOS
   ============================================ */

/* --- HERO BLOG --- */
.tips-hero {
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.tips-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.08"/><circle cx="40" cy="80" r="2" fill="%23ffffff" opacity="0.06"/></svg>');
    background-size: 200px;
    animation: tipsFloat 20s linear infinite;
}
@keyframes tipsFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
}
.tips-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}
.tips-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 0 20px;
}
.tips-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,169,110,0.2);
    border: 1px solid rgba(201,169,110,0.4);
    color: #c9a96e;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.tips-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.tips-hero-content p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
}

/* --- LAYOUT BLOG --- */
.tips-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
}
.tips-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.tips-sidebar-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.tips-sidebar-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tips-sidebar-box h3 i { color: #c9a96e; }

.tips-cat-list { list-style: none; padding: 0; margin: 0; }
.tips-cat-list li { margin-bottom: 4px; }
.tips-cat-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.tips-cat-list li a:hover,
.tips-cat-list li.active a {
    background: rgba(201,169,110,0.1);
    color: #1a1a2e;
    font-weight: 500;
}
.cat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tips-sidebar-cta { text-align: center; background: linear-gradient(135deg, #1a1a2e, #0f3460); color: #fff; }
.tips-sidebar-cta h3 { color: #fff; justify-content: center; }
.tips-sidebar-cta h3 i { color: #c9a96e; }
.tips-sidebar-cta p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 18px; }
.btn-tips-cta {
    display: inline-block;
    background: #c9a96e;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-tips-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,169,110,0.4); }

.tips-popular-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.tips-popular-item:last-child { border-bottom: none; }
.tips-popular-item:hover .tips-popular-title { color: #c9a96e; }
.tips-popular-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tips-popular-views {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- GRID ARTÍCULOS --- */
.tips-filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.tips-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(201,169,110,0.1);
}
.tips-filter-clear {
    color: #999;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.tips-filter-clear:hover { color: #c0392b; }

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.tips-grid-small { grid-template-columns: repeat(3, 1fr); }

.tips-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.tips-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.tips-card-img-wrap {
    position: relative;
    display: block;
    height: auto;
    overflow: hidden;
}
.tips-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.tips-card:hover .tips-card-img-wrap img { transform: scale(1.08); }
.tips-card-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.tips-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.tips-card-meta {
    display: flex;
    gap: 18px;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 12px;
}
.tips-card-meta i { color: #c9a96e; }
.tips-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}
.tips-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}
.tips-card-title a:hover { color: #c9a96e; }
.tips-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tips-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}
.tips-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tips-card-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.tips-card-author span {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}
.tips-card-read {
    color: #c9a96e;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.tips-card-read:hover { gap: 10px; }

/* --- PAGINACIÓN --- */
.tips-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.tips-page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s;
}
.tips-page-btn:hover { background: #f8f9fa; color: #1a1a2e; }
.tips-page-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* --- EMPTY STATE --- */
.tips-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}
.tips-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}
.tips-empty h3 { color: #666; margin-bottom: 10px; }

/* ============================================
   ARTÍCULO INDIVIDUAL
   ============================================ */
.tips-article { background: #f8f9fa; }

.tips-article-header {
    position: relative;
    height: auto;
    min-height: 0;
    padding-top: 45%;
    background-size: 80% auto;
    background-position: center top;
    background-repeat: no-repeat;
    display: block;
}

.tips-article-header-overlay {
    display: none;
}
.tips-article-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 10px;
    box-sizing: border-box;
    background: #f8f9fa;
    color: #1a1a2e;
}
.tips-article-cat {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #fff;
}
.tips-article-header-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.tips-article-submeta {
    display: flex;
    gap: 25px;
    font-size: 0.95rem;
    opacity: 0.8;
}
.tips-article-submeta i { color: #c9a96e; }

.tips-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}
.tips-article-body { background: #fff; border-radius: 20px; padding: 50px; box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
.tips-article-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #444;
}
.tips-article-content h2 { font-size: 1.8rem; color: #1a1a2e; margin: 40px 0 20px; font-weight: 700; }
.tips-article-content h3 { font-size: 1.4rem; color: #1a1a2e; margin: 30px 0 15px; font-weight: 600; }
.tips-article-content p { margin-bottom: 20px; }
.tips-article-content img { max-width: 100%; border-radius: 16px; margin: 25px 0; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.tips-article-content ul, .tips-article-content ol { margin: 20px 0; padding-left: 25px; }
.tips-article-content li { margin-bottom: 10px; }
.tips-article-content blockquote {
    border-left: 4px solid #c9a96e;
    padding: 20px 25px;
    margin: 30px 0;
    background: rgba(201,169,110,0.05);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
}
.tips-article-content a { color: #c9a96e; text-decoration: none; font-weight: 500; }
.tips-article-content a:hover { text-decoration: underline; }

.tips-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
    align-items: center;
}
.tips-article-tags > i { color: #c9a96e; margin-right: 5px; }
.tips-tag {
    background: rgba(201,169,110,0.1);
    color: #1a1a2e;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tips-article-author-box {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
}
.tips-article-author-box img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.tips-article-author-info strong { display: block; font-size: 1.1rem; color: #1a1a2e; margin-bottom: 4px; }
.tips-article-author-info span { font-size: 0.85rem; color: #c9a96e; font-weight: 500; }
.tips-article-author-info p { margin-top: 10px; font-size: 0.95rem; color: #666; line-height: 1.6; }

.tips-article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.tips-back-btn {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.tips-back-btn:hover { color: #1a1a2e; }
.tips-share { display: flex; align-items: center; gap: 12px; }
.tips-share span { font-size: 0.9rem; color: #999; }
.tips-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}
.tips-share a:hover { transform: scale(1.1); }
.tips-share-wa { background: #25d366; }
.tips-share-fb { background: #1877f2; }

.tips-article-sidebar .tips-sidebar-box { position: sticky; top: 100px; }

.tips-related {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.tips-related h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.tips-related h2 i { color: #c9a96e; }

/* ============================================
   EDITOR DE ARTÍCULOS
   ============================================ */
.tips-write-hero {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}
.tips-write-hero-content h1 { font-size: 2.2rem; margin-bottom: 10px; }
.tips-write-hero-content h1 i { color: #c9a96e; }
.tips-write-hero-content p { opacity: 0.8; }

.tips-write-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

.tips-alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.tips-alert-success { background: rgba(39,174,96,0.1); color: #27ae60; border: 1px solid rgba(39,174,96,0.2); }
.tips-alert-error { background: rgba(231,76,60,0.1); color: #e74c3c; border: 1px solid rgba(231,76,60,0.2); }

.tips-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(0,0,0,0.08);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 10;
}
.tips-toolbar-group { display: flex; gap: 4px; padding-right: 12px; border-right: 1px solid rgba(0,0,0,0.06); }
.tips-toolbar-group:last-child { border-right: none; }
.tips-toolbar-right { margin-left: auto; padding-right: 0; gap: 10px; }
.tips-toolbar-btn {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.tips-toolbar-btn:hover { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.tips-btn-draft, .tips-btn-publish {
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.tips-btn-draft { background: #f0f0f0; color: #555; }
.tips-btn-draft:hover { background: #e0e0e0; }
.tips-btn-publish { background: #c9a96e; color: #fff; }
.tips-btn-publish:hover { background: #b8985d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,169,110,0.3); }

.tips-write-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}
.tips-write-main {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 30px;
}
.tips-field { margin-bottom: 25px; }
.tips-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tips-field input,
.tips-field select,
.tips-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    transition: all 0.2s;
}
.tips-field input:focus,
.tips-field select:focus,
.tips-field textarea:focus {
    outline: none;
    border-color: #c9a96e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201,169,110,0.1);
}
.tips-field-title input {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    border: none;
    background: transparent;
    padding: 0;
    border-bottom: 2px solid rgba(0,0,0,0.06);
    border-radius: 0;
    padding-bottom: 12px;
}
.tips-field-title input:focus {
    border-color: #c9a96e;
    box-shadow: none;
}
.tips-field-slug input { font-family: monospace; font-size: 0.9rem; }
.tips-field small { display: block; margin-top: 6px; color: #999; font-size: 0.8rem; }
.tips-field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

#contenido {
    min-height: 500px;
    font-size: 1.05rem;
    line-height: 1.8;
    background: #fafafa;
    border: 1px dashed rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.tips-write-sidebar { display: flex; flex-direction: column; gap: 20px; }
.tips-panel {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.tips-panel h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tips-panel h3 i { color: #c9a96e; }

.tips-upload-box {
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}
.tips-upload-box:hover { border-color: #c9a96e; background: rgba(201,169,110,0.02); }
.tips-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.tips-upload-placeholder i { font-size: 2.5rem; color: #ddd; margin-bottom: 10px; display: block; }
.tips-upload-placeholder span { color: #999; font-size: 0.9rem; }

/* ============================================
   CARRUSEL EN HOME
   ============================================ */
.tips-home-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}
.tips-home-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}
.tips-home-header h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.tips-home-header h2 i { color: #c9a96e; }
.tips-home-header p { color: #777; font-size: 1.1rem; margin-bottom: 25px; }
.tips-home-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a1a2e;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.tips-home-btn-main:hover {
    background: #c9a96e;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(201,169,110,0.3);
}

.tips-carousel-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}
.tips-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 10px 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tips-carousel::-webkit-scrollbar { display: none; }

.tips-carousel-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.tips-carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.tips-carousel-card a { text-decoration: none; color: inherit; display: block; }
.tips-carousel-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.tips-carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.tips-carousel-card:hover .tips-carousel-img img { transform: scale(1.1); }
.tips-carousel-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}
.tips-carousel-body { padding: 22px; }
.tips-carousel-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tips-carousel-body p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tips-carousel-read {
    color: #c9a96e;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tips-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.tips-carousel-arrow:hover { background: #1a1a2e; color: #fff; }
.tips-carousel-prev { left: -25px; }
.tips-carousel-next { right: -25px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .tips-wrapper { grid-template-columns: 1fr; }
    .tips-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
    .tips-sidebar-box { margin-bottom: 0; }
    .tips-write-grid { grid-template-columns: 1fr; }
    .tips-article-wrapper { grid-template-columns: 1fr; }
    .tips-grid-small { grid-template-columns: 1fr; }
    .tips-carousel-arrow { display: none; }
}
@media (max-width: 768px) {
    .tips-hero-content h1 { font-size: 2rem; }
    .tips-article-header-content h1 { font-size: 1.8rem; }
    .tips-article-body { padding: 25px; }
    .tips-card-img-wrap { height: 180px; }
    .tips-carousel-card { flex: 0 0 260px; }
}

/* FOOTER */
/*----Footer-----*/

footer{
padding:90px 0 30px;
background:#201510;
color:#ddd;
font-size:14px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:60px;
margin-bottom:60px;
}

.footer-logo{
width:220px;
margin-bottom:25px;
}

footer h4{
margin-bottom:25px;
color:var(--gold-light);
font-size:16px;
}

footer p,
footer li,
footer a{
font-size:14px;
line-height:1.5;
}

footer li{
margin-bottom:12px;
}

footer a{
transition:.3s;
}

footer a:hover{
color:var(--gold-light);
padding-left:8px;
}

.copyright{
border-top:1px solid rgba(255,255,255,.08);
padding-top:30px;
text-align:center;
font-size:.9rem;
opacity:.7;
}

/* ---------- site-bar ---------- */
.site-bar{
  position:fixed;
  top:20px;
  left:20px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 24px 13px 18px;
  background:rgba(255,255,255,0.5);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid var(--line);
  border-radius:30px;
  font-size:15px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--ink-soft);
  transition:.3s;
}
.site-bar img{
  height:64px;
  width:auto;
  display:block;
}
.site-bar:hover{
  color:var(--steel-deep);
  border-color:var(--steel-deep);
  transform:translateY(-2px);
}

.back-home{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:18px;
  font-size:12.5px;
  letter-spacing:0.05em;
  text-transform:uppercase;
  font-weight:600;
  font-family:'Space Grotesk', sans-serif;
  color:var(--steel-deep);
  border-bottom:1px solid var(--amber);
  padding-bottom:3px;
  transition:color 0.25s ease, border-color 0.25s ease;
}
.back-home:hover{ color:var(--amber); border-color:var(--steel-deep); }
