body.webpaper-designed-page,
body.webpaper-contact-design {
    background: #fff;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    word-break: keep-all;
}

body.webpaper-designed-page {
    width: 100%;
    max-width: none;
    overflow-x: clip;
}

body.webpaper-designed-page .webpaper-design-header,
body.webpaper-designed-page .entry-content,
body.webpaper-designed-page .webpaper-design-footer,
body.webpaper-contact-design .webpaper-design-header,
body.webpaper-contact-design .entry-content,
body.webpaper-contact-design .webpaper-design-footer,
body.webpaper-designed-page button,
body.webpaper-designed-page input,
body.webpaper-designed-page select,
body.webpaper-designed-page textarea,
body.webpaper-contact-design button,
body.webpaper-contact-design input,
body.webpaper-contact-design select,
body.webpaper-contact-design textarea {
    font-family: inherit;
}

body.webpaper-designed-page .entry-content h1,
body.webpaper-designed-page .entry-content h2,
body.webpaper-designed-page .entry-content h3,
body.webpaper-designed-page .entry-content h4,
body.webpaper-designed-page .entry-content h5,
body.webpaper-designed-page .entry-content h6 {
    font-weight: 700;
}

body.webpaper-designed-page.webpaper-wide-layout #page.site.grid-container,
body.webpaper-designed-page.webpaper-wide-layout .site.grid-container {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.webpaper-design-header {
    background: transparent !important;
}

.webpaper-design-header.header--solid,
.webpaper-design-header.is-scrolled:hover {
    background: rgba(0, 0, 0, .78) !important;
}

.webpaper-design-header .site-logo,
.webpaper-design-header .site-logo:link,
.webpaper-design-header .site-logo:visited,
.webpaper-design-header .site-logo:hover,
.webpaper-design-header .site-logo:focus,
.webpaper-design-header .site-logo:active {
    color: #fff !important;
}

.webpaper-designed-page #masthead,
.webpaper-designed-page #site-navigation,
.webpaper-designed-page .site-footer,
.webpaper-contact-design #masthead,
.webpaper-contact-design #site-navigation,
.webpaper-contact-design .site-footer,
.webpaper-blog-design #masthead,
.webpaper-blog-design #site-navigation,
.webpaper-blog-design .site-footer {
    display: none !important;
}

.webpaper-designed-page .site.grid-container,
.webpaper-designed-page .site-content,
.webpaper-designed-page .content-area,
.webpaper-designed-page .site-main,
.webpaper-designed-page .inside-article,
.webpaper-designed-page .entry-content,
.webpaper-contact-design .site.grid-container,
.webpaper-contact-design .site-content,
.webpaper-contact-design .content-area,
.webpaper-contact-design .site-main,
.webpaper-contact-design .inside-article,
.webpaper-contact-design .entry-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.webpaper-designed-page .entry-content > .site-header,
.webpaper-contact-design .entry-content > .site-header {
    margin: 0;
}

.webpaper-designed-page .entry-content > main {
    width: 100%;
    max-width: none;
    margin: 0;
}

body.webpaper-designed-page .entry-content .process-icon {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    object-fit: contain;
}

body.webpaper-designed-page .entry-content .process-arrow {
    width: 35px !important;
    height: 35px !important;
    max-width: 35px !important;
    object-fit: contain;
}

body.webpaper-designed-page .entry-content .check-grid .check-icon > img {
    display: block;
    width: 79px !important;
    height: 79px !important;
    min-width: 79px;
    min-height: 79px;
    max-width: 79px !important;
    max-height: 79px !important;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

body.webpaper-designed-page .entry-content .support-grid .support-icon > img[src*="planning-"] {
    width: 99px !important;
    height: 99px !important;
    min-width: 99px;
    min-height: 99px;
    max-width: 99px !important;
    max-height: 99px !important;
    object-fit: contain;
}

body.webpaper-designed-page .entry-content .support-grid .support-icon > img[src*="operation-"] {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px;
    min-height: 92px;
    max-width: 92px !important;
    max-height: 92px !important;
    object-fit: contain;
}

body.webpaper-designed-page .entry-content .process .process-step > img {
    width: 90px !important;
    height: 90px !important;
    min-width: 90px;
    min-height: 90px;
    max-width: 90px !important;
    max-height: 90px !important;
    object-fit: contain;
}

.webpaper-design-header .submenu-toggle img {
    display: block;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px !important;
    max-height: 24px !important;
    object-fit: contain;
}

body.webpaper-designed-page .entry-content .breadcrumb > img {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    flex: 0 0 12px;
    object-fit: contain;
}

.webpaper-design-footer {
    padding: 70px 20px;
    color: #1c1c21;
    background: #fff;
    text-align: center;
    font-size: 22px;
    line-height: 50px;
    font-weight: 500;
}

.webpaper-footer-note {
    display: block;
    margin-top: 6px;
    color: #686882;
    font-size: 13px;
    font-weight: 500;
}

.webpaper-contact-design,
.webpaper-blog-design {
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    word-break: keep-all;
}

.webpaper-contact-hero,
.webpaper-blog-hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 150px 40px 80px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%, rgba(174, 180, 255, .18), transparent 34%),
        #1c1c21;
}

