/* Custom Georgian Font - Only for Headers */
@font-face {
    font-family: 'GilroyGEO-Heavy';
    src: url('../fonts/GilroyGEO-Heavy (1).ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+10A0-10FF, U+2D00-2D2F, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Global heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

h1 {
    font-weight: 700;
    font-size: 2.4rem;
}

h2 {
    font-weight: 700;
    font-size: 2rem;
}

h3 {
    font-weight: 600;
    font-size: 1.6rem;
}

h4 {
    font-weight: 600;
    font-size: 1.4rem;
}

h5 {
    font-weight: 600;
    font-size: 1.2rem;
}

h6 {
    font-weight: 600;
    font-size: 1rem;
}

/* Header styles */
.header {
    background-color: #F6F6F7;
    border-bottom: 1px solid #DFDFDF;
    padding: 0 1.6rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 9.6px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 28.8px;
    height: 28.8px;
    border: 2.4px solid #0891b2;
    border-radius: 50%;
    position: relative;
    background-color: transparent;
}

.logo-dots {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2.4px;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #ec4899;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 11.2px;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.4px;
    margin-bottom: 1.6px;
}

.logo-subtitle {
    font-size: 9.6px;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.24px;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.4rem;
    align-items: center;
    margin: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2.4px;
    background-color: #374151;
    border-radius: 1.6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4.8px, 4.8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4.8px, -4.8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 12.8px;
    padding: 0.8rem 0;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

.nav-link:hover {
    color: #0891b2;
}

.nav-link.active {
    color: #0891b2;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.4px;
    background-color: #0891b2;
    border-radius: 1.6px 1.6px 0 0;
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 9.6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.8rem 0;
    margin-top: 0.4rem;
    list-style: none;
}

/* Ensure dropdowns work on desktop */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    list-style: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #374151;
    text-decoration: none;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    list-style: none;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #0891b2;
}

.dropdown-arrow-nav {
    margin-left: 0.4rem;
    width: 9.6px;
    height: 9.6px;
    transition: transform 0.2s ease;
}

.nav-item:hover .dropdown-arrow-nav {
    transform: rotate(180deg);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 4.8px;
    color: #374151;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 12.8px;
    cursor: pointer;
    padding: 6.4px 9.6px;
    border-radius: 4.8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
}

.language-selector:hover {
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border-radius: 9.6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    min-width: 64px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.4rem 0;
    margin-top: 0.4rem;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 0.4rem 0.8rem;
    color: #374151;
    text-decoration: none;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.language-option:hover {
    background-color: #f9fafb;
    color: #0891b2;
}

.dropdown-arrow {
    width: 9.6px;
    height: 9.6px;
    transition: transform 0.2s ease;
}

.language-selector:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.help-button {
    background-color: #0891b2;
    color: #ffffff;
    border: none;
    padding: 9.6px 19.2px;
    border-radius: 4.8px;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 11.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.64px;
    box-shadow: 0 1.6px 3.2px rgba(8, 145, 178, 0.2);
    text-decoration: none;
}

.help-button:hover {
    background-color: #0e7490;
    transform: translateY(-0.8px);
    box-shadow: 0 3.2px 6.4px rgba(8, 145, 178, 0.3);
}

.help-button:active {
    transform: translateY(0);
    box-shadow: 0 1.6px 3.2px rgba(8, 145, 178, 0.2);
}

/* News Article Section */
.news-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.6rem;
}

.news-article {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    background-color: #ffffff;
    border-radius: 9.6px;
    overflow: hidden;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.news-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.clickable-article {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.news-date {
    background-color: #ec4899;
    color: #ffffff;
    padding: 6.4px 12.8px;
    border-radius: 3.2px;
    font-size: 11.2px;
    font-weight: 600;
    text-transform: lowercase;
    display: inline-block;
    width: fit-content;
}

.news-title {
    font-size: 1.1rem;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
}

.news-description {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.read-more-btn {
    background-color: #1f2937;
    color: #ffffff;
    border: none;
    padding: 12.8px 25.6px;
    border-radius: 4.8px;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 11.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.64px;
    width: fit-content;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.read-more-btn:hover {
    background-color: #374151;
    transform: translateY(-0.8px);
    box-shadow: 0 3.2px 6.4px rgba(31, 41, 55, 0.3);
}

/* Gallery Section */
.gallery-section-box {
    background-color: #F6F6F7;
    padding: 3.2rem 0.8rem;
}

.gallery-container {
    max-width: 1120px;
    margin: 0 auto;
}

.gallery-header {
    display: flex;
    align-items: flex-start;
    gap: 3.2rem;
    margin-bottom: 2.4rem;
}

.gallery-title {
    font-size: 2.4rem;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: bold;
    color: #1f2937;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
}

.gallery-header-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    flex: 1;
    max-width: 400px;
}

.gallery-text {
    font-size: 0.64rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.gallery-read-more {
    color: #0891b2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gallery-read-more:hover {
    color: #0e7490;
}

.gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 40vh;
    min-height: 280px;
}

.gallery-item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.7s ease-in-out;
    position: relative;
    cursor: pointer;
    border: 1.6px solid white;
    box-sizing: border-box;
}

.gallery-item:hover {
    flex: 7;
}

.gallery-item-1 {
    background-image: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-3PqGJQLDx9KigIgqrmnC5LCZVcy1EM.png');
}

.gallery-item-2 {
    background-image: url('/placeholder.svg?height=600&width=400');
}

.gallery-item-3 {
    background-image: url('/placeholder.svg?height=600&width=400');
}

.gallery-item-4 {
    background-image: url('/placeholder.svg?height=600&width=400');
}

.gallery-item-5 {
    background-image: url('/placeholder.svg?height=600&width=400');
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.7s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 1.2rem;
}

.gallery-status {
    display: inline-block;
    background-color: #ec4899;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0.2rem;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.gallery-name {
    font-size: 1.2rem;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.gallery-description {
    font-size: 0.7rem;
    line-height: 1.6;
    max-width: 16rem;
}

/* News & Views Section */
.news-views-section {
    background-color: #F6F6F7;
    padding: 3.2rem 1.6rem;
    margin-top: 0;
}

.news-views-container {
    max-width: 1120px;
    margin: 0 auto;
}

.news-views-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.4rem;
}

.news-views-title {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: 0%;
    color: #1f2937;
    margin: 0;
}

.news-views-nav {
    display: flex;
    gap: 0.8rem;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 6.4px;
}

.nav-arrow:hover {
    background-color: rgba(8, 145, 178, 0.1);
    transform: scale(1.1);
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-arrow:disabled:hover {
    background-color: transparent;
}

.nav-arrow img {
    width: 19.2px;
    height: 19.2px;
    transition: all 0.2s ease;
}

.nav-arrow:hover img {
    transform: scale(1.1);
}

.nav-arrow:disabled img {
    transform: none;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.news-cards-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1.6rem;
}

.news-card {
    background-color: #ffffff;
    border-radius: 9.6px;
    overflow: hidden;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 0 280px;
    min-width: 280px;
}

.news-card:hover {
    transform: translateY(-3.2px);
    box-shadow: 0 6.4px 20px rgba(0, 0, 0, 0.1);
}

.news-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}


.news-card-content {
    padding: 1.2rem;
}

.news-card-date {
    background-color: #ec4899;
    color: #ffffff;
    padding: 4.8px 9.6px;
    border-radius: 3.2px;
    font-size: 9.6px;
    font-weight: 600;
    text-transform: lowercase;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.news-card-title {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: #1f2937;
    margin: 0 0 0.8rem 0;
}

.news-card-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    font-size: 11.2px;
    line-height: 1.5;
    letter-spacing: 0%;
    color: #6b7280;
    margin-bottom: 1.2rem;
}

.news-card-link {
    color: #0891b2;
    text-decoration: none;
    font-weight: 500;
    font-size: 11.2px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.news-card-link:hover {
    color: #0e7490;
}

.news-card-link::after {
    content: '→';
    font-size: 12.8px;
}

/* Databases Section */
.databases-section {
    background-color: #ffffff;
    padding: 3.2rem 1.6rem;
}

.databases-container {
    max-width: 1120px;
    margin: 0 auto;
}

.databases-title {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
    color: #1f2937;
    margin: 0 0 2.4rem 0;
}

.databases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.6rem;
}

.database-card {
    background-color: #ffffff;
    border-radius: 9.6px;
    overflow: hidden;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f3f4f6;
}

.database-card:hover {
    transform: translateY(-3.2px);
    box-shadow: 0 6.4px 20px rgba(0, 0, 0, 0.1);
}

.database-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


.database-card-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.database-card-title {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #1f2937;
    margin: 0;
}

.database-card-link {
    color: #0891b2;
    text-decoration: none;
    font-weight: 500;
    font-size: 12.8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    transition: color 0.2s ease;
    margin-top: auto;
}

.database-card-link:hover {
    color: #0e7490;
}

.database-card-link::after {
    content: '→';
    font-size: 14.4px;
}

/* Prisoners Section */
.prisoners-section {
    background-color: #f8f9fa;
    padding: 3.2rem 1.6rem;
}

.prisoners-container {
    max-width: 1120px;
    margin: 0 auto;
}

.prisoners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.4rem;
}

.prisoners-title {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.2;
    color: #1f2937;
    margin: 0;
}

.prisoners-controls {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.search-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 9.6px 16px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 6.4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1.6px solid #e5e7eb;
    font-size: 11.2px;
}

.search-control:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-0.8px);
    box-shadow: 0 3.2px 9.6px rgba(0, 0, 0, 0.1);
}

.search-control.active {
    background-color: #0891b2;
    color: #ffffff;
    border-color: #0891b2;
}

.search-control.active:hover {
    background-color: #0e7490;
    border-color: #0e7490;
}

.search-icon {
    width: 14.4px;
    height: 14.4px;
    stroke: currentColor;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: #374151;
    font-weight: 500;
    font-size: 12.8px;
    transition: color 0.2s ease;
}

.sort-control:hover {
    color: #0891b2;
}

.sort-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #6b7280;
    transition: transform 0.2s ease;
}

