/*
 Theme Name: The7 Child
 Theme URI: https://the7.io/
 Description: Basic child theme for The7
 Author: Raphael Gatti
 Template: dt-the7
 Version: 1.0.0
 Text Domain: the7-child
*/


.wpml-ls-native {
	text-transform: uppercase;
}

/* === WP Media Folder Gallery styled to match The7 === */

.wpmf-gallery .wpmf-gallery-item {
  position: relative;
  overflow: hidden;
}

.wpmf-gallery .wpmf-gallery-item img {
  transition: transform .4s ease;
}

.wpmf-gallery .wpmf-gallery-item:hover img {
  transform: scale(1.05);
}

/* ----- Caption / Overlay styling (with The7 fonts) ----- */
.wpmf-gallery .wpmf-gallery-item figcaption,
.wpmf-gallery .wpmf-gallery-caption,
.wpmf-gallery .wpmf-gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  color: var(--the7-title-color, #fff);
  padding: 0.6em 1em;
  font-size: 0.95em;
  line-height: 1.4;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease;

  /* --- The7 typography merge --- */
  font-family: var(--the7-body-font-family, "Lato", sans-serif);
  font-weight: 600; /* adjust if your theme uses lighter text */
}

/* Optional: use heading font variant for captions if desired */
.wpmf-gallery .use-heading-font figcaption {
  font-family: var(--the7-headings-font-family, "Lato", serif);
}

/* Hover effect */
.wpmf-gallery .wpmf-gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
  background: rgba(0,0,0,0.75);
}

/* Optional: fine-tune text alignment for captions */
.wpmf-gallery .wpmf-gallery-item figcaption {
  text-align: left;
}


/* ---- Reset any theme bullets/icons and ensure our list wins ---- */
.awards-scope .awards-list,
.awards-scope .awards-list ul {
  list-style: none !important;             /* kill template bullets */
  margin: 0;
  padding-left: 1.4em;                     /* indent for our custom bullets */
}

.awards-scope .awards-list li {
  position: relative;
}

/* The7 sometimes injects markers/icons: hide them just in case */
.awards-scope .awards-list li::marker { content: ""; }
.awards-scope .awards-list .elementor-icon-list-icon { display: none !important; }

/* ---- OUTER LEVEL (main awards) ---- */
.awards-scope .awards-list > li {
  margin: 0.8em 0;
  font-weight: 600;
}

.awards-scope .awards-list > li::before {
  content: "";
  position: absolute;
  left: -1.1em;               /* aligns the dot neatly with text */
  top: 0.6em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--e-global-color-el_c_1_color);    /* solid dark blue from The7 palette */
  box-shadow: none;
}

/* ---- INNER LEVEL (placements per contest) ---- */
.awards-scope .awards-list > li > ul > li {
  margin: 0.4em 0;
  font-weight: 400;
  color: #444;
}

.awards-scope .awards-list > li > ul > li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.6em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  border: 2px solid var(--e-global-color-el_c_1_color);   /* outlined blue */
  background: #fff;                        /* white center */
}

/* Optional hover polish */
.awards-scope .awards-list li:hover::before {
  transform: scale(1.15);
  transition: transform .18s ease;
}



.social_wrapper_contact ul li a
{
  color: #fff;
  opacity: .4;
}
.social_wrapper_contact ul li a:hover, .social_wrapper_contact ul li a:active
{
  opacity: 1;
}


/* === Awards Timeline === */
.awards-timeline {
  --line-color: rgba(0,0,0,0.18);
  --dot-color: #111;
  --bullet-1: "●";
  --bullet-2: "○";
  --bullet-3: "■";
  --indent-2: 1.25rem;
  --indent-3: 2.0rem;

  position: relative;
  margin: 2rem 0 4rem;
  padding-left: 2.5rem; /* space for the vertical line */
}

/* Vertical line */
.awards-timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--line-color), var(--line-color));
}

/* Year label + dot */
.awards-timeline .year {
  position: relative;
  margin: 0 0 0.75rem;
  padding-left: 0.5rem; /* breathing room to the right of the line */
  font-weight: 700;
  letter-spacing: 0.5px;
}

.awards-timeline .year::before {
  content: "";
  position: absolute;
  left: -1.6rem;               /* aligns to the vertical line */
  top: 0.7em;
  width: 12px;
  height: 12px;
  background: var(--dot-color);
  border: 2px solid #fff;      /* ring for light BGs */
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
  transform: translateY(-50%);
}

/* Spacing between year groups */
.awards-timeline .year-group { 
  margin: 0 0 2.25rem;
}