.webpaper-contact-hero__inner,
.webpaper-blog-hero__inner {
    width: min(1320px, 100%);
    margin: 0 auto;
}

.webpaper-contact-hero p,
.webpaper-blog-hero p {
    margin: 0 0 18px;
    color: #aeb4ff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .14em;
}

.webpaper-contact-hero h1,
.webpaper-blog-hero h1 {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(54px, 6vw, 84px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.045em;
}

.webpaper-contact-hero span,
.webpaper-blog-hero span {
    color: rgba(255, 255, 255, .84);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.65;
    font-weight: 600;
}

.webpaper-contact-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 140px;
}

.webpaper-contact-main > h2 {
    margin: 0 0 36px;
    color: #1c1c21;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.035em;
}

.webpaper-contact-main > ul {
    margin: 0 0 80px;
    padding: clamp(28px, 4vw, 48px) clamp(30px, 5vw, 60px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 36px;
    border-radius: 20px;
    background: #f7f8fa;
    font-size: 19px;
    line-height: 1.7;
    font-weight: 600;
}

.webpaper-contact-main > p {
    color: #686882;
    font-size: 18px;
    line-height: 1.8;
}

.webpaper-designed-page .webpaper-contact-wrap,
.webpaper-contact-design .webpaper-contact-wrap {
    max-width: 1000px;
    margin-inline: auto;
}

body.webpaper-designed-page .form-section .webpaper-contact-wrap {
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
}

body.webpaper-designed-page .form-section .webpaper-contact-form {
    width: 100%;
    max-width: 1320px;
}

.webpaper-designed-page .webpaper-contact-form,
.webpaper-contact-design .webpaper-contact-form {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(28, 28, 33, .08);
}

.webpaper-designed-page .webpaper-contact-form input,
.webpaper-designed-page .webpaper-contact-form select,
.webpaper-designed-page .webpaper-contact-form textarea,
.webpaper-contact-design .webpaper-contact-form input,
.webpaper-contact-design .webpaper-contact-form select,
.webpaper-contact-design .webpaper-contact-form textarea {
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
}

.webpaper-designed-page .webpaper-contact-actions button,
.webpaper-contact-design .webpaper-contact-actions button {
    border-radius: 999px;
    background: #1c1c21;
}

.webpaper-blog-design .widget-area .widget,
.webpaper-blog-design article {
    border-radius: 16px;
}

.webpaper-blog-design .site-content {
    width: calc(100% - 80px) !important;
    max-width: 1320px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-top: 110px;
    padding-bottom: 140px;
}

.webpaper-blog-design .content-area article {
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 16px 45px rgba(28, 28, 33, .06);
}

.webpaper-blog-design .inside-article {
    padding: clamp(28px, 4vw, 48px);
}

/* Blog cards: use the featured image or the preview supplied by the design plugin. */
.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) {
    display: grid;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(26px, 3vw, 44px);
    align-items: start;
}

.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .post-image {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
    margin: 0;
}

.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .post-image a {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #f1f2f4;
}