.prisoners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.prisoner-card {
    background-color: #ffffff;
    border-radius: 9.6px;
    overflow: hidden;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f3f4f6;
}

.prisoner-card:hover {
    transform: translateY(-3.2px);
    box-shadow: 0 6.4px 20px rgba(0, 0, 0, 0.1);
}

.prisoner-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.prisoner-card-content {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prisoner-name {
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1f2937;
    margin: 0;
}

.prisoner-expand {
    width: 19.2px;
    height: 19.2px;
    border: 1.6px solid #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
    color: #6b7280;
    font-size: 12.8px;
    font-weight: 300;
}

.prisoner-expand:hover {
    border-color: #0891b2;
    color: #0891b2;
    transform: scale(1.1);
}

.see-all-btn {
    background-color: #1f2937;
    color: #ffffff;
    border: none;
    padding: 12.8px 25.6px;
    border-radius: 4.8px;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 11.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.64px;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    text-align: center;
}

.see-all-btn:hover {
    background-color: #374151;
    transform: translateY(-0.8px);
    box-shadow: 0 3.2px 6.4px rgba(31, 41, 55, 0.3);
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
}

.footer-banner {
    background-color: #F6F6F7;
    padding: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.footer-banner-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-banner-icon {
    width: 48px;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-banner-circle {
    width: 40px;
    height: 40px;
    border: 3.2px solid #ffffff;
    border-radius: 50%;
    position: relative;
    background-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
}

.footer-banner-dots {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 3.2px;
}

.footer-banner-dot {
    width: 4.8px;
    height: 4.8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.footer-banner-text {
    font-size: 2rem;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    flex: 1;
}

.footer-content {
    background-color: #f8f9fa;
    padding: 3.2rem 1.6rem 1.6rem;
}

.footer-content-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
}

.footer-logo {
    height: 40px;
}

.footer-nav {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.footer-nav-link {
    text-decoration: none;
    color: #6b7280;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 12.8px;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #0891b2;
}

.footer-subscribe {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.footer-email-input {
    padding: 9.6px 12.8px;
    border: 1px solid #d1d5db;
    border-radius: 4.8px;
    font-size: 11.2px;
    color: #374151;
    background-color: #ffffff;
    min-width: 160px;
    transition: border-color 0.2s ease;
}

.footer-email-input:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 2.4px rgba(8, 145, 178, 0.1);
}

.footer-email-input::placeholder {
    color: #9ca3af;
}

.footer-subscribe-btn {
    background-color: #0891b2;
    color: #ffffff;
    border: none;
    padding: 9.6px 19.2px;
    border-radius: 4.8px;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 11.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.64px;
    white-space: nowrap;
}

.footer-subscribe-btn:hover {
    background-color: #0e7490;
    transform: translateY(-0.8px);
    box-shadow: 0 3.2px 6.4px rgba(8, 145, 178, 0.3);
}

.footer-bottom {
    background-color: #f8f9fa;
    padding: 1.6rem;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
}

.footer-copyright {
    color: #6b7280;
    font-size: 11.2px;
}

.footer-legal {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.footer-legal-link {
    text-decoration: none;
    color: #6b7280;
    font-size: 11.2px;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #0891b2;
}

/* Scrolling Banner */
.scrolling-banner {
    background-color: #0891b2;
    color: #ffffff;
    padding: 0.8rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 3rem;
}

.scrolling-container {
    display: flex;
    align-items: center;
    animation: scrollCarousel 30s linear infinite;
    height: 100%;
    width: 300vw; /* 3 times viewport width for 3 texts */
}

.scrolling-text-item {
    display: inline-flex;
    align-items: center;
    width: 100vw;
    justify-content: center;
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.666%); /* Move by 2/3 to show seamless loop */
    }
}

/* Pause animation on hover */
.scrolling-banner:hover .scrolling-container {
    animation-play-state: paused;
}

/* Responsive text size */
@media (max-width: 768px) {
    .scrolling-text-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .scrolling-text-item {
        font-size: 0.75rem;
    }
}

/* Responsive design */
@media (min-width: 768px) {
    .news-article {
        flex-direction: row;
        align-items: stretch;
    }

    .news-image {
        width: 50%;
        height: auto;
        min-height: 320px;
    }

    .news-content {
        width: 50%;
        padding: 2.4rem;
        justify-content: center;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        font-size: 0.96rem;
    }

    .databases-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .prisoners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.6rem;
    }
    
    .header-container {
        padding: 0 0.8rem;
    }

    .news-card {
        flex: 0 0 240px;
        min-width: 240px;
    }

    .databases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .prisoners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .footer-content-container {
        flex-direction: column;
        gap: 1.6rem;
        align-items: flex-start;
    }

    .footer-nav {
        gap: 1.6rem;
    }

    .footer-subscribe {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-legal {
        gap: 0.8rem;
    }

    .gallery-wrap {
        height: 40vh;
        min-height: 320px;
    }

    .gallery-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 0.8rem;
    }
    
    .header-container {
        height: 56px;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop nav menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 224px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 64px 1.6rem 1.6rem;
        gap: 0;
        margin: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-menu .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid #f3f4f6;
        width: 100%;
        display: block;
    }
    
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f9fafb;
        margin: 0;
        padding: 0;
        display: none;
        width: 100%;
        border-radius: 0;
    }
    
    .nav-menu .nav-item:hover .dropdown-menu,
    .nav-menu .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .nav-menu .dropdown-item {
        padding: 0.6rem 0.8rem;
        border-bottom: 1px solid #e5e7eb;
        margin: 0;
        padding-left: 1.6rem;
    }
    
    /* Mobile dropdown arrow animation */
    .nav-menu .dropdown-arrow-nav {
        transition: transform 0.3s ease;
    }
    
    .nav-menu .nav-item.active .dropdown-arrow-nav {
        transform: rotate(180deg);
    }
    
    /* Mobile menu scrollbar */
    .nav-menu::-webkit-scrollbar {
        width: 3.2px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 1.6px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
    
    .logo-text .logo-title {
        font-size: 9.6px;
    }
    
    .logo-text .logo-subtitle {
        font-size: 8px;
    }
    
    .header-actions {
        gap: 0.8rem;
    }
    
    .help-button {
        padding: 8px 12.8px;
        font-size: 9.6px;
        letter-spacing: 0.4px;
    }
    
    .language-selector {
        font-size: 11.2px;
        padding: 4.8px 6.4px;
    }

    .news-section {
        padding: 0.8rem;
    }

    .news-content {
        padding: 1.2rem;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        font-size: 0.8rem;
    }

    .scrolling-text {
        font-size: 0.8rem;
    }

    .gallery-section {
        padding: 1.6rem 0.8rem;
    }

    .news-views-section {
        padding: 1.6rem 0.8rem;
    }

    .news-views-title {
        font-size: 1.1rem;
    }

    .news-views-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .news-card {
        flex: 0 0 224px;
        min-width: 224px;
    }

    .nav-arrow {
        width: 32px;
        height: 32px;
        padding: 6.4px;
    }

    .nav-arrow img {
        width: 16px;
        height: 16px;
    }

    .databases-section {
        padding: 1.6rem 0.8rem;
    }

    .databases-title {
        font-size: 2rem;
    }

    .databases-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .prisoners-section {
        padding: 1.6rem 0.8rem;
    }

    .prisoners-title {
        font-size: 2rem;
    }

    .prisoners-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .prisoners-controls {
        gap: 0.8rem;
    }

    .prisoners-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer-banner {
        padding: 1.2rem;
    }

    .footer-banner-text {
        font-size: 1.44rem;
    }

    .footer-content {
        padding: 1.6rem 0.8rem;
    }

    .footer-content-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.6rem;
    }

    .footer-nav {
        gap: 1.2rem;
    }

    .footer-subscribe {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 240px;
    }

    .footer-email-input {
        width: 100%;
    }

    .footer-bottom {
        padding: 1.2rem 0.8rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .language-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f9fafb;
        margin: 0.4rem 0;
        border-radius: 6.4px;
        display: none;
    }
    
    .language-selector:hover .language-dropdown {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .help-button {
        padding: 6.4px 9.6px;
        font-size: 8.8px;
    }
    
    .header-actions {
        gap: 0.4rem;
    }
    
    /* Mobile menu adjustments for very small screens */
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-menu-toggle {
        width: 20px;
        height: 20px;
    }
    
    .hamburger-line {
        height: 1.6px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-content {
        padding: 0.8rem;
    }

    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-header {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .gallery-header-description {
        max-width: 100%;
    }

    .news-views-title {
        font-size: 1.1rem;
    }

    .news-card {
        flex: 0 0 200px;
        min-width: 200px;
    }

    .databases-title {
        font-size: 1.6rem;
    }

    .databases-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .prisoners-title {
        font-size: 1.6rem;
    }

    .prisoners-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .footer-banner-text {
        font-size: 1.2rem;
    }

    .footer-logo-text {
        display: none;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.language-selector:focus,
.help-button:focus,
.read-more-btn:focus,
.news-card-link:focus,
.nav-arrow:focus,
.database-card-link:focus,
.search-control:focus,
.sort-control:focus,
.prisoner-expand:focus,
.see-all-btn:focus,
.footer-nav-link:focus,
.footer-email-input:focus,
.footer-subscribe-btn:focus,
.footer-legal-link:focus,
.gallery-item:focus {
    outline: 1.6px solid #0891b2;
    outline-offset: 1.6px;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeIn 0.3s ease-out;
}

/* Dropdown animation preparation */
.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Additional hover effects */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    right: -8px;
    bottom: 0;
    background-color: transparent;
    border-radius: 4.8px;
    transition: background-color 0.2s ease;
    z-index: -1;
}

.nav-item:hover::before {
    background-color: rgba(8, 145, 178, 0.05);
}

/* Logo hover effect */
.logo-section:hover .logo-circle {
    border-color: #0e7490;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.logo-section:hover .dot {
    background-color: #db2777;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

/* News Grid Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.news-card {
    background-color: #ffffff;
    border-radius: 9.6px;
    overflow: hidden;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f3f4f6;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-3.2px);
    box-shadow: 0 6.4px 20px rgba(0, 0, 0, 0.1);
}

.news-card-tag {
    background-color: #ec4899;
    color: #ffffff;
    padding: 4.8px 9.6px;
    border-radius: 3.2px;
    font-size: 9.6px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.8rem;
}

/* Main Content Styles */
.main-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.6rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.4rem;
}

.page-title {
    font-size: 1.6rem;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.page-controls {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

/* Filters Container */
.filters-container {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 9.6px;
    margin-bottom: 1.6rem;
}

.filters-container .form-control {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4.8px;
    font-size: 11.2px;
    transition: border-color 0.2s ease;
}

.filters-container .form-control:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 2.4px rgba(8, 145, 178, 0.1);
}

.filters-container label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    display: block;
}

.filters-container .input-group {
    display: flex;
}

.filters-container .input-group-append {
    margin-left: -0.8px;
}

.filters-container .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.6rem;
    padding: 0.8rem 0;
}

.pagination-btn {
    padding: 6.4px 9.6px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #374151;
    border-radius: 4.8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 11.2px;
    text-decoration: none;
    display: inline-block;
}

.pagination-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
    text-decoration: none;
}

.pagination-btn.active {
    background-color: #0891b2;
    border-color: #0891b2;
    color: #ffffff;
}

.pagination-btn:disabled,
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Additional responsive styles for news grid */
@media (max-width: 1024px) {
    .main-content {
        padding: 0.8rem;
    }

    .page-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.6rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .filters-container .row {
        flex-direction: column;
    }

    .filters-container .col-md-3 {
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.4rem;
    }

    .page-controls {
        flex-direction: column;
        gap: 0.8rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .pagination-btn {
        padding: 4.8px 8px;
        font-size: 9.6px;
    }
}

/* Article Detail Page Styles */
.article-content {
    font-size: 12.8px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.6rem;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content a {
    color: #0891b2;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0e7490;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
    margin: 1.6rem 0 0.8rem 0;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin: 1.2rem 0;
    padding-left: 1.6rem;
}

.article-content li {
    margin-bottom: 0.4rem;
}

.article-content blockquote {
    border-left: 3.2px solid #0891b2;
    padding-left: 1.2rem;
    margin: 1.6rem 0;
    font-style: italic;
    color: #6b7280;
}

.article-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 9.6px;
    margin: 1.6rem auto;
    display: block;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.1);
}

/* Article header styles */
.article-header {
    margin-bottom: 1.6rem;
}

.article-tag {
    background-color: #ec4899;
    color: #ffffff;
    padding: 6.4px 12.8px;
    border-radius: 3.2px;
    font-size: 9.6px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.article-title {
    font-size: 2rem;
    font-family: 'GilroyGEO-Heavy', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.article-meta {
    display: flex;
    gap: 0.8rem;
    color: #6b7280;
    font-size: 11.2px;
    margin-bottom: 1.6rem;
}

/* Breadcrumb styles for article pages */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.6rem;
    font-size: 11.2px;
    color: #6b7280;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #0891b2;
}

.breadcrumb-separator {
    color: #9ca3af;
}

/* Social sharing improvements */
.sharethis-inline-share-buttons,
.addthis_inline_share_toolbox {
    margin-bottom: 0.8rem;
}

.addthis_toolbox {
    display: flex;
    gap: 0.4rem;
}

.addthis_toolbox a {
    display: inline-block;
    padding: 6.4px 9.6px;
    background-color: #f3f4f6;
    border-radius: 4.8px;
    text-decoration: none;
    font-size: 11.2px;
    transition: background-color 0.2s ease;
}

.addthis_toolbox a:hover {
    background-color: #e5e7eb;
}

/* Gallery improvements for article pages */
.fotorama {
    border-radius: 9.6px;
    overflow: hidden;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.1);
}

/* Additional responsive styles for article pages */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.4rem;
    }
    
    .article-content {
        font-size: 12px;
    }
    
    .article-image {
        margin: 1.2rem auto;
    }
}

/* Main Content Layout */
.main-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.6rem;
}

@media (max-width: 768px) {
    .main-content {
        padding: 0.8rem;
    }
}

/* Search Form Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.6rem;
    padding-bottom: 0.8rem;
    border-bottom: 1.6px solid #e5e7eb;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    margin: 10;
}

.page-controls {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.search-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 9.6px 16px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 6.4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1.6px solid #e5e7eb;
    font-size: 11.2px;
}

.search-control:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-0.8px);
    box-shadow: 0 3.2px 9.6px rgba(0, 0, 0, 0.1);
}

.search-control.active {
    background-color: #0891b2;
    color: #ffffff;
    border-color: #0891b2;
}

.search-control.active:hover {
    background-color: #0e7490;
    border-color: #0e7490;
}

.search-icon {
    width: 14.4px;
    height: 14.4px;
    stroke: currentColor;
}

.filters-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12.8px;
    padding: 1.6rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.filters-container.show {
    opacity: 1;
    transform: translateY(0);
}

.filters-container.hide {
    opacity: 0;
    transform: translateY(-8px);
}

.filters-container .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    align-items: end;
}

.filters-container .col-md-3 {
    display: flex;
    flex-direction: column;
}

.filters-container label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #374151;
    font-size: 11.2px;
}

.filters-container .form-control {
    width: 100%;
    padding: 9.6px 12.8px;
    border: 1.6px solid #e5e7eb;
    border-radius: 6.4px;
    font-size: 11.2px;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.filters-container .form-control:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 2.4px rgba(8, 145, 178, 0.1);
}

.filters-container .form-control:hover {
    border-color: #9ca3af;
}

.filters-container .input-group {
    display: flex;
    width: 100%;
}

.filters-container .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.filters-container .input-group-append {
    display: flex;
}

.filters-container .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1.6px solid #0891b2;
    border-left: none;
    background-color: #0891b2;
    color: #ffffff;
    padding: 9.6px 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filters-container .input-group-append .btn:hover {
    background-color: #0e7490;
    border-color: #0e7490;
    transform: translateY(-0.8px);
}

.filters-container .input-group-append .btn:focus {
    outline: none;
    box-shadow: 0 0 0 2.4px rgba(8, 145, 178, 0.2);
}

/* Search Results Header */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 6.4px;
    border-left: 3.2px solid #0891b2;
}

