/* ================================================================
   260807fangdai - "Gongju" Theme Port
   Clean blue + gray theme, modern UI, rounded corners
   Class prefix: fd-
================================================================= */

:root {
    /* New Theme Variables */
    --fd-primary: #3b82f6;
    --fd-primary-hover: #2563eb;
    --fd-bg: #f9fafb;
    --fd-bg-alt: #f3f4f6;
    
    /* Legacy Variables mapped to new theme to prevent HTML breakage */
    --fd-navy: #1f2937;
    --fd-navy-d: #111827;
    --fd-navy-l: #3b82f6;
    --fd-gold: #3b82f6;
    --fd-gold-l: #60a5fa;
    --fd-gold-d: #2563eb;
    --fd-cream: #f9fafb;
    --fd-paper: #ffffff;
    --fd-ink: #1f2937;
    --fd-slate: #6b7280;
    --fd-mist: #f3f4f6;
    --fd-line: #e5e7eb;
    --fd-red: #ef4444;
    --fd-green: #22c55e;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--fd-bg);
    color: var(--fd-ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

/* Container */
.fd-wrap {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) { .fd-wrap { max-width: 640px; } }
@media (min-width: 768px) { .fd-wrap { max-width: 768px; } }
@media (min-width: 1024px) { .fd-wrap { max-width: 1024px; } }
@media (min-width: 1280px) { .fd-wrap { max-width: 1280px; } }
@media (min-width: 1536px) { .fd-wrap { max-width: 1536px; } }

/* Header */
.fd-mast {
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.fd-bar {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.fd-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.fd-logo-img {
    height: 2rem;
}

.fd-logo-txt {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fd-primary);
}

/* Language switch */
.fd-lang select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--fd-line);
    border-radius: 0.5rem;
    background-color: #fff;
    color: var(--fd-ink);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    outline: none;
    transition: all 0.3s;
}

.fd-lang select:hover {
    border-color: var(--fd-primary);
}

.fd-lang select:focus {
    border-color: var(--fd-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Footer */
.fd-foot {
    background-color: #fff;
    border-top: 1px solid var(--fd-line);
    margin-top: auto;
    padding: 2rem 0;
}

.fd-foot-info {
    text-align: center;
    color: var(--fd-slate);
    font-size: 0.875rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.fd-foot-info p {
    margin-bottom: 0.5rem;
}

.fd-foot-a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.fd-foot-a:hover {
    color: var(--fd-primary);
}

/* Main content */
.fd-main {
    flex-grow: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Tool list area (index) */
.fd-list-area {
    padding: 3rem 0;
}

.fd-cat {
    margin-bottom: 3rem;
}

.fd-cat-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.fd-cat-bar {
    width: 0.375rem;
    height: 1.5rem;
    background-color: var(--fd-ink);
    border-radius: 9999px;
    margin-right: 0.75rem;
}

.fd-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .fd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .fd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .fd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tool card */
.fd-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--fd-line);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    text-decoration: none;
}

.fd-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.fd-card-ico {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.fd-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.fd-card-desc {
    color: var(--fd-slate);
    font-size: 0.875rem;
    flex-grow: 1;
}

/* Theme color variants */
.fd-c-blue .fd-card-ico { background-color: #eff6ff; color: var(--fd-primary); }
.fd-c-blue:hover { border-color: rgba(59, 130, 246, 0.5); }
.fd-c-blue:hover .fd-card-ico { background-color: var(--fd-primary); color: #fff; }
.fd-c-blue:hover .fd-card-name { color: var(--fd-primary); }

.fd-c-violet .fd-card-ico { background-color: #faf5ff; color: #a855f7; }
.fd-c-violet:hover { border-color: rgba(168, 85, 247, 0.5); }
.fd-c-violet:hover .fd-card-ico { background-color: #a855f7; color: #fff; }
.fd-c-violet:hover .fd-card-name { color: #a855f7; }

.fd-c-emerald .fd-card-ico { background-color: #f0fdf4; color: #22c55e; }
.fd-c-emerald:hover { border-color: rgba(34, 197, 94, 0.5); }
.fd-c-emerald:hover .fd-card-ico { background-color: #22c55e; color: #fff; }
.fd-c-emerald:hover .fd-card-name { color: #22c55e; }

.fd-c-amber .fd-card-ico { background-color: #fff7ed; color: #f97316; }
.fd-c-amber:hover { border-color: rgba(249, 115, 22, 0.5); }
.fd-c-amber:hover .fd-card-ico { background-color: #f97316; color: #fff; }
.fd-c-amber:hover .fd-card-name { color: #f97316; }

.fd-c-rose .fd-card-ico { background-color: #fff1f2; color: #f43f5e; }
.fd-c-rose:hover { border-color: rgba(244, 63, 94, 0.5); }
.fd-c-rose:hover .fd-card-ico { background-color: #f43f5e; color: #fff; }
.fd-c-rose:hover .fd-card-name { color: #f43f5e; }

.fd-c-gold .fd-card-ico { background-color: #fefce8; color: #eab308; }
.fd-c-gold:hover { border-color: rgba(234, 179, 8, 0.5); }
.fd-c-gold:hover .fd-card-ico { background-color: #eab308; color: #fff; }
.fd-c-gold:hover .fd-card-name { color: #eab308; }

/* Tool page container */
.fd-box {
    max-width: 75rem;
    margin: 0 auto 2rem auto;
    padding: 1rem;
    min-height: calc(100vh - 200px);
}

.fd-box-head {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--fd-line);
    padding-bottom: 2rem;
}

.fd-box-head h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 0.75rem;
}

.fd-box-head p {
    color: var(--fd-slate);
    font-size: 1rem;
}

/* Two-column grid */
.fd-cols2 {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}
@media (min-width: 768px) {
    .fd-cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Panels */
.fd-panel-in {
    background-color: var(--fd-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--fd-line);
}

.fd-panel-out {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--fd-line);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .fd-panel-in, .fd-panel-out { padding: 2rem; }
}

.fd-panel-h {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.fd-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--fd-primary);
    margin-right: 0.5rem;
}

.fd-dot-g {
    background-color: var(--fd-green);
}

/* Form */
.fd-field {
    margin-bottom: 1.5rem;
}

.fd-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
}

.fd-ipt {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    background-color: #fff;
    color: var(--fd-ink);
}

.fd-ipt:focus {
    border-color: var(--fd-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Button */
.fd-btn {
    display: inline-block;
    width: 100%;
    background: var(--fd-primary);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    letter-spacing: normal;
}

.fd-btn:hover {
    background: var(--fd-primary-hover);
}

.fd-btn-sm {
    width: auto;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.fd-btn-ok {
    background: var(--fd-green);
}

.fd-btn-ok:hover {
    background: #16a34a;
}

.fd-btn-df {
    background: var(--fd-bg-alt);
    color: var(--fd-ink);
    box-shadow: none;
}

.fd-btn-df:hover {
    background: var(--fd-line);
}

/* Result highlight */
.fd-res-hi {
    background-color: #f0fdf4;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #dcfce7;
    text-align: center;
}

.fd-res-hi-l {
    font-size: 0.875rem;
    font-weight: 500;
    color: #15803d;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
}

.fd-res-hi-v {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--fd-green);
    letter-spacing: -0.025em;
    font-family: inherit;
}

.fd-res-hi-d {
    font-size: 0.75rem;
    color: var(--fd-green);
    margin-top: 0.5rem;
}

/* Result details list */
.fd-res {
    background-color: var(--fd-bg);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--fd-line);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fd-res-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fd-line);
    padding-bottom: 0.75rem;
}

.fd-res-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fd-res-name {
    font-size: 0.875rem;
    color: var(--fd-slate);
}

.fd-res-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fd-ink);
    font-family: inherit;
}

/* ===== Info / Description Section ===== */
.fd-info {
    margin-top: 2rem;
    padding-top: 3rem;
}
.fd-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.fd-info-title .fd-dot {
    width: 0.375rem;
    height: 1.5rem;
    background-color: var(--fd-primary);
    border-radius: 9999px;
    margin-right: 0.75rem;
}
.fd-info-box {
    background: transparent;
    padding: 0;
    border: none;
}
.fd-info-intro {
    color: var(--fd-slate);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.fd-info-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}
@media (min-width: 768px) { .fd-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fd-info-card {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--fd-line);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.fd-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--fd-primary), #60a5fa);
}
.fd-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: #93c5fd;
}
.fd-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 1rem;
}
.fd-info-card p {
    color: var(--fd-slate);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.fd-info-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.fd-info-card ul li {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}
.fd-info-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #93c5fd;
}

/* FAQ */
.fd-faq {
    padding: 3rem 0;
}

.fd-faq-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.5rem;
    list-style: none;
}

.fd-faq-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    padding: 1.75rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(219, 230, 244, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fd-faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fd-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fd-faq-item:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
}

.fd-faq-item:hover::before {
    opacity: 1;
}

.fd-faq-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.fd-faq-item h3::before {
    content: 'Q.';
    color: var(--fd-primary);
    font-size: 1.25rem;
    margin-right: 0.5rem;
    font-weight: 900;
}

.fd-faq-item p {
    color: var(--fd-slate);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 2rem;
}

/* Common box (for Contact, Policy, Article, etc) */
.fd-contact, .fd-policy, .fd-article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem;
    border: 1px solid var(--fd-line);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
    .fd-contact, .fd-policy, .fd-article { padding: 1.5rem 1rem; }
}

.fd-contact-head, .fd-policy-head, .fd-article-head {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--fd-line);
    padding-bottom: 1.5rem;
}

.fd-contact-head h1, .fd-policy-head h1, .fd-article-head h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 0.5rem;
}

.fd-contact-desc, .fd-policy-date, .fd-article-meta {
    color: var(--fd-slate);
    font-size: 0.875rem;
}

.fd-article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.fd-article-meta a { color: var(--fd-primary); text-decoration: none; }
.fd-article-meta a:hover { text-decoration: underline; }

.fd-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .fd-contact-grid { grid-template-columns: 1fr; }
}

.fd-contact-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--fd-bg);
    border: 1px solid var(--fd-line);
    text-align: center;
}

.fd-contact-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: #eff6ff;
    color: var(--fd-primary);
    margin-bottom: 1rem;
}

.fd-contact-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 0.5rem;
}

.fd-contact-card p {
    color: var(--fd-slate);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.fd-contact-a {
    display: inline-block;
    color: var(--fd-primary);
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.fd-contact-a:hover {
    text-decoration: underline;
}

.fd-contact-icp { font-size: 0.875rem; color: var(--fd-slate); }

.fd-contact-note {
    text-align: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin-bottom: 2rem;
}

.fd-contact-note p { color: #1e40af; font-size: 0.875rem; margin: 0; }

.fd-contact-back, .fd-policy-back {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fd-line);
}

.fd-policy-body, .fd-article-body {
    color: var(--fd-ink);
    line-height: 1.7;
    font-size: 1rem;
}

.fd-policy-sec { margin-bottom: 1.75rem; }
.fd-policy-sec:last-child { margin-bottom: 0; }
.fd-policy-sec h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    border-left: 4px solid var(--fd-primary);
}
.fd-policy-sec p { margin-bottom: 0.75rem; }
.fd-policy-sec ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.fd-policy-sec li { margin-bottom: 0.5rem; color: #4b5563; }
.fd-policy-sec a { color: var(--fd-primary); text-decoration: none; }
.fd-policy-sec a:hover { text-decoration: underline; }

.fd-article-body p { margin-bottom: 1.25rem; }

.fd-article-nav {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fd-line);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--fd-slate);
    flex-wrap: wrap;
}
.fd-article-nav a { color: var(--fd-primary); text-decoration: none; }
.fd-article-nav a:hover { text-decoration: underline; }

.fd-rel-sec { margin-top: 2rem; }
.fd-rel-sec h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.fd-rel-sec h3::before {
    content: '';
    width: 0.375rem;
    height: 1.25rem;
    background-color: var(--fd-primary);
    border-radius: 9999px;
    margin-right: 0.75rem;
}
.fd-rel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .fd-rel-grid { grid-template-columns: 1fr 1fr; } }
.fd-rel-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--fd-line);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    background: #fff;
}
.fd-rel-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.fd-rel-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--fd-primary);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}
.fd-rel-item span {
    color: var(--fd-ink);
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* News list page */
.fd-news-wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 768px) { .fd-news-wrap { flex-direction: row; } }
.fd-news-main { flex: 3; }
.fd-news-side { flex: 1; }

