/* Extracted from our-work.html block 1 */
/* Portfolio page upgrade */
.our-work {
    padding: 0 0 82px 210px;
    background: #ffffff;
    color: #102033;
}
.our-work .container {
    width: min(100% - 32px, 1200px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.works-hero {
    padding: 210px 0 42px;
    text-align: center;
}
.works-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border: 1px solid #c8dceb;
    border-radius: 8px;
    background: #eaf4ff;
    color: #1d5789;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}
.works-hero h1 {
    margin: 0 auto 14px;
    max-width: 900px;
    color: #102033;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
}
.works-hero p {
    max-width: 820px;
    margin: 0 auto;
    color: #3b4d61;
    font-size: 18px;
    line-height: 1.6;
}
.works-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto 36px;
    max-width: 1120px;
}
.works-stat {
    min-height: 92px;
    padding: 18px;
    border: 1px solid #dbe7ed;
    border-radius: 8px;
    background: #f7fbff;
}
.works-stat strong {
    display: block;
    margin-bottom: 6px;
    color: #1d5789;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
}
.works-stat span {
    color: #3b4d61;
    font-size: 14px;
    line-height: 1.35;
}
.work-photo-cases {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.work-photo-card {
    overflow: hidden;
    border: 1px solid #dbe7ed;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(16, 32, 51, .08);
}
.work-photo-card__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #dbe7ed;
}
.work-photo-card__image {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    background: #eaf4ff;
    color: inherit;
    text-decoration: none;
}
.work-photo-card__image img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform .25s ease;
}
.work-photo-card__image:hover img { transform: scale(1.04); }
.work-photo-card__badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #1d5789;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(16, 32, 51, .12);
}
.work-photo-card__badge--after { background: #1d5789; color: #ffffff; }
.work-photo-card__content { padding: 22px; }
.work-photo-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.work-photo-card__tag,
.work-photo-card__date {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
}
.work-photo-card__tag {
    border: 1px solid #c8dceb;
    background: #eaf4ff;
    color: #1d5789;
    text-transform: uppercase;
}
.work-photo-card__date { background: #f5f8fb; color: #3b4d61; }
.work-photo-card h2,
.work-photo-card h3 {
    margin: 0 0 10px;
    color: #102033;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: none;
}
.work-photo-card__text {
    margin: 0 0 16px;
    color: #3b4d61;
    font-size: 16px;
    line-height: 1.58;
}
.work-photo-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.work-photo-card__facts span {
    min-height: 64px;
    padding: 10px;
    border: 1px solid #d6e8f5;
    border-radius: 8px;
    background: #f7fbff;
    color: #263a4d;
    font-size: 14px;
    line-height: 1.35;
}
.work-photo-card__facts strong {
    display: block;
    margin-bottom: 4px;
    color: #1d5789;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.works-section-title {
    max-width: 1120px;
    margin: 48px auto 22px;
    color: #102033;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}
.works-categories {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.works-category {
    overflow: hidden;
    border: 1px solid #dbe7ed;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 32, 51, .07);
}
.works-category img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.works-category__body { padding: 16px; }
.works-category__body h3 {
    margin: 0 0 8px;
    color: #102033;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: none;
}
.works-category__body p {
    min-height: 62px;
    margin: 0 0 14px;
    color: #3b4d61;
    font-size: 14px;
    line-height: 1.45;
}
.works-category__body a,
.works-summary a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    background: #1d5789;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
}
.works-summary {
    max-width: 1120px;
    margin: 26px auto 0;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    border: 1px solid #dbe7ed;
    border-radius: 8px;
    background: #f5f8fb;
}
.works-summary p {
    margin: 0;
    color: #3b4d61;
    font-size: 16px;
    line-height: 1.55;
}
@media (max-width: 990px) {
    .our-work { padding: 0 50px 70px; }
    .our-work .container { width: 100%; padding-left: 0; padding-right: 0; }
    .works-hero { padding-top: 150px; }
    .works-hero h1 { font-size: 34px; }
    .works-stats,
    .works-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-photo-cases { grid-template-columns: 1fr; }
    .works-summary { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .our-work { padding: 0 0 56px; }
    .our-work .container { width: min(100% - 20px, 1200px); }
    .works-hero { padding-top: 112px; }
    .works-hero h1 { font-size: 28px; }
    .works-hero p { font-size: 16px; }
    .works-stats,
    .works-categories { grid-template-columns: 1fr; }
    .work-photo-card__media { grid-template-columns: 1fr; }
    .work-photo-card__image,
    .work-photo-card__image img { min-height: 220px; height: 230px; }
    .work-photo-card__content { padding: 18px; }
    .work-photo-card__facts { grid-template-columns: 1fr; }
    .works-section-title { font-size: 24px; }
}