.search-results-info {
    color: #6b7280;
    font-size: 11.2px;
    font-weight: 500;
}

.clear-filters {
    color: #0891b2;
    text-decoration: none;
    font-size: 11.2px;
    font-weight: 500;
    padding: 4.8px 9.6px;
    border: 1px solid #0891b2;
    border-radius: 4.8px;
    transition: all 0.2s ease;
}

.clear-filters:hover {
    background-color: #0891b2;
    color: #ffffff;
}

/* Responsive Design for Search Form */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .filters-container {
        padding: 1.2rem;
    }
    
    .filters-container .row {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .filters-container .col-md-3 {
        min-width: 100%;
    }
    
    .search-control {
        padding: 8px 12.8px;
        font-size: 10.4px;
    }
    
    .search-icon {
        width: 12.8px;
        height: 12.8px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.4rem;
    }
    
    .filters-container {
        padding: 0.8rem;
    }
    
    .search-control {
        padding: 6.4px 9.6px;
        font-size: 9.6px;
    }
    
    .search-control span {
        display: none;
    }
}

/* Back Button Styling */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 4.8px 9.6px;
    background-color: #f8f9fa;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 4.8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 10.4px;
    font-weight: 500;
    text-decoration: none;
}

.back-button:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
    color: #374151;
    transform: translateY(-0.8px);
    box-shadow: 0 1.6px 3.2px rgba(0, 0, 0, 0.1);
}

