/* =========================================
 * TTC Product Vertical Tabs – Sumber Nelayan
 * ======================================= */

.ttc-product-vertical-tabs-wrapper .ttc-vertical-tabs-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.ttc-product-vertical-tabs-wrapper .ttc-vertical-tabs-nav {
  min-width: 200px;
}

.ttc-product-vertical-tabs-wrapper .ttc-tabs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ttc-product-vertical-tabs-wrapper .ttc-tab-title {
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-weight: 500;
}

.ttc-product-vertical-tabs-wrapper .ttc-tab-title:hover {
  background-color: var(--e-global-color-cb5e091);
}

.ttc-product-vertical-tabs-wrapper .ttc-tab-title.ttc-tab-active {
  font-weight: 600;
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-accent);
}

.ttc-product-vertical-tabs-wrapper .ttc-vertical-tabs-content {
  flex: 1;
  width: 100%;
}

.ttc-product-vertical-tabs-wrapper .ttc-tab-panel {
  display: none;
}

.ttc-product-vertical-tabs-wrapper .ttc-tab-panel.ttc-tab-panel-active {
  display: block;
}

/* Grid */
.ttc-product-vertical-tabs-wrapper .ttc-product-grid {
  display: grid;
  gap: 1.5rem;
}

.ttc-product-vertical-tabs-wrapper .ttc-product-item {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.ttc-product-vertical-tabs-wrapper .ttc-product-thumb {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
  margin-bottom: 10px;
  overflow: hidden;
}

.ttc-product-vertical-tabs-wrapper .ttc-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 200ms ease-in;
}

.ttc-product-vertical-tabs-wrapper .ttc-product-thumb:hover img {
  transform: scale(1.03);
}
.ttc-product-vertical-tabs-wrapper .ttc-product-title {
  font-size: 1em;
  margin: 0;
  color: var(--e-global-color-text);
}

.ttc-product-vertical-tabs-wrapper .ttc-product-title:hover {
  color: var(--e-global-color-primary);
}

/* Pagination */
.ttc-product-vertical-tabs-wrapper .ttc-product-pagination {
  margin-top: 1.5rem;
  text-align: center;
}

.ttc-product-vertical-tabs-wrapper .ttc-product-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
}

.ttc-product-vertical-tabs-wrapper
  .ttc-product-pagination
  .page-numbers.current {
  background-color: #000;
  color: #fff;
}

/* Responsive: make tabs horizontal on small screens */
@media (max-width: 767px) {
  .ttc-product-vertical-tabs-wrapper .ttc-vertical-tabs-inner {
    flex-direction: column;
  }

  .ttc-product-vertical-tabs-wrapper .ttc-vertical-tabs-nav {
    width: 100%;
    overflow-x: auto;
  }

  .ttc-product-vertical-tabs-wrapper .ttc-tabs-nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .ttc-product-vertical-tabs-wrapper .ttc-tab-title {
    white-space: nowrap;
    margin-bottom: 0;
  }
}

/* 
Elementor Widget Custom */

.elementor-widget-icon-box .elementor-icon-box-icon {
  margin-top: 7px !important;
}

/* =========================================
 * TTC Post Query Grid
 * ======================================= */

.ttc-post-grid-wrapper .ttc-post-grid {
  display: grid;
  gap: 1.5rem;
}

.ttc-post-grid-wrapper .ttc-post-item {
  border: 1px solid var(--e-global-color-cb5e091);
  padding: 20px;
  text-align: left;
  transition: all 300ms ease-out;
}

.ttc-post-grid-wrapper .ttc-post-item:hover {
  background-color: var(--e-global-color-cb5e091);
}

.ttc-post-grid-wrapper .ttc-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.ttc-post-grid-wrapper .ttc-post-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  margin-bottom: 20px;
}

.ttc-post-grid-wrapper .ttc-post-thumb img {
  min-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  transition: all 300ms ease-out;
}

.ttc-post-grid-wrapper .ttc-post-thumb:hover img {
  transform: scale(1.03);
}
.ttc-post-item:hover .ttc-post-title {
  color: var(--e-global-color-primary);
}

.ttc-post-grid-wrapper .ttc-post-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 10px;
}

.ttc-post-grid-wrapper .ttc-post-meta {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Pagination */
.ttc-post-grid-wrapper .ttc-post-pagination {
  margin-top: 1.5rem;
  text-align: center;
}

.ttc-post-grid-wrapper .ttc-post-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
}

