/* ══ CANARY CLUB — YTP-Default Custom CSS ══ */

/* ── Library Hero ── */
.cc-library-hero { text-align: center; padding: 48px 24px 24px; }
.cc-library-title { font-size: 2.4rem; font-weight: 700; color: #2e6e7e; margin-bottom: 12px; }
.cc-library-desc { font-size: 1rem; color: #5a5a5a; max-width: 600px; margin: 0 auto; }

/* ── Tag Filter Pills ── */
.cc-tag-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 16px 24px 32px; }
.cc-pill { display: inline-block; padding: 7px 18px; border-radius: 999px; border: 1.5px solid #2e6e7e; color: #2e6e7e; font-size: 0.875rem; font-weight: 500; text-decoration: none; background: transparent; transition: background 0.2s, color 0.2s; }
.cc-pill:hover, .cc-pill-active { background: #2e6e7e; color: #ffffff; }

/* ── Hide breadcrumb site-wide ── */
nav.uk-breadcrumb, nav[aria-label="Breadcrumb"] { display: none !important; }

/* ── Library Card Grid ── */
main#tm-main .uk-article img { float: none !important; margin: 0 !important; }
main#tm-main .uk-article .uk-text-center { text-align: left !important; margin-top: 0 !important; overflow: hidden; border-radius: 12px; height: 200px; }
main#tm-main .uk-article .uk-text-center a { display: block; height: 200px; overflow: hidden; border-radius: 12px; }
main#tm-main .uk-article .uk-text-center picture { display: block; height: 200px; }
main#tm-main .uk-article .uk-text-center img { width: 100% !important; height: 200px !important; object-fit: cover !important; border-radius: 12px !important; display: block !important; float: none !important; margin: 0 !important; }
main#tm-main .uk-article-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin-top: 12px !important; margin-bottom: 6px !important; }
main#tm-main .uk-article-title a { color: #007D6E !important; text-decoration: none; }
main#tm-main .uk-article-title a:hover { color: #005a4f !important; }
main#tm-main .uk-article .uk-margin-medium-top { margin-top: 6px !important; font-size: 1.00rem; color: #662b29; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
main#tm-main .uk-article .uk-margin-medium-top h2,
main#tm-main .uk-article .uk-margin-medium-top h3,
main#tm-main .uk-article .uk-margin-medium-top h4,
main#tm-main .uk-article [property="text"] h2,
main#tm-main .uk-article [property="text"] h3,
main#tm-main .uk-article [property="text"] h4 { display: none !important; }
main#tm-main .uk-article p:has(a[property="keywords"]) { display: none !important; }
main#tm-main .uk-article .uk-button-default { display: inline-block !important; margin-top: 10px !important; background: transparent !important; border: none !important; color: transparent !important; font-size: 0px !important; padding: 0 !important; box-shadow: none !important; text-decoration: none; }
main#tm-main .uk-article .uk-button-default::after { content: "Read More →"; color: #007D6E; font-size: 0.85rem; font-weight: 600; }
main#tm-main .uk-article .uk-button-default:hover::after { color: #005a4f; }
main#tm-main .uk-child-width-1-3\@m > div { padding-bottom: 32px; }

/* ── Card category meta label ── */
main#tm-main .uk-article-meta { display: block; font-size: 0; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #007D6E; margin-top: 10px !important; margin-bottom: 2px !important; }
main#tm-main .uk-article-meta a { color: #007D6E !important; text-decoration: none; font-size: 0.72rem; line-height: 1; }

/* ══ FOOTER NEWSLETTER BANNER ══ */
.cc-community-banner { background-image: linear-gradient(0deg, rgba(51,43,41,0.35), rgba(51,43,41,0.35)), url('/images/yootheme/ytp-cc/3-women-community-sm1.jpg'); background-size: cover; background-position: center; padding: 80px 24px; text-align: center; }
.cc-community-inner { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cc-community-heading { font-size: 2.4rem; font-weight: 700; color: #ffffff; margin: 0; font-family: Montserrat, sans-serif; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.cc-community-box { background: rgba(255,255,255,0.18); border-radius: 12px; padding: 28px 36px; text-align: left; max-width: 420px; width: 100%; }
.cc-community-intro { color: #ffffff; font-size: 1rem; margin-bottom: 10px; }
.cc-community-list { color: #f0e8d8; font-size: 0.95rem; line-height: 1.9; padding-left: 20px; margin-bottom: 20px; }
.cc-community-btn { display: inline-block; padding: 12px 32px; background: transparent; border: 2px solid #c8a96e; color: #c8a96e; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; border-radius: 6px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.cc-community-btn:hover { background: #c8a96e; color: #ffffff; }
/* ══════════════════════════════════════════
   COM_TAGS VIEW — match Library card style
   ══════════════════════════════════════════ */

/* Tag view item card */
.tag-category .uk-article img,
main#tm-main .tag-items .uk-article img {
  float: none !important;
  margin: 0 !important;
}

.tag-category .uk-article .uk-text-center,
main#tm-main .tag-items .uk-article .uk-text-center {
  text-align: left !important;
  margin-top: 0 !important;
  overflow: hidden;
  border-radius: 12px;
  height: 200px;
}

.tag-category .uk-article .uk-text-center a,
main#tm-main .tag-items .uk-article .uk-text-center a {
  display: block;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
}

.tag-category .uk-article .uk-text-center img,
main#tm-main .tag-items .uk-article .uk-text-center img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
}

.tag-category .uk-article-title a,
main#tm-main .tag-items .uk-article-title a {
  color: #007D6E !important;
  text-decoration: none;
}

.tag-category .uk-article .uk-margin-medium-top,
main#tm-main .tag-items .uk-article .uk-margin-medium-top {
  margin-top: 6px !important;
  font-size: 1.00rem;
  color: #662b29;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-category .uk-article .uk-button-default,
main#tm-main .tag-items .uk-article .uk-button-default {
  display: inline-block !important;
  margin-top: 10px !important;
  background: transparent !important;
  border: none !important;
  color: transparent !important;
  font-size: 0px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.tag-category .uk-article .uk-button-default::after,
main#tm-main .tag-items .uk-article .uk-button-default::after {
  content: "Read More →";
  color: #007D6E;
  font-size: 0.85rem;
  font-weight: 600;
}
/* ── Announcement Bar ── */
.cc-announcement-bar {
  width: 100%;
  text-align: center;
  padding: 9px 24px;
  font-family: Anuphan, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: #4f919f;
}
.cc-announcement-bar strong {
  color: #ffffff;
  font-weight: 800;
}
.cc-announcement-link {
  color: #efe7d0;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  transition: color 0.2s, border-color 0.2s;
}
.cc-announcement-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.9);
}
/* ── Announcement Bar + utility row (consolidated) ── */

