/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #fbf2e5; 
}
::-webkit-scrollbar-thumb {
    background: #d6c4b0; 
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00a0e3; 
}

/* Sidebar Animations */
.sidebar-transition {
    transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Collapsed State Styles (Desktop) */
@media (min-width: 1024px) {
    #sidebar.collapsed .nav-text,
    #sidebar.collapsed .nav-arrow, 
    #sidebar.collapsed .sidebar-footer-text {
        display: none;
    }
    #sidebar.collapsed .menu-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    #sidebar.collapsed .nav-item-content {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    #sidebar.collapsed .logo-text {
        display: none;
    }
    #sidebar.collapsed .promo-btn {
        padding: 0.5rem;
        justify-content: center;
    }
    #sidebar.collapsed .promo-btn span {
        display: none;
    }
}

/* ==================== SEO Text Block ==================== */
.seo-text-block {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(74, 59, 50, 0.1), 0 2px 4px -1px rgba(74, 59, 50, 0.06);
    border: 1px solid rgba(140, 123, 112, 0.2);
    max-width: 100%;
    overflow-x: hidden;
}
@media (min-width: 768px) {
    .seo-text-block {
        padding: 2.5rem;
    }
}

.seo-text-block h2 {
    font-family: 'Titan One', cursive;
    font-size: 1.5rem;
    letter-spacing: 0.025em;
    color: #4a3b32;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
    .seo-text-block h2 {
        font-size: 1.875rem;
    }
}

.seo-text-block > p {
    margin-bottom: 2rem;
    line-height: 1.625;
    color: #4a3b32;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .seo-text-block > p {
        font-size: 1rem;
    }
}

.seo-text-block > div:first-of-type {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .seo-text-block > div:first-of-type {
        grid-template-columns: 1fr 1fr;
    }
}

.seo-text-block h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4a3b32;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}
.seo-text-block ol {
    list-style-type: decimal;
    padding-left: 1.25rem;
    color: #8c7b70;
    font-size: 0.875rem;
}
.seo-text-block ol li {
    margin-bottom: 0.75rem;
}
.seo-text-block ol li::marker {
    color: #00a0e3;
    font-weight: 800;
    font-size: 1rem;
}
.seo-text-block ol li span {
    color: #0077c8;
    font-weight: 700;
}

.seo-text-block ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    color: #8c7b70;
    font-size: 0.875rem;
}
.seo-text-block ul li {
    margin-bottom: 0.75rem;
}
.seo-text-block ul li::marker {
    color: #ff9900;
    font-size: 1.125rem;
}

.seo-text-block > div:last-of-type {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    min-width: 0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(140, 123, 112, 0.2);
    -webkit-overflow-scrolling: touch;
}
.seo-text-block table {
    width: 100%;
    min-width: 280px;
    text-align: left;
    border-collapse: collapse;
}
.seo-text-block thead tr {
    background: linear-gradient(to right, #00a0e3, #0077c8);
    color: #fff;
}
.seo-text-block th {
    padding: 1rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.seo-text-block th:first-child {
    width: 33.333333%;
}
.seo-text-block tbody {
    background: #fff;
    font-size: 0.875rem;
}
.seo-text-block tbody tr {
    border-bottom: 1px solid rgba(140, 123, 112, 0.15);
    transition: background 0.2s;
}
.seo-text-block tbody tr:hover {
    background: rgba(243, 233, 217, 0.3);
}
.seo-text-block td {
    padding: 1rem;
}
.seo-text-block td:first-child {
    font-weight: 700;
    color: #4a3b32;
    border-right: 1px solid rgba(140, 123, 112, 0.15);
    background: rgba(243, 233, 217, 0.15);
}
.seo-text-block td:last-child {
    color: #8c7b70;
}
.seo-text-block tbody tr:last-child td:last-child {
    font-weight: 700;
    color: #00a0e3;
}