/* Reset lists */
.awards-timeline ul.awards { 
  margin: 0.2rem 0 0.75rem 0;
  padding: 0;
  list-style: none;
}

/* Level-1 items (bold “●”) */
.awards-timeline .l1 > li {
  position: relative;
  margin: 0.35rem 0 0.35rem 0;
  padding-left: 1.25rem;
  font-weight: 600;
}
.awards-timeline .l1 > li::before {
  content: var(--bullet-1);
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.95em;
}

/* Level-2 items (hollow “○”) */
.awards-timeline .l2 {
  margin: 0.2rem 0 0.6rem var(--indent-2);
  padding: 0;
  list-style: none;
}
.awards-timeline .l2 > li {
  position: relative;
  margin: 0.25rem 0;
  padding-left: 1rem;
  font-weight: 500;
}
.awards-timeline .l2 > li::before {
  content: var(--bullet-2);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.95em;
}

/* Level-3 items (solid square “■”) */
.awards-timeline .l3 {
  margin: 0.15rem 0 0.5rem var(--indent-3);
  padding: 0;
  list-style: none;
}
.awards-timeline .l3 > li {
  position: relative;
  margin: 0.2rem 0;
  padding-left: 1rem;
  font-weight: 400;
}
.awards-timeline .l3 > li::before {
  content: var(--bullet-3);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85em;
}

/* Typography harmony with Photome */
.awards-timeline .year { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.6rem); }
.awards-timeline li { line-height: 1.5; }

/* Responsive: tighten left padding on small screens */
@media (max-width: 768px) {
  .awards-timeline { padding-left: 2rem; }
  .awards-timeline::before { left: 0.8rem; }
  .awards-timeline .year::before { left: -1.4rem; }
}

/* Dark section support (if your section has a dark background) */
.dark-section .awards-timeline {
  --line-color: rgba(255,255,255,0.18);
  --dot-color: #fff;
}
.dark-section .awards-timeline .year::before {
  border-color: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.07);
}



/* ===== Featured / Publicações ===== */
.featured-pubs { 
  margin: 2rem auto 4rem; 
  max-width: min(1200px, 94vw);
}

/* Filtros */
.featured-filters {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin: 0 0 1rem; 
}
.featured-filters button {
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font: inherit;
  padding: .5rem .75rem;
  border-radius: 999px;
  cursor: pointer;
}
.featured-filters button.is-active,
.featured-filters button:hover {
  border-color: rgba(0,0,0,.35);
}

/* Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.featured-card {
  grid-column: span 6; /* 2 cards por linha no desktop */
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
@media (max-width: 900px) {
  .featured-card { grid-column: span 12; }
}
@media (max-width: 700px) {
  .featured-card { 
    grid-template-columns: 1fr; 
  }
}

/* Capa */
.featured-card .cover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f3f3f3;
}
.featured-card .cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: translateZ(0);
}

/* Badges */
.badge {
  position: absolute;
  left: 10px; top: 10px;
  background: #111; color: #fff;
  font-size: 12px; line-height: 1;
  padding: .35rem .5rem;
  border-radius: 6px;
}
.badge.year {
  top: auto; bottom: 10px;
  background: #0a6efd;
}
.badge.role {
  background: #111; /* “Capa”, “Ensaio”, etc. */
}

/* Meta */
.featured-card .meta .title {
  margin: 0 0 .25rem;
  font-weight: 700;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}
.featured-card .pub-line {
  margin: 0 0 .5rem; color: #555;
}
.featured-card .details {
  margin: 0 0 .5rem; color: #333;
}
.featured-card .excerpt {
  margin: 0 0 .75rem; color: #333;
}

/* Ações */
.featured-card .actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem;}
.featured-card .btn {
  display: inline-block; padding: .5rem .75rem; 
  border-radius: 8px; text-decoration: none;
  background: #111; color: #fff;
}
.featured-card .btn.ghost {
  background: transparent; color: #111; border: 1px solid #111;
}

/* Tags */
.featured-card .tags { 
  list-style: none; margin: 0; padding: 0; 
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.featured-card .tags li {
  background: #f1f1f1; color: #333;
  padding: .25rem .5rem; border-radius: 999px; font-size: 12px;
}

/* Hover */
@media (hover:hover) {
  .featured-card:hover { 
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transform: translateY(-2px);
    transition: .25s ease;
  }
}

/* Suporte a seção escura */
.dark-section .featured-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.dark-section .featured-card .btn.ghost { color: #fff; border-color: #fff; }
.dark-section .featured-filters button { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); }
