body.page-template,
body.page {
	font-family: "Forum", serif;
}

body.page-template button,
body.page button {
	font-size: 16px;
	font-weight: 700;
}
body.home .hero-slider button {
	font-size: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-template header {
    position: relative;
}
.home.page-template header {
	position: absolute;
}
.page-template .page-title {
    text-align: start;
}

.page-template .page-title h1,
.page h1 {
    font-size: 50px;
    font-weight: 400;
	color: #3d8fbf;
}

.page-template h1,
.page-template-default h1,
.page-template h2,
.page-template-default h2,
.page-template h3,
.page-template-default h3,
.page-template h4,
.page-template-default h4,
.page-template h5,
.page-template-default h5,
.page-template h6,
.page-template-default h6 {
    font-family: "Forum", serif;
}

.wpo-cta-section .wpo-cta-wrap .wpo-cta-item .wpo-cta-btn a {
	font-size: 16px;
    font-weight: 700;
}
.works-table th, .works-table td {
    font-size: 20px;
	color: #687693;
}

.page-template select {
	font-family: "Forum", serif;
	font-size: 20px;
}

.page-wrap,
[data-elementor-type="wp-page"] {
    flex: 1;
}

.page-template .page-wrap .page-content {
    padding: 0;
}

.auth-form {
    padding: 50px;
    background: #fff;
    box-shadow: 0px 1px 15px 0px rgba(62, 65, 159, 0.1);
    position: relative;
    z-index: 99;
}

.auth-form h2 {
    color: #314355;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 50px;
    text-align: center;
}

.form-group {
    margin-bottom: 50px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    font-family: "Forum", Sans-serif;
    font-size: 20px;
    background: #f9f9f9;
    width: 100%;
    height: 50px;
    border: 1px solid #E3E3E3;
    border-radius: 0px;
    box-shadow: none !important;
    padding-left: 25px;
}

.form-group input:focus {
    border-color: #3757f7;
    background: #f4f6fa;
    outline: none;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-actions a,
.form-actions button {
    font-family: "Forum", Sans-serif;
    font-weight: 700;
}

.submit-button {
    padding: 12px 24px;
    background-color: #3D8FBF;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #6EC1E4;
}

.forgot-password,
.back-to-login {
    color: #314355;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover,
.back-to-login:hover {
    color: #6EC1E4;
    text-decoration: underline;
}

/* Error messages */
.error-message {
    background-color: #FF4D4D;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Success messages */
.success-message {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Profile menu */
.profile-menu {
    position: absolute;
    bottom: 40px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
	justify-content: flex-end;
}

@media (min-width: 992px) {
    .profile-menu {
        right: 0;
        bottom: unset;
        left: auto;
        flex-direction: row;
        align-items: center;
		position: relative;
    }

    #navbar {
        position: relative;
    }
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.profile-menu a span {
    color: #fff;
}

.wpo-site-header .profile-menu .profile-icon {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    flex-shrink: 0; 
}

@media (min-width: 480px) {
    .wpo-site-header .profile-menu .profile-icon {
        width: 50px;
        height: 50px;
        border: 0;
        border-radius: 50%;
    }
}

.wpo-site-header .profile-menu .profile-icon {
    padding: 7px;
}

@media (min-width: 480px) {
    .wpo-site-header .profile-menu .profile-icon {
        padding: 10px;
    }
}

.logout-icon {
    font-size: 16px;
}
.profile-menu .logout-link,
.profile-menu .login-link {
    line-height: 136%;
    background-color: transparent;
    background:#3D8FBF;
    padding: 10px 24px;
    font-size: 20px;
    border-radius: 6px;
    transition-duration: 0.2s;
}
.profile-menu .logout-link:hover,
.profile-menu .login-link:hover {
    background:#6EC1E4;
}
.profile-menu .logout-link::before,
.profile-menu .login-link::before,
.profile-menu .logout-link::after,
.profile-menu .login-link::after {
    content: none;
}

/* Mobile styles */
@media (max-width: 480px) {
    .auth-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .submit-button {
        width: 100%;
    }

    .profile-text,
    .login-text,
    .logout-text {
        display: none;
    }
}

/* Works table */
.works-table-wrapper {
    margin: 40px 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.works-table {
    width: 100%;
    border-collapse: collapse;
    color: #333;
}

/* Desktop styles (tablet and up) */
@media screen and (min-width: 769px) {
    .works-table-wrapper {
        overflow-x: auto;
    }

    .works-table th,
    .works-table td {
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        white-space: nowrap;
        font-weight: 500;
    }

    .works-table td {
        font-weight: 400 !important;
    }

    .works-table th {
        background: #f5f5f5;
        font-weight: 600;
        color: #2D3339;
        position: sticky;
        top: 0;
    }

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

    /* Hide mobile elements on desktop */
    .mobile-only {
        display: none;
    }
}

/* Mobile styles */
@media screen and (max-width: 768px) {

    /* Hide desktop elements on mobile */
    .desktop-only {
        display: none;
    }

    .works-table tr.accordion-row {
        display: block;
        overflow: hidden;
        border-bottom: 1px solid #e0e0e0;
    }

    .works-table tr.accordion-row:last-child {
        border-bottom: none;
    }

    .accordion-header {
        display: block;
        padding: 15px;
        background: #f5f5f5;
        cursor: pointer;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-main {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .header-main .date {
        font-size: 14px;
        color: #2D3339;
        opacity: 0.7;
    }

    .header-main .event {
        font-weight: 600;
        color: #2D3339;
    }

    .accordion-toggle {
        background: none;
        border: none;
        padding: 0;
        width: 24px;
        height: 24px;
        position: relative;
        cursor: pointer;
        flex-shrink: 0;
    }

    .toggle-icon {
        display: block;
        width: 12px;
        height: 12px;
        border-right: 2px solid #2D3339;
        border-bottom: 2px solid #2D3339;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }

    .accordion-row.active .toggle-icon {
        transform: rotate(-135deg);
    }

    .accordion-content {
        display: none;
        background: #fff;
    }

    .accordion-row.active .accordion-content {
        display: block;
    }

    .content-wrapper {
        padding: 15px;
    }

    .content-row {
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .content-row:last-child {
        border-bottom: none;
    }

    .content-row .label {
        display: block;
        color: #2D3339;
        opacity: 0.7;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .content-row .value {
        display: block;
        color: #2D3339;
        font-weight: normal;
    }
}

/* Content before/after table */
.content-before {
    margin-bottom: 40px;
}

.content-before>*:last-child {
    margin-bottom: 0;
}

.content-after {
    margin-top: 40px;
}

.content-after>*:first-child {
    margin-top: 0;
}

/* Adjust spacing on mobile */
@media screen and (max-width: 768px) {
    .content-before {
        margin-bottom: 30px;
    }

    .content-after {
        margin-top: 30px;
    }
}

/* Member Cards */
.member-card {
    background: #2D3339;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-logo {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #373D44;
    padding: 0;
    position: relative;
}

.member-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-meta {
    position: absolute;
    left: 0;
    right: 0;
    top: 220px;
    z-index: 2;
    width: fit-content;
}

.member-meta-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    justify-content: center;
}

@media (min-width: 576px) {
    .member-meta-inner {
        justify-content: start;
    }
}

.member-city {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #FFFFFF;
    background: #314355;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 500;
}

.member-type {
    display: inline-flex;
    align-items: center;
    background: #3D8FBF;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.member-info {
    padding: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
	text-align: start;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #8AB4F8;
}

.member-contacts {
    font-size: 14px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.member-description {
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    .member-logo {
        height: 160px;
    }

    .member-meta {
        top: 145px;
    }

    .member-info {
        padding: 15px;
    }

    .member-name {
        font-size: 18px;
    }
}

/* Member Details Button */
.member-details-btn {
    background: transparent;
    border: 1px solid #8AB4F8;
    color: #8AB4F8;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.member-details-btn:hover {
    background: #8AB4F8;
    color: #2D3339;
}

/* Member Modal */
.modal-backdrop {
    --bs-backdrop-zindex: 1040;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.modal-backdrop.show {
    opacity: var(--bs-backdrop-opacity);
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal {
    --bs-modal-zindex: 1045;
    --bs-modal-bg: #2D3339;
    --bs-modal-border-color: transparent;
    --bs-modal-border-radius: 8px;
    z-index: var(--bs-modal-zindex);
}

.modal-dialog {
    max-width: 600px;
}

.modal-content {
    background: var(--bs-modal-bg);
    color: #fff;
    border: none;
    border-radius: var(--bs-modal-border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: calc(var(--bs-modal-zindex) + 1);
}

.modal-header {
    border-bottom: 1px solid #373D44;
    padding: 20px 24px;
    position: relative;
}

.modal-title {
    color: #8AB4F8;
    font-size: 24px;
    font-weight: 600;
    width: 100%;
    padding-right: 24px;
}

.btn-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238AB4F8'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 1;
    padding: 12px;
    margin: 0;
}

.btn-close:hover {
    opacity: 0.75;
}

.modal-body {
    padding: 24px;
}

.modal-contacts,
.modal-description {
    margin-bottom: 32px;
}

.modal-contacts:last-child,
.modal-description:last-child {
    margin-bottom: 0;
}

.modal-contacts h6,
.modal-description h6 {
    color: #8AB4F8;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-description {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

.modal-description p {
    margin-bottom: 8px !important;
}

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

.modal-contacts {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

.modal-contacts p {
    margin-bottom: 8px;
}

.modal-contacts p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-contacts h6,
    .modal-description h6 {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

.submit-button:hover {
    color: #FFFFFF;
}

.wpo-site-header .menu-close .ti-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#navbar .menu-close {
    position: relative;
}

table.works-table th:hover {
    color: #2D3339;
    background: #f5f5f5;
}

@media (max-width: 991px) {
    .wpo-site-header #navbar>ul .menu-item-has-children>a:before {
        background: transparent;
    }
}

.single-post h1.entry-title {
    font-size: 36px;
}

@media (max-width: 1024px) {
    .single-post h1.entry-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .single-post h1.entry-title {
        font-size: 32px;
    }
}

.works-table th, .works-table td {
    white-space: normal;
}

.wpo-site-header #navbar .navbar-nav {
    height: auto;
}

@media (max-width: 992px) {
    body .wpo-site-header #navbar .navbar-nav {
        height: auto;
    }
}

.profile-menu .profile-icon,
.profile-menu .logout-icon {
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.profile-menu .profile-link {
    gap: 16px;
}

.login-text,
.logout-text {
    margin: 0 auto;
}

.profile-menu .profile-text {
    font-size: 20px;
}

@media (min-width: 992px) {
    .profile-menu .profile-text {
        display: none;
    }
}

@media (max-width: 480px) {

    .profile-menu .profile-text,
    .profile-menu .login-text,
    .profile-menu .logout-text {
        display: flex;
    }
}

@media (max-width: 767px) {
    .page-wrap.section-padding {
        padding: 120px 0;
    }
}

.works-table td {
    vertical-align: text-top;
}

.desktop-only .content-row {
    margin-bottom: 16px;
}

.desktop-only .content-row .label {
    display: block;
    color: #2D3339;
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 5px;
}

input[type="password"]:not(:placeholder-shown) {
    font-family: "Arial";
}
body .wpo-service-section-s4 .wpo-service-item .wpo-service-text .service-content h6 {
    transition: all 0.3s;
}
body .wpo-service-section-s4 .wpo-service-item:hover .wpo-service-text .service-content h6 {
    color: #0a272c;
}

input[type="password"]:not(:placeholder-shown) {
    font-family: "Arial";
}

body .wpo-service-section-s4 .wpo-service-item .wpo-service-text .service-content li {
    transition: all 0.3s;
    color: #6e6e6e;
}

body .wpo-service-section-s4 .wpo-service-item:hover .wpo-service-text .service-content li {
    color: #6e6e6e;
}

body .wpo-service-section-s4 .wpo-service-item .wpo-service-text .service-content .member-info a {
    border: none;
    padding: 0;
    text-transform: none;
    color: #6e6e6e;
    transition: all 0.3s;
    text-decoration: underline;
    margin: 0;
}
body .wpo-service-section-s4 .wpo-service-item:hover .wpo-service-text .service-content .member-info a {
    color: #6e6e6e;
    background: none;
    text-decoration: underline;
    margin: 0;
}

body .wpo-service-section-s4 .wpo-service-item.active .wpo-service-text .service-content h2,
body .wpo-service-section-s4 .wpo-service-item:hover .wpo-service-text .service-content h2,
body .wpo-service-section-s4 .wpo-service-item.active .wpo-service-text .service-content p,
body .wpo-service-section-s4 .wpo-service-item:hover .wpo-service-text .service-content p {
    color: #0a272c;
}

body .wpo-service-section-s4 .wpo-service-item.active,
body .wpo-service-section-s4 .wpo-service-item:hover {
    background: transparent;
}
.shape-1 img,
.shape-2 img {
    filter: hue-rotate(200deg);
}

.page-template-default.page-id-4545 h1 {
    font-family: "Lato", Sans-serif;
    font-size: 50px;
    font-weight: 400;
    color: #3D8FBF;
}

body .wpo-service-section-s4 .wpo-service-item p {
	line-height: 1.25em;
}

.page-id-4545  .page-wrapper blockquote{
    margin-top: 0;
}

.works-table td:nth-child(2) .value.bold {
    font-weight: 500 !important;
    color: black;
    text-shadow: 0 0 0.25px currentColor;
}

p a {
    color: #314355;
}

p a:hover{
    color: #6EC1E4;
}