/* =========================================================
   COUNTY ARMAGH GOLF CLUB - CASSIOPEIA USER.CSS (COMPLETE)
   ========================================================= */
:root {
  --cassiopeia-color-primary: #0f2c59;
  --cassiopeia-color-link: #1a4380;
  --cassiopeia-color-hover: #b0874c;
}

/* =========================================================
   1. HEADER & LOGO
   ========================================================= */
.container-header {
  background-color: #0f2c59 !important;
  background-image: none !important;
  border-bottom: 4px solid #c59b5f;
}

.container-header .navbar-brand {
  padding: 8px 0;
  margin: 0;
  max-width: none;
}

.container-header .navbar-brand img {
  height: 70px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .container-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px max(20px, calc((100vw - 1320px) / 2)) !important;
  }

  .container-header .grid-child.container-brand,
  .container-header .grid-child.container-nav {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* =========================================================
   2. NAVIGATION MENU, INLINE ARROWS & GOLD CTA BUTTON
   ========================================================= */
.container-header .mod-menu.metismenu,
.container-header ul.mod-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px;
}

.container-header .mod-menu > li,
.container-header .mod-menu > li.metismenu-item {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.container-header .mod-menu > li > a {
  color: #ffffff !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 6px 10px 10px !important;
  text-decoration: none !important;
  display: inline-block !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

.container-header .mod-menu > li > button {
  color: #c59b5f !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 8px 10px 2px !important;
  margin: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li > button:hover {
  color: #c59b5f !important;
}

/* Dropdown Submenus */
.container-header ul.mod-menu > li > ul {
  position: absolute !important;
  top: 100%;
  left: 0;
  background-color: #0f2c59 !important;
  border: 1px solid rgba(197, 155, 95, 0.35);
  border-top: 3px solid #c59b5f;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  list-style: none !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  min-width: 240px;
  z-index: 1050;
}

.container-header ul.mod-menu > li > ul li a {
  color: #f3f4f6 !important;
  font-size: 14px !important;
  padding: 8px 16px !important;
  display: block;
  text-decoration: none !important;
  white-space: normal;
}

.container-header ul.mod-menu > li > ul li a:hover {
  background-color: #1a4380 !important;
  color: #c59b5f !important;
}

/* Gold "BOOK TEE TIME" CTA Button */
.container-header .mod-menu > li > a.cagc-nav-cta {
  background-color: #c59b5f !important;
  color: #0f2c59 !important;
  border-radius: 5px;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  margin-left: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.container-header .mod-menu > li > a.cagc-nav-cta:hover {
  background-color: #b0874c !important;
  color: #ffffff !important;
}

/* =========================================================
   3. COURSE STATUS BAR
   ========================================================= */
.cagc-status-bar {
  background-color: #0f2c59;
  color: #ffffff;
  border-left: 5px solid #c59b5f;
  border-radius: 6px;
  padding: 12px 20px;
  margin: 16px auto 0 auto;
  max-width: 1320px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.cagc-status-badge {
  background-color: #2e7d32;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-right: 10px;
  display: inline-block;
}

.cagc-status-links a {
  color: #c59b5f !important;
  font-weight: 600;
  text-decoration: none;
}

.cagc-status-links a:hover {
  text-decoration: underline;
}

/* =========================================================
   4. HERO BANNER
   ========================================================= */
.cagc-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 430px;
  max-width: 1320px;
  margin: 0 auto 28px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(rgba(15, 44, 89, 0.58), rgba(15, 44, 89, 0.78)),
              url('/2027v1/images/course-hero.jpg') center/cover no-repeat;
  padding: 44px 24px;
  border-bottom: 4px solid #c59b5f;
}

.cagc-hero-content {
  max-width: 760px;
  z-index: 2;
}

.cagc-hero-kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #c59b5f;
  margin-bottom: 10px;
}

.cagc-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 16px 0;
  color: #ffffff !important;
  font-weight: 700;
}

.cagc-hero p {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.6;
  margin: 0 0 28px 0;
  color: #f3f4f6;
}

.cagc-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cagc-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.cagc-btn:hover {
  transform: translateY(-2px);
}

.cagc-btn-primary {
  background-color: #c59b5f !important;
  color: #0f2c59 !important;
}

.cagc-btn-primary:hover {
  background-color: #b0874c !important;
  color: #ffffff !important;
}

.cagc-btn-outline {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.cagc-btn-outline:hover {
  background-color: #ffffff !important;
  color: #0f2c59 !important;
}

/* =========================================================
   5. 3-COLUMN QUICK-ACTION CARDS
   ========================================================= */
.cagc-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto 36px auto;
}

.cagc-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid #0f2c59;
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-top-color 0.2s ease;
}

.cagc-card:hover {
  transform: translateY(-3px);
  border-top-color: #c59b5f;
}

.cagc-card h3 {
  color: #0f2c59;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.cagc-card p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px 0;
}

.cagc-card a {
  color: #1a4380 !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cagc-card a:hover {
  color: #b0874c !important;
}

/* =========================================================
   6. HOMEPAGE CLUB NEWS & RESULTS GRID (CATCH-ALL)
   ========================================================= */
main .page-header h1,
main .mod-articles-category-title,
main h1 {
  color: #0f2c59 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  border-bottom: 3px solid #c59b5f;
  padding-bottom: 8px;
  margin-bottom: 22px;
  display: inline-block;
}

main .blog-items > div,
main .com-content-category-blog__items > div,
main .com-content-featured__items > div,
main .items-row > div {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 0 18px 0 !important;
  margin: 0 !important;
}

main .item-image,
main figure.item-image {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 205px !important;
  overflow: hidden !important;
  float: none !important;
}

main .item-image img,
main .blog-items img,
main .com-content-category-blog__items img,
main .com-content-featured__items img {
  width: 100% !important;
  height: 205px !important;
  max-height: 205px !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  margin: 0 !important;
}

main .item-content {
  padding: 0 18px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

main .blog-items h2,
main .com-content-category-blog__items h2,
main .com-content-featured__items h2,
main .item-content h2,
main .page-header h2 {
  font-size: 17px !important;
  line-height: 1.35 !important;
  margin: 12px 0 8px 0 !important;
}

main .blog-items h2 a,
main .com-content-category-blog__items h2 a,
main .com-content-featured__items h2 a,
main .item-content h2 a,
main .page-header h2 a {
  color: #0f2c59 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-weight: 700 !important;
}

main .blog-items h2 a:hover,
main .item-content h2 a:hover,
main .page-header h2 a:hover {
  color: #c59b5f !important;
}

main .item-content p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #4b5563 !important;
  margin-bottom: 14px !important;
}

main .readmore {
  margin-top: auto !important;
  padding-top: 6px !important;
  margin-bottom: 0 !important;
}

main .readmore a {
  background-color: #0f2c59 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  text-decoration: none !important;
  display: inline-block !important;
}

main .readmore a:hover {
  background-color: #c59b5f !important;
  color: #0f2c59 !important;
}

/* =========================================================
   7. CLUB FOOTER (REGAL BLUE & GOLD - 3 COLUMNS HORIZONTAL)
   ========================================================= */
footer.container-footer,
.container-footer,
.footer {
  display: block !important;
  background: #0f2c59 !important;
  background-color: #0f2c59 !important;
  background-image: none !important;
  color: #f3f4f6 !important;
  border-top: 4px solid #c59b5f !important;
  margin-top: 48px !important;
  padding: 40px 20px 24px 20px !important;
  width: 100% !important;
}

footer.container-footer .grid-child,
footer.container-footer .mod-custom {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
}

footer.container-footer hr {
  display: none !important;
}

.cagc-footer-inner {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 32px !important;
}

.cagc-footer-col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

@media (max-width: 767px) {
  .cagc-footer-inner {
    flex-direction: column !important;
  }
}

.cagc-footer-col h4 {
  color: #c59b5f !important;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 14px 0;
}

.cagc-footer-col p,
.cagc-footer-col li {
  font-size: 14px;
  line-height: 1.7;
  color: #e5e7eb;
  margin: 0 0 6px 0;
}

.cagc-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cagc-footer-col a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.cagc-footer-col a:hover {
  color: #c59b5f !important;
}

.cagc-footer-bottom {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 28px auto 0 auto !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(197, 155, 95, 0.30) !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #9ca3af;
}

/* =========================================================
   8. 5-TILE FACILITY SHOWCASE STRIP (ABOVE FOOTER)
   ========================================================= */
.cagc-showcase-strip {
  max-width: 1320px;
  margin: 36px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

@media (max-width: 991px) {
  .cagc-showcase-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cagc-showcase-strip {
    grid-template-columns: 1fr;
  }
}

.cagc-tile {
  position: relative;
  display: block;
  height: 195px;
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 3px solid #0f2c59;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.08);
  text-decoration: none !important;
  transition: transform 0.2s ease, border-bottom-color 0.2s ease;
}

.cagc-tile:hover {
  transform: translateY(-4px);
  border-bottom-color: #c59b5f;
}

.cagc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cagc-tile:hover img {
  transform: scale(1.05);
}

/* Regal Blue bottom gradient ensures crisp white text contrast on any photo */
.cagc-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 44, 89, 0.88) 0%, rgba(15, 44, 89, 0.25) 55%, rgba(15, 44, 89, 0) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 10px;
  text-align: center;
}

.cagc-tile-overlay span {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}

.cagc-tile:hover .cagc-tile-overlay span {
  color: #c59b5f !important;
}

/* =========================================================
   9. MOBILE RESPONSIVENESS & INNER PAGE POLISH
   ========================================================= */

/* --- Mobile Header & Collapsible Menu (< 992px) --- */
@media (max-width: 991px) {
  .container-header {
    padding: 8px 16px !important;
  }

  .container-header .navbar-brand img {
    height: 54px !important;
  }

  /* Hamburger Toggle Button */
  .container-header .navbar-toggler {
    border: 2px solid #c59b5f !important;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    padding: 6px 10px !important;
    border-radius: 5px !important;
  }

  .container-header .navbar-toggler-icon,
  .container-header .navbar-toggler svg,
  .container-header .navbar-toggler span {
    color: #ffffff !important;
  }

  /* Expanded Mobile Menu Drawer */
  .container-header .navbar-collapse {
    width: 100% !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(197, 155, 95, 0.30);
    margin-top: 10px !important;
  }

  .container-header .mod-menu.metismenu,
  .container-header ul.mod-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 2px !important;
  }

  .container-header .mod-menu > li,
  .container-header .mod-menu > li.metismenu-item {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .container-header .mod-menu > li > a {
    flex: 1 1 auto !important;
    padding: 12px 8px !important;
    font-size: 16px !important;
  }

  .container-header .mod-menu > li > button {
    padding: 12px 14px !important;
  }

  /* Mobile Submenus Inline */
  .container-header ul.mod-menu > li > ul {
    position: static !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    background-color: rgba(0, 0, 0, 0.22) !important;
    border: none !important;
    border-left: 3px solid #c59b5f !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 0 8px 12px !important;
    margin-bottom: 8px !important;
  }

  /* Full-Width Gold CTA Button on Mobile */
  .container-header .mod-menu > li > a.cagc-nav-cta {
    margin: 12px 0 6px 0 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
  }
}

/* --- Inner Single Article & Information Pages --- */
.com-content-article {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid #0f2c59;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.05);
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  .com-content-article {
    padding: 20px 18px;
  }
}

.com-content-article .page-header h1,
.com-content-article h1 {
  color: #0f2c59 !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 700 !important;
  border-bottom: 3px solid #c59b5f;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: block !important;
}

.com-content-article h2 {
  color: #0f2c59 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-top: 26px;
  margin-bottom: 12px;
}

.com-content-article h3 {
  color: #1a4380 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-top: 20px;
  margin-bottom: 8px;
}

.com-content-article p,
.com-content-article li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}

.com-content-article img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* --- Styled Tables (Membership Rates, Green Fees, Fixtures) --- */
.com-content-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  border: 1px solid #e5e7eb;
}

.com-content-article table th,
.com-content-article table thead td {
  background-color: #0f2c59 !important;
  color: #ffffff !important;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 3px solid #c59b5f;
}

.com-content-article table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
}

.com-content-article table tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* --- Breadcrumbs Bar --- */
.mod-breadcrumbs {
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 18px;
  font-size: 13px;
}

.mod-breadcrumbs a {
  color: #1a4380 !important;
  text-decoration: none;
  font-weight: 600;
}

.mod-breadcrumbs a:hover {
  color: #c59b5f !important;
}

/* =========================================================
   10. NEWS & CATEGORY BLOG SUBPAGES (LEADING + PAGINATION)
   ========================================================= */
/* If any Category Blog uses a Leading Article, style it cleanly */
main .items-leading > div {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-top: 4px solid #0f2c59 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.05) !important;
  padding: 24px !important;
  margin-bottom: 28px !important;
}

main .items-leading .item-image {
  height: auto !important;
  max-height: 360px !important;
  margin-bottom: 18px !important;
  border-radius: 6px;
}

main .items-leading .item-image img {
  height: auto !important;
  max-height: 360px !important;
  object-fit: cover !important;
}

/* Hide raw unstyled subcategory bullet lists if enabled */
.com-content-category-blog__children {
  display: none !important;
}

/* Styled Regal Blue & Gold Pagination Bar */
.com-content-category-blog__navigation,
.pagination {
  margin-top: 28px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.pagination .page-link {
  color: #0f2c59 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 5px !important;
  padding: 6px 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.pagination .page-item.active .page-link {
  background-color: #0f2c59 !important;
  border-color: #0f2c59 !important;
  color: #ffffff !important;
}

.pagination .page-link:hover {
  background-color: #c59b5f !important;
  border-color: #c59b5f !important;
  color: #0f2c59 !important;
}

/* =========================================================
   11. JOOMLA 6 CATEGORY BLOG GRID (3 EQUAL COLUMNS)
   ========================================================= */
main .com-content-category-blog__items,
main .blog-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  margin-bottom: 28px !important;
}

@media (max-width: 991px) {
  main .com-content-category-blog__items,
  main .blog-items {
    grid-template-columns: 1fr !important;
  }
}

/* Unwrap legacy row containers inside Men's blog so cards flow across all 3 columns */
main .com-content-category-blog__items > .items-row,
main .blog-items > .items-row {
  display: contents !important;
}

/* Each direct item inside the blog grid is one self-contained card */
main .com-content-category-blog__items > .com-content-category-blog__item,
main .blog-items > .blog-item,
main .items-row > .item,
main .items-row .blog-item {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 0 18px 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Uniform cropped top image on every blog card */
main .com-content-category-blog__item .item-image,
main .blog-item .item-image,
main .items-row .item-image {
  width: 100% !important;
  height: 205px !important;
  overflow: hidden !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  order: -1 !important;
}

main .com-content-category-blog__item .item-image img,
main .blog-item .item-image img,
main .items-row .item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* Card inner text padding & Read More button anchored at bottom */
main .com-content-category-blog__item .item-content,
main .blog-item .item-content,
main .items-row .item-content {
  padding: 0 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

main .com-content-category-blog__item .readmore,
main .blog-item .readmore,
main .items-row .readmore {
  margin-top: auto !important;
  padding-top: 12px !important;
}

/* Hide Details metadata, More Articles links & Subcategory list */
main .article-info,
main .article-info-term,
main .com-content-category-blog__links,
main .blog-links,
main ol.com-content-category-blog__links,
div.com-content-category-blog__children,
div.cat-children {
  display: none !important;
}

/* Force Pagination Bar to span all 3 columns at the bottom */
main .com-content-category-blog__navigation,
main nav.pagination__wrapper {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-top: 24px !important;
  padding-top: 18px !important;
  border-top: 1px solid #e5e7eb !important;
  display: flex !important;
  justify-content: center !important;
}