* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.top-nav {
    background-color: #0556C7;
    padding: 5px 20px;
    text-align: center;
    font-size: 12px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.top-nav a:hover {
    text-decoration: underline;
}

.main-header {
    background-color: #0556C7;
    padding: 20px 20px 0 20px;
    min-height: 120px;
    color: white;
    position: relative;
    overflow: visible;
}

.header-content {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 100px;
    position: relative;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding-bottom: 20px;
}

.logo {
    max-height: 80px;
    max-width: 120px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

.company-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.company-name h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 16px;
    font-style: italic;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    gap: 0;
    margin-top: auto;
    margin-bottom: -10px;
    align-items: flex-end;
    position: absolute;
    bottom: -10px;
    right: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 12px 20px 28px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    transition: transform 0.25s ease-out, 
                background-color 0.25s ease-out, 
                color 0.25s ease-out,
                border-color 0.25s ease-out,
                border-bottom 0.25s ease-out;
    cursor: pointer;
    display: inline-block;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    margin-right: 2px;
    margin-bottom: 0;
    bottom: 0;
    transform: translateY(0);
    will-change: transform;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #0556C7;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.main-nav a:active {
    background-color: rgba(255, 255, 255, 0.3);
}

.main-nav a.active {
    background-color: white;
    color: #0556C7;
    font-weight: bold;
    border-color: rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid white;
    z-index: 5;
    padding-bottom: 28px;
    margin-bottom: 0;
    position: relative;
    bottom: 0;
    transform: translateY(-6px);
}

.main-nav a.active::after {
    display: none;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 20px 20px 20px 20px;
    background-color: #f5f5f5;
    position: relative;
    z-index: 10;
}

.sidebar {
    width: 280px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sidebar-news {
    margin-bottom: 25px;
}

.sidebar-news h2 {
    color: #0556C7;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0556C7;
    padding-bottom: 5px;
}

.news-block {
    background-color: #f0f4ff;
    border: 2px solid #0556C7;
    border-radius: 5px;
    padding: 15px;
    margin-top: 10px;
}

.news-block .news-date-small {
    display: block;
    color: #666;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(5, 86, 199, 0.2);
}

.news-block h3 {
    color: #0556C7;
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 12px 0;
}

.news-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-links li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.news-links li::before {
    content: "•";
    color: #0556C7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.news-links a {
    color: #0556C7;
    text-decoration: underline;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-links a:hover {
    color: #033d8f;
    text-decoration-color: #033d8f;
}

.news-date-small {
    color: #666;
    font-size: 11px;
    font-style: italic;
    white-space: nowrap;
}

.sidebar-section h2 {
    color: #0556C7;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0556C7;
    padding-bottom: 5px;
}

.sidebar-section p {
    font-size: 13px;
    text-align: left;
    margin-bottom: 20px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.sidebar-nav a {
    color: #0556C7;
    text-decoration: underline;
    font-size: 14px;
}

.sidebar-nav a:hover {
    color: #0556C7;
}

.login-section {
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group label {
    font-size: 13px;
    min-width: 60px;
}

.input-wrapper {
    display: flex;
    flex: 1;
}

.input-wrapper input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    font-size: 12px;
}

.dots-btn {
    padding: 5px 8px;
    background-color: #ddd;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 10px;
}

.login-btn {
    align-self: flex-end;
    padding: 5px 15px;
    background-color: #0556C7;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.login-btn:hover {
    background-color: #0556C7;
}

.search-section {
    margin-top: 20px;
}

.search-section h3 {
    font-size: 14px;
    color: #0556C7;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.search-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-nav a {
    color: #0556C7;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-nav a:hover {
    text-decoration: underline;
}

.search-nav .icon {
    font-weight: bold;
}

.main-content {
    flex: 1;
    background-color: white;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-content h2 {
    color: #0556C7;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0556C7;
    padding-bottom: 10px;
}

.main-content p {
    margin-bottom: 15px;
    text-align: left;
    font-size: 14px;
}

.main-image {
    margin: 20px 0;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.images-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.image-box {
    flex: 1;
}

.image-box img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.contacts-content {
    flex: 1;
    background-color: white;
    padding: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contacts-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin-bottom: 40px;
}

.contacts-logo {
    flex-shrink: 0;
}

.contacts-logo img {
    max-width: 200px;
    height: auto;
}

.contacts-info {
    flex: 1;
    color: #0556C7;
}

.contacts-info p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.company-type {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.company-name-full {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.company-name-short {
    font-size: 18px;
    margin-bottom: 20px;
}

.address {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.inn {
    font-size: 16px;
    margin-bottom: 25px;
}

.contacts-row {
    display: flex;
    margin-bottom: 8px;
}

.contact-item {
    flex: 1;
    font-size: 16px;
}

.map-container {
    width: 100%;
    margin-top: 0;
}

.map-container h3 {
    color: #0556C7;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0556C7;
    padding-bottom: 10px;
}

.yandex-map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.yandex-map iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: none;
}

.reference-subtitle {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.reference-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 16px;
}

.reference-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.reference-table tr:last-child {
    border-bottom: none;
}

.reference-table td {
    padding: 12px 15px;
    vertical-align: top;
}

.reference-name {
    color: #0556C7;
    font-weight: 600;
    width: 50%;
}

.reference-period {
    color: #666;
    text-align: right;
    width: 50%;
}

.reference-current .reference-name {
    font-weight: 700;
}

.reference-current .reference-period {
    color: #0556C7;
    font-weight: 500;
}

.shareholders-content {
    flex: 1;
    background-color: white;
    padding: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.shareholders-content h2 {
    color: #0556C7;
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 3px solid #0556C7;
    padding-bottom: 15px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(5, 86, 199, 0.1);
    border-color: #0556C7;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.news-title {
    color: #0556C7;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    flex: 1;
}

.news-date {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    padding-top: 3px;
}

.news-body {
    color: #333;
    line-height: 1.8;
}

.news-body p {
    margin-bottom: 15px;
    font-size: 16px;
}

.news-document {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 12px 15px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.news-document:hover {
    border-color: #0556C7;
    background-color: #f0f4ff;
    box-shadow: 0 2px 8px rgba(5, 86, 199, 0.15);
}

.document-name {
    color: #0556C7;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s ease;
}

.news-document:hover .document-name {
    text-decoration-color: #0556C7;
}

.news-list-items {
    margin: 15px 0;
    padding-left: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.news-list-items li {
    margin-bottom: 8px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background-color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #0556C7;
    background-color: #f0f0f0;
    transform: rotate(90deg);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.footer {
    background-color: #0556C7;
    color: white;
    text-align: center;
    padding: 15px 20px;
    margin-top: 20px;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1400px) {
    .header-content {
        padding: 0 15px;
    }
    
    .main-nav a {
        padding: 10px 15px 26px 15px;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .header-content {
        padding: 0 10px;
    }
    
    .company-name h1 {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .logo {
        max-height: 70px;
        max-width: 110px;
    }
    
    .main-nav a {
        padding: 10px 12px 24px 12px;
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .main-header {
        padding: 15px 15px 0 15px;
        min-height: auto;
        padding-bottom: 0;
    }
    
    .specs-table,
    .reference-table {
        width: 100%;
        max-width: 100%;
    }
    
    .specs-table td,
    .reference-table td {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: auto;
        padding: 0 10px;
        padding-bottom: 0;
        justify-content: center;
    }
    
    .logo-section {
        gap: 10px;
        padding-bottom: 10px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .logo {
        max-height: 60px;
        max-width: 100px;
    }
    
    .company-name {
        align-items: center;
        text-align: center;
    }
    
    .company-name h1 {
        font-size: 18px;
    }
    
    .subtitle {
        font-size: 13px;
    }
    
    .main-nav {
        width: 100%;
        flex-wrap: nowrap;
        position: relative;
        bottom: -10px;
        margin-top: 0;
        margin-bottom: -10px;
        align-items: flex-end;
        display: flex;
        gap: 0;
        justify-content: center;
        left: 0;
        right: 0;
    }
    
    .main-nav a {
        padding: 8px 4px 20px 4px;
        font-size: 10px;
        margin-right: 1px;
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        height: auto;
    }
    
    .main-nav a.active {
        padding-bottom: 22px;
        transform: translateY(-4px);
        margin-bottom: -2px;
    }
}

@media (max-width: 708px) {
    .contacts-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contacts-logo img {
        max-width: 150px;
    }
}

@media (max-width: 428px) {
    .contacts-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .contact-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding-top: 10px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .specs-table,
    .reference-table {
        width: 100%;
        max-width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .specs-table td,
    .reference-table td {
        font-size: 13px;
        padding: 8px 10px;
        white-space: nowrap;
        min-width: 100px;
    }
    
    .specs-table td:first-child,
    .reference-table td:first-child {
        min-width: 150px;
    }
    
    .main-header {
        padding: 10px 10px 0 10px;
        min-height: auto;
        padding-bottom: 0;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: auto;
        padding: 0;
        padding-bottom: 0;
        justify-content: center;
    }
    
    .logo-section {
        width: 100%;
        padding-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo {
        max-height: 50px;
        max-width: 90px;
    }
    
    .company-name {
        align-items: center;
        text-align: center;
    }
    
    .company-name h1 {
        font-size: 16px;
    }
    
    .subtitle {
        font-size: 12px;
    }
    
    .main-nav {
        width: 100%;
        flex-wrap: nowrap;
        position: relative;
        bottom: -10px;
        margin-top: 0;
        margin-bottom: -10px;
        align-items: flex-end;
        display: flex;
        gap: 0;
        justify-content: center;
        left: 0;
        right: 0;
    }
    
    .main-nav a {
        padding: 8px 2px 20px 2px;
        font-size: 9px;
        margin-right: 1px;
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        height: auto;
    }
    
    .main-nav a.active {
        padding-bottom: 22px;
        transform: translateY(-3px);
        margin-bottom: -2px;
    }
    
    .shareholders-content {
        padding: 20px;
    }
    
    .shareholders-content h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .news-item {
        padding: 20px;
    }
    
    .news-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-date {
        align-self: flex-start;
    }
    
    .news-body p {
        font-size: 14px;
        text-align: left;
    }
    
    .sidebar-section p,
    .main-content p {
        text-align: left;
    }
    
    .news-document {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .shareholders-content {
        padding: 18px;
    }
    
    .shareholders-content h2 {
        font-size: 20px;
        margin-bottom: 22px;
    }
    
    .news-item {
        padding: 18px;
    }
    
    .news-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .news-title {
        font-size: 17px;
        line-height: 1.3;
    }
    
    .news-date {
        align-self: flex-start;
        font-size: 13px;
    }
    
    .news-body p {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }
    
    .news-list-items {
        font-size: 14px;
    }
    
    .sidebar-section p,
    .main-content p {
        text-align: left;
    }
}

@media (max-width: 356px) {
    .main-header {
        padding: 10px 8px 10px 8px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 8px;
    }
    
    .logo-section {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-bottom: 8px;
        width: 100%;
    }
    
    .logo {
        max-height: 45px;
        max-width: 80px;
    }
    
    .company-name {
        align-items: center;
        text-align: center;
    }
    
    .company-name h1 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 11px;
    }
    
    .main-nav {
        position: relative;
        bottom: 0;
        margin-bottom: 0;
        margin-top: 8px;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    
    .main-nav a {
        padding: 10px 8px;
        font-size: 11px;
        margin-right: 0;
        margin-bottom: 2px;
        flex: none;
        width: 100%;
        text-align: center;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .main-nav a.active {
        padding: 10px 8px;
        transform: none;
        margin-bottom: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .container {
        padding: 10px 8px;
        flex-direction: column;
        gap: 10px;
    }
    
    .scroll-to-top {
        display: block;
    }
    
    .sidebar {
        width: 100%;
        padding: 15px;
    }
    
    .sidebar-news h2,
    .sidebar-section h2 {
        font-size: 16px;
    }
    
    .news-block {
        padding: 12px;
    }
    
    .news-block h3 {
        font-size: 13px;
    }
    
    .news-links a {
        font-size: 12px;
    }
    
    .sidebar-section p {
        font-size: 12px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .main-content h2 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .main-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .main-image {
        margin: 15px 0;
    }
    
    .images-row {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .image-box {
        width: 100%;
    }
    
    .image-box img {
        width: 100%;
        height: auto;
    }
    
    .contacts-content {
        padding: 15px;
    }
    
    .contacts-content h3 {
        font-size: 18px;
    }
    
    .contacts-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contacts-logo img {
        max-width: 120px;
    }
    
    .contacts-info {
        font-size: 13px;
    }
    
    .contacts-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .map-container {
        margin-top: 20px;
        padding: 15px;
    }
    
    .map-container h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .yandex-map iframe {
        height: 250px;
    }
    
    .shareholders-content {
        padding: 15px;
    }
    
    .shareholders-content h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .shareholders-content h3 {
        font-size: 16px;
    }
    
    .shareholders-content p {
        font-size: 13px;
    }
    
    .sidebar-section p,
    .main-content p,
    .news-body p {
        text-align: left;
    }
    
    table,
    .specs-table,
    .reference-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }
    
    table thead,
    table tbody,
    table tr,
    .specs-table thead,
    .specs-table tbody,
    .specs-table tr,
    .reference-table thead,
    .reference-table tbody,
    .reference-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    table td,
    table th,
    .specs-table td,
    .specs-table th,
    .reference-table td,
    .reference-table th {
        font-size: 11px;
        padding: 6px 4px;
        white-space: nowrap;
        min-width: 100px;
    }
    
    .specs-table td:first-child,
    .reference-table td:first-child {
        min-width: 150px;
    }
    
    .specs-table td:last-child,
    .reference-table td:last-child {
        min-width: 80px;
    }
    
    .news-item {
        padding: 20px;
    }
    
    .news-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-date {
        align-self: flex-start;
    }
    
    .news-document {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .document-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-view,
    .btn-download {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        height: 95vh;
        max-height: none;
    }
    
    .modal-close {
        right: 10px;
        top: 10px;
        font-size: 30px;
        width: 30px;
        height: 30px;
    }
    
    .container {
        flex-direction: column;
    }
}

.specs-table {
    width: 90%;
    max-width: 600px;
    margin: 20px auto 30px auto;
    border-collapse: collapse;
    background-color: #EEEEEE;
    border: 1px solid #ddd;
}

.specs-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.specs-table td:first-child {
    width: 75%;
    font-weight: 500;
    color: #333;
}

.specs-table td:last-child {
    width: 25%;
    text-align: right;
    color: #0556C7;
    font-weight: 600;
}

.scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(5, 86, 199, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 50px;
}

.scroll-to-top:hover {
    background-color: rgba(5, 86, 199, 0.9);
    transform: scale(1.1);
}

.scroll-to-top:active {
    transform: scale(0.95);
    background-color: rgba(5, 86, 199, 1);
}

@media (max-width: 768px) {
    .scroll-to-top {
        display: block;
    }
}
