/* Inner pages */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card-content h2 a {
    color: #1a1a2e;
}

.news-card-content h2 a:hover {
    color: #f1592a;
}

.news-card-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-card-large {
    display: flex;
    gap: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-card-thumb {
    flex: 0 0 300px;
}

.project-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-info {
    padding: 20px;
    flex: 1;
}

.project-card-info h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-card-info h2 a {
    color: #1a1a2e;
}

.project-card-info h2 a:hover {
    color: #f1592a;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.project-city {
    font-weight: 600;
}

.project-category {
    background: #f1592a;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 14px;
    color: #333;
}

.testimonial-author span {
    display: block;
    color: #999;
    font-size: 13px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-department {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.contact-department h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a2e;
    padding-bottom: 10px;
    border-bottom: 3px solid #f1592a;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-label {
    font-weight: 600;
    color: #333;
}

.contact-info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.forms-section {
    max-width: 1000px;
}

.form-intro {
    margin-bottom: 30px;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
}

.form-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.form-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.admin-panel {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-notice,
.admin-error {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.admin-notice {
    background: #e8f6ed;
    color: #225b32;
}

.admin-error {
    background: #fdecea;
    color: #9f2a1d;
}

.admin-login,
.admin-form {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.admin-form h2 {
    margin-bottom: 20px;
}

.admin-field {
    margin-bottom: 16px;
}

.admin-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font: inherit;
}

.admin-field input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}

.admin-field textarea {
    min-height: 120px;
}

.admin-field .admin-editor {
    min-height: 280px;
    font-family: Consolas, Monaco, monospace;
}

.admin-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-toolbar {
    justify-content: space-between;
    margin-bottom: 20px;
}

.admin-button,
.admin-link-button {
    display: inline-block;
    border: 0;
    border-radius: 4px;
    background: #f1592a;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
}

.admin-link-button.secondary,
.admin-button.secondary {
    background: #1a1a2e;
}

.admin-button.danger {
    background: #b42318;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #eee;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: #f8f9fa;
}

.admin-status {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 9px;
    background: #e8f6ed;
    color: #225b32;
    font-size: 12px;
    font-weight: 600;
}

.admin-status.unpublished {
    background: #f3f4f6;
    color: #555;
}

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .project-card-large { flex-direction: column; }
    .project-card-thumb { flex: none; height: 200px; }
    .project-gallery { grid-template-columns: 1fr; }
    .admin-row { grid-template-columns: 1fr; }
    .admin-table { display: block; overflow-x: auto; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .forms-grid { grid-template-columns: 1fr; }
}