/* Toolbar full viewport width, no section padding */
.tm-toolbar.tm-toolbar-default { padding: 0 !important; }
.tm-toolbar.tm-toolbar-default > .uk-container {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill grid gutters so cells fill the rows */
.tm-toolbar.tm-toolbar-default > .uk-container > div > .uk-grid {
  margin: 0 !important;
  width: 100% !important;
}
.tm-toolbar.tm-toolbar-default > .uk-container > div > .uk-grid > .uk-first-column {
  width: 100% !important;
  padding-left: 0 !important;
}

/* Row 1: announcement fills width, text centered */
.tm-toolbar #module-484,
.tm-toolbar #module-484 .uk-panel,
.tm-toolbar #module-484 .custom { width: 100% !important; }
.tm-toolbar .cc-announcement-bar {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Row 2: the single utility group holds FAQ/ABOUT/Search + cart inline */
.tm-toolbar.tm-toolbar-default > .uk-container > .uk-margin-auto-left {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 24px 6px !important;
}
/* inner grid = flex row, right-aligned, kept inside the viewport */
.tm-toolbar .uk-margin-auto-left > .uk-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}
/* both children (menu group + cart) size to content, sit on one line */
.tm-toolbar .uk-margin-auto-left > .uk-grid > .uk-first-column,
.tm-toolbar .uk-margin-auto-left > .uk-grid > div {
  width: auto !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.tm-toolbar #module-menu-toolbar-right ul.uk-subnav {
  justify-content: flex-end !important;
  margin: 0 !important;
  flex-wrap: nowrap !important;
}
/* Cart must not shrink; keep its contents on one line */
.tm-toolbar #module-485 { flex: 0 0 auto !important; }
.tm-toolbar #module-485 .eshop-cart,
.tm-toolbar #module-485 .eshop-cart-items { white-space: nowrap !important; }
.tm-toolbar #module-485 .eshop-cart-items .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}
.tm-toolbar #module-485 #eshop-cart-total { white-space: nowrap !important; }
/* ── EShop cart (module 485): teal pill, no hover color change ── */
.tm-toolbar #module-485 { width: auto !important; }
.tm-toolbar #module-485 .eshop-cart,
.tm-toolbar #module-485 .eshop-cart-items { background: transparent !important; }
.tm-toolbar #module-485 .eshop-cart-items .btn-primary,
.tm-toolbar #module-485 .eshop-cart-items .btn-primary:hover,
.tm-toolbar #module-485 .eshop-cart-items .btn-primary:focus,
.tm-toolbar #module-485 .eshop-cart-items .btn-primary:active {
  background: #4f919f !important;
  background-color: #4f919f !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 6px 16px !important;
  transition: none !important;
}
.tm-toolbar #module-485 #eshop-cart-total,
.tm-toolbar #module-485 .eshop-cart-items .btn-primary svg { color: #ffffff !important; fill: #ffffff !important; }
.tm-toolbar #module-485 .eshop-cart-items .btn-primary:hover {
  background: #677f82 !important;
  background-color: #677f82 !important;
  transition: background-color 0.2s !important;
}