/*
Theme Name: MpCeiling
Theme URI: 
Author: 
Author URI: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options
Text Domain: 
*/

/* =WordPress Core
-------------------------------------------------------------- */
.sticky.post {
    position: relative;
}
.sticky.post .article--title{
    margin-left: 7px;
}
.sticky.post:before {
    content: '\f0c6';
    position: absolute;
    font-family: FontAwesome;
    top: 0;
    left: 0;
    font-size: 22px;
    -webkit-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(10deg);
}
.alignnone {
    margin: 5px 20px 20px 0;
    max-width: 100%;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px ;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* WordPress Gallery 
------------------------------------------ */

.gallery {
	margin-left: -0.5em;
	margin-right: -0.5em;
}
.gallery:after {
	display: table;
	content: "";
	clear: both;
}
.gallery-item {
	margin: 0;
	float: left;
	padding: 0.5em;
}
.gallery-item img {
	width: 100%;
}
.gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
}
.gallery-columns-2 .gallery-item {
    width: 50%
}
.gallery-columns-3 .gallery-item {
    width: 33.3333%
}
.gallery-columns-4 .gallery-item {
    width: 25%
}
.gallery-columns-5 .gallery-item {
    width: 20%
}
.gallery-columns-6 .gallery-item {
    width: 16.6667%
}
.gallery-columns-7 .gallery-item {
    width: 14.2857%
}
.gallery-columns-8 .gallery-item {
    width: 12.5%
}
.gallery-columns-9 .gallery-item {
    width: 11.1111%
}
.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear: left;
}

.wp-caption-text{
    padding-top: 10px;
    padding-bottom: 5px;
    line-height: 1.2;
}

/* Quick modernisation pass for the legacy Constructed theme */
body {
    background: #f3f5f7;
    color: #1d2430;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.legacy-contact-form {
    max-width: 860px;
    margin: 24px 0 32px;
}

.legacy-contact-form__form {
    max-width: 760px;
    margin-top: 18px;
}

.legacy-contact-form__form p {
    margin: 0 0 22px;
}

.legacy-contact-form__form label {
    display: block;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    color: #1d2430;
    margin-bottom: 8px;
}