.fd-news-head {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--fd-line);
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.fd-news-head h1 { font-size: 1.875rem; font-weight: 700; color: var(--fd-ink); margin-bottom: 0.75rem; }
.fd-news-head p { color: var(--fd-slate); font-size: 1rem; }

.fd-news-box {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid var(--fd-line);
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.fd-news-list { list-style: none; }
.fd-news-item { border-bottom: 1px solid var(--fd-line); transition: background 0.3s; }
.fd-news-item:last-child { border-bottom: none; }
.fd-news-item:hover { background: var(--fd-bg); }
.fd-news-item a { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.5rem; text-decoration: none; }
.fd-news-thumb { width: 160px; height: 100px; object-fit: cover; border-radius: 0.5rem; flex-shrink: 0; }
@media (max-width: 640px) {
    .fd-news-item a { flex-direction: column; }
    .fd-news-thumb { width: 100%; height: auto; aspect-ratio: 16/9; }
}
.fd-news-body { flex: 1; }
.fd-news-body h2 { font-size: 1.125rem; font-weight: 700; color: var(--fd-ink); margin-bottom: 0.5rem; transition: color 0.3s; }
.fd-news-item:hover .fd-news-body h2 { color: var(--fd-primary); }
.fd-news-body p { color: var(--fd-slate); font-size: 0.875rem; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fd-news-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--fd-slate); }
.fd-news-empty { padding: 3rem; text-align: center; color: var(--fd-slate); }
.fd-news-page { margin-top: 2rem; display: flex; justify-content: center; }

.fd-news-side-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--fd-line);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.fd-news-side-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fd-ink);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.fd-news-side-box h3::before {
    content: '';
    width: 0.25rem;
    height: 1rem;
    background-color: var(--fd-primary);
    border-radius: 9999px;
    margin-right: 0.5rem;
}
.fd-news-side-box ul { list-style: none; }
.fd-news-side-box li { margin-bottom: 0.75rem; }
.fd-news-side-box a {
    color: var(--fd-slate);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fd-news-side-box a:hover { color: var(--fd-primary); }

/* Utility */
.fd-hidden { display: none !important; }
.fd-center { text-align: center; }
.fd-mt6 { margin-top: 1.5rem; }
.fd-mt8 { margin-top: 2rem; }
.fd-pt8 { padding-top: 2rem; }
.fd-border-t { border-top: 1px solid var(--fd-line); }