/* Section Blocks */

.section-block {
    border: 1px solid #1976d2;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.section-block__header a {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
}

.section-block__header a:hover {
    color: #fff;
}

.section-block__header {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 50%, #0d47a1 100%);
    color: #ffffff;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 3px solid #0d47a1;
    position: relative;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3);
}

.section-block__header:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #64b5f6, #42a5f5);
}

.section-block__content {
    padding: 15px;
    background-color: #fafafa;
}

.section-block__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-block__list_child {
    list-style: dot-circle-o;
    padding: 5px;
    margin-left: 10px;
    padding-left: 15px;
    font-weight: 400;
    display: none;
    /* background-color: #e3e4e5; */
}

.section-block__item_child {
    list-style-type: circle;
}

.section-block__item_child a {
    padding: 8px 0;
    color: #1976d2!important;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-block__item_child a:hover {
    color: #ff6651!important;
}

.section-block__item {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #1976d2;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-block__item:last-child {
    border-bottom: none;
}

.section-block__item:hover {
    background-color: #e3f2fd;
    padding-left: 10px;
    color: #0d47a1;
}

.section-block__item--sub {
    font-size: 14px;
    color: #666;
    padding-left: 15px;
    font-weight: 400;
}

.section-block__item--sub a {
    color: #666;
    font-weight: 400;
}

.section-block__item--sub:before {
    content: "- ";
    color: #1976d2;
    font-weight: bold;
}


/* Content Areas */

.content-area {
    border: 1px solid #1976d2;
    background-color: #fafafa;
    margin-bottom: 20px;
}

.content-area__header {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 50%, #0d47a1 100%);
    color: #ffffff;
    padding: 15px 18px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 3px solid #0d47a1;
    position: relative;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3);
}

.content-area__header a {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.content-area__header a:hover {
    color: #fff;
}

.content-area__header:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #64b5f6, #42a5f5);
}

.content-area__body {
    padding: 20px 15px;
    background-color: #fafafa;
    min-height: 80px;
    color: #666;
    font-style: italic;
    overflow-y: scroll;
    height: 250px;
}


/* Government styling touches */

.journal-layout__title {
    text-align: center;
    color: #1976d2;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #1976d2;
    padding-bottom: 15px;
}

#createPostForm .form-control:focus {
    border-color: #337ab7;
    box-shadow: 0 0 8px #337ab733;
}

#createPostForm .panel-primary {
    border-color: #337ab7;
    box-shadow: 0 2px 8px rgba(51, 122, 183, 0.08);
}

#createPostForm .panel-primary>.panel-heading {
    background-color: #337ab7;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
}

#createPostForm .btn-success {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    border: none;
    transition: background 0.3s;
}

#createPostForm .btn-success:hover,
#createPostForm .btn-success:focus {
    background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%);
    color: #fff;
}

#createPostForm .form-control.error {
    border-color: #d9534f;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}

#createPostForm .alert {
    border-radius: 4px;
    margin-bottom: 20px;
}

#createPostForm .alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#createPostForm .alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .section-block {
        margin-bottom: 15px;
    }
    .section-block__header,
    .content-area__header {
        font-size: 14px;
        padding: 10px 12px;
    }
    .section-block__content,
    .content-area__body {
        padding: 12px;
    }
}

.national-emblem {
    text-align: center;
    margin-bottom: 20px;
}

.national-emblem__symbol {
    color: #1976d2;
    font-size: 24px;
    margin-bottom: 10px;
}

.no-topics {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.no-data-message {
    text-align: center;
    color: #999;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 25px 20px;
    width: 100%;
    max-width: 280px;
    position: relative;
    transition: all 0.3s ease;
}

.no-data-message:hover {
    border-color: #1976d2;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

.no-data-message i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #1976d2;
    display: block;
    opacity: 0.7;
}

.no-data-message p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #666;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-data-message {
    animation: fadeInUp 0.6s ease-out;
}