/* WordPress integration; the original design.css is preserved. */
.haruka-menu { display: flex; flex-wrap: wrap; align-items: stretch; gap: inherit; list-style: none; margin: 0; padding: 0; }
.haruka-menu li { margin: 0; }
.header nav .haruka-menu { gap: 2.2rem; }
.header nav li.nav-contact { background: transparent; padding-inline: 0; }
.header nav .haruka-menu .nav-contact > a { background: var(--navy); color: white; padding-inline: 1.5rem; }
.header nav .haruka-menu .nav-contact > a:hover { background: #075b98; }
.footer nav .haruka-menu { gap: 1.5rem; }
.custom-logo-link { display: inline-flex; max-width: 260px; }
.custom-logo { max-width: 100%; width: auto; height: auto; max-height: 72px; object-fit: contain; }
.wp-block-group { box-sizing: border-box; }
figure.wp-block-image { margin: 0; }
.wp-block-image img { max-width: 100%; height: auto; vertical-align: middle; }
figure.hero-image, figure.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
figure.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-photo img { aspect-ratio: 3 / 2; }
.company-photo img { aspect-ratio: 4 / 3; }
.haruka-button-wrap { margin: 0; }
.hero-caption p { font: inherit; }
.service-card { position: relative; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-card h3 a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.service-card:hover { background: #e5eef6; }
.service-card:hover h3 { color: var(--blue); }
.card-copy .card-link { font-size: .875rem; font-weight: 700; }
.flow { list-style: none; }
.flow-item { border-top: 3px solid var(--blue); padding-top: 1rem; }
.flow .flow-step { color: var(--blue); font-size: .875rem; font-weight: 700; }
.wp-block-table.profile-table { margin: 0; }
.profile-table table { border-collapse: collapse; width: 100%; }
.profile-table td, .profile-table th { text-align: left; padding: 1.5rem; border: 0; border-top: 1px solid var(--line); vertical-align: top; }
.profile-table tr:last-child td { border-bottom: 1px solid var(--line); }
.profile-table td:first-child { width: 9rem; background: var(--pale); font-weight: 700; font-size: .9375rem; }
.profile-table td { overflow-wrap: anywhere; }
.profile-table a { min-height: 44px; display: inline-flex; align-items: center; }
.faq .wp-block-details { margin: 0; }
.entry-content > * + * { margin-top: 1.5rem; }
.entry-content h2, .entry-content h3 { color: var(--navy); line-height: 1.6; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; }
.entry-content img { height: auto; }
.entry-content .alignwide { width: min(1160px, calc(100vw - var(--gutter) * 2)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content blockquote { margin-inline: 0; padding: 1rem 1.5rem; border-left: 4px solid var(--blue); background: var(--pale); }
.entry-content pre { padding: 1rem; overflow: auto; background: var(--pale); }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content td, .entry-content th { padding: .75rem; border: 1px solid var(--line); }
.post-thumbnail { display: block; max-width: 100%; height: auto; margin-bottom: 2rem; }
.post-navigation, .pagination { margin-block: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); padding: .35rem .75rem; }
.page-numbers.current { background: var(--navy); color: white; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: white; clip-path: none; color: var(--navy); height: auto; left: 1rem; padding: 1rem; top: 1rem; width: auto; z-index: 100000; }
.search-form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
input, textarea, select { max-width: 100%; font: inherit; padding: .65rem; border: 1px solid var(--line); border-radius: 0; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
input[type='submit'] { background: var(--navy); color: white; min-height: 44px; padding: .65rem 1.2rem; cursor: pointer; }
.comment-list { padding-left: 1.5rem; }
.comment-body { padding-block: 1.5rem; }
.comment-form p { margin-top: 1rem; }
.comment-form label { display: block; }
.comment-form-cookies-consent label { display: inline; }
.comment-form textarea { width: 100%; }
.bypostauthor > .comment-body { border-left: 3px solid var(--blue); padding-left: 1rem; }
.sticky .news-title { font-weight: 700; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: .875rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.entry-content::after { content: ''; display: table; clear: both; }
.admin-bar .skip-link { top: 3rem; }
@media (max-width: 1100px) { .header nav .haruka-menu { gap: 1.4rem; } }
@media (max-width: 900px) {
    .header nav .haruka-menu { flex-direction: column; width: 100%; gap: 0; }
    .footer nav .haruka-menu { gap: .5rem 1.25rem; }
}
@media (max-width: 650px) {
    .hero-photo figure.hero-image, .hero-photo figure.hero-image img { height: auto; aspect-ratio: 16 / 9; }
    .service-photo img { aspect-ratio: 16 / 10; }
    .profile-table td { display: block; width: 100%; padding: 1rem; }
    .profile-table td:first-child { width: 100%; }
    .profile-table tr:last-child td:first-child { border-bottom: 0; }
    .entry-content .alignwide { width: 100%; }
}