.back-button svg {
    transition: transform 0.2s ease;
    width: 11.2px;
    height: 11.2px;
}

.back-button:hover svg {
    transform: translateX(-1.6px);
}

@media (max-width: 768px) {
    .back-button {
        padding: 4px 8px;
        font-size: 9.6px;
    }
    
    .back-button svg {
        width: 9.6px;
        height: 9.6px;
    }
}

/* Article Layout - Side by Side */
.article-layout {
    display: flex;
    gap: 1.6rem;
    margin: 1.6rem 0;
    align-items: flex-start;
}

.article-image-section {
    flex: 0 0 40%;
    position: sticky;
    top: 1.6rem;
}

.article-content-section {
    flex: 1;
    min-width: 0;
}

/* Full width content when no image */
.article-layout:not(:has(.article-image-section)) .article-content-section,
.article-layout .article-content-section:only-child {
    flex: 1;
    max-width: 100%;
}

/* Article Featured Image */
.article-main-image {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 9.6px;
    transition: transform 0.3s ease;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.1);
}

.article-main-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .article-layout {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .article-image-section {
        flex: none;
        position: static;
    }
    
    .article-main-image {
        border-radius: 6.4px;
        max-height: 240px;
    }
}

/* Remove old featured image styles */
.article-featured-image {
    display: none;
}