/*
Theme Name: Dycon Child
Theme URI: https://example.com
Description: Child theme for Hazel
Author: Your Name
Template: hazel
Version: 1.0
*/



/* ==============================
   Dycon Social Share Buttons
   ============================== */
.social-share {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-start;
}

.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0073e6;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-share a:hover {
  background: #005bb5;
}

.social-share i {
  font-size: 16px;
}






/* ========================================
   Dycon Social Share Buttons (Text Version)
   ======================================== */

.dycon-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  font-family: inherit;
}

.dycon-share span {
  font-weight: 600;
  color: #000;
}

.dycon-share-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: #0073e6;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dycon-share-btn:hover {
  background: #005bb5;
}

/* Optional platform-specific colors */
.dycon-share-btn.facebook { background: #1877f2; }
.dycon-share-btn.facebook:hover { background: #145dbf; }

.dycon-share-btn.linkedin { background: #0077b5; }
.dycon-share-btn.linkedin:hover { background: #005983; }

.dycon-share-btn.twitter { background: #000; }
.dycon-share-btn.twitter:hover { background: #444; }

.dycon-share-btn.email { background: #444; }
.dycon-share-btn.email:hover { background: #222; }


/* ========================================
   Dycon Card Style for Grid
   ======================================== */



.dycon-section {
  margin-bottom: 60px;
}

.dycon-section-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.dycon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.dycon-card {
  flex: 1 1 calc(33.333% - 24px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.dycon-card:hover {
  transform: translateY(-5px);
}


/* === Dycon Card Header Alignment === */
.dycon-card-header.dycon-flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dycon-card-header .badge {
  font-size: 0.85em;
  padding: 4px 8px;
  border-radius: 4px;
}

.dycon-card-header .dycon-type.badge {
  background: #333;
  color: #fff;
}

.dycon-card-header .dycon-category.badge {
  background: #eee;
  color: #333;
}


/* Meta row layout: category left, type right */
.dycon-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

/* Left side (category) can wrap */
.dycon-meta-left {
    flex: 1 1 auto;
    text-align: left;
    white-space: normal;
}

/* Right side (type) fixed and never wraps */
.dycon-meta-right {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.dycon-card-content {
    padding-bottom: 12px;
}


/* === LABEL ACCENT === */


.dycon-meta-left,
.dycon-meta-right {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.dycon-meta-left {
    background-color: #f2f2f2;
    color: #800101;
}

.dycon-meta-right {
    background-color: #800101;
    color: #fff;
    text-transform: uppercase;
}