.ttc-post-grid-wrapper .ttc-post-pagination .page-numbers.current {
  background-color: #000;
  color: #fff;
}

/* =========================================
 * TTC Video Grid
 * ======================================= */

.ttc-video-grid-wrapper .ttc-video-grid {
  display: grid;
  gap: 1.5rem;
}

.ttc-video-grid-wrapper .ttc-video-item {
  border: 1px solid var(--e-global-color-cb5e091);
  padding: 20px;
  text-align: left;
  transition: all 300ms ease-out;
}
.ttc-video-grid-wrapper .ttc-video-item:hover {
  background-color: var(--e-global-color-cb5e091);
}

.ttc-video-grid-wrapper .ttc-video-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.ttc-video-grid-wrapper .ttc-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.ttc-video-grid-wrapper .ttc-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ttc-video-grid-wrapper .ttc-video-play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--e-global-color-accent);
  border-radius: 999px;
  padding: 0.3em 0.4em;
  transition: all 300ms ease-out;
}

.ttc-video-grid-wrapper .ttc-video-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.ttc-video-grid-wrapper .ttc-video-item:hover .ttc-video-title {
  color: var(--e-global-color-primary);
}

.ttc-video-item:hover .ttc-video-play-icon {
  color: var(--e-global-color-primary);
}

/* Pagination */
.ttc-video-grid-wrapper .ttc-video-pagination {
  margin-top: 1.5rem;
  text-align: center;
}

.ttc-video-grid-wrapper .ttc-video-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
}

.ttc-video-grid-wrapper .ttc-video-pagination .page-numbers.current {
  background-color: #000;
  color: #fff;
}

.brand-footer a {
  font-family: "Plus Jakarta Sans", Sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1em;
  color: var(--e-global-color-text) !important;
}

.brand-footer a:hover {
  color: var(--e-global-color-primary) !important;
}

/* =========================================
 * TTC Brand Logo Widget
 * ======================================= */

/* Brand Logo Grid */
.ttc-brand-logo-grid-wrapper .ttc-brand-logo-grid {
  display: grid;
  gap: 1.5rem;
}

.ttc-brand-logo-grid-wrapper .ttc-brand-logo-item {
  display: block;
  text-decoration: none;
  padding: 10px;
}

.ttc-brand-logo-grid-wrapper .ttc-brand-logo-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
}

.ttc-brand-logo-grid-wrapper .ttc-brand-logo-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: all 300ms ease-out;
}

.ttc-brand-logo-img-wrapper:hover img {
  transform: scale(1.03);
}

/* Fallback text if no logo */
.ttc-brand-logo-grid-wrapper .ttc-brand-logo-fallback {
  font-size: 0.9rem;
  text-align: center;
}

/* =========================================
 * TTC Recipe Meta
 * ======================================= */

/* Recipe meta (cook time & servings) */
.ttc-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px !important;
  width: 100%;
}

.ttc-recipe-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ttc-recipe-meta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--e-global-color-primary);
}

.ttc-recipe-meta__icon svg {
  fill: var(--e-global-color-primary);
}

.ttc-recipe-meta__label {
  font-weight: 500;
}

.ttc-recipe-meta__value {
  opacity: 0.9;
}

.ttc-career-archive__list {
  display: flex;
  gap: 24px;
}

.ttc-career-archive__item {
  padding: 40px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background-color: #fff;
  width: 50%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ttc-career-archive__item:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.ttc-career-archive__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.ttc-career-archive__link {
  color: inherit;
  text-decoration: none;
}

.ttc-career-archive__link:hover {
  color: var(--e-global-color-primary);
}

.ttc-career-archive__excerpt {
  margin: 0 0 12px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ttc-career-archive__excerpt p {
  margin: 0;
}
.ttc-career-archive__meta {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}
.ttc-career-archive__location {
  display: flex;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  background-color: #f0f0f0;
  color: #000;
  width: calc(50% - 10px);
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: center;
}

.ttc-career-archive__pagination {
  margin-top: 32px;
}

.ttc-career-archive__pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttc-career-archive__pagination a,
.ttc-career-archive__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  text-decoration: none;
}

.ttc-career-archive__pagination .current {
  background-color: #111;
  color: #fff;
  border-color: #111;
}

.ttc-career-archive__pagination a:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.ttc-career-archive__empty {
  padding: 32px;
  text-align: center;
  color: #777;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .ttc-career-archive__item {
    width: 100%;
  }
  .ttc-career-archive__list {
    flex-direction: column;
  }
}
