/*
Theme Name: DECG Resources Theme
Theme URI: https://thedecg.com/
Author: Digital Efficiency Consulting Group
Author URI: https://thedecg.com/
Description: A light, airy WordPress theme for Digital Efficiency Consulting Group articles, blogs, and client resources. Designed to visually align with the main DECG marketing site.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: decg-resources
*/

:root {
  --decg-primary: #1f7ea5;
  --decg-primary-soft: #e5f5fb;
  --decg-accent: #32a68b;
  --decg-dark: #123047;
  --decg-text: #23313b;
  --decg-muted: #6a7b86;
  --decg-bg: #f5fafc;
  --decg-white: #ffffff;
  --decg-radius-lg: 1.25rem;
  --decg-radius-md: 0.75rem;
  --decg-shadow-soft: 0 12px 30px rgba(3, 35, 64, 0.08);
  --decg-shadow-subtle: 0 4px 10px rgba(3, 35, 64, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--decg-bg);
  color: var(--decg-text);
  line-height: 1.6;
}

/* Layout wrappers */

.decg-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.decg-main {
  flex: 1 0 auto;
}

/* Sticky header (two-row) */

.decg-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  background: rgba(245, 250, 252, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--decg-shadow-subtle);
}

/* Top row: logo + tagline + CTA */

.decg-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--decg-dark);
}

.site-description {
  margin: 0;
  font-size: 0.85rem;
  color: var(--decg-muted);
}

.decg-header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--decg-muted);
}

.decg-header-cta span {
  display: none;
}

.decg-btn,
button.decg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, var(--decg-primary), var(--decg-accent));
  color: var(--decg-white);
  box-shadow: var(--decg-shadow-soft);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.decg-btn:hover,
.decg-btn:focus-visible,
button.decg-btn:hover,
button.decg-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(3, 35, 64, 0.12);
  filter: brightness(1.02);
}

/* Second row: nav */

.decg-header-nav {
  border-top: 1px solid rgba(18, 48, 71, 0.04);
  border-bottom: 1px solid rgba(18, 48, 71, 0.04);
  background: rgba(255, 255, 255, 0.96);
}

.decg-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.decg-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.decg-nav-menu a {
  text-decoration: none;
  color: var(--decg-muted);
  padding: 0.3rem 0;
  position: relative;
}

.decg-nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--decg-primary), var(--decg-accent));
  border-radius: 999px;
  transition: width 0.18s ease;
}

.decg-nav-menu a:hover::after,
.decg-nav-menu .current-menu-item > a::after,
.decg-nav-menu .current_page_item > a::after {
  width: 100%;
}

.decg-nav-menu .current-menu-item > a,
.decg-nav-menu .current_page_item > a {
  color: var(--decg-dark);
}

/* HERO IMAGE FIX */
.decg-hero-visual {
    max-width: 420px;      /* Controls the total width of the image area */
    flex-shrink: 0;        /* Prevents it from stretching to fill space */
}

.decg-hero-visual img {
    width: 100%;           /* Scale nicely within the container */
    height: auto;
    border-radius: 12px;   /* Matches theme aesthetics */
    object-fit: cover;
    display: block;
}



/* Mobile nav */

.decg-nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.decg-nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--decg-dark);
  border-radius: 999px;
  position: relative;
}

.decg-nav-toggle span::before,
.decg-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 21px;
  height: 2px;
  background: var(--decg-dark);
  border-radius: 999px;
}

.decg-nav-toggle span::before {
  top: -6px;
}

.decg-nav-toggle span::after {
  top: 6px;
}

/* Hero band for blog/resources home */

.decg-hero {
  padding: 3.25rem 1.5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.decg-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.decg-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--decg-muted);
}

.decg-hero h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  color: var(--decg-dark);
}

.decg-hero p {
  margin: 0 0 1.2rem;
  color: var(--decg-muted);
  max-width: 36rem;
}

.decg-hero-meta {
  font-size: 0.9rem;
  color: var(--decg-muted);
}

.decg-hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(50, 166, 139, 0.08);
  border: 1px solid rgba(50, 166, 139, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.decg-hero-panel {
  background: radial-gradient(circle at top left, var(--decg-primary-soft), #ffffff);
  border-radius: 1.5rem;
  padding: 1.5rem 1.5rem 1.2rem;
  box-shadow: var(--decg-shadow-soft);
  border: 1px solid rgba(31, 126, 165, 0.08);
}

.decg-hero-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--decg-dark);
}

.decg-hero-panel p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--decg-muted);
}

.decg-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--decg-text);
}

.decg-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.decg-dot {
  margin-top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--decg-primary), var(--decg-accent));
}

/* Content layout */

.decg-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.decg-section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--decg-muted);
  margin-bottom: 0.5rem;
}

/* Post grid */

.decg-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.decg-card {
  background: var(--decg-white);
  border-radius: var(--decg-radius-lg);
  box-shadow: var(--decg-shadow-subtle);
  padding: 1.4rem 1.4rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
  border: 1px solid rgba(3, 35, 64, 0.04);
}

.decg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--decg-shadow-soft);
  border-color: rgba(31, 126, 165, 0.18);
}

.decg-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--decg-muted);
  margin-bottom: 0.4rem;
}

.decg-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.decg-card-title a {
  text-decoration: none;
  color: var(--decg-dark);
}

.decg-card-excerpt {
  font-size: 0.9rem;
  color: var(--decg-muted);
  margin-bottom: 0.7rem;
}

.decg-card-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--decg-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Single post */

.decg-single {
  max-width: 720px;
  margin: 2.4rem auto 3.4rem;
  padding: 0 1.5rem;
}

.decg-single-header {
  margin-bottom: 1.5rem;
}

.decg-single-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--decg-muted);
}

.decg-single-title {
  margin: 0.5rem 0 0.4rem;
  font-size: clamp(1.8rem, 2.6vw, 2.1rem);
  color: var(--decg-dark);
}

.decg-single-meta {
  font-size: 0.85rem;
  color: var(--decg-muted);
}

.decg-single-content {
  background: var(--decg-white);
  border-radius: var(--decg-radius-lg);
  padding: 1.8rem 1.8rem 2rem;
  box-shadow: var(--decg-shadow-subtle);
  border: 1px solid rgba(3, 35, 64, 0.04);
}

.decg-single-content h2,
.decg-single-content h3,
.decg-single-content h4 {
  color: var(--decg-dark);
}

.decg-single-content a {
  color: var(--decg-primary);
  text-decoration-thickness: 1px;
}

.decg-single-footer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--decg-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Pagination */

.decg-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.decg-pagination a,
.decg-pagination span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(3, 35, 64, 0.06);
  color: var(--decg-muted);
}

.decg-pagination .current {
  background: linear-gradient(135deg, var(--decg-primary), var(--decg-accent));
  color: var(--decg-white);
  border-color: transparent;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: #0f2233;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 1.5rem 1.5rem;
}

.decg-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.decg-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.decg-footer-col h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5f5fb;
}

.decg-footer-col p,
.decg-footer-col a {
  font-size: 0.86rem;
}

.decg-footer-col a {
  color: #ffffff;
  text-decoration-thickness: 1px;
}

.decg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.9rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* Widgets */

.widget {
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
}

.widget-title {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Forms */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(3, 35, 64, 0.12);
  font: inherit;
  color: var(--decg-text);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--decg-primary);
  box-shadow: 0 0 0 1px rgba(31, 126, 165, 0.25);
}

/* Utility */

.decg-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(31, 126, 165, 0.08);
  color: var(--decg-dark);
}

/* Responsive */

@media (max-width: 800px) {
  .decg-header-top {
    padding-inline: 1rem;
  }

  .decg-nav-inner {
    padding-inline: 1rem;
  }

  .decg-header-cta span {
    display: none;
  }

  .decg-hero {
    padding-inline: 1rem;
  }

  .decg-content-wrap {
    padding-inline: 1rem;
  }

  .decg-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .decg-hero-panel {
    order: -1;
  }

  .decg-nav-toggle {
    display: block;
  }

  .decg-nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.75rem 1rem 1rem;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(3, 35, 64, 0.18);
    flex-direction: column;
    gap: 0.75rem;
  }

  .decg-nav-menu.is-open {
    display: flex;
  }
}

@media (min-width: 801px) {
  .decg-nav-toggle {
    display: none !important;
  }

  .decg-nav-menu {
    display: flex !important;
    position: static;
    box-shadow: none;
  }

  .decg-header-cta span {
    display: inline;
  }
}

/* Layout helpers */
.decg-homepage .decg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.decg-section {
    padding: 4rem 0;
}

/* Hero */
.decg-hero {
    background: linear-gradient(135deg, #e0f4f5, #f5fbfc);
    padding: 4.5rem 0 3.5rem;
}

.decg-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
}

.decg-hero-text {
    flex: 1 1 320px;
}

.decg-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #064663; /* deep teal */
}

.decg-hero-text p {
    font-size: 1.05rem;
    max-width: 32rem;
    color: #23415a;
    margin-bottom: 1.75rem;
}

.decg-hero-visual {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

.decg-hero-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    border-radius: 1.5rem;
    background: radial-gradient(circle at top left, #39b3c7, #0f7a8a);
    opacity: 0.8;
}

/* Buttons */
.decg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.decg-button-primary {
    background-color: #0f7a8a;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(7, 85, 103, 0.25);
}

.decg-button-primary:hover {
    background-color: #0b5a63;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(7, 85, 103, 0.35);
}

.decg-button-outline {
    border: 1px solid #0f7a8a;
    color: #0f7a8a;
    background-color: #ffffff;
}

.decg-button-outline:hover {
    background-color: #e9f7f9;
}

.decg-button-ghost {
    background-color: transparent;
    border: 1px solid #c5dde3;
    color: #0f7a8a;
}

.decg-button-ghost:hover {
    background-color: #e9f7f9;
}

/* Section titles */
.decg-section-title {
    font-size: 1.8rem;
    margin-bottom: 1.75rem;
    color: #053545;
}

/* Featured */
.decg-featured-article {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.decg-featured-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.decg-featured-title a {
    text-decoration: none;
    color: #053545;
}

.decg-featured-title a:hover {
    text-decoration: underline;
}

.decg-featured-excerpt {
    font-size: 1rem;
    color: #355368;
    margin-bottom: 1.5rem;
}

.decg-featured-image img,
.decg-image-placeholder {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    object-fit: cover;
}

.decg-featured-image {
    max-width: 400px;        /* Change to 220–300px depending on preference */
    justify-self: center;
}

.decg-image-placeholder {
    aspect-ratio: 4 / 3;
    background: #d8e9ee;
}

/* Latest Articles */
.decg-articles-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.decg-article-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(5, 63, 82, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.decg-article-image-link img,
.decg-article-image-link .decg-image-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
}

.decg-article-body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.decg-article-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f7a8a;
}

.decg-article-title a {
    text-decoration: none;
    color: #053545;
    font-weight: 600;
}

.decg-article-title a:hover {
    text-decoration: underline;
}

.decg-article-excerpt {
    font-size: 0.95rem;
    color: #355368;
}

.decg-article-readmore {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #0f7a8a;
    text-decoration: none;
}

.decg-article-readmore:hover {
    text-decoration: underline;
}

/* Topics */
.decg-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.decg-topic-chip {
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background-color: #0f7a8a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(7, 85, 103, 0.25);
}

.decg-topic-chip:hover {
    background-color: #0b5a63;
}

/* Why section */
.decg-why-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
}

.decg-why-icon {
    font-size: 2.5rem;
}

.decg-why-text p {
    color: #355368;
    margin-bottom: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .decg-hero-inner,
    .decg-featured-article,
    .decg-why-inner {
        grid-template-columns: 1fr;
        display: block;
    }

    .decg-hero-inner {
        flex-direction: column;
    }

    .decg-featured-image {
        margin-top: 1.75rem;
    }
}











/* ===== Author Profile Page (Child theme additions) ===== */

/* 1) Match header width: keep content constrained, not edge-to-edge */
.decg-author-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 44px;
  box-sizing: border-box;
}

/* Card */
.decg-author-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

/* Header block */
.decg-author-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
}

.decg-author-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.decg-author-name { margin: 0 0 6px; }
.decg-author-title { opacity: 0.82; margin: 0 0 12px; }
.decg-author-bio p { margin: 0 0 10px; }

/* 2) Buttons: force readable styling (theme was washing them out) */
.decg-author-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

a.decg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #0f6c7a !important;
  color: #fff !important;
  font-weight: 600;
}

a.decg-btn:hover { filter: brightness(0.95); }

a.decg-btn.decg-btn-secondary {
  background: #0b4f79 !important;
  color: #fff !important;
}

/* Content grid */
.decg-author-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

.decg-author-block {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.decg-author-block-full { grid-column: 1 / -1; }

.decg-author-h2 { margin: 0 0 10px; font-size: 1.1rem; }
.decg-author-text p { margin: 0 0 10px; }
.decg-bullets { margin: 0; padding-left: 18px; }
.decg-bullets li { margin: 0 0 6px; }

/* Tags */
.decg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.decg-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
}
.decg-tag:hover { background: rgba(15, 23, 42, 0.04); }
.decg-tag-muted { opacity: 0.9; }

/* Sections */
.decg-section { margin-top: 22px; }
.decg-section-title { margin: 0 0 12px; }

/* 3) Show article "samples": let the theme's templates render cards; we only provide a grid wrapper */
.decg-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Archive list wrapper (theme template will decide exact card layout) */
.decg-archive-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.decg-pagination { margin-top: 16px; }

/* Fallback card (only used if theme has no template part) */
.decg-post-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px 14px 12px;
}
.decg-post-title { margin: 0 0 6px; font-size: 1rem; line-height: 1.25; }
.decg-post-meta { opacity: 0.75; font-size: 0.95rem; }
.decg-post-excerpt { margin-top: 8px; opacity: 0.92; }

/* Responsive */
@media (max-width: 920px) {
  .decg-author-hero { grid-template-columns: 140px 1fr; }
  .decg-author-photo { width: 140px; height: 140px; }
  .decg-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decg-author-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .decg-author-hero { grid-template-columns: 1fr; }
  .decg-author-photo { width: 160px; height: 160px; }
  .decg-latest-grid { grid-template-columns: 1fr; }
}

