/* Scoped to the theme's NEWS detail template; product and listing pages retain their styles. */
.ly_cont_newsDetail {
    --twnews-red: #d5232c;
    --twnews-ink: #20242a;
    --twnews-muted: #687079;
    padding-bottom: 88px;
}
.ly_cont_newsDetail .ly_cont_post { margin: 36px 0 0; }
.ly_cont_newsDetail .ly_cont_post > .ly_cont_inner {
    box-sizing: border-box;
    width: min(100%, 848px);
    max-width: 848px;
    padding: 0 24px;
    margin: 0 auto;
}
.ly_cont_newsDetail .bl_post > .bl_post_thumbnail { display: none !important; }
.ly_cont_newsDetail .bl_post_header {
    margin: 0;
    padding: 0 0 28px;
    border-bottom: 1px solid #e3e6e9;
}
.ly_cont_newsDetail .bl_post_date {
    display: block;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--twnews-muted);
}
.ly_cont_newsDetail .bl_post_ttl {
    margin: 12px 0 0;
    font-size: 34px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .015em;
    overflow-wrap: anywhere;
    color: #171b20;
}
.ly_cont_newsDetail .bl_post_body {
    margin: 32px 0 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.95;
    font-weight: 400;
    color: var(--twnews-ink);
    overflow-wrap: anywhere;
}
/* Override the theme's universal font reset while preserving block-level choices. */
.ly_cont_newsDetail .bl_post_body :where(p, li, div, span, a, figure, figcaption, ul, ol, blockquote, td, th) {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}
.ly_cont_newsDetail .bl_post_body p { margin: 0 0 1.4em; }
.ly_cont_newsDetail .bl_post_body :where(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
    line-height: 1.55;
    color: #171b20;
    letter-spacing: .02em;
    margin: 2em 0 .8em;
}
.ly_cont_newsDetail .bl_post_body h1 { font-size: 30px; }
.ly_cont_newsDetail .bl_post_body h2 {
    font-size: 25px;
    padding: 0 0 0 16px;
    border-left: 4px solid var(--twnews-red);
}
.ly_cont_newsDetail .bl_post_body h3 { font-size: 22px; }
.ly_cont_newsDetail .bl_post_body :where(h4, h5, h6) { font-size: 19px; }
.ly_cont_newsDetail .bl_post_body :where(strong, b) { font-size: inherit; line-height: inherit; font-weight: 700; }
.ly_cont_newsDetail .bl_post_body :where(em, i) { font-size: inherit; line-height: inherit; font-style: italic; }
.ly_cont_newsDetail .bl_post_body a:not(.wp-block-button__link) {
    color: var(--twnews-red);
    text-decoration: underline;
    text-underline-offset: .22em;
    text-decoration-thickness: 1px;
}
.ly_cont_newsDetail .bl_post_body a:hover { text-decoration-thickness: 2px; }
.ly_cont_newsDetail a:focus-visible { outline: 2px solid var(--twnews-red); outline-offset: 4px; }
.ly_cont_newsDetail .bl_post_body :where(ul, ol) { margin: 0 0 1.5em; padding-left: 1.5em; }
.ly_cont_newsDetail .bl_post_body ol { list-style: decimal; }
.ly_cont_newsDetail .bl_post_body li { margin-bottom: .45em; }
.ly_cont_newsDetail .bl_post_body figure { max-width: 100%; margin: 32px 0; }
.ly_cont_newsDetail .bl_post_body img { max-width: 100%; height: auto; }
.ly_cont_newsDetail .bl_post_body .twnews-body-image { margin: 0 0 36px; }
.ly_cont_newsDetail .bl_post_body .twnews-body-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 520px;
    height: auto;
    margin: 0 auto;
    aspect-ratio: auto;
    object-fit: contain;
}
.ly_cont_newsDetail .bl_post_body figcaption { font-size: 14px; line-height: 1.7; color: var(--twnews-muted); margin-top: 10px; }
.ly_cont_newsDetail .bl_post_body blockquote { margin: 32px 0; padding: 20px 24px; background: #f6f7f8; border-left: 3px solid #cdd2d7; }
.ly_cont_newsDetail .bl_post_body blockquote p:last-child { margin-bottom: 0; }
.ly_cont_newsDetail .bl_post_body .wp-block-table { overflow-x: auto; }
.ly_cont_newsDetail .bl_post_body .wp-block-table td,
.ly_cont_newsDetail .bl_post_body .wp-block-table th { padding: 12px; }
.ly_cont_newsDetail .bl_post_body :where(iframe, video) { max-width: 100%; }
.ly_cont_newsDetail .bl_postNavigation {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #e3e6e9;
}
.ly_cont_newsDetail .bl_postNavigation_next { justify-self: end; }
.ly_cont_newsDetail .bl_postNavigation_center { justify-self: center; }
.ly_cont_newsDetail .bl_postNavigation a { padding: 12px 8px; }
@media (max-width: 767px) {
    .ly_cont_newsDetail { padding-bottom: 56px; }
    .ly_cont_newsDetail .ly_cont_post { margin-top: 28px; }
    .ly_cont_newsDetail .ly_cont_post > .ly_cont_inner { padding: 0 20px; }
    .ly_cont_newsDetail .bl_post_header { padding-bottom: 24px; }
    .ly_cont_newsDetail .bl_post_ttl { font-size: 26px; line-height: 1.55; }
    .ly_cont_newsDetail .bl_post_body { margin-top: 24px; font-size: 16px; line-height: 1.9; }
    .ly_cont_newsDetail .bl_post_body h1 { font-size: 25px; }
    .ly_cont_newsDetail .bl_post_body h2 { font-size: 22px; padding-left: 12px; }
    .ly_cont_newsDetail .bl_post_body h3 { font-size: 20px; }
    .ly_cont_newsDetail .bl_post_body :where(h4, h5, h6) { font-size: 18px; }
    .ly_cont_newsDetail .bl_post_body .twnews-body-image { margin-bottom: 28px; }
    .ly_cont_newsDetail .bl_post_body .twnews-body-image img { max-height: 420px; }
    .ly_cont_newsDetail .bl_postNavigation { margin-top: 44px; gap: 8px; }
}
