/* Standard Posts: archive, article and only the homepage updates row. */
.dg11-news-archive .dg11-news-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:0;list-style:none;}
.dg11-news-archive .dg11-news-grid>li {min-width:0;display:flex;}
.dg11-news-archive .dg11-news-card {display:flex;flex-direction:column;width:100%;border-radius:22px;border:1px solid #dfe8e5;background:#fbfdfb;box-shadow:0 8px 24px #31565b08;}
.dg11-news-archive .dg11-news-card .wp-block-post-featured-image a {display:block;}
.dg11-news-archive .dg11-news-card .wp-block-post-featured-image img {width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:cover;}
.dg11-news-archive .dg11-news-card-body {display:flex;flex-direction:column;flex:1;gap:8px;padding:16px;}
.dg11-news-archive .dg11-news-card-body>* {margin:0;}
.dg11-news-archive .dg11-news-card h2 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.8em;font-size:1.08rem;line-height:1.4;}
.dg11-news-archive .dg11-news-card h2 a {display:inline;}
.dg11-news-archive .dg11-news-card .wp-block-post-date {font-size:.75rem;line-height:1.4;}
.dg11-news-archive .dg11-news-card .wp-block-post-excerpt__excerpt {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:4.65em;font-size:.88rem;line-height:1.55;}
.dg11-news-archive .dg11-news-read-more {margin-top:auto;padding:8px 12px;border-radius:10px;font-size:.82rem;line-height:1.4;}
.dg11-news-card .wp-block-post-excerpt__excerpt {margin:0;line-height:1.65;}
.dg11-news-read-more {display:inline-block;align-self:flex-start;margin-top:auto;padding:11px 18px;border-radius:13px;background:#31565b;color:#fff;text-decoration:none;font-weight:600;}
.dg11-news-read-more:hover {background:#203f44;color:#fff;}
.dg11-news-read-more:focus-visible,.dg11-news-gallery a:focus-visible {outline:3px solid #d8aa42;outline-offset:4px;}
.dg11-news-archive .wp-block-query-pagination {display:flex;flex-wrap:wrap;gap:18px;margin-top:32px;}
.dg11-news-archive .wp-block-query-pagination :is(a,.page-numbers.current) {display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid #dfe8e5;border-radius:12px;background:#fbfdfb;text-decoration:none;}
.dg11-news-archive .wp-block-query-pagination .page-numbers.current {background:#31565b;color:#fff;}
.dg11-news-archive .wp-block-query-pagination a:hover {background:#edf3ef;}
.dg11-news-single .dg11-news-article>.wp-block-post-date {margin:0 0 24px;color:#637677;}
.dg11-news-single .dg11-news-article>.wp-block-post-featured-image {margin:0 0 32px;}
.dg11-news-single .dg11-news-article>.wp-block-post-featured-image img {display:block;width:100%;height:auto;max-height:none;border-radius:24px;}
.dg11-news-single .wp-block-post-content {padding:clamp(18px,3vw,36px);border:1px solid #dfe8e5;border-radius:24px;background:#fffefa;line-height:1.8;}
.dg11-news-single .wp-block-post-content img {height:auto;max-width:100%;}
.dg11-news-gallery {margin-top:40px;}
.dg11-news-gallery-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.dg11-news-gallery figure {min-width:0;margin:0;padding:12px;border:1px solid #dfe8e5;border-radius:20px;background:#fffefa;}
.dg11-news-gallery a {display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#f2f6f2;}
.dg11-news-gallery img {display:block;width:100%;height:100%;object-fit:contain;}
.dg11-news-gallery figcaption {padding:12px 4px 0;color:#637677;font-size:.9rem;line-height:1.5;}
/* Shared outer geometry; documents retain their complete aspect ratios. */
.dg11-home-redesign .dg11-home-updates {align-items:stretch;grid-template-rows:auto 1fr;}
.dg11-home-redesign .dg11-home-updates .dg11-section {display:grid;grid-template-rows:subgrid;grid-row:span 2;gap:18px;}
.dg11-home-redesign .dg11-home-updates .dg11-section-heading {margin:0;}
.dg11-home-redesign .dg11-home-updates :is(.dg11-news-query,.dg11-weekly-query,.dg11-weekly-query:has(.dg11-weekly-document)) {display:flex;flex-direction:column;min-width:0;width:100%;height:100%;padding:18px;border:1px solid #dfe8e5;border-radius:24px;box-shadow:0 8px 24px #31565b08;}
.dg11-home-redesign .dg11-news-query {background:#f1f7fa;}
.dg11-home-redesign .dg11-weekly-query {background:#eff7eb;}
.dg11-home-redesign :is(.dg11-news-grid,.dg11-weekly-post) {display:flex;flex-direction:column;flex:1;gap:0;padding:0;margin:0;list-style:none;}
.dg11-home-redesign :is(.dg11-news-grid,.dg11-weekly-post)>li {display:flex;flex-direction:column;flex:1;min-width:0;}
.dg11-home-redesign .dg11-news-card,
.dg11-home-redesign .dg11-news-card:has(.wp-block-post-featured-image) {display:flex;flex-direction:column;flex:1;gap:18px;height:100%;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;}
.dg11-home-redesign .dg11-news-card .wp-block-post-featured-image {height:auto;margin:0;}
.dg11-home-redesign .dg11-news-card .wp-block-post-featured-image a {display:block;height:auto;}
.dg11-home-redesign .dg11-news-card .wp-block-post-featured-image img {display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:4/3;object-fit:contain;border-radius:12px;background:#fff;}
.dg11-home-redesign .dg11-news-card-body {display:flex;flex-direction:column;flex:1;gap:12px;padding:0;}
.dg11-home-redesign .dg11-news-card h3 {font-size:1.2rem;margin:0;line-height:1.4;}
.dg11-home-redesign .dg11-news-card .wp-block-post-date {font-size:.85rem;}
.dg11-home-redesign .dg11-news-card .wp-block-post-excerpt {margin:0;font-size:.95rem;}
.dg11-home-redesign .dg11-news-card .dg11-news-read-more {margin-top:auto;}
.dg11-home-redesign .dg11-weekly-post-inner {flex:1;gap:18px;}
.dg11-home-redesign .dg11-weekly-document {margin:0 auto;}
.dg11-home-redesign .dg11-weekly-document-image {height:auto;max-height:none;object-fit:contain;}
.dg11-home-redesign .dg11-weekly-post-copy {flex:1;}
.dg11-home-redesign .dg11-weekly-post-copy .wp-block-post-title {font-size:1.2rem;margin:0 0 12px;}
.dg11-home-redesign .dg11-weekly-post-copy .wp-block-post-excerpt:has(.wp-block-post-excerpt__excerpt:empty) {display:none;}
.dg11-home-redesign .dg11-weekly-cta {padding:11px 18px;font-size:1rem;border-radius:13px;}
.dg11-home-redesign .dg11-empty-news {margin:0;padding:0;border:0;background:transparent;}
@media(max-width:1023px){.dg11-news-archive .dg11-news-grid,.dg11-news-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.dg11-home-redesign .dg11-home-updates{grid-template-columns:minmax(0,1fr);grid-template-rows:none;}.dg11-home-redesign .dg11-home-updates .dg11-section{grid-template-rows:auto 1fr;grid-row:auto;}}
@media(max-width:639px){.dg11-news-archive .dg11-news-grid,.dg11-news-gallery-grid{grid-template-columns:minmax(0,1fr);}.dg11-news-archive .dg11-news-card-body{padding:16px;}.dg11-home-redesign .dg11-home-updates :is(.dg11-news-query,.dg11-weekly-query,.dg11-weekly-query:has(.dg11-weekly-document)){padding:14px;}}
