/*
Theme Name: HelloWord Blue
Description: 蓝白风格、多页面 Gutenberg 原生区块主题。
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: helloword-blue
*/
:root {
    --blue:#075cff;
    --ink:#172b49;
    --muted:#6b7d95;
    --pale:#f3f7ff;
    --line:#e2eaf5;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    color:var(--ink);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;
    font-size:16px;
    line-height:1.8;
    background:#fff;
}

a {
    color:var(--blue);
    text-decoration:none;
}

a:hover {
    text-decoration:underline;
}

a:focus-visible,summary:focus-visible {
    outline:3px solid #ffbf47;
    outline-offset:5px;
}

h1,h2,h3 {
    line-height:1.35;
    letter-spacing:-.025em;
}

h1 {
    font-size:clamp(34px,4.4vw,58px);
    margin:16px 0 24px;
}

h2 {
    font-size:clamp(27px,3vw,37px);
    margin:0 0 22px;
}

h3 {
    font-size:21px;
    margin:14px 0;
}

p {
    margin:0 0 20px;
    color:var(--muted);
}

.hw-wrap {
    max-width:1160px;
    margin:auto;
    padding:0 28px;
}

.hw-section {
    padding:86px 0;
}

.hw-hero {
    padding:86px 0 90px;
    background:radial-gradient(ellipse at 82% 20%,#d7eaff 0,transparent 54%),linear-gradient(120deg,#edf5ff,#f9fbff);
}

.hw-page-hero {
    background:linear-gradient(120deg,#eaf3ff,#f8fbff);
    text-align:center;
    padding:74px 0;
}

.hw-page-hero h1 {
    font-size:46px;
}

.hw-lead {
    font-size:18px;
    max-width:610px;
}

.hw-page-hero .hw-lead {
    margin:0 auto;
}

.hw-eyebrow {
    color:var(--blue);
    font-size:12px;
    font-weight:700;
    letter-spacing:.15em;
    margin-bottom:18px;
}

.hw-note {
    font-size:12px;
    margin-top:22px;
}

.wp-block-columns {
    display:flex;
    gap:36px;
    align-items:center;
    margin:0;
}

.wp-block-column {
    flex:1;
    min-width:0;
}

.wp-block-image {
    margin:0;
}

.wp-block-image img {
    width:100%;
    height:auto;
    display:block;
}

.wp-block-buttons {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:28px;
}

.wp-block-button__link {
    display:inline-block;
    background:var(--blue);
    color:#fff;
    padding:12px 28px;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    border:1px solid var(--blue);
    text-align:center;
}

.wp-block-button__link:hover {
    background:#0047d4;
    text-decoration:none;
}

.is-style-outline .wp-block-button__link {
    background:white;
    color:var(--blue);
    border-color:#d9e5fa;
}

.hw-center {
    text-align:center;
}

.hw-center .wp-block-columns {
    align-items:stretch;
    margin-top:40px;
}

.hw-center .wp-block-buttons {
    justify-content:center;
}

.hw-card {
    height:100%;
    padding:30px 26px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 8px 28px #172b4905;
    text-align:left;
}

.hw-card p:last-child {
    margin-bottom:0;
    font-size:14px;
}

.hw-number {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:46px;
    height:46px;
    border-radius:12px;
    background:#eaf2ff;
    color:var(--blue);
    font-size:18px;
    font-weight:700;
}

.hw-tint {
    background:var(--pale);
}

.hw-feature .wp-block-columns {
    gap:80px;
}

.hw-cta {
    background:var(--blue);
    text-align:center;
    color:white;
}

.hw-cta p {
    color:#dce9ff;
}

.hw-cta .wp-block-buttons {
    justify-content:center;
}

.hw-cta .wp-block-button__link {
    background:white;
    color:var(--blue);
    border-color:white;
}

.hw-cta .is-style-outline .wp-block-button__link {
    background:transparent;
    color:white;
}

.wp-block-details {
    padding:22px 25px;
    border:1px solid var(--line);
    background:#fff;
    border-radius:10px;
    margin:0 auto 14px;
    max-width:930px;
}

.wp-block-details summary {
    cursor:pointer;
    font-weight:600;
    font-size:17px;
}

.wp-block-details p {
    margin:16px 0 0;
    font-size:15px;
}

.hw-download-slot {
    max-width:1104px;
    margin:25px auto;
    padding:28px;
    background:var(--pale);
    border-radius:12px;
    scroll-margin-top:30px;
}

.site-header {
    background:#fff;
    border-bottom:1px solid #edf2fa;
}

.hw-nav {
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:88px;
    gap:24px;
}

.brand {
    font-size:24px;
    font-weight:800;
    letter-spacing:-1px;
    color:var(--blue);
    white-space:nowrap;
}

.brand span {
    display:inline-flex;
    background:var(--blue);
    color:white;
    align-items:center;
    justify-content:center;
    width:35px;
    height:35px;
    border-radius:12px;
    margin-right:9px;
    font-size:17px;
    letter-spacing:0;
}

.site-header nav {
    display:flex;
    gap:27px;
    align-items:center;
    font-size:14px;
}

.site-header nav a {
    color:var(--ink);
}

.site-header nav a[aria-current] {
    color:var(--blue);
}

.site-footer {
    background:#091b32;
    color:white;
    padding:56px 0 24px;
}

.site-footer .hw-wrap {
    display:flex;
    justify-content:space-between;
    gap:30px;
    flex-wrap:wrap;
}

.site-footer p {
    font-size:13px;
    color:#9cafc8;
}

.site-footer nav {
    display:flex;
    gap:22px;
    flex-wrap:wrap;
}

.site-footer a {
    color:#cfdef2;
    font-size:14px;
}

.hw-copyright {
    max-width:1104px;
    border-top:1px solid #29394e;
    margin:35px auto 0;
    padding-top:20px;
    font-size:12px;
    color:#9cafc8;
}

.skip-link {
    position:absolute;
    left:-9999px;
}

.skip-link:focus {
    left:15px;
    top:10px;
    background:#fff;
    padding:10px;
    z-index:20;
}

.hw-generic {
    max-width:1104px;
    margin:50px auto;
    padding:0 28px;
}

@media(max-width:780px) {
    .hw-nav {
        flex-direction:column;
        gap:12px;
        padding-top:20px;
        padding-bottom:18px;
    }

    .site-header nav {
        gap:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hw-section {
        padding:55px 0;
    }

    .wp-block-columns {
        flex-direction:column;
        gap:30px;
    }

    .wp-block-column {
        width:100%;
    }

    .hw-feature .wp-block-columns {
        gap:30px;
    }

    .hw-wrap {
        padding:0 22px;
    }

    .hw-hero h1 {
        font-size:39px;
    }

    .hw-page-hero h1 {
        font-size:36px;
    }

    .hw-feature .wp-block-column:has(.wp-block-image) {
        order:2;
    }

    .hw-center .wp-block-columns {
        margin-top:28px;
    }

    .hw-card {
        padding:26px;
    }

    .hw-download-slot {
        margin:20px 22px;
    }

    .site-footer .hw-wrap {
        flex-direction:column;
    }

    .hw-copyright {
        margin-left:22px;
        margin-right:22px;
    }

}

/* Homepage inspired by the supplied reference. */
.hw-photo-hero {
    position: relative;
    min-height: 644px;
    overflow: hidden;
    background: #e7edf1;
    isolation: isolate;
}

.hw-photo-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hw-photo-background .wp-block-image,
.hw-photo-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}

.hw-photo-content {
    max-width: 1540px;
    margin: 0 auto;
    padding: 74px 24px 48px;
    text-align: center;
}

.hw-photo-content > .wp-block-image {
    width: 240px;
    margin: 0 auto 17px;
}

.hw-photo-content h1 {
    color: #2863ed;
    font-size: clamp(36px, 4vw, 72px);
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -.035em;
}

.hw-photo-description {
    color: #333d48;
    font-size: clamp(17px, 1.35vw, 24px);
    margin: 0 auto;
    line-height: 1.7;
}

.hw-photo-content > .wp-block-buttons {
    justify-content: center;
    margin: 43px 0 45px;
}

.hw-photo-content > .wp-block-buttons .wp-block-button__link {
    font-size: 32px;
    line-height: 1.5;
    padding: 15px 38px;
    border-radius: 6px;
    background: #2863ed;
    border-color: #2863ed;
    font-weight: 400;
}

.hw-platform-strip {
    width: 100%;
    margin: 0 auto;
}

.hw-platform-strip img {
    width: 100%;
    height: auto;
}

.hw-advantages {
    background: #f8f8f8;
    padding: 58px 0 78px;
}

.hw-advantages > .hw-wrap {
    max-width: 1540px;
}

.hw-advantages h2 {
    color: #3168f5;
    font-size: clamp(28px, 2.3vw, 42px);
    margin-bottom: 12px;
}

.hw-advantages > .hw-wrap > p {
    font-size: 18px;
}

.hw-advantages .wp-block-columns {
    gap: 24px;
    margin-top: 28px;
}

.hw-advantages .hw-card {
    padding: 27px 24px;
    border-radius: 12px;
}

.hw-advantages .hw-number {
    display: inline;
    padding: 0;
    background: transparent;
    font-size: 30px;
    color: #3168f5;
}

.hw-advantages .hw-card h3 {
    font-size: 20px;
    margin: 9px 0 13px;
}

.site-header .brand img {
    display: block;
    width: 203px;
    height: auto;
}

.site-header .hw-wrap {
    max-width: 1540px;
}

.site-header .hw-nav {
    min-height: 76px;
}

.site-header nav {
    gap: 30px;
    font-size: 17px;
}

@media (max-width: 780px) {
    .hw-photo-hero {
        min-height: 640px;
    }

    .hw-photo-content {
        padding: 46px 20px 35px;
    }

    .hw-photo-background img {
        object-position: 56% center;
        opacity: .62;
    }

    .hw-photo-content h1 {
        font-size: 38px;
        margin: 24px 0 18px;
    }

    .hw-photo-description {
        font-size: 17px;
    }

    .hw-photo-content > .wp-block-image {
        width: 190px;
    }

    .hw-photo-content > .wp-block-buttons {
        margin: 30px 0 45px;
    }

    .hw-photo-content > .wp-block-buttons .wp-block-button__link {
        font-size: 24px;
        padding: 12px 30px;
    }

    .hw-platform-strip {
        overflow-x: auto;
        border-radius: 28px;
    }

    .hw-platform-strip .wp-block-image {
        width: 900px;
    }

    .hw-platform-strip img {
        width: 900px;
        max-width: none;
    }

    .site-header nav {
        gap: 15px;
        font-size: 14px;
    }

}


/* Distinctive language-connection visual system. */
:root {
    --accent: #53d9ce;
}
body {
    background: #fff;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8eef8;
}
.site-header .hw-wrap {
    max-width: 1260px;
}
.site-header .hw-nav {
    min-height: 86px;
}
.site-header .brand img {
    width: 215px;
}
.site-header nav {
    font-size: 14px;
    gap: 28px;
}
.site-header nav a:last-child {
    padding: 9px 20px;
    color: #fff;
    background: var(--blue);
    border-radius: 7px;
}
.hw-distinct-hero {
    position: relative;
    padding: 86px 0 95px;
    overflow: hidden;
    background: radial-gradient(ellipse at 93% 20%, #dceeff, transparent 48%), #f7faff;
}
.hw-distinct-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -250px;
    top: -340px;
    border: 1px solid #c7d9f4;
    border-radius: 50%;
    box-shadow: 0 0 0 55px #e7effb, 0 0 0 56px #dbe7fa;
    pointer-events: none;
}
.hw-distinct-hero > .hw-wrap {
    max-width: 1260px;
    position: relative;
}
.hw-distinct-hero .wp-block-columns {
    gap: 66px;
}
.hw-distinct-copy h1 {
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.22;
    letter-spacing: -.05em;
    margin-bottom: 20px;
}
.hw-distinct-copy .hw-eyebrow {
    letter-spacing: .13em;
    font-size: 12px;
}
.hw-product-label {
    color: #075cff;
    font-size: 17px;
    font-weight: 650;
    margin-bottom: 14px;
}
.hw-distinct-copy .hw-lead {
    max-width: 440px;
    font-size: 16px;
}
.hw-hero-meta {
    font-size: 12px;
    margin-top: 24px;
    color: #7a8ca6;
}
.hw-distinct-visual {
    position: relative;
    padding: 28px 0 55px 18px;
}
.hw-distinct-visual > .wp-block-image {
    border-radius: 90px 18px 90px 18px;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 18px 20px 0 #ddecfc;
    transform: rotate(-2deg);
}
.hw-distinct-visual > .wp-block-image img {
    height: 390px;
    object-fit: cover;
    object-position: 57% center;
}
.hw-float-chat {
    position: absolute;
    left: -20px;
    bottom: 15px;
    max-width: 345px;
    padding: 22px 26px;
    border: 1px solid #e0e9f6;
    border-radius: 16px 16px 16px 3px;
    background: #fff;
    box-shadow: 0 14px 35px #163b6b14;
}
.hw-float-chat p {
    font-size: 13px;
    margin: 0 0 7px;
    color: #304864;
}
.hw-float-chat p:last-child {
    margin: 0;
    color: #075cff;
    font-size: 17px;
    font-weight: 600;
}
.hw-float-chat .hw-chat-label {
    color: #8495ad;
    font-size: 10px;
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.hw-language-tag {
    position: absolute;
    right: -4px;
    top: 4px;
    background: #153558;
    border: 4px solid #f7faff;
    color: #fff;
    border-radius: 40px;
    padding: 10px 19px;
    transform: rotate(5deg);
}
.hw-language-tag p {
    font-size: 13px;
    color: #fff;
    margin: 0;
}
.hw-language-ribbon {
    background: #153558;
    padding: 24px 0;
}
.hw-language-ribbon .hw-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1260px;
}
.hw-ribbon-title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.hw-ribbon-en {
    margin: 0;
    color: #83dcd9;
    font-size: 10px;
    letter-spacing: .16em;
}
.hw-advantages {
    background: #fff;
    padding: 80px 0;
}
.hw-advantages > .hw-wrap {
    max-width: 1260px;
}
.hw-advantages h2 {
    color: #172b49;
    font-size: 34px;
}
.hw-advantages > .hw-wrap > p {
    font-size: 15px;
}
.hw-advantages .hw-card {
    position: relative;
    background: #f7faff;
    box-shadow: none;
    border: 0;
    border-top: 2px solid #d7e5f7;
    border-radius: 0 0 14px 14px;
    padding: 25px 22px;
    transition: transform .2s, background .2s;
}
.hw-advantages .hw-card:hover {
    background: #eff7ff;
    transform: translateY(-4px);
    border-top-color: #075cff;
}
.hw-advantages .hw-number {
    color: #8aa5cb;
    font-size: 23px;
    font-weight: 400;
}
.hw-advantages .wp-block-column:nth-child(even) .hw-card {
    border-top-color: #53d9ce;
}
.hw-feature .wp-block-image {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #e4edf9;
}
.hw-feature h2 {
    max-width: 390px;
}
.hw-page-hero {
    text-align: left;
    background: linear-gradient(120deg, #f1f7ff, #f8fcff);
    border-bottom: 1px solid #e1edf9;
    position: relative;
    overflow: hidden;
}
.hw-page-hero .hw-wrap {
    position: relative;
    z-index: 1;
}
.hw-page-hero::after {
    content: "你好 / Hello / Hola";
    position: absolute;
    right: 5%;
    top: 25%;
    color: #e1edfc;
    font-size: 68px;
    font-weight: 800;
    transform: rotate(-9deg);
    pointer-events: none;
}
.hw-page-hero .hw-lead {
    margin-left: 0;
}
.hw-cta {
    position: relative;
    overflow: hidden;
    background: #153558;
}
.hw-cta h2 {
    color: white;
}
.hw-cta::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid #34728a;
    border-radius: 50%;
    right: -90px;
    top: -70px;
    pointer-events: none;
}
.hw-cta .hw-wrap {
    position: relative;
}
.wp-block-details {
    border-radius: 5px;
    border-left: 3px solid #d7e5fa;
    box-shadow: none;
}
.wp-block-details[open] {
    border-left-color: #075cff;
}
.site-footer {
    background: #0d223b;
}
@media (max-width: 780px) {
    .hw-distinct-hero {
        padding: 48px 0 38px;
    }
    .hw-distinct-hero .wp-block-columns {
        gap: 35px;
    }
    .hw-distinct-copy h1 {
        font-size: 42px;
    }
    .hw-distinct-visual {
        padding: 18px 8px 100px;
    }
    .hw-distinct-visual > .wp-block-image img {
        height: 290px;
    }
    .hw-float-chat {
        left: 0;
        bottom: 35px;
        max-width: 300px;
        padding: 18px;
    }
    .hw-language-tag {
        right: 0;
        top: 0;
    }
    .hw-language-ribbon .hw-wrap {
        display: block;
    }
    .hw-ribbon-en {
        margin-top: 7px;
        font-size: 8px;
    }
    .hw-advantages h2 {
        font-size: 29px;
    }
    .hw-page-hero::after {
        font-size: 42px;
        top: 13%;
        right: -70px;
    }
    .site-header nav {
        gap: 12px;
        font-size: 13px;
    }
    .site-header nav a:last-child {
        padding: 6px 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hw-advantages .hw-card {
        transition: none;
    }
}

/* Shared back-to-top control. */
.hw-back-to-top {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #ffffff55;
    border-radius: 14px;
    background: #075cff;
    color: #fff;
    box-shadow: 0 6px 20px #075cff33;
    cursor: pointer;
}
.hw-back-to-top[hidden] {
    display: none;
}
.hw-back-to-top:hover {
    background: #0047d4;
}
.hw-back-to-top:focus-visible {
    outline: 3px solid #53d9ce;
    outline-offset: 4px;
}
@media (max-width: 780px) {
    .hw-back-to-top {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
}

/* Latest articles: six compact windows in a three-column grid. */
.hw-latest-articles {
    padding: 65px 0 72px;
    background: #fff;
}
.hw-latest-articles > .hw-wrap > h2,
.hw-latest-articles > .hw-wrap > .hw-eyebrow,
.hw-post-intro {
    text-align: center;
}
.hw-latest-articles h2 {
    font-size: 32px;
    margin-bottom: 12px;
}
.hw-post-intro {
    font-size: 14px;
    margin-bottom: 30px;
}
.hw-post-grid,
.hw-latest-articles .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.hw-post-card,
.hw-latest-articles .wp-block-post {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3ebf7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px #163b6b05;
}
.hw-post-cover {
    display: block;
    overflow: hidden;
    background: #f0f6ff;
}
.hw-post-cover img,
.hw-latest-articles .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: 135px;
    object-fit: cover;
}
.hw-latest-articles .wp-block-post-featured-image {
    margin: 0;
}
.hw-post-copy {
    padding: 19px 21px 22px;
}
.hw-post-category {
    margin: 0 0 8px;
    font-size: 10px;
    color: #5484bf;
    letter-spacing: .1em;
}
.hw-post-card h3,
.hw-latest-articles .wp-block-post-title {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.6;
}
.hw-post-card h3 a,
.hw-latest-articles .wp-block-post-title a {
    color: #172b49;
}
.hw-post-card h3 a:hover,
.hw-latest-articles .wp-block-post-title a:hover {
    color: #075cff;
}
.hw-post-excerpt,
.hw-latest-articles .wp-block-post-excerpt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 14px;
    color: #71829a;
}
.hw-post-more,
.hw-latest-articles .wp-block-read-more {
    font-size: 12px;
    font-weight: 600;
    color: #075cff;
}
.hw-latest-articles .wp-block-post-date {
    font-size: 11px;
    color: #8495ab;
    margin-bottom: 9px;
}
.hw-article {
    padding: 55px 0 85px;
}
.hw-article .hw-wrap {
    max-width: 850px;
}
.hw-article h1 {
    font-size: clamp(30px, 3.3vw, 43px);
}
.hw-article h2 {
    font-size: 24px;
    margin-top: 35px;
}
.hw-article-back {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 35px;
}
@media (min-width: 601px) and (max-width: 900px) {
    .hw-post-grid,
    .hw-latest-articles .wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .hw-post-grid,
    .hw-latest-articles .wp-block-post-template {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .hw-latest-articles {
        padding: 48px 0;
    }
    .hw-latest-articles h2 {
        font-size: 27px;
    }
    .hw-post-cover img {
        height: 150px;
    }
}
