/* =========================================================
   NEWS — LIST (Figma 337:10499) — heading reuses .ab-split / .ab-lead__sub
   ========================================================= */
.nw-main { background: #fff; padding: 86px 0 80px; }
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 24px; margin-top: 100px; }
.nw-card { display: flex; flex-direction: column; gap: 32px; }
.nw-card__img { position: relative; height: 260px; border-radius: 18px; overflow: hidden; background: var(--light); }
.nw-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nw-card:hover .nw-card__img img { transform: scale(1.06); }
.nw-card__text { display: flex; flex-direction: column; gap: 8px; }
.nw-card h2 { font-size: 24px; font-weight: 600; line-height: 1.333; transition: color .3s; }
.nw-card:hover h2 { color: var(--marine); }
.nw-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 20px; line-height: 1.4; opacity: .6; }
.nw-empty { margin-top: 80px; text-align: center; font-size: 20px; opacity: .7; }

/* Pager */
.nw-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 100px; }
.nw-pager__num, .nw-pager__arrow, .nw-pager__gap { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; font-size: 17px; line-height: 1; color: var(--black); }
.nw-pager__num { transition: background-color .3s, color .3s; }
.nw-pager__num:hover { background: var(--light); }
.nw-pager__num.is-current { background: var(--marine); color: #fff; }
.nw-pager__arrow { font-size: 24px; color: #97C60D; transition: background-color .3s, transform .35s var(--ease); }
.nw-pager__arrow:not(.is-disabled):hover { background: var(--light); }
.nw-pager__arrow.is-disabled { color: var(--black); opacity: .3; }
a.nw-pager__arrow--next:hover { transform: translateX(2px); }

@media (max-width: 1024px) {
	.nw-main { padding: 64px 0 72px; }
	.nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 20px; margin-top: 64px; }
	.nw-pager { margin-top: 72px; }
}
@media (max-width: 760px) {
	.nw-main { padding: 48px 0 64px; }
	.nw-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
	.nw-card { gap: 22px; }
	.nw-card__img { height: auto; aspect-ratio: 411 / 260; }
	.nw-card h2 { font-size: 22px; }
	.nw-card p { font-size: 18px; }
	.nw-pager { margin-top: 56px; gap: 6px; }
}

/* =========================================================
   NEWS — DETAIL (Figma 337:10670) — single.php
   ========================================================= */
.nd-main { background: #fff; padding: 86px 0 80px; }
.nd-head { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 796px; margin: 0 auto; text-align: center; }
.nd-title { font-size: 54px; font-weight: 400; line-height: 1; }
.nd-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.nd-title .w > span { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease-out) forwards; animation-delay: calc(.15s + var(--i) * .04s); }
.nd-head .hero-in { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; animation-delay: var(--d, .2s); }
.nd-date { display: inline-flex; align-items: center; gap: 14px; font-size: 20px; line-height: 28px; }
.nd-date iconify-icon { font-size: 28px; color: var(--green); }
.nd-date time { opacity: .6; }
.nd-hero { position: relative; height: 681px; margin-top: 64px; border-radius: 18px; overflow: hidden; background: var(--light); }
.nd-hero img { width: 100%; height: 100%; object-fit: cover; }

.nd-body { max-width: 846px; margin: 64px auto 0; }
.nd-entry { color: #020210; font-size: 18px; line-height: 1.39; }
.nd-entry > * { margin: 0; }
.nd-entry p + p { margin-top: 25px; }
.nd-entry .nd-lead { margin-bottom: 24px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.nd-entry h2 { margin: 80px 0 24px; font-size: 32px; font-weight: 600; line-height: 1.2; }
.nd-entry h3 { margin: 56px 0 20px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.nd-entry figure, .nd-entry .wp-block-image { margin: 0 0 24px; }
.nd-entry img { display: block; width: 100%; height: auto; border-radius: 24px; }
.nd-entry .nd-figure img { aspect-ratio: 846 / 476; object-fit: cover; }
.nd-entry figcaption { margin-top: 10px; font-size: 15px; opacity: .6; }
.nd-entry a { color: var(--marine); text-decoration: underline; text-underline-offset: 3px; }
.nd-entry ul, .nd-entry ol { margin: 25px 0; padding-left: 1.3em; }
.nd-entry li + li { margin-top: 8px; }
.nd-entry blockquote { margin: 40px 0; padding-left: 24px; border-left: 3px solid var(--green); font-size: 22px; line-height: 1.35; }

.nd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.nd-actions .btn { gap: 14px; padding: 14px 32px; font-size: 20px; line-height: 28px; }
.nd-actions .btn iconify-icon { position: relative; z-index: 1; font-size: 24px; }
.nd-share { display: flex; align-items: center; gap: 14px; margin-top: 80px; padding: 24px 0 80px; border-top: 1px solid rgba(22, 42, 74, .2); font-size: 18px; line-height: 25px; color: #020210; }
.nd-share ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.nd-share a { display: flex; font-size: 24px; opacity: .5; transition: opacity .3s, color .3s, transform .35s var(--ease); }
.nd-share a:hover { opacity: 1; color: var(--marine); transform: translateY(-2px); }

.nd-related { padding: 0 0 100px; }
.nd-related .news__head { margin-bottom: 80px; }
.nd-related .news__grid { margin-bottom: 0; }

@media (max-width: 1024px) {
	.nd-main { padding: 64px 0 56px; }
	.nd-title { font-size: 44px; }
	.nd-hero { height: auto; aspect-ratio: 1280 / 681; margin-top: 48px; }
	.nd-body { margin-top: 48px; }
	.nd-entry h2 { margin-top: 64px; }
	.nd-share { margin-top: 64px; padding-bottom: 64px; }
	.nd-related { padding-bottom: 80px; }
	.nd-related .news__head { margin-bottom: 56px; }
}
@media (max-width: 760px) {
	.nd-main { padding: 48px 0 40px; }
	.nd-title { font-size: 34px; line-height: 1.1; }
	.nd-date { font-size: 17px; gap: 10px; }
	.nd-date iconify-icon { font-size: 24px; }
	.nd-hero { margin-top: 36px; border-radius: 14px; }
	.nd-body { margin-top: 36px; }
	.nd-entry { font-size: 17px; }
	.nd-entry .nd-lead { font-size: 20px; }
	.nd-entry h2 { margin-top: 48px; font-size: 26px; }
	.nd-entry img { border-radius: 16px; }
	.nd-actions .btn { padding: 12px 24px; font-size: 18px; }
	.nd-share { margin-top: 48px; padding-bottom: 56px; }
	.nd-related { padding-bottom: 64px; }
	.nd-related .news__head { margin-bottom: 36px; }
}

/* =========================================================
   LEGAL PAGES (Privacy Policy / Terms of Service) — reuse .nd-title / .nd-date / .nd-entry
   ========================================================= */
.lg-main { background: #fff; padding: 86px 0 100px; }
.lg-head { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 796px; margin: 0 auto; text-align: center; }
.lg-head .hero-in { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; animation-delay: var(--d, .2s); }
.lg-head .nd-date span { opacity: .6; }
.lg-body { max-width: 846px; margin: 64px auto 0; padding-top: 48px; border-top: 1px solid rgba(22, 42, 74, .2); }
.lg-body h2 { margin-top: 56px; font-size: 28px; }
.lg-body h2:first-child { margin-top: 0; }
.lg-body h2 + p { margin-top: 0; }
.lg-body ul { margin: 16px 0 0; }
.lg-body ul + p, .lg-body p + ul { margin-top: 16px; }

@media (max-width: 1024px) {
	.lg-main { padding: 64px 0 80px; }
	.lg-body { margin-top: 48px; padding-top: 40px; }
}
@media (max-width: 760px) {
	.lg-main { padding: 48px 0 64px; }
	.lg-body { margin-top: 36px; padding-top: 32px; }
	.lg-body h2 { margin-top: 40px; font-size: 23px; }
}
