/*
Theme Name: 제주 차량탁송
Version: 2.0
Requires at least: 6.4
Requires PHP: 8.0
*/

/* WordPress wrappers and interaction states for the approved landing styles. */
.wp-site-blocks, #content, .wp-block-post-content { margin: 0; padding: 0; }
[hidden], input[hidden] { display: none !important; }
:where(button, select):focus-visible { outline: 3px solid #277AB5; outline-offset: 3px; }
.hero h1, .brand, .btn { white-space: normal; overflow-wrap: anywhere; }
.btn { max-width: 100%; text-align: center; }
.hero .actions .btn, .form-foot .btn { flex-shrink: 1; }
.contact > *, .estimate > * { min-width: 0; }
.check span, .price :is(dt, dd), h1, h2, h3, li, summary, .stamp { overflow-wrap: anywhere; }
.brand { min-width: 0; min-height: 44px; }
.brand-icon { flex: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a, .check a { text-decoration: underline; text-underline-offset: .15em; }
.quote .form-card a:focus-visible { outline-color: #277AB5; }
.form-card select {
    display: block; min-width: 0; width: 100%; max-width: 100%; min-height: 48px; padding: 8px 10px;
    border: 1px solid #A9BDCD; border-radius: 10px; background: #FBFCFE; color: var(--ink);
    font: inherit; font-size: 16px; font-weight: 500;
}
.form-card :disabled { color: var(--muted); opacity: 1; }
.form-foot .btn-orange:disabled { color: var(--deep); }
.form-card .check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: .85rem; }
.form-card .check input { width: 18px; min-height: 18px; flex: none; margin: 0; accent-color: var(--navy); }
.date-fields { min-width: 0; }
.date-fields .check { margin-bottom: -8px; }
.btn:not(:disabled) { cursor: pointer; }
.form-card #summary { white-space: pre-line; overflow-wrap: anywhere; margin-top: 10px; }
.form-card #message:empty { margin: 0; }
.guide { width: min(44rem, calc(100% - 40px)); margin: 0 auto; padding-block: 58px; }
.guide h1, .standalone h1 { font-size: clamp(1.8rem, 5vw, 2.85rem); }
.guide :is(p, h2, details) { margin-top: 12px; }
.guide h2 { font-size: 1.35rem; }
.guide .kicker { margin: 0 0 12px; color: var(--accent); font-weight: 750; }
.guide mark { background: #FFF1E6; color: var(--accent); }
.brand-logo { display: block; height: 36px; width: auto; max-width: 100%; object-fit: contain; }
@media (min-width: 900px) { .brand-logo { height: 40px; } }
.jt-place { min-width: 0; }
.jt-place input[type="search"] { margin-top: 4px; font-size: 16px; }
.jt-results { max-height: 16rem; overflow: auto; list-style: none; padding: 0; margin: 4px 0 0; border: 1px solid #A9BDCD; border-radius: 10px; }
.jt-results [role="option"] { min-height: 44px; padding: 8px 10px; cursor: pointer; overflow-wrap: anywhere; }
.jt-results [role="option"] + [role="option"] { border-top: 1px solid #A9BDCD; }
.jt-results [role="option"] span { display: block; font-size: .85rem; }
.jt-results [role="option"]:hover, .jt-results [aria-selected="true"] { background: var(--navy); color: white; }
.jt-place-status, .jt-address-notice { font-size: .85rem; color: var(--ink); overflow-wrap: anywhere; }
.jt-place-status:empty { margin: 0; }

@media (max-width: 359px) { .header-row { flex-wrap: wrap; padding-block: 8px; } }
.nav-news { margin-right: 14px; font-size: .9rem; font-weight: 750; color: var(--navy); white-space: nowrap; }
@media (min-width: 900px) { .nav-news { display: none; } }
.posts .wp-block-post-template { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 22px; }
.post-card { padding: 20px; }
.post-card h2 { font-size: 1.2rem; margin: 0 0 6px; }
.post-card .wp-block-post-date, .guide .wp-block-post-date { color: var(--muted); font-size: .88rem; }
.guide .wp-block-post-featured-image img { border-radius: 14px; height: auto; margin-top: 16px; }
.guide .wp-block-post-content img { max-width: 100%; height: auto; border-radius: 12px; }
.post-cta { margin-top: 32px; }
.wp-block-query-pagination { margin-top: 24px; gap: 12px; }
main.wp-block-group.guide { margin-left: auto !important; margin-right: auto !important; }
.header-row > p { display: flex; align-items: center; margin: 0; flex-shrink: 0; }
.header-row .btn-navy { white-space: nowrap; }
@media (max-width: 899px) { .header-row .btn-navy { padding-inline: 12px; } .nav-news { margin-right: 10px; font-size: .86rem; } }
.compare { margin-top: 18px; padding: 20px; background: var(--mist); }
.compare h3 { margin: 0 0 6px; font-size: 1.05rem; }
#ev .card, #notice .card { padding: 20px; margin-top: 22px; }
#ev ul, #notice ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.news-tabs { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.news-tabs a { padding: 8px 14px; border: 1px solid var(--line, #D8E0E8); border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; }
.news-tabs a:hover { border-color: var(--orange); }
.kicker-cat a { color: var(--accent); font-weight: 750; text-decoration: none; }
.post-card { display: flex; gap: 20px; align-items: flex-start; }
.post-card .post-thumb { flex: 0 0 220px; margin: 0; }
.post-card .post-thumb img { width: 220px; height: 150px; object-fit: cover; border-radius: 12px; display: block; }
.post-card .post-body { flex: 1; min-width: 0; }
@media (max-width: 600px) { .post-card { gap: 12px; } .post-card .post-thumb { flex-basis: 110px; } .post-card .post-thumb img { width: 110px; height: 110px; } .post-card h2 { font-size: 1.02rem; } .post-card .wp-block-post-excerpt { display: none; } }
/* 3.1 polish */
.kicker-cat { margin: 0 0 10px; }
.kicker-cat a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #FFF1E6; font-size: .85rem; }
.form-card label { align-content: start; }
.form-card input:not([type="checkbox"]):not([type="hidden"]) { height: 48px; }
.form-card input:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(39,122,181,.22); }
.form-card input[type="search"] { -webkit-appearance: none; appearance: none; }
.form-card input[type="search"]::-webkit-search-cancel-button, .form-card input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
#from-lookup, #to-lookup { position: relative; }
#from-lookup > label, #to-lookup > label { display: block; }
.jt-results { position: absolute; z-index: 30; left: 0; right: 0; top: var(--jt-drop, 80px); max-height: 24rem; margin: 0; background: #fff; border: 1px solid #D8E0E8; border-radius: 12px; box-shadow: 0 12px 28px rgba(7,25,44,.16); }
.jt-results [role="option"] { padding: 10px 14px; }
.jt-results [role="option"] + [role="option"] { border-top: 1px solid #EEF2F6; }
.jt-results [role="option"] strong { font-weight: 700; }
.jt-results [role="option"] span { color: var(--muted); margin-top: 2px; }
.jt-results [role="option"]:hover, .jt-results [aria-selected="true"] { background: #EEF4F9; color: var(--ink); }
.jt-results [role="option"]:hover span, .jt-results [aria-selected="true"] span { color: var(--muted); }
.jt-place-status { margin: 6px 0 0; color: var(--muted); }
.jt-place-status:not(:empty)::before { content: ""; }
/* 3.2 polish */
.wp-site-blocks { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > :last-child { margin-top: auto; }
main.wp-block-group.guide { padding-top: 32px !important; padding-bottom: 64px !important; }
@media (min-width: 900px) { main.wp-block-group.guide { padding-top: 48px !important; } }
.guide h1, .guide h2, .guide h3 { overflow-wrap: break-word; word-break: keep-all; line-height: 1.3; }
.guide h1 { margin: 0 0 8px; }
.guide .wp-block-post-content { font-size: 1.02rem; line-height: 1.8; }
.guide .wp-block-post-content h2 { margin-top: 40px; font-size: 1.3rem; }
.guide .wp-block-post-content h3 { margin-top: 24px; font-size: 1.08rem; }
.guide .wp-block-post-content h2 + h3 { margin-top: 14px; }
.guide .wp-block-post-content :is(ul, ol) { padding-left: 1.3em; }
.guide .wp-block-post-content li + li { margin-top: 6px; }
.guide .wp-block-post-content figure { margin: 22px 0; }
.news-tabs a { background: #fff; }
.blog .news-tabs a[href="/news/"], .category-jeju-news .news-tabs a[href*="jeju-news"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty-note { margin-top: 22px; padding: 28px 20px; border: 1px dashed #C9D5E0; border-radius: 14px; text-align: center; color: var(--muted); }
.post-card .post-thumb a { display: block; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.footer .nw { white-space: nowrap; }
.post-cta { text-align: center; margin-top: 18px; }
.post-cta .btn { min-width: 220px; }
@media (max-width: 600px) { .post-cta .btn { display: block; width: 100%; } }
.guide .wp-block-post-content .has-text-align-center a { text-decoration: none; }
.jt-results:not([hidden]) + .jt-place-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.post-card .post-thumb img { object-position: center top; }
.post-card .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 0; }
.post-card { align-items: center; }
h1, h2, h3, .hero h1 { overflow-wrap: break-word; word-break: keep-all; text-wrap: balance; }