.legacy-contact-form__form input,
.legacy-contact-form__form textarea {
    display: block;
    width: 100%;
    max-width: 760px;
    border: 1px solid #dfe5eb;
    border-radius: 12px;
    background: #ffffff;
    color: #1d2430;
    font: inherit;
    font-size: 18px;
    line-height: 1.5;
    padding: 14px 16px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.legacy-contact-form__form textarea {
    min-height: 120px;
    resize: vertical;
}

.legacy-contact-form__form button {
    display: inline-block;
    background: #b10e0d;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.legacy-contact-form__form button:hover,
.legacy-contact-form__form button:focus {
    background: #91100f;
}

.legacy-contact-form__note {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
    color: #1d2430;
}

.legacy-contact-form__note a {
    color: #0b73d7;
    text-decoration: none;
}

.legacy-contact-form--removed {
    display: none;
}

@media (min-width: 980px) {
    .header_nav .menu > .menu-item,
    .header_nav .menu > .menu-item > a {
        font-family: "Montserrat", "Segoe UI", Arial, sans-serif !important;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        line-height: 1.2;
    }

    .header_nav .menu > .menu-item > a {
        font-size: 12px;
        color: #ffffff;
    }

    .header_nav.-wide .header_nav--inner > .menu > .menu-item {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

.share,
.share js-share,
.share--opener,
.share--dropdown,
.share-facebook,
.share-twitter {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

#main,
.layout,
.layout--container,
.section,
.footer {
    overflow: visible;
}

.layout--header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.topbar {
    background: #0f172a;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a,
.topbar strong,
.topbar .follow_us li a {
    color: #ffffff;
}

.page_header,
.page_header .container,
.breadcrumbs {
    background: transparent;
}

.page_header--title,
.article--title,
.section--header h1,
.section--header h2,
.section--header h3 {
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page_header--title {
    font-size: clamp(2rem, 3vw, 3.25rem);
    margin: 0;
    padding: 2rem 0 1rem;
}

.section {
    padding: 40px 0;
}

.article,
.article--content,
.article--preview,
.article--header,
.article--footer {
    background: transparent;
}

.article--title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: 0.75rem;
}

.article--title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article--title a:hover,
.article--title a:focus {
    color: #d12b2b;
}

.article--content p,
.article--content li,
.article--description,
.section--description,
.footer p,
.footer li,
.footer a {
    color: #374151;
}

.link,
.button,
.btn,
input[type="submit"],
button,
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.75rem 1.25rem;
    background: #d12b2b;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 25px rgba(209, 43, 43, 0.18);
}

.link:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover,
button:hover,
.wpcf7-submit:hover {
    transform: translateY(-1px);
    background: #b81f1f;
    color: #ffffff;
}

.footer {
    background: #101826;
    color: #e5e7eb;
}

.footer .footer_copyrights,
.footer .footer_copyrights--item,
.footer .footer_main,
.footer .footer_contacts {
    background: transparent;
}

.footer a,
.footer strong,
.footer p,
.footer li {
    color: #f3f4f6;
}

.footer .footer_copyrights--logo img {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.mobile_sidebar {
    background: #0f172a;
}

.mpc-hero {
    background: linear-gradient(135deg, #f5f1ea 0%, #edf4f7 100%) !important;
    color: #1f2937 !important;
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mpc-eyebrow,
.section-kicker {
    display: inline-block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: #b42318 !important;
    margin-bottom: 18px;
}

.mpc-hero-title,
.section-heading h2,
.mpc-about h2,
.mpc-contact h2 {
    color: #111827 !important;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
}

.mpc-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #111827 !important;
}

.mpc-hero-copy {
    color: #4b5563 !important;
    font-size: 1.12rem;
    max-width: 620px;
    margin-bottom: 24px;
}

.mpc-hero-actions,
.mpc-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.button.secondary {
    background: transparent;
    border: 1px solid rgba(17, 24, 39, 0.2);
    color: #111827 !important;
    box-shadow: none;
}

.mpc-benefits {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    color: #374151;
    font-weight: 600;
}

.mpc-benefits li::before {
    content: '✓';
    margin-right: 8px;
    color: #b42318;
}

.mpc-hero-panel {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.mpc-panel-badge {
    display: inline-block;
    padding: 7px 12px;
    background: rgba(180, 35, 24, 0.08);
    color: #7a1d15;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mpc-panel-box {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 18px 18px 16px;
    margin-bottom: 16px;
}

.mpc-panel-box strong,
.mpc-panel-box span,
.mpc-panel-box p,
.mpc-panel-box a {
    color: #111827;
}

.mpc-panel-box.accent {
    background: linear-gradient(135deg, rgba(180,35,24,0.04), rgba(17,24,39,0.02));
}

.mpc-features,
.mpc-projects,
.mpc-about,
.mpc-contact {
    padding: 72px 0;
    background: #f3f5f7;
}

.mpc-feature-card,
.mpc-project-card,
.mpc-stats,
.mpc-contact-box {
    background: #fff;
    border: 1px solid rgba(17,24,39,0.06);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(15,23,42,0.05);
}

.mpc-feature-card {
    padding: 28px 22px;
    height: 100%;
}

.mpc-feature-card h3,
.mpc-project-content h3 {
    color: #111827;
    font-size: 1.35rem;
    margin: 0 0 12px;
}

.mpc-feature-card p,
.mpc-project-content p,
.mpc-about p {
    color: #475569;
    margin: 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.mpc-about h2,
.mpc-contact h2 {
    color: #111827;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.mpc-project-card {
    overflow: hidden;
}

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

.mpc-project-content {
    padding: 20px 22px 24px;
}

.mpc-project-content a {
    color: #111827;
    text-decoration: none;
}

.mpc-empty-state {
    background: #fff;
    border: 1px solid rgba(17,24,39,0.06);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(15,23,42,0.05);
}

.mpc-about h2,
.mpc-contact h2 {
    margin-bottom: 18px;
}

.mpc-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 20px;
}

.mpc-stats > div {
    text-align: center;
    padding: 18px 14px;
    background: #f8fafc;
    border-radius: 16px;
}

.mpc-stats strong {
    display: block;
    color: #d12b2b;
    font-size: 2rem;
    margin-bottom: 8px;
}

.mpc-stats span {
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
}

.mpc-contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
}

.mpc-contact-box .section-kicker {
    color: #d12b2b;
}

.page_header {
    background: linear-gradient(135deg, #f5f1ea 0%, #edf4f7 100%) !important;
    padding: 72px 0 24px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.page_header--title {
    color: #111827 !important;
    font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumbs {
    background: transparent !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    padding: 16px 0 !important;
}

.breadcrumbs--list {
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.breadcrumbs--item,
.breadcrumbs--link {
    color: #4b5563 !important;
}

.breadcrumbs--link {
    text-decoration: none !important;
}

.breadcrumbs--link.-active {
    color: #111827 !important;
    font-weight: 700 !important;
}

.section.page-content {
    padding-top: 48px !important;
}

.article--content {
    background: transparent !important;
}

.article {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    padding: 30px 28px;
}

.article--header {
    margin-bottom: 20px;
}

.article--title {
    margin-bottom: 16px;
}

.article--content h1,
.article--content h2,
.article--content h3,
.article--content h4,
.article--content h5,
.article--content h6 {
    color: #111827 !important;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.2;
}

.article--content p,
.article--content li,
.article--content a {
    color: #374151 !important;
}

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

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

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

.article--content a {
    color: #b42318 !important;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.12em;
}

.article--content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #d12b2b;
    background: #f8fafc;
    color: #374151;
}

.legacy-icon-text {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.legacy-icon-text:first-child {
    border-top: 0;
}

.legacy-icon-text__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(179, 35, 24, 0.08);
    font-size: 1.7rem;
    line-height: 1;
}

.legacy-icon-text__body {
    flex: 1;
}

.legacy-icon-text__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #111827;
    line-height: 1.2;
}

.legacy-icon-text__text,
.legacy-icon-text__meta {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

.legacy-icon-text__meta {
    margin-top: 8px;
    font-weight: 600;
}

.legacy-team-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.legacy-team-card:first-child {
    border-top: 0;
}

.legacy-team-card__image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(179, 35, 24, 0.12);
    background: #f1f5f9;
    flex-shrink: 0;
}

.legacy-team-card__body {
    flex: 1;
}

.legacy-team-card__name {
    margin: 0 0 6px;
    font-size: 1.15rem;
    line-height: 1.2;
    color: #111827;
}

.legacy-team-card__position,
.legacy-team-card__email {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.legacy-team-card__email {
    display: inline-block;
    margin-top: 8px;
    color: #b42318 !important;
    text-decoration: underline;
}

.page_header .container,
.breadcrumbs .container,
.section .container {
    max-width: 1180px;
}

@media (max-width: 991px) {
    .header .header_nav,
    .header_nav,
    .header_nav--inner,
    .header_nav .menu {
        display: block !important;
    }

    .header_nav {
        width: 100% !important;
        margin-top: 16px !important;
    }

    .header_nav .menu {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .header_nav .menu-item {
        display: inline-block !important;
    }

    .header_nav .menu-item a {
        color: #111827 !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
    }

    .header--menu_opener {
        display: block !important;
        position: relative !important;
        z-index: 9999 !important;
    }

    .mobile_sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 320px !important;
        max-width: 82vw !important;
        height: 100vh !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translate3d(-105%, 0, 0) !important;
        transition: transform 0.3s ease !important;
        z-index: 9998 !important;
        overflow-y: auto !important;
    }

    body.slideout-open .mobile_sidebar,
    .mobile_sidebar.-opened,
    .slideout-open .mobile_sidebar {
        transform: translate3d(0, 0, 0) !important;
    }

    #main,
    .slideout-panel {
        transform: translate3d(0, 0, 0) !important;
        transition: transform 0.3s ease !important;
    }

    body.slideout-open #main,
    body.slideout-open .slideout-panel,
    .slideout-open #main,
    .slideout-open .slideout-panel {
        transform: translate3d(320px, 0, 0) !important;
    }

    .header--logo {
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    .page_header {
        padding: 52px 0 18px !important;
    }

    .page_header--title {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    }

    .section.page-content {
        padding-top: 28px !important;
    }

    .article {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .mpc-hero {
        padding-top: 60px;
    }

    .mpc-contact-box,
    .mpc-hero-actions,
    .mpc-contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .mpc-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .mpc-hero {
        padding: 52px 0 42px;
    }

    .mpc-features,
    .mpc-projects,
    .mpc-about,
    .mpc-contact {
        padding: 52px 0;
    }

    .mpc-hero-title {
        font-size: 2.5rem;
    }
}


