/* Existing production palette, isolated portfolio/blog components. */
.fc-portfolio, .fc-blog-index, .fc-article { color: var(--fc-text); }
.fc-portfolio h1, .fc-editorial-heading h1, .fc-article h1 { margin: 0 0 28px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; color: var(--fc-navy); }
.fc-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fc-portfolio-card, .fc-blog-card { min-width: 0; overflow: hidden; border: 1px solid var(--fc-border); border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgb(10 42 94 / 4%); }
.fc-portfolio-open, .fc-blog-card__photo { display: block; overflow: hidden; color: inherit; }
.fc-portfolio-card__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fc-bg); }
.fc-portfolio-card__photo img, .fc-blog-card__photo img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .25s ease; }
.fc-portfolio-open:hover img, .fc-blog-card:hover .fc-blog-card__photo img { transform: scale(1.035); }
.fc-portfolio-card .fc-portfolio-card__title { margin: 0; padding: 18px 20px; font-size: 17px; line-height: 1.5; color: var(--fc-navy); overflow-wrap: anywhere; }
.fc-editorial-actions { margin-top: 28px; text-align: center; }
.fc-editorial-empty { margin: 30px 0; color: var(--fc-gray); }
.fc-editorial-pagination { margin-top: 32px; text-align: center; }
.fc-editorial-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.fc-editorial-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--fc-border); border-radius: 8px; margin: 3px; color: var(--fc-navy); text-decoration: none; }
.fc-editorial-pagination .current { background: var(--fc-navy); color: #fff; }
.fc-blog-index { padding: 36px 0 64px; }
.fc-editorial-heading { margin-bottom: 32px; }
.fc-editorial-heading h1 { margin-bottom: 14px; }
.fc-editorial-heading p { max-width: 780px; font-size: 17px; line-height: 1.7; color: var(--fc-gray); }
.fc-editorial-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; font-size: 14px; color: var(--fc-gray); }
.fc-editorial-breadcrumbs a { color: var(--fc-gray); text-decoration: none; }
.fc-editorial-breadcrumbs a:hover { color: var(--fc-red); }
.fc-blog-card { display: flex; flex-direction: column; transition: box-shadow .25s ease; }
.fc-blog-card:hover { box-shadow: 0 7px 22px rgb(10 42 94 / 9%); }
.fc-blog-card__photo { aspect-ratio: 16 / 9; background: var(--fc-bg); }
.fc-blog-card__no-photo { display: block; width: 100%; height: 100%; background: linear-gradient(140deg, #f1f3f6, #e5eaf0); }
.fc-blog-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; flex: 1; }
.fc-blog-category { color: var(--fc-red); font-size: 13px; line-height: 1.5; text-decoration: none; }
.fc-blog-card h2 { margin: 0; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.fc-blog-card h2 a { color: var(--fc-navy); text-decoration: none; }
.fc-blog-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; line-height: 1.65; color: var(--fc-gray); }
.fc-blog-card__read { margin-top: auto; padding-top: 6px; color: var(--fc-navy); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.fc-blog-card:hover .fc-blog-card__read { color: var(--fc-red); }
.fc-article { padding: 32px 0 64px; }
.fc-article-inner { max-width: 800px; margin: 0 auto; }
.fc-article-inner > .fc-blog-category { display: inline-block; margin-bottom: 12px; }
.fc-article-cover { margin: 0 0 32px; }
.fc-article-cover img { display: block; width: 100%; height: auto; border-radius: 12px; }
.fc-article-body { font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
.fc-article-body h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.35; margin: 36px 0 16px; color: var(--fc-navy); }
.fc-article-body h3 { font-size: 22px; line-height: 1.45; margin: 28px 0 12px; color: var(--fc-navy); }
.fc-article-body p, .fc-article-body ul, .fc-article-body ol { margin-bottom: 22px; }
.fc-article-body ul, .fc-article-body ol { padding-left: 24px; }
.fc-article-body li { margin-bottom: 8px; }
.fc-article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.fc-article-body figure, .fc-article-body .wp-caption { max-width: 100%; margin-left: 0; margin-right: 0; }
.fc-article-body figcaption, .fc-article-body .wp-caption-text { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--fc-gray); }
.fc-article-body a { color: var(--fc-navy); text-decoration: underline; text-underline-offset: 3px; }
.fc-article-body a:hover { color: var(--fc-red); }
.fc-article-table, .fc-article-body .wp-block-table { max-width: 100%; overflow-x: auto; margin-bottom: 24px; }
.fc-article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fc-article-body th, .fc-article-body td { padding: 12px; border: 1px solid var(--fc-border); text-align: left; min-width: 110px; }
.fc-article-body th { background: var(--fc-bg); color: var(--fc-navy); }
.fc-article-quote { margin-top: 40px; padding: clamp(20px, 4vw, 32px); border-radius: 12px; border: 1px solid var(--fc-border); background: var(--fc-bg); }
.fc-article-quote h2 { font-size: 24px; margin: 0 0 14px; color: var(--fc-navy); }
.fc-article-quote p { line-height: 1.7; }
.fc-blog-related { margin-top: 52px; }
.fc-blog-related > h2 { font-size: 28px; margin-bottom: 24px; color: var(--fc-navy); }
.fc-portfolio-dialog { padding: 0; border: 0; border-radius: 12px; width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); color: #fff; background: var(--fc-navy-dark); overflow-y: auto; }
.fc-portfolio-dialog::backdrop { background: rgb(3 12 28 / 85%); }
.fc-portfolio-dialog__panel { padding: 52px 20px 20px; position: relative; }
.fc-portfolio-dialog figure { margin: 0; }
.fc-portfolio-dialog .fc-portfolio-dialog__image { display: block; width: 100%; height: min(65dvh, 750px) !important; object-fit: contain; }
.fc-portfolio-dialog figcaption { margin-top: 18px; text-align: center; font-size: 17px; overflow-wrap: anywhere; }
.fc-portfolio-dialog button { min-height: 44px; min-width: 44px; padding: 10px 16px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 8px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.fc-portfolio-dialog button:hover { background: var(--fc-red); }
.fc-portfolio-dialog__close { position: absolute; top: 6px; right: 6px; display: flex; align-items: center; justify-content: center; }
.fc-portfolio-dialog__navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.fc-portfolio-dialog__navigation [hidden] { display: none; }
.fc-portfolio-dialog__status { text-align: center; font-size: 14px; }
.fc-portfolio a:focus-visible, .fc-blog-index a:focus-visible, .fc-article a:focus-visible,
.fc-portfolio-dialog button:focus-visible, .fc-article-table:focus-visible { outline: 3px solid var(--fc-red); outline-offset: 3px; }
@media (max-width: 1023px) { .fc-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 599px) {
    .fc-editorial-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .fc-blog-index, .fc-article { padding: 24px 0 40px; }
    .fc-blog-card__body { padding: 20px; }
    .fc-portfolio-dialog__panel { padding: 52px 12px 16px; }
    .fc-portfolio-dialog .fc-portfolio-dialog__image { height: 55dvh !important; }
    .fc-portfolio-dialog figcaption { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .fc-portfolio-card__photo img, .fc-blog-card__photo img, .fc-blog-card { transition: none; }
    .fc-portfolio-open:hover img, .fc-blog-card:hover .fc-blog-card__photo img { transform: none; }
}