.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .post-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
}

.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .entry-header {
    grid-column: 2;
    grid-row: 1;
}

.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .entry-content,
.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .entry-summary {
    grid-column: 2;
    grid-row: 2;
}

.webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > footer.entry-meta {
    grid-column: 2;
    grid-row: 3;
}

.webpaper-blog-design .entry-title {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.035em;
}

.webpaper-blog-design .entry-meta {
    color: #686882;
}

.webpaper-blog-design .entry-summary,
.webpaper-blog-design .entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.webpaper-blog-design .widget-area .widget {
    border: 1px solid #e5e7eb;
    padding: 28px;
    background: #f8f8fa;
}

.webpaper-blog-design .widget-title {
    font-size: 22px;
    font-weight: 700;
}

/* Keep the imported template CTA above GeneratePress's default button palette. */
body.webpaper-designed-page .entry-content a.button.button-primary {
    color: #fff;
    border-color: #1c1c21;
    background: #1c1c21;
}

body.webpaper-designed-page .entry-content a.button.button-primary:hover,
body.webpaper-designed-page .entry-content a.button.button-primary:focus {
    color: #fff;
    border-color: #34343c;
    background: #34343c;
}

/* Home intro secondary CTA. */
body.webpaper-designed-page .entry-content a.button[href="#services"] {
    color: #000000;
    background-color: hwb(0deg 88% 12% / 65%);
}

/* Reusable service inquiry unit */
.webpaper-service-inquiry {
    padding: 120px 40px;
    background: #f4f6fa;
    color: #1c1c21;
}

.webpaper-service-inquiry__inner {
    width: min(1320px, 100%);
    margin: 0 auto;
}

.webpaper-service-inquiry__intro {
    max-width: 880px;
    margin-bottom: 64px;
}

.webpaper-service-inquiry__eyebrow {
    margin: 0 0 12px;
    color: #6676d9;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .1em;
}

.webpaper-service-inquiry__intro h2 {
    margin: 0 0 22px;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.2;
    letter-spacing: -.045em;
}

.webpaper-service-inquiry__intro p:last-child {
    margin: 0;
    color: #5f6877;
    font-size: 19px;
    line-height: 1.75;
}

.webpaper-service-inquiry .webpaper-contact-wrap,
body.webpaper-designed-page .form-section .webpaper-contact-wizard {
    width: 100%;
    max-width: 1320px;
    /* padding: clamp(28px, 5vw, 64px); */
    /* border: 1px solid #e0e4ea; */
    border-radius: 24px;
    /* background: #fff; */
    /* box-shadow: 0 18px 50px rgba(28, 28, 33, .08); */
}

/* The free-diagnosis section already provides the visual surface. Keep the
   embedded wizard flat, like the main contact page, to avoid nested cards. */
body.webpaper-designed-page .form-section .webpaper-contact-wizard {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.webpaper-designed-page .form-section .webpaper-contact-wizard .webpaper-contact-form {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 760px) {
    .webpaper-service-inquiry {
        padding: 72px 20px;
    }

    .webpaper-service-inquiry__intro {
        margin-bottom: 38px;
    }

    .webpaper-service-inquiry__intro h2 {
        font-size: 34px;
    }

    .webpaper-service-inquiry__intro p:last-child {
        font-size: 17px;
    }
}

@media (max-width: 760px) {
    body.webpaper-designed-page .entry-content .process-icon {
        width: 74px !important;
        height: 74px !important;
        max-width: 74px !important;
    }

    body.webpaper-designed-page .entry-content .process .process-step > img {
        width: 74px !important;
        height: 74px !important;
        min-width: 74px;
        min-height: 74px;
        max-width: 74px !important;
        max-height: 74px !important;
    }

    body.webpaper-designed-page .entry-content .check-grid .check-icon > img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px;
        min-height: 60px;
        max-width: 60px !important;
        max-height: 60px !important;
    }

    body.webpaper-designed-page .entry-content .support-grid .support-icon > img[src*="planning-"] {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px;
        min-height: 70px;
        max-width: 70px !important;
        max-height: 70px !important;
    }

    body.webpaper-designed-page .entry-content .support-grid .support-icon > img[src*="operation-"] {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px;
        min-height: 68px;
        max-width: 68px !important;
        max-height: 68px !important;
    }

    .webpaper-contact-main {
        width: min(100% - 28px, 1180px);
        padding: 80px 0 100px;
    }

    .webpaper-contact-hero,
    .webpaper-blog-hero {
        min-height: 560px;
        padding: 120px 20px 70px;
    }

    .webpaper-contact-hero h1,
    .webpaper-blog-hero h1 {
        margin-bottom: 20px;
        font-size: 48px;
    }

    .webpaper-contact-hero span,
    .webpaper-blog-hero span {
        font-size: 19px;
        line-height: 1.7;
    }

    .webpaper-contact-main > ul {
        grid-template-columns: 1fr;
        font-size: 17px;
    }

    .webpaper-blog-design .site-content {
        width: calc(100% - 28px) !important;
        padding: 80px 0 100px;
    }

    .webpaper-blog-design:not(.single) .inside-article:has(> .post-image) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        row-gap: 0;
    }

    .webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .post-image {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 26px;
    }

    .webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .entry-header {
        grid-column: 1;
        grid-row: 2;
    }

    .webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .entry-content,
    .webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > .entry-summary {
        grid-column: 1;
        grid-row: 3;
    }

    .webpaper-blog-design:not(.single) .inside-article:has(> .post-image) > footer.entry-meta {
        grid-column: 1;
        grid-row: 4;
    }

    .webpaper-design-footer {
        padding: 45px 14px;
        font-size: 16px;
    }
}

/* Figma blog list/detail integration. */
.webpaper-design-header:hover,
.webpaper-design-header:focus-within,
.webpaper-design-header.is-scrolled:hover,
.webpaper-design-header.is-scrolled:focus-within {
    background: rgba(0, 0, 0, .78) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important;
    backdrop-filter: blur(10px) !important;
}

.webpaper-blog-design {
    color: #1c1c21;
    background: #fff;
}

.webpaper-blog-design .webpaper-blog-hero {
    display: block;
    color: #fff;
    background: #1c1c21;
}

.webpaper-blog-design .webpaper-blog-hero__inner {
    position: relative;
    width: min(1300px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
}

.webpaper-blog-design .webpaper-blog-hero__copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 4.5vw, 60px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.035em;
}

.webpaper-blog-design .webpaper-blog-hero__copy h1 .subhero-title-text {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.webpaper-blog-design .webpaper-blog-hero__copy p {
    margin: 28px 0 0;
    color: #fff;
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -.02em;
}

.webpaper-blog-hero--list {
    height: min(1008px, 78vh);
    min-height: 720px;
    padding: 190px 0 80px;
}

.webpaper-blog-hero--list .webpaper-blog-hero__copy {
    position: relative;
    z-index: 2;
    width: min(46%, 620px);
}

.webpaper-blog-hero--list .webpaper-blog-hero__image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(54%, 691px);
    margin: 0;
    aspect-ratio: 691 / 461;
    overflow: hidden;
    transform: translate3d(0, var(--blog-image-parallax-y, 0), 0);
    will-change: transform;
}

.webpaper-blog-hero--list .webpaper-blog-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webpaper-blog-hero--detail {
    height: 497px;
    min-height: 497px;
    padding: 150px 0 80px;
}

.webpaper-blog-hero--detail .webpaper-blog-hero__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
    color: #fff;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 500;
}

.webpaper-blog-hero--detail .webpaper-blog-hero__meta a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.webpaper-blog-list .site-content {
    display: flex;
    gap: clamp(46px, 4.7vw, 90px);
    width: min(1520px, calc(100% - 80px)) !important;
    max-width: 1520px !important;
    padding: 150px 0 100px;
}

.webpaper-blog-list .content-area {
    min-width: 0;
    flex: 1 1 auto;
    width: auto !important;
}

.webpaper-blog-list #right-sidebar {
    flex: 0 0 365px;
    width: 365px !important;
    padding: 0;
}

.webpaper-blog-list #right-sidebar .inside-right-sidebar {
    margin: 0;
}

.webpaper-blog-list #right-sidebar .widget,
.webpaper-blog-list .widget-area .widget {
    padding: 42px 36px;
    border: 1px solid #e3e3e5;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.webpaper-blog-list #right-sidebar .widget-title {
    margin-bottom: 28px;
    color: #1c1c21;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.webpaper-blog-list #right-sidebar ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.webpaper-blog-list #right-sidebar li {
    margin: 8px 0;
    color: #1c1c21;
    font-size: 18px;
    line-height: 1.55;
}

.webpaper-blog-list #right-sidebar a {
    color: inherit;
    text-decoration: none;
}

.webpaper-blog-list .content-area article {
    margin: 0;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid #c9c9cc;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.webpaper-blog-list .inside-article,
.webpaper-blog-list .inside-article:has(> .post-image) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    grid-template-rows: auto auto auto;
    gap: 0 40px;
    align-items: start;
    padding: 20px 20px 70px;
}

.webpaper-blog-list article + article .inside-article {
    padding-top: 70px;
}

.webpaper-blog-list .inside-article > .entry-header,
.webpaper-blog-list .inside-article:has(> .post-image) > .entry-header {
    grid-column: 1;
    grid-row: 1;
}

.webpaper-blog-list .inside-article > .entry-summary,
.webpaper-blog-list .inside-article > .entry-content,
.webpaper-blog-list .inside-article:has(> .post-image) > .entry-summary,
.webpaper-blog-list .inside-article:has(> .post-image) > .entry-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin-top: 24px;
}

.webpaper-blog-list .inside-article > footer.entry-meta,
.webpaper-blog-list .inside-article:has(> .post-image) > footer.entry-meta {
    grid-column: 1;
    grid-row: 3;
    margin-top: 24px;
}

.webpaper-blog-list .inside-article > .post-image,
.webpaper-blog-list .inside-article:has(> .post-image) > .post-image {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 270px;
    height: 270px;
    margin: 0;
}

.webpaper-blog-list .inside-article > .post-image a,
.webpaper-blog-list .inside-article:has(> .post-image) > .post-image a {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0;
    background: #d9d9d9;
}

.webpaper-blog-list .inside-article > .post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.webpaper-blog-list .entry-title {
    margin: 0;
    font-size: clamp(34px, 2.6vw, 50px);
    line-height: 1;
}

.webpaper-blog-list .entry-title a {
    color: #1c1c21;
}

.webpaper-blog-list .entry-header .entry-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    color: #1c1c21;
    font-size: 18px;
    line-height: 1.5;
}

.webpaper-blog-list .entry-header .author-name {
    color: #1c1c21;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.webpaper-blog-list .entry-summary,
.webpaper-blog-list .entry-content {
    overflow: hidden;
    color: #1c1c21;
    font-size: 20px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webpaper-blog-list .entry-summary p,
.webpaper-blog-list .entry-content p {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webpaper-blog-design footer.entry-meta {
    display: flex;
    gap: 30px;
    align-items: center;
    color: #1c1c21;
    font-size: 18px;
}

.webpaper-blog-design footer.entry-meta .cat-links,
.webpaper-blog-design footer.entry-meta .comments-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.webpaper-blog-design footer.entry-meta .gp-icon {
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.webpaper-blog-design footer.entry-meta .gp-icon svg {
    display: none;
}

.webpaper-blog-design footer.entry-meta .icon-categories {
    background-image: url("../img/blog-category.svg");
}

.webpaper-blog-design footer.entry-meta .icon-comments {
    background-image: url("../img/blog-comment.svg");
}

.webpaper-blog-design footer.entry-meta a {
    color: inherit;
}

.webpaper-blog-detail .site-content {
    position: relative;
    z-index: 2;
    display: block;
    width: min(1520px, calc(100% - 80px)) !important;
    max-width: 1520px !important;
    margin-top: -165px !important;
    padding: 0 0 100px;
}

.webpaper-blog-detail .content-area {
    width: 100% !important;
}

.webpaper-blog-detail .site-main > article {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.webpaper-blog-detail .site-main > article > .inside-article {
    padding: 50px;
}

.webpaper-blog-detail .site-main > article .entry-header {
    display: none;
}

.webpaper-blog-detail .entry-content {
    margin: 0;
    color: #1c1c21;
    font-size: 20px;
    line-height: 2.15;
}

.webpaper-blog-detail .entry-content > :first-child {
    margin-top: 0;
}

.webpaper-blog-detail .entry-content img {
    display: block;
    width: 100% ;
    height: auto;
    margin: 48px 0;
    object-fit: cover;
}

.webpaper-blog-detail .entry-content figure.wp-block-image {
    width: 100%;
    margin: 48px 0;
}

.webpaper-blog-detail .site-main > article footer.entry-meta {
    margin-top: 30px;
}

.webpaper-blog-detail .post-navigation {
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e3e3e5;
}

.webpaper-blog-detail .comments-area {
    margin: 0;
    padding: 50px;
    border: 0;
    background: #fff;
}

.webpaper-blog-detail .comments-title,
.webpaper-blog-detail .comment-reply-title {
    color: #1c1c21;
    font-weight: 600;
}

.webpaper-blog-detail .comment-list article {
    border: 1px solid #e3e3e5;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(28, 28, 33, .07);
}

@media (max-width: 1350px) {
    .webpaper-blog-list .site-content {
        gap: 40px;
    }

    .webpaper-blog-list #right-sidebar {
        flex-basis: 290px;
        width: 290px !important;
    }

    .webpaper-blog-list .inside-article,
    .webpaper-blog-list .inside-article:has(> .post-image) {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 0 30px;
    }

    .webpaper-blog-list .inside-article > .post-image,
    .webpaper-blog-list .inside-article:has(> .post-image) > .post-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .webpaper-blog-design .webpaper-blog-hero__inner {
        width: min(100% - 40px, 680px);
    }

    .webpaper-blog-hero--list {
        height: 680px;
        min-height: 680px;
        padding: 130px 0 50px;
    }

    .webpaper-blog-hero--list .webpaper-blog-hero__copy {
        width: 100%;
    }

    .webpaper-blog-design .webpaper-blog-hero__copy h1 {
        font-size: 40px;
    }

    .webpaper-blog-hero--list .webpaper-blog-hero__image {
        width: min(88%, 520px);
    }

    .webpaper-blog-hero--detail {
        height: 410px;
        min-height: 410px;
        padding: 125px 0 70px;
    }

    .webpaper-blog-hero--detail .webpaper-blog-hero__meta {
        flex-wrap: wrap;
        font-size: 16px;
    }

    .webpaper-blog-list .site-content {
        display: block;
        width: calc(100% - 32px) !important;
        padding: 80px 0 90px;
    }

    .webpaper-blog-list #right-sidebar {
        width: 100% !important;
        margin-top: 60px;
    }

    .webpaper-blog-list .inside-article,
    .webpaper-blog-list .inside-article:has(> .post-image) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        padding: 30px 0 55px;
    }

    .webpaper-blog-list article + article .inside-article {
        padding-top: 55px;
    }

    .webpaper-blog-list .inside-article > .post-image,
    .webpaper-blog-list .inside-article:has(> .post-image) > .post-image {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: auto;
        margin-bottom: 28px;
        aspect-ratio: 16 / 9;
    }

    .webpaper-blog-list .inside-article > .entry-header,
    .webpaper-blog-list .inside-article:has(> .post-image) > .entry-header {
        grid-column: 1;
        grid-row: 2;
    }

    .webpaper-blog-list .inside-article > .entry-summary,
    .webpaper-blog-list .inside-article > .entry-content,
    .webpaper-blog-list .inside-article:has(> .post-image) > .entry-summary,
    .webpaper-blog-list .inside-article:has(> .post-image) > .entry-content {
        grid-column: 1;
        grid-row: 3;
    }

    .webpaper-blog-list .inside-article > footer.entry-meta,
    .webpaper-blog-list .inside-article:has(> .post-image) > footer.entry-meta {
        grid-column: 1;
        grid-row: 4;
    }

    .webpaper-blog-list .entry-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .webpaper-blog-list .entry-header .entry-meta,
    .webpaper-blog-design footer.entry-meta {
        flex-wrap: wrap;
        font-size: 15px;
    }

    .webpaper-blog-list .entry-summary,
    .webpaper-blog-list .entry-content {
        font-size: 17px;
    }

    .webpaper-blog-detail .site-content {
        width: calc(100% - 32px) !important;
        margin-top: -90px !important;
    }

    .webpaper-blog-detail .site-main > article > .inside-article,
    .webpaper-blog-detail .comments-area {
        padding: 28px 22px;
    }

    .webpaper-blog-detail .entry-content {
        font-size: 17px;
        line-height: 1.9;
    }
}

/* Figma contact page. The form itself remains owned by webpaper-contact. */
body.webpaper-contact-design {
    color: #1c1c21;
    background: #fff;
    overflow-x: clip;
}

body.webpaper-contact-design.webpaper-wide-layout #page.site.grid-container,
body.webpaper-contact-design.webpaper-wide-layout .site.grid-container {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.webpaper-contact-design .webpaper-contact-figma {
    width: 100%;
    max-width: none;
    margin: 0;
}

.webpaper-contact-figma-hero {
    height: min(1008px, 78vh);
    min-height: 720px;
    overflow: hidden;
    padding: 190px 0 80px;
    color: #fff;
    background: #1c1c21;
}

.webpaper-contact-figma-hero__inner {
    position: relative;
    width: min(1300px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
}

.webpaper-contact-figma-hero__copy {
    position: relative;
    z-index: 2;
    width: min(62%, 820px);
}

.webpaper-contact-figma-hero__copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 4.5vw, 60px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.035em;
}

.webpaper-contact-figma-hero__copy h1 .subhero-title-text {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.webpaper-contact-figma-hero__copy p {
    margin: 30px 0 0;
    color: #fff;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: -.02em;
}

.webpaper-contact-figma-hero__image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(54%, 691px);
    margin: 0;
    aspect-ratio: 691 / 461;
    overflow: hidden;
    transform: translate3d(0, var(--contact-image-parallax-y, 0), 0);
    will-change: transform;
}

.webpaper-contact-figma-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webpaper-contact-section-inner {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
}

.webpaper-contact-types {
    padding: 140px 0;
    background: #fff;
}

.webpaper-contact-types h2,
.webpaper-contact-form-section h2 {
    margin: 0 0 90px;
    color: #1c1c21;
    font-size: clamp(38px, 3.5vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.035em;
}

.webpaper-contact-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.webpaper-contact-type-chip {
    min-height: 76px;
    padding: 13px 40px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #1c1c21;
    background: #f8f8f8;
    font-family: inherit;
    font-size: clamp(20px, 1.7vw, 30px);
    line-height: 1.45;
    font-weight: 700;
    cursor: pointer;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.webpaper-contact-type-chip:hover,
.webpaper-contact-type-chip:focus-visible,
.webpaper-contact-type-chip.is-selected {
    color: #fff;
    border-color: #1c1c21;
    background: #1c1c21;
    transform: translateY(-2px);
    outline: none;
}

.webpaper-contact-guide {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.webpaper-contact-guide__background,
.webpaper-contact-guide__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.webpaper-contact-guide__background {
    display: block;
    max-width: none;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.webpaper-contact-guide__overlay {
    background: rgba(28, 28, 33, .6);
}

.webpaper-contact-guide__inner {
    position: relative;
    z-index: 1;
    width: min(915px, calc(100% - 80px));
    margin: 0 auto;
    padding: 50px;
}

.webpaper-contact-guide h2 {
    margin: 0 0 30px;
    color: #fff;
    font-size: clamp(34px, 3vw, 41px);
    line-height: 1.25;
    font-weight: 700;
}

.webpaper-contact-guide p {
    margin: 0 0 30px;
    color: #fff;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.55;
    font-weight: 700;
}

.webpaper-contact-guide__button {
    min-height: 64px;
    padding: 18px 30px;
    border: 0;
    border-radius: 999px;
    color: #1c1c21;
    background: #fff;
    font-family: inherit;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
    transition: color .22s ease, background-color .22s ease, transform .22s ease;
}

.webpaper-contact-guide__button:hover,
.webpaper-contact-guide__button:focus-visible {
    color: #fff;
    background: #1c1c21;
    transform: translateY(-2px);
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.webpaper-contact-form-section {
    padding: 140px 0;
    background: #f7f8fa;
    scroll-margin-top: 90px;
}

.webpaper-contact-form-shell {
    width: min(1320px, 100%);
    margin: 0 auto;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-wrap {
    max-width: none;
    margin: 0;
    scroll-margin-top: 110px;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-field input,
body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-field select,
body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-field textarea {
    min-height: 52px;
    border-color: #cfd3d8;
    border-radius: 0;
    background: #fff;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-field textarea {
    min-height: 220px;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-privacy {
    border-radius: 0;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-actions button {
    min-height: 64px;
    padding: 18px 30px;
    border: 2px solid #1c1c21;
    border-radius: 999px;
    color: #fff;
    background: #1c1c21;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    transition: color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-actions button:hover,
body.webpaper-contact-design .webpaper-contact-form-section .webpaper-contact-actions button:focus-visible {
    color: #1c1c21;
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    outline: none;
}

@media (max-width: 768px) {
    .webpaper-contact-figma-hero {
        height: 680px;
        min-height: 680px;
        padding: 125px 0 50px;
    }

    .webpaper-contact-figma-hero__inner,
    .webpaper-contact-section-inner {
        width: calc(100% - 40px);
    }

    .webpaper-contact-figma-hero__copy {
        width: 100%;
    }

    .webpaper-contact-figma-hero__copy h1 {
        font-size: 40px;
    }

    .webpaper-contact-figma-hero__copy p {
        margin-top: 22px;
        font-size: 19px;
    }

    .webpaper-contact-figma-hero__image {
        width: min(88%, 520px);
    }

    .webpaper-contact-types,
    .webpaper-contact-form-section {
        padding: 80px 0 90px;
    }

    .webpaper-contact-types h2,
    .webpaper-contact-form-section h2 {
        margin-bottom: 48px;
        font-size: 34px;
    }

    .webpaper-contact-type-list {
        gap: 12px;
        justify-content: flex-start;
    }

    .webpaper-contact-type-chip {
        min-height: 52px;
        padding: 10px 20px;
        font-size: 16px;
    }

    .webpaper-contact-guide {
        min-height: 520px;
    }

    .webpaper-contact-guide__inner {
        width: calc(100% - 40px);
        padding: 30px 0;
    }

    .webpaper-contact-guide h2 {
        font-size: 32px;
    }

    .webpaper-contact-guide p {
        font-size: 17px;
        line-height: 1.7;
    }

    .webpaper-contact-guide p br {
        display: none;
    }
}

/* Resolve GeneratePress and the legacy bridge selectors after the Figma layout. */
body.webpaper-blog-list .site-main .inside-article:has(> .post-image) {
    grid-template-columns: minmax(0, 1fr) 270px !important;
}

body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .entry-header {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .entry-summary,
body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .entry-content {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > footer.entry-meta {
    grid-column: 1 !important;
    grid-row: 3 !important;
}

body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .post-image {
    grid-column: 2 !important;
    grid-row: 1 / span 3 !important;
    width: 270px !important;
    height: 270px !important;
    margin: 0 !important;
}

body.webpaper-blog-list #right-sidebar .widget {
    background: #fff !important;
}

body.webpaper-blog-list .entry-header .posted-on,
body.webpaper-blog-list .entry-header .byline {
    white-space: nowrap;
}

@media (max-width: 1350px) {
    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) {
        grid-template-columns: minmax(0, 1fr) 220px !important;
    }

    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .post-image {
        width: 220px !important;
        height: 220px !important;
    }
}

@media (max-width: 768px) {
    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .post-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 28px !important;
    }

    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .entry-header {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .entry-summary,
    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > .entry-content {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    body.webpaper-blog-list .site-main .inside-article:has(> .post-image) > footer.entry-meta {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }
}
