/*
Theme Name: Datacore Website Blog
Description: Native WordPress article pages using the existing Datacore website header, footer, and design system.
Version: 1.2.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: datacore-website-blog
*/
.datacore-website-blog {font-family:Arial,Helvetica,sans-serif;color:var(--ink,#16202d);background:#fff;}
.datacore-website-blog :where(button,input,textarea,select) {font-family:inherit;}
.datacore-website-blog .screen-reader-text {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.dcw-main {min-width:0;}
.dcw-main:focus {outline:none;}
.dcw-blog-hero {padding:76px 0 44px;background:var(--soft,#f3f6fa);border-bottom:1px solid var(--line,#dce3ea);}
.dcw-blog-hero h1,.dcw-article-header h1 {color:var(--ink);max-width:1020px;font-size:clamp(2.25rem,4.3vw,3.625rem);line-height:1.12;letter-spacing:-.035em;font-weight:700;}
.dcw-blog-hero .eyebrow {color:var(--palette-accent,#243b53);font-size:.8125rem;margin-bottom:20px;}
.dcw-blog-hero .dcw-breadcrumbs {margin-bottom:28px;}
.dcw-blog-hero h1 {max-width:1000px;}
.dcw-hero-intro {font-size:1.125rem;line-height:1.7;max-width:760px;margin-top:24px;color:var(--palette-accent,#243b53);}
.dcw-search {display:flex;align-items:stretch;gap:12px;max-width:700px;margin-top:30px;}
.dcw-search input {flex:1;min-width:0;border:1px solid #cad4de;background:#fff;border-radius:8px;padding:13px 16px;line-height:1.5;font-size:1rem;color:var(--ink);}
.dcw-search .button {font-size:1rem;padding-inline:25px;}
.dcw-list-section {padding:34px 0 80px;}
.dcw-list-heading {display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:28px;}
.dcw-list-heading h2 {font-size:1.75rem;line-height:1.3;}
.dcw-list-heading p {font-size:.9375rem;line-height:1.6;}
.dcw-topics {display:flex;flex-wrap:wrap;gap:10px;padding-bottom:28px;margin-bottom:30px;border-bottom:1px solid var(--line);}
.dcw-topics a {padding:9px 16px;border:1px solid var(--line);border-radius:6px;text-decoration:none;font-weight:600;font-size:.9375rem;line-height:1.45;background:#fff;}
.dcw-topics a:hover {border-color:var(--palette-accent);background:var(--soft);}
.dcw-topics a[aria-current] {background:var(--ink);border-color:var(--ink);color:#fff;}
.dcw-post-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch;}
.dcw-card.site-card {display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:none;min-width:0;}
.dcw-card-image {display:block;aspect-ratio:1.7;background:var(--soft);overflow:hidden;}
.dcw-card-image img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .24s ease;}
.dcw-card:hover .dcw-card-image img {transform:scale(1.025);}
.dcw-image-placeholder {display:flex;align-items:center;justify-content:center;height:100%;padding:30px;color:#243b53;background:#eaf0f6;font-size:1.5rem;font-weight:700;}
.dcw-card-body {display:flex;flex-direction:column;gap:18px;padding:24px;flex:1;}
.dcw-meta {display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:.875rem;line-height:1.5;}
.dcw-meta a {color:var(--palette-accent,#243b53);font-weight:600;text-decoration:none;}
.dcw-card h2 {font-size:1.5rem;line-height:1.35;letter-spacing:-.025em;margin:0;max-width:none;}
.dcw-card h2 a {color:var(--ink);text-decoration:none;}
.dcw-card h2 a:hover {color:var(--red-dark);}
.dcw-card .dcw-excerpt {font-size:1rem;line-height:1.7;margin:0;color:var(--muted);}
.dcw-read-link {display:inline-flex;align-items:center;align-self:flex-start;font-size:1rem;font-weight:700;line-height:1.6;text-decoration:none;color:var(--red-dark,#c32617);border-bottom:1px solid currentColor;padding-bottom:3px;}
.dcw-card .dcw-read-link {margin-top:auto;padding-top:8px;}
.dcw-list-section .pagination {margin-top:48px;}
.dcw-list-section .nav-links {display:flex;gap:8px;flex-wrap:wrap;justify-content:center;align-items:center;}
.dcw-list-section .page-numbers {display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:9px 15px;border:1px solid var(--line);border-radius:6px;text-decoration:none;font-weight:600;}
.dcw-list-section .page-numbers.current {background:var(--ink);color:#fff;border-color:var(--ink);}
.dcw-list-section a.page-numbers:hover {background:var(--soft);border-color:var(--palette-accent);}
.dcw-pagination {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding-top:28px;margin-top:44px;border-top:1px solid var(--line);}
.dcw-pagination-summary {font-size:.9375rem;line-height:1.6;}
.dcw-pagination .disabled {color:var(--muted);border-color:transparent;}
.dcw-pagination .nav-links {justify-content:flex-end;}
.dcw-empty {padding:48px 0;display:grid;justify-items:start;gap:22px;}
.dcw-empty h2 {font-size:2rem;}
.dcw-empty p {font-size:1.125rem;}
.dcw-article-header {padding:48px 0 44px;background:var(--soft);border-bottom:1px solid var(--line);}
.dcw-breadcrumbs {display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:30px;font-size:.9375rem;line-height:1.6;color:var(--muted);}
.dcw-breadcrumbs a {text-decoration:none;}
.dcw-breadcrumbs a:hover {color:var(--red-dark);}
.dcw-article-header h1 {max-width:1080px;}
.dcw-article-intro {max-width:880px;font-size:1.125rem;line-height:1.75;margin-top:24px;color:var(--palette-accent,#243b53);}
.dcw-article-byline {display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:28px;}
.dcw-publisher {font-size:.9375rem;font-weight:600;}
.dcw-article-header .dcw-meta {margin:0;}
.dcw-article-layout {display:grid;grid-template-columns:minmax(0,780px) minmax(240px,1fr);gap:64px;align-items:start;padding-top:56px;padding-bottom:80px;}
.dcw-article-body {min-width:0;}
.dcw-content {font-size:1.125rem;line-height:1.85;overflow-wrap:anywhere;color:var(--ink);}
.dcw-content p {font-size:inherit;line-height:inherit;color:var(--ink);margin:0 0 24px;}
.dcw-content h2 {font-size:clamp(1.625rem,2.4vw,2.1rem);line-height:1.3;max-width:none;margin:44px 0 18px;letter-spacing:-.025em;color:var(--ink);}
.dcw-content :where(h2,h3,h4) {scroll-margin-top:calc(var(--dcw-header-height,76px) + var(--dcw-admin-offset,0px) + 24px);}
.dcw-toc {border:1px solid var(--line);border-radius:10px;background:var(--soft);margin-bottom:36px;}
.dcw-toc summary {padding:18px 22px;min-height:56px;font-weight:700;font-size:1rem;cursor:pointer;}
.dcw-toc summary span {font-weight:400;font-size:.875rem;color:var(--muted);margin-left:12px;}
.dcw-toc nav {padding:0 22px 18px;}
.dcw-toc ol {margin:0;padding-left:24px;display:grid;gap:4px;}
.dcw-toc a {display:block;padding:8px 4px;text-decoration:none;font-size:1rem;line-height:1.5;}
.dcw-toc a:hover {color:var(--red-dark);text-decoration:underline;}
.dcw-content h3 {font-size:1.375rem;line-height:1.4;margin:30px 0 16px;color:var(--ink);}
.dcw-content h4 {font-size:1.125rem;margin:26px 0 14px;}
.dcw-content :first-child {margin-top:0;}
.dcw-content a {color:var(--red-dark);text-decoration:underline;text-underline-offset:3px;}
.dcw-content :where(ul,ol) {padding-left:26px;margin:20px 0 28px;}
.dcw-content li {padding-left:4px;margin:10px 0;}
.dcw-content figure {margin:32px 0;max-width:100%;}
.dcw-content img {max-width:100%;height:auto;border-radius:10px;}
.dcw-content figcaption {font-size:.9375rem;line-height:1.6;color:var(--muted);margin-top:12px;}
.dcw-content .wp-block-table {max-width:100%;overflow-x:auto;}
.dcw-content table {display:block;max-width:100%;overflow-x:auto;width:100%;border-collapse:collapse;font-size:1rem;line-height:1.65;}
.dcw-table-scroll {max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin-block:28px;}
.dcw-table-scroll table {display:table;margin:0;}
.dcw-table-scroll.is-scrollable {border:1px solid var(--line);border-radius:8px;}
.dcw-table-scroll:focus-visible {outline:3px solid var(--red-dark);outline-offset:4px;}
.dcw-content :where(iframe,video,embed,object) {max-width:100%;}
.dcw-content :where(.alignwide,.alignfull) {max-width:100%;margin-inline:0;}
.dcw-content :where(td,th) {padding:14px 16px;border:1px solid var(--line);text-align:left;vertical-align:top;}
.dcw-content :where(th,thead td) {background:var(--soft);font-weight:700;}
.dcw-content blockquote {margin:30px 0;border-left:3px solid var(--red);padding:18px 24px;background:var(--soft);}
.dcw-content blockquote p:last-child {margin-bottom:0;}
.dcw-content :where(pre,code) {font-size:.9375rem;background:var(--soft);}
.dcw-content pre {overflow:auto;padding:20px;border-radius:8px;}
.dcw-article-aside {position:sticky;top:calc(var(--dcw-header-height,76px) + var(--dcw-admin-offset,0px) + 24px);min-width:0;}
.dcw-aside-card {border:1px solid var(--line);border-radius:12px;padding:28px;background:#fff;}
.dcw-aside-card .eyebrow {font-size:.8125rem;margin-bottom:18px;}
.dcw-aside-card h2 {font-size:1.625rem;line-height:1.3;margin-bottom:18px;}
.dcw-aside-card p {font-size:1rem;line-height:1.7;margin-bottom:24px;}
.dcw-aside-card .button {font-size:1rem;}
.dcw-aside-contact {margin-top:22px;}
.dcw-related {padding:60px 0 80px;background:var(--soft);border-top:1px solid var(--line);}
.dcw-section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px;}
.dcw-section-heading h2 {font-size:2rem;line-height:1.3;}
.dcw-section-heading .eyebrow {margin-bottom:14px;}
.dcw-tags {display:flex;gap:10px;flex-wrap:wrap;margin-top:32px;}
.dcw-tags a {font-size:.875rem;padding:6px 12px;border:1px solid var(--line);border-radius:5px;text-decoration:none;}
.dcw-post-navigation {display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:32px 0;margin:40px 0 24px;border-block:1px solid var(--line);}
.dcw-post-navigation a {font-weight:600;text-decoration:none;line-height:1.6;display:block;}
.dcw-post-navigation a span {display:block;font-size:.875rem;font-weight:400;color:var(--muted);margin-bottom:10px;}
.dcw-contact-band {background:var(--ink);color:#fff;padding:56px 0;}
.dcw-contact-inner {display:flex;align-items:center;justify-content:space-between;gap:48px;}
.dcw-contact-inner > div {max-width:780px;}
.dcw-contact-band h2 {color:#fff;font-size:clamp(1.75rem,3vw,2.5rem);max-width:800px;}
.dcw-contact-band p {color:#cbd5e1;margin-top:16px;font-size:1rem;line-height:1.7;}
.dcw-contact-band .eyebrow {margin:0 0 18px;color:#cbd5e1;font-size:.8125rem;}
.dcw-contact-band .button {flex-shrink:0;font-size:1rem;}
.dcw-page-content {max-width:850px;padding:56px 0 72px;}
.dcw-return {margin-top:28px;}
.datacore-website-blog {--dcw-admin-offset:0px;}
.datacore-website-blog .site-header {top:var(--dcw-admin-offset);}
.datacore-website-blog .site-header .nav-shell {grid-template-columns:auto minmax(0,1fr) auto;min-height:76px;}
.datacore-website-blog .site-header .header-tools .icon-button {min-width:44px;width:44px;height:44px;}
.datacore-website-blog .site-header .brand {min-width:0;}
.datacore-website-blog .site-header .global-nav > .nav-dropdown > summary {min-height:44px;}
.datacore-website-blog .site-header .global-nav .menu-panel {max-height:var(--available-panel-height,75dvh);overflow-y:auto;overscroll-behavior:contain;}
.datacore-website-blog .site-header .mobile-nav {scrollbar-gutter:stable;}
.dcw-search-heading {display:flex;align-items:center;justify-content:space-between;gap:20px;}
.datacore-website-blog .site-header .dcw-search-heading .search-close {width:auto;min-width:60px;min-height:44px;font-size:.875rem;padding:8px 12px;line-height:1.4;}
.dcw-header-search .dcw-search {margin-top:12px;max-width:800px;}
.dcw-search input:focus-visible {outline:3px solid var(--red-dark);outline-offset:3px;}
.datacore-website-blog :where(h1,h2,h3,p,a) {overflow-wrap:anywhere;}
@media(min-width:783px) {.admin-bar.datacore-website-blog {--dcw-admin-offset:32px;}}
@media(min-width:601px) and (max-width:782px) {.admin-bar.datacore-website-blog {--dcw-admin-offset:46px;}}
@media(max-width:1439px) {
  .datacore-website-blog .site-header .nav-shell {grid-template-columns:minmax(0,1fr) auto;}
}
@media(max-width:1100px) {
  .dcw-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .dcw-article-layout {grid-template-columns:minmax(0,1fr) 260px;gap:36px;}
}
@media(max-width:800px) {
  .dcw-article-layout {grid-template-columns:1fr;gap:36px;}
  .dcw-article-aside {position:static;max-width:100%;}
  .dcw-contact-inner {align-items:flex-start;flex-direction:column;gap:28px;}
  .dcw-content {font-size:1.0625rem;}
  .datacore-website-blog .split-footer :where(.split-footer-directory,.split-footer-legal) a {display:flex;align-items:center;min-height:44px;}
}
@media(max-width:600px) {
  .datacore-website-blog .container {width:calc(100% - 40px);}
  .dcw-blog-hero {padding:44px 0 30px;}
  .dcw-blog-hero h1,.dcw-article-header h1 {font-size:2.25rem;}
  .dcw-list-heading {align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:24px;}
  .dcw-pagination {align-items:flex-start;flex-direction:column;gap:16px;margin-top:32px;padding-top:22px;}
  .dcw-pagination .nav-links {justify-content:flex-start;gap:6px;}
  .dcw-pagination .page-numbers {min-width:42px;padding-inline:12px;}
  .dcw-article-intro {font-size:1rem;margin-top:20px;}
  .dcw-article-byline {align-items:flex-start;flex-direction:column;gap:10px;margin-top:22px;}
  .dcw-toc {margin-bottom:28px;}
  .dcw-toc summary {padding-inline:16px;}
  .dcw-toc nav {padding-inline:16px;}
  .dcw-related {padding:40px 0 48px;}
  .dcw-section-heading {align-items:flex-start;flex-direction:column;gap:20px;}
  .dcw-hero-intro {font-size:1rem;margin-top:20px;}
  .dcw-search {gap:8px;}
  .dcw-search input {font-size:1rem;padding:12px;}
  .dcw-search .button {padding-inline:17px;}
  .dcw-post-grid {grid-template-columns:1fr;gap:24px;}
  .dcw-list-section {padding-top:24px;padding-bottom:48px;}
  .dcw-card-body {padding:22px;}
  .dcw-card h2 {font-size:1.5rem;}
  .dcw-article-header {padding:30px 0;}
  .dcw-article-layout {padding-top:32px;padding-bottom:48px;}
  .dcw-post-navigation {grid-template-columns:1fr;gap:24px;}
  .dcw-content :where(td,th) {padding:10px 12px;min-width:130px;}
  .dcw-contact-band {padding:40px 0;}
  .datacore-website-blog .site-header .nav-shell {min-height:68px;gap:12px;}
  .datacore-website-blog .site-header .header-tools {gap:4px;}
  .datacore-website-blog .site-header .header-tools > :is(.sign-in-link,.language-switcher) {display:none;}
  .datacore-website-blog .site-header .brand-logo {width:clamp(142px,42vw,200px);max-width:100%;}
  .datacore-website-blog .announcement {min-height:44px;padding:8px 56px 8px 20px;}
  .datacore-website-blog .announcement > span {display:none;}
  .datacore-website-blog .announcement > a {display:inline-flex;font-size:12px;}
  .datacore-website-blog .announcement-close {width:44px;height:44px;top:0;right:4px;}
  .datacore-website-blog .site-header .mobile-nav .mobile-language-switcher {justify-content:flex-start;min-height:44px;padding-right:0;}
  .dcw-content h1 {font-size:2rem;line-height:1.25;}
}
@media(max-width:420px) {.datacore-website-blog .split-footer-directory {grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce) {.dcw-card-image img {transition:none;}}
