/* https://us.unitedworld.jp/contact/ — moved verbatim out of the page body.
   The rules are unchanged; only their location is. */

/* Spacing the removed element used to provide.
 *
 * The inline <style> block was the first child of the post content. It renders
 * nothing, but it still counted as a sibling, so the page wrapper after it
 * received the theme's block gap (--wp--style--block-gap, 1.2rem = 19.2px).
 * Taking the element out made the wrapper the first child, and the page moved
 * up by that much.
 *
 * This puts it back, so the migration changed where the code lives and nothing
 * else. The gap was an artefact of an invisible element being in the flow —
 * worth removing, but as its own deliberate change, not as a side effect of
 * this one. Delete this rule then.
 */
.wp-block-post-content > *:first-child,
.entry-content > *:first-child {
  margin-block-start: var(--wp--style--block-gap, 1.2rem);
}

.wp-block-post-title,.entry-title{display:none!important;height:0!important;margin:0!important;padding:0!important;font-size:0!important}.wp-site-blocks>main{margin-top:0!important;padding-top:0!important}.wp-site-blocks>header,.wp-site-blocks>footer,.skip-link{display:none!important}.wp-block-post-content{max-width:none!important;padding:0!important}.has-global-padding{padding:0!important}.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:none!important}
.uw-pg{font-family:"Inter",system-ui,sans-serif;color:#0F172A;line-height:1.6;-webkit-font-smoothing:antialiased}.uw-pg *{box-sizing:border-box;margin:0;padding:0}.uw-pg a{text-decoration:none;color:inherit}.uw-pg.lang-en .jp{display:none!important}.uw-pg.lang-jp .en{display:none!important}.uw-pg-n{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:16px 24px}.uw-pg-n-logo{font-size:17px;font-weight:700;letter-spacing:-.3px}.uw-pg-n-logo b{color:#2563EB}.uw-pg-n-links{display:flex;gap:16px;align-items:center}.uw-pg-n-links a{font-size:13px;color:#64748B;font-weight:500;transition:.15s}.uw-pg-n-links a:hover{color:#0F172A}.uw-pg-n-cta{background:#2563EB;color:#fff!important;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600}.uw-pg-n-cta span{color:#fff!important}.uw-pg-lt{display:flex;border:1px solid #E2E8F0;border-radius:6px;overflow:hidden}.uw-pg-lt button{padding:4px 10px;border:none;background:#fff;cursor:pointer;color:#64748B;font-size:12px;font-weight:600}.uw-pg-lt button.on{background:#0F172A;color:#fff}
.uwct-hero{background:linear-gradient(135deg,#0F172A,#1E293B);color:#fff;padding:64px 32px;text-align:center}
.uwct-hero-inner{max-width:600px;margin:0 auto}
.uwct-hero h1{font-size:36px;font-weight:800;margin-bottom:12px;letter-spacing:-1px}
.uwct-hero p{color:#94A3B8;font-size:16px}
.uwct-s{max-width:1200px;margin:0 auto;padding:48px 32px}
.uwct-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}
.uwct-card{background:#fff;border:2px solid #E2E8F0;border-radius:10px;padding:28px;text-align:center;transition:.15s}
.uwct-card:hover{border-color:#2563EB}
.uwct-card-icon{font-size:28px;margin-bottom:12px}
.uwct-card h2,.uwct-card h3{font-size:15px;font-weight:700;margin-bottom:6px}
.uwct-card p{color:#64748B;font-size:13px;margin-bottom:12px}
.uwct-card a{color:#2563EB;font-weight:600;font-size:15px}
.uwct-form{background:#fff;border:2px solid #2563EB;border-radius:14px;padding:40px;margin:40px auto;max-width:700px}
.uwct-form h2{font-size:22px;font-weight:800;margin-bottom:6px}
.uwct-form>p{color:#64748B;font-size:14px;margin-bottom:28px}
.uwct-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.uwct-field{margin-bottom:16px}
.uwct-field label{display:block;font-size:13px;font-weight:600;margin-bottom:5px;color:#334155}
.uwct-field input,.uwct-field select,.uwct-field textarea{width:100%;padding:11px 14px;border:2px solid #E2E8F0;border-radius:8px;font-size:15px;font-family:inherit;background:#F8FAFC}
.uwct-field input:focus,.uwct-field select:focus,.uwct-field textarea:focus{outline:none;border-color:#2563EB;background:#fff}
.uwct-field textarea{height:110px;resize:vertical}
.uwct-submit{display:block;width:100%;background:#2563EB;color:#fff!important;padding:14px;border:none;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit}
.uwct-submit:hover{background:#1d4ed8}
.uwct-offices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:40px auto;max-width:700px}
.uwct-office{background:#F8FAFC;border:1px solid #E2E8F0;border-radius:10px;padding:28px;border-left:4px solid #2563EB}
.uwct-office h3{font-size:16px;font-weight:700;margin-bottom:10px}
.uwct-office p{color:#64748B;font-size:14px;margin:3px 0}
/* Company is hidden for a candidate; without this the name field keeps half
   the row and the other half is white space. */
.uwct-row.uwct-row-single{grid-template-columns:1fr}
@media(max-width:768px){.uwct-cards{grid-template-columns:1fr}.uwct-row,.uwct-offices{grid-template-columns:1fr}.uwct-hero h1{font-size:28px}.uw-pg-n-links>a{display:none}/* 40px of padding inside a 700px card is generous; inside a 390px
   viewport it is 80px of the 326px the card has. */.uwct-form{padding:24px 18px}.uwct-s{padding:32px 16px}}

/* Email / Phone / Fees are the page's own contact details sitting directly
 * under the h1, so they are h2 rather than h3. The office cards further down
 * stay h3 under the "Send Us a Message" h2, which was already correct. */
.uwct-card h2{margin-top:0}
