/*
 Theme Name:   Diamante Bridge
 Theme URI:    https://diamantebridge.org
 Description:  Child theme of Ecoscape for Diamante Bridge Collective
 Author:       Diamante Bridge Collective
 Author URI:   https://diamantebridge.org
 Template:     ecoscape
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  diamante-bridge
*/

/* ==========================================================================
   Diamante Bridge Brand Colors
   ==========================================================================
   Primary:    #00BAC6 (Teal)      #FCB200 (Amber)
   Secondary:  #FF8300 (Orange)    #00F0FF (Cyan)
   Tertiary:   #A3DA0C (Lime)      #6DAA2C (Green)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variable Overrides
   -------------------------------------------------------------------------- */
:root {
  --theme-primary-color: #00BAC6;
  --theme-secondary-color: #FCB200;
  --swiper-theme-color: var(--theme-primary-color) !important;
  --theme-font-family-general: "Open Sans", Arial, sans-serif;
  --theme-font-family-heading: "Bellefair", serif;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.theme-primary-btn {
  background-color: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
}

.theme-primary-btn:hover,
.theme-primary-btn:focus {
  background-color: #FCB200;
  border-color: #FCB200;
  color: #000;
}

/* --------------------------------------------------------------------------
   Featured Blog Cards (gradient from cyan to teal)
   -------------------------------------------------------------------------- */
.featured-article-container article:first-child {
  background-color: #00F0FF;
}

.featured-article-container article:nth-child(2) {
  background-color: #FCB200;
}

.featured-article-container article:last-child {
  background-color: #00BAC6;
}

/* --------------------------------------------------------------------------
   Service Section Icon Background
   -------------------------------------------------------------------------- */
.service-detail-content > div figure {
  background-color: #FCB200;
}

/* --------------------------------------------------------------------------
   Quote Section Accent
   -------------------------------------------------------------------------- */
.author-quote svg {
  fill: #FCB200;
}

/* --------------------------------------------------------------------------
   Entry Categories / Tags
   -------------------------------------------------------------------------- */
.entry-categories a {
  background-color: #FCB200;
  color: #000;
}

/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */
.ecoscape-scroll-to-top {
  background-color: var(--theme-primary-color);
}

.ecoscape-scroll-to-top:hover {
  background-color: #FCB200;
}

/* --------------------------------------------------------------------------
   Header Logo Size
   -------------------------------------------------------------------------- */
.ecoscape-header_style_1 .site-logo img {
  height: 12rem;
}

/* Slightly smaller when header is sticky-scrolled */
.has-sticky-header.sticky-header-fixed .site-logo img {
  height: 6rem;
}

/* --------------------------------------------------------------------------
   About Us Right Block
   -------------------------------------------------------------------------- */
.about-us-right {
  background-color: #00848C;
}

/* --------------------------------------------------------------------------
   Bloom Network Cards Section
   -------------------------------------------------------------------------- */
.bloom-network-section {
  background-color: #1a1a2e;
  padding: 6rem 0;
}

.bloom-network-section .heading-subtitle {
  color: #FCB200;
}

.bloom-network-section .custom-title {
  color: #fff;
}

.bloom-swiper {
  padding-bottom: 4rem;
}

.bloom-swiper .swiper-slide {
  width: 28rem;
  height: auto;
}

/* Card container */
.bloom-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
  background-color: #16213e;
  border: 2px solid #00BAC6;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.bloom-card:hover {
  border-color: #FCB200;
  transform: translateY(-4px);
}

/* Card body (top section with text) */
.bloom-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Author row */
.bloom-card-author {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.bloom-card-author-info {
  display: flex;
  flex-direction: column;
}

.bloom-card-author-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00BAC6;
  text-transform: capitalize;
}

.bloom-card-author-location {
  font-size: 1.2rem;
  color: #00BAC6;
  opacity: 0.8;
}

/* Title */
.bloom-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00F0FF;
  margin: 0 0 0.8rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Summary text */
.bloom-card-summary {
  font-size: 1.4rem;
  color: #d1d5db;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card image (bottom) */
.bloom-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.bloom-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.bloom-card:hover .bloom-card-img {
  transform: scale(1.05);
}

/* Footer link */
.bloom-section-footer {
  margin-top: 3rem;
}

/* Swiper pagination dots */
.bloom-swiper .swiper-pagination-bullet {
  background: #00BAC6;
  opacity: 0.5;
}

.bloom-swiper .swiper-pagination-bullet-active {
  background: #FCB200;
  opacity: 1;
}

/* Responsive */
@media (max-width: 575px) {
  .bloom-swiper .swiper-slide {
    width: 24rem;
  }

  .bloom-card-title {
    font-size: 1.6rem;
  }
}

/* --------------------------------------------------------------------------
   Bloom Network — Category Archive Page
   -------------------------------------------------------------------------- */
.bloom-archive {
  background-color: #1a1a2e;
  padding: 8rem 0 6rem;
}

.bloom-archive-header {
  margin-bottom: 5rem;
}

.bloom-archive-header .heading-subtitle {
  color: #FCB200;
}

.bloom-archive-header .custom-title,
.bloom-archive-header .entry-title {
  color: #fff;
}

.bloom-archive-description {
  color: #d1d5db;
  font-size: 1.6rem;
  max-width: 72rem;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.bloom-archive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2.4rem;
  margin-bottom: 5rem;
}

.bloom-archive-grid > .bloom-card {
  width: 28rem;
  flex: 0 0 28rem;
  height: auto;
}

/* Pagination */
.bloom-archive-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.bloom-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.6rem;
  border: 1px solid #00BAC6;
  background-color: transparent;
  color: #00F0FF;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bloom-archive-pagination .page-numbers:hover {
  background-color: #00BAC6;
  color: #fff;
}

.bloom-archive-pagination .page-numbers.current {
  background-color: #FCB200;
  border-color: #FCB200;
  color: #1a1a2e;
}

.bloom-archive-empty {
  text-align: center;
  color: #d1d5db;
  font-size: 1.6rem;
  padding: 4rem 0;
}

@media (max-width: 575px) {
  .bloom-archive-grid > .bloom-card {
    width: 24rem;
    flex: 0 0 24rem;
  }
}

/* --------------------------------------------------------------------------
   Selection Color
   -------------------------------------------------------------------------- */
::selection {
  background-color: #00BAC6;
  color: #fff;
}
