body {
    background-color: #f8f8f8;
}
.footer-wrap {
    margin: 2rem 0;
    border-top: 1px solid #ededed;
    padding: 1rem 1rem;
    background-color: #3d1f55;
    border-radius: 1rem;
}
.footer-wrap p{
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1rem;
}
.footer-wrap a {
    color: #ffffff;
    font-weight: 500;
}
.footer-menu a, a.copyright{
    text-decoration: none;
}
.footer-menu a:hover, a.copyright:hover{
    text-decoration: underline;
}

.footer-menu-item:not(:last-child) {
    margin-right: .7rem;
}
.footer-menu-item {
    display: inline-block;
}
.footer-menu {
    list-style: none;
    padding-left: 0;
}

.blogpost h1 {
    line-height: 1em;
}

.breadcrumb li a{
    font-size: 0.9rem;
}

/* Стили для обрезки текста */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* Улучшенные стили для карточек */
.catalog-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
    min-height: 140px;
}

.card-img {
    object-fit: contain;
    max-height: 120px;
    padding: 10px;
}

.card-title-custom {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #212529;
}

.card-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.card-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: #e9ecef;
    color: #495057;
    border-radius: 4px;
    display: inline-block;
}

.card-buttons {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f1f1;
}

/* Уравниваем высоту карточек в строке */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.gradient {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(90deg, red, orange, fuchsia);
    font-weight: bold;
}
.home_catalog_title h1 {
    text-align: center;
}
.category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    text-decoration: none;
}
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-decoration: none;
}
.blog-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.blog-card-body {
    flex: 1;
    padding: 1.5rem;
}
.blog-card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.blog-category-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(90deg, #f0f0f0, #e0e0e0);
    border-radius: 50px;
    color: #555;
}
.read-time {
    font-size: 0.875rem;
    color: #6c757d;
}
.home_page {
    position: relative;
    overflow: hidden;
}
.hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 4rem;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" opacity="0.1"><path d="M0,0 L1200,0 L1200,600 Q600,400 0,600 Z" fill="white"/></svg>');
    background-size: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.hero-buttons .btn-primary {
    background: white;
    color: #2575fc;
    border: none;
}
.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}
.hero-buttons .btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
}
.stat-item {
    text-align: center;
    padding: 1rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2575fc;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
        border-radius: 0 0 1.5rem 1.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .lead {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

.text_logo {
    font-size: 42px;        /* размер текста */
    font-weight: bold;      /* жирное начертание */
    background: linear-gradient(
            45deg,        /* направление градиента под углом 45° */
            #ff0040,      /* первый цвет */
            #0077ff       /* второй цвет */
    );
    -webkit-background-clip: text;
    color: transparent;
}
.text_logo:hover {
    text-shadow:
            1px 1px #ff0040,
            2px 2px #0077ff;
    color: crimson;
}

.blog_post {
    padding: 2rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100px);
}

.blogpost {
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blogpost h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.blogpost .lead {
    font-size: 1.25rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f3f5;
}

.post_featured_image {
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.post_body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #343a40;
}

.post_body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f3f5;
}

.post_body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
}

.post_body p {
    margin-bottom: 1.5rem;
}

.post_body ul, .post_body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post_body li {
    margin-bottom: 0.5rem;
}

.post_body blockquote {
    border-left: 4px solid #6a11cb;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #495057;
}

.post_body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.post_meta {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 2.5rem 0;
    border-left: 4px solid #6a11cb;
}

.meta_item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #6c757d;
}

.meta_item:last-child {
    margin-bottom: 0;
}

.meta_item i {
    width: 20px;
    margin-right: 10px;
    color: #6a11cb;
}

.author_box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.author_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.author_info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.author_bio {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.related_posts {
    margin: 3rem 0;
}

.related_post_card {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.related_post_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #6a11cb;
}

.related_post_image {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.related_post_content {
    padding: 1.5rem;
}

.blog_sidebar {
    position: sticky;
    top: 20px;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar_widget {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sidebar_widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar_title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 2px;
}

.sidebar_post_item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f3f5;
}

.sidebar_post_item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar_post_image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.sidebar_post_title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.sidebar_channel_item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.sidebar_channel_item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.channel_icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.channel_name {
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.3;
}


@media (max-width: 768px) {
    .blogpost {
        padding: 1.5rem;
    }

    .blogpost h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .post_body {
        font-size: 1rem;
    }

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

    .author_avatar {
        margin: 0 auto;
    }

    .blog_sidebar {
        position: static;
        margin-top: 2rem;
    }
}

.add-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100px);
    min-height: 70vh;
}

.add-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.add-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid #f1f3f5;
}

.add-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.add-header p {
    color: #6c757d;
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.add-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    color: #856404;
    font-size: 0.95rem;
}

.add-warning strong {
    color: #856404;
}

.type-tabs {
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    padding: 0 2.5rem;
}

.type-tabs .nav-link {
    padding: 1rem 2rem;
    font-weight: 500;
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.type-tabs .nav-link:hover {
    color: #495057;
    background-color: rgba(0, 0, 0, 0.02);
}

.type-tabs .nav-link.active {
    color: #2575fc;
    background-color: transparent;
    border-bottom-color: #2575fc;
    font-weight: 600;
}

.tab-content-container {
    padding: 2.5rem;
}

.form-card {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 0.25rem rgba(106, 17, 203, 0.15);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #198754;
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.char-counter {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    background: #f1f3f5;
    min-width: 40px;
    text-align: center;
}

.char-counter.valid {
    background: #d1e7dd;
    color: #0f5132;
}

.char-counter.invalid {
    background: #f8d7da;
    color: #842029;
}

.min-chars-warning {
    color: #dc3545;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
}

.form-hint {
    background: #e8f4ff;
    border-left: 4px solid #2575fc;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.95rem;
    color: #2c3e50;
}

.form-hint b {
    color: #2c3e50;
}

.response-box {
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: fadeIn 0.3s ease;
    border: 1px solid transparent;
}

.response-box.success {
    background: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
    display: block;
}

.response-box.error {
    background: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
    display: block;
}

.submit-btn {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.2);
    color: white;
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.temporary-closed {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.temporary-closed .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.temporary-closed h3 {
    font-size: 1.5rem;
    color: #495057;
    margin-bottom: 1rem;
}

.temporary-closed p {
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-list {
    margin: 2.5rem 0;
    padding: 0;
    list-style: none;
}

.benefits-list li {
    padding: 0.75rem 0;
    color: #495057;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .add-section {
        padding: 1.5rem 0;
    }

    .add-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .add-header h1 {
        font-size: 1.75rem;
    }

    .type-tabs {
        padding: 0 1.5rem;
    }

    .type-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .tab-content-container {
        padding: 1.5rem;
    }

    .form-card {
        padding: 1.5rem;
    }
}
.link-page {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100px);
}

.link-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    padding: 2.5rem;
}

.link-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f1f3f5;
}

.link-image {
    width: 150px;
    height: 150px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.link-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.link-info {
    flex: 1;
}

.link-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

.link-description {
    font-size: 1.25rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.link-action {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.open-btn {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 176, 155, 0.2);
    color: white;
}

.link-meta {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #6a11cb;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.meta-value {
    font-size: 1.125rem;
    color: #2c3e50;
    font-weight: 600;
}

.meta-value a {
    color: #2575fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.meta-value a:hover {
    color: #6a11cb;
    text-decoration: underline;
}

.link-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-badge {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #495057;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.type-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1rem;
    vertical-align: middle;
}

.type-channel {
    background: #d1ecf1;
    color: #0c5460;
}

.type-chat {
    background: #d4edda;
    color: #155724;
}

.type-bot {
    background: #f8d7da;
    color: #721c24;
}

.link-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #343a40;
    margin-top: 2rem;
}

.link-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1.5rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f3f5;
}

.related-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.related-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #6a11cb;
}

@media (max-width: 768px) {
    .link-page {
        padding: 1.5rem 0;
    }

    .link-card {
        padding: 1.5rem;
    }

    .link-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .link-image,
    .link-image-placeholder {
        margin: 0 auto;
    }

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

    .link-description {
        font-size: 1.125rem;
    }

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

    .link-action {
        justify-content: center;
    }
}
.blog-category-page {
    padding: 1rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100px);
}

.category-hero {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.category-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.category-lead {
    font-size: 1.375rem;
    color: #495057;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.4;
}

.category-featured-image {
    border-radius: 1rem;
    overflow: hidden;
    margin: 2rem auto 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.category-description {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #e9ecef;
    border-left: 4px solid #6a11cb;
}

.category-description h2 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.category-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 1.5rem;
}

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

.category-description ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-description li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #495057;
}

.subscription-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.subscription-box p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



@media (max-width: 768px) {
    .blog-category-page {
        padding: 1.5rem 0;
    }

    .category-hero h1 {
        font-size: 2rem;
    }

    .category-lead {
        font-size: 1.125rem;
    }

    .category-description {
        padding: 1.5rem;
    }

}