/* Dog Care Tips — same static building blocks as card-essentials (shop-grid, section.block, section-title) */
@import '../../components/css/card-essentials.css';

.block > .container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}
.promo-bar {
    background: #eaeffa;
    color: #263457 !important;
    border-bottom: 1px solid rgba(38,52,87,.13) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
    text-align: center !important;
}
/* Page header — title, pill search, topic filters (Dog Care Tips) */
.dog-care-tips-root > .block:first-of-type {
  background: #ffffff !important;
  padding: 40px 0 36px !important;
  margin: 0;
}

.dog-care-tips-root .page-title {
  font-family: var(--theme-font-serif, Georgia), "Times New Roman", serif !important;
  font-style: normal !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  font-weight: 800 !important;
  color: #1a2b23 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.08 !important;
  margin: 0 0 12px !important;
}

.dog-care-tips-root .page-sub {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px !important;
  color: #666666 !important;
  max-width: 56ch !important;
  line-height: 1.6 !important;
  margin: 0 0 28px !important;
  font-weight: 400;
}

.dog-care-tips-root .filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
  margin: 0 0 20px;
}

.dog-care-tips-root .filters-bar .filter-group--search {
  flex: 1 1 min(380px, 100%);
  min-width: 0;
}

.dog-care-tips-root .filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dog-care-tips-root .filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.01em;
  text-transform: none;
}

.dog-care-tips-root .search.search-inline {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dog-care-tips-root .search.search-inline:focus-within {
  border-color: #c5ccd8;
  box-shadow: 0 2px 10px rgba(30, 45, 77, 0.08);
}

.dog-care-tips-root .search.search-inline input {
    flex: 1;
    min-width: 600px;
    border: none;
    background: transparent;
    padding: 14px 19px;
    font-size: 15px;
    color: #1a1a1a;
    outline: none;
    width: 100%;
}

.dog-care-tips-root .search.search-inline input::placeholder {
  color: #9ca3af;
}

.dog-care-tips-root .search.search-inline button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 4px;
  border: none;
  background: transparent;
  color: #1e2d4d;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.dog-care-tips-root .search.search-inline button:hover {
  background: rgba(30, 45, 77, 0.08);
}

.dog-care-tips-root .segmented.segmented-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dog-care-tips-root .segmented.segmented-wrap button {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #1e2d4d;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dog-care-tips-root .segmented.segmented-wrap button:hover:not(.active) {
  border-color: #e8e2d9;
  background: #e9f2ec;
}

.dog-care-tips-root .segmented.segmented-wrap button.active {
  background: #1e2d4d;
  color: #ffffff;
  border-color: #1e2d4d;
}

@media (max-width: 720px) {
  .dog-care-tips-root > .block:first-of-type {
    padding: 28px 0 28px !important;
  }

  .dog-care-tips-root .filters-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .dog-care-tips-root .filters-bar .filter-group--search {
    flex: 1 1 auto;
  }
  .dog-care-tips-root .search.search-inline input{
    min-width: auto !important;
  }
  .dog-care-tips-root .segmented.segmented-wrap button {
    padding: 3px 10px;
    font-size: 13px;
    }
    .dog-care-tips-root .segmented.segmented-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        align-items: center;
    }
}

.dog-care-tips-root .results-meta {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  padding: 12px 0 16px;
  border-bottom: 1px solid #e5e7eb;
  margin: 0 0 20px;
}
/* Shop the range — cream panel + horizontal pill chips (icon + label) */
.dog-care-tips-root .advice-shop-section {
    background: #ffffff;
    border: 1px solid #e8e2d9;
    border-radius: 22px;
    padding: 32px 36px 36px;
    box-sizing: border-box;
}

.dog-care-tips-root .advice-shop-section > h2 {
  font-family: var(--theme-font-serif, Georgia), "Times New Roman", serif !important;
  font-size: clamp(1.35rem, 2.8vw, 0.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #141414;
  line-height: 1.15;
  margin: 0 0 22px;
}

.dog-care-tips-root .advice-shop-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
}

.dog-care-tips-root .advice-shop-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  min-height: 0;
  padding:9px 18px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a !important;
  text-align: left;
  text-decoration: none !important;
  line-height: 1.3;
  background: #fff !important;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dog-care-tips-root .advice-shop-link:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  background: #1a2b4b !important;
    color: #ffff !important;
}

@media (max-width: 900px) {
  .dog-care-tips-root .advice-shop-section {
    padding: 26px 24px 30px;
  }
}

@media (max-width: 600px) {
  .dog-care-tips-root .advice-shop-links {
    gap: 8px;
  }

  .dog-care-tips-root .advice-shop-link {
    font-size: 13px;
    padding: 10px 14px;
    flex: 1 1 auto;
    min-width: min(100%, 160px);
    justify-content: center;
  }
}

.dog-care-back-link {
  margin-top: 20px;
  margin-bottom: 0;
}

.dog-care-back-link a {
  color: #263457;
  font-weight: 700;
  text-decoration: underline;
}

.dog-care-back-link a:hover {
  color: #00b72f;
}

.mini-article-body h4 a {
  color: #123a36;
  text-decoration: none;
}

.mini-article-body h4 a:hover {
  text-decoration: underline;
}

/* --- Advice cards: featured row (image | copy) + 2-column stacked cards --- */
.dog-care-tips-root .advice-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.dog-care-tips-root .advice-list-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  min-height: 0;
}

/* Standard cards: image on top, copy below */
.dog-care-tips-root .advice-list-card:not(.advice-hero-card) .advice-list-art {
  position: relative;
  width: 100%;
  height: 200px;
  min-height: 180px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eef1f4, #e4e8ec);
  border-radius: 0;
}
.product:hover, .mini-article-card:hover, .advice-list-card:hover {
    box-shadow: 0 8px 24px rgba(38, 52, 87, .13), 0 0 0 1.5px rgba(38, 52, 87, .08) !important;
}
.advice-list-card:hover {
    transform: translateY(-2px) !important;
}
.dog-care-tips-root .advice-list-card:not(.advice-hero-card) .advice-list-art img {
  border-radius: 0;
}

/* Featured: full width, horizontal */
.dog-care-tips-root .advice-hero-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}

.dog-care-tips-root .advice-hero-card .advice-list-art {
  width: 40%;
  min-width: min(420px, 42vw);
  max-width: 480px;
  min-height: 280px;
  height: auto;
  flex-shrink: 0;
  align-self: stretch;
}

.dog-care-tips-root .advice-hero-card .advice-list-art img {
  height: 100%;
  min-height: 280px;
}

.dog-care-tips-root .advice-list-art {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: #eef1f4;
}

.dog-care-tips-root .advice-list-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.dog-care-tips-root .advice-list-card:hover .advice-list-art img {
  transform: scale(1.03);
}

.dog-care-tips-root .advice-list-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 20px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.dog-care-tips-root .advice-hero-card .advice-list-body {
  padding: 28px 32px;
  justify-content: center;
}

.dog-care-tips-root .advice-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.dog-care-tips-root .chip-inline {
  display: inline-flex;
  align-items: center;
  background: #e3ebfa;
  color: #1e3a5f;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dog-care-tips-root .advice-list-body h3 {
  margin: 0 0 10px;
  font-family: var(--theme-font-serif, Georgia), "Times New Roman", serif !important;
  font-weight: 700;
  color: #141414;
  line-height: 1.2;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
}

.dog-care-tips-root .advice-hero-card .advice-list-body h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 12px;
}

.dog-care-tips-root .advice-list-body p {
    margin: 0;
    color: #6b6560;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    font-size: 16px !important;
    max-width: 480px !important;
    font-weight: 400;
}

.dog-care-tips-root .advice-hero-card .advice-list-body p {
  -webkit-line-clamp: 5;
  line-clamp: 5;
  font-size: 15px;
}

.dog-care-tips-root .advice-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 12px;
}

.dog-care-tips-root .advice-card-footer .read-link {
  font-weight: 700;
  color: #1a2b4b;
  text-decoration: none;
  font-size: 13px;
}

.dog-care-tips-root .advice-card-footer .read-link:hover {
  color: #00b72f;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .dog-care-tips-root .advice-hero-card {
    flex-direction: column;
  }

  .dog-care-tips-root .advice-hero-card .advice-list-art {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 220px;
    max-height: 320px;
  }

  .dog-care-tips-root .advice-hero-card .advice-list-art img {
    min-height: 220px;
  }
}

@media (max-width: 700px) {
  .dog-care-tips-root .advice-list-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Article */
.article-shell{
  background:#fff;
  border:1px solid #ddd8cf;
  border-radius:10px;
  padding:16px;
  box-shadow:var(--shadow);
}
.article-header{
  border-bottom:1px solid #ece6db;
  padding-bottom:14px;
  margin-bottom:14px;
}
.article-title{
  margin:10px 0 8px;
  color:#123a36;
  font-size:34px;
  line-height:1.1;
}
.article-excerpt{
  margin:0 0 8px;
  color:#566662;
  font-size:15px;
  line-height:1.5;
}
.article-meta{
  color:#65746e;
  font-size:13px;
  font-weight:700;
}

.article-hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:12px;
  background:#ffffff;
  border:1px solid #ede7db;
  border-radius:10px;
  padding:14px;
  margin-bottom:14px;
}
.article-hero-copy h2{
  margin:0 0 8px;
  color:#123a36;
  font-size:22px;
  line-height:1.2;
}
.article-hero-copy p{
  margin:0;
  color:#576864;
  font-size:14px;
}
.article-hero-art{
  display:grid;
  place-items:center;
  font-size:72px;
  background:#fff;
  border:1px solid #ece6db;
  border-radius:8px;
  min-height:120px;
}

.article-content{
  display:grid;
  gap:14px;
}
.article-section{
  border-bottom:1px solid #f0ebe1;
  padding-bottom:12px;
}
.article-section:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.article-section h2{
  margin:0 0 6px;
  font-size:20px;
  color:#123a36;
}
.article-section p{
  margin:0;
  color:#495a55;
  font-size:15px;
  line-height:1.7;
}

.mini-article-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.mini-article-card{
  background:#fff;
  border:1px solid #ddd8cf;
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.mini-article-art{
  height:110px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#eef0f2,#d8dde0);
  font-size:46px;
}
.mini-article-body{
  padding:12px;
}
.mini-article-body h4{
  margin:8px 0 6px;
  color:#123a36;
  font-size:15px;
  line-height:1.2;
}
.mini-article-body p{
  margin:0 0 10px;
  color:#566662;
  font-size:13px;
  line-height:1.45;
}

.dog-care-tips-root .empty-state.hidden,
.dog-care-tips-root .empty-state[hidden],
.dog-care-tips-root .advice-list-card.is-hidden,
.dog-care-tips-root .advice-list-card[hidden] {
  display: none !important;
}

.dog-care-tips-page .promo-bar {
  background: var(--theme-promo-bar-bg, #e4eaf2);
  color: var(--theme-promo-bar-text, #2d3a4a) !important;
}