@charset "UTF-8";
/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Diva Dirt custom theme
 Author:       Diva Dirt Team
 Template:     generatepress
 Version:      1.0
*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   GLOBAL STRUCTURE + WRAPPERS
   ========================================================================== */
.center-wrap {
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.inside-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* ==========================================================================
   TOP BLACK HEADER BAR (Desktop Only)
   ========================================================================== */
/* Wrapper background, padding, bottom border */
.dd-top-bar-wrap {
  background: #000000;
  color: #bbb;
  font-size: 13px;
  padding: 8px 20px;
  border-bottom: 1px solid #111;
}

/* Flex container for left/right groups */
.dd-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

/* Left group: date */
.dd-top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.dd-date {
  color: #aaa;
}

/* Right group: Submit, social icons, search */
.dd-top-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Submit News link styling */
.dd-submit-news {
  display: flex;
  align-items: center;
  color: #e50914;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.dd-submit-news i {
  margin-right: 4px;
  opacity: 0.7;
}
.dd-submit-news:hover {
  color: #fff;
  text-decoration: underline;
}

/* Social icons styling */
.dd-social-icons {
  display: flex;
  gap: 12px;
  font-size: 16px;
}
.dd-social-icons a {
  color: #fff;
  transition: color 0.2s;
}
.dd-social-icons a:hover {
  color: #e50914;
}

/* Search form container */
#dd-search-form {
  display: flex;
  align-items: center;
  height: 32px;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
#dd-search-form input[type=text] {
  flex: 1;
  height: 100%;
  padding: 0 20px;
  border: none;
  font-size: 14px;
  color: #333;
}
#dd-search-form input[type=text]::placeholder {
  color: #aaa;
}
#dd-search-form button {
  width: 40px;
  height: 100%;
  background: #e50914;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
#dd-search-form button i {
  color: #fff;
  font-size: 16px;
}
#dd-search-form button:hover {
  background: #b2070f;
}

/* ==========================================================================
   SITE HEADER + NAVIGATION
   ========================================================================== */
.site-header {
  background-color: #d80000;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  max-height: 70px;
  height: auto;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-navigation ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-navigation a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}
.main-navigation a:hover, .current-menu-item .main-navigation a {
  color: #ffe3ca;
}
.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background-color: #ffe3ca;
  transition: width 0.3s ease;
}
.main-navigation a:hover::after {
  width: 100%;
}

/* ==========================================================================
   SECTION TITLE
   ========================================================================== */
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
  border-bottom: 2px solid #d80000;
  display: inline-block;
  padding-bottom: 4px;
}

/* ==========================================================================
   TOP STORY STRIP (Under Hero)
   ========================================================================== */
.dd-top-story-bar {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.dd-top-story-label {
  background: #c00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  display: inline-block;
}

/* ==========================================================================
   POPULAR POSTS (WPP)
   ========================================================================== */
.wpp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wpp-list li {
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0;
}
.wpp-list li a {
  text-decoration: none;
  color: #111;
  transition: color 0.2s;
}
.wpp-list li a:hover {
  color: #c00;
}

/* ==========================================================================
   FEATURED GRID: TOP STORIES
   ========================================================================== */
.dd-featured-grid {
  margin-bottom: 40px;
  gap: 24px;
}

.dd-featured-hero,
.dd-featured-support {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dd-featured-hero {
  flex: 1;
  position: relative;
}
.dd-featured-hero figure.wp-block-post-featured-image {
  position: relative;
  overflow: hidden;
}
.dd-featured-hero img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dd-featured-hero figure:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.dd-featured-hero figure:hover .overlay-title {
  transform: translateY(-4px);
}
.dd-featured-hero .overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  margin: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Support Grid 2x2 */
.dd-featured-support {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dd-featured-support figure.wp-block-post-featured-image {
  position: relative;
  overflow: hidden;
}
.dd-featured-support img {
  aspect-ratio: 1.7777777778;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dd-featured-support figure:hover img {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.dd-featured-support figure:hover .overlay-title {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
  transform: translateY(-3px);
}
.dd-featured-support .overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  margin: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Overlay generic wrapper */
.overlay-wrapper {
  position: relative;
  display: block;
}
.overlay-wrapper img {
  width: 100%;
  height: auto;
}

.overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.overlay-title a {
  color: #fff !important;
  text-decoration: none;
}
.overlay-title a:hover {
  color: #eee !important;
}

/* ==========================================================================
   MOBILE STYLES (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Stack into two rows */
  .dd-top-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  /* Row 1: Date + Submit News */
  .dd-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }
  .dd-date {
    font-size: 13px;
    color: #ccc;
  }
  .dd-submit-news {
    font-size: 13px;
  }
  /* Row 2: Social + Search side-by-side */
  .dd-top-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 12px;
  }
  /* Social icons (left) */
  .dd-social-icons {
    display: flex;
    gap: 16px;
    font-size: 20px;
  }
  /* Search bar (right) */
  #dd-search-form {
    display: flex;
    align-items: center;
    width: auto;
    max-width: 65%;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
  }
  #dd-search-form input[type=text] {
    flex: 1;
    height: 36px;
    padding: 6px 20px;
    font-size: 14px;
  }
  #dd-search-form button {
    width: 40px;
    height: 36px;
  }
  /* ──────────────────────────────────────────────────────────────────────────
     MOBILE ROW 2 FLEX FIX: allow search form to shrink so the button never 
     gets pushed off-screen or cut off.
     ────────────────────────────────────────────────────────────────────────── */
  .dd-top-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 12px;
  }
  /* Let the form take remaining space but be allowed to shrink below its content width */
  #dd-search-form {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
  }
  #dd-search-form input[type=text] {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    padding: 6px 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #dd-search-form button {
    flex: 0 0 auto;
    width: 40px;
    height: 36px;
    margin-left: 4px;
    background: #e50914;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  /* ==========================================================================
     MOBILE NARROW-SCREEN FIX (≤480px)
     ========================================================================== */
}
@media (max-width: 768px) and (max-width: 480px) {
  /* Make sure the form never overflows */
  #dd-search-form {
    max-width: 100%;
    box-sizing: border-box;
  }
  #dd-search-form input[type=text] {
    flex: 1 1 0% !important;
    padding: 6px 8px !important;
  }
  #dd-search-form button {
    flex: 0 0 auto !important;
    width: 34px !important;
    margin-left: 2px !important;
  }
}

/*# sourceMappingURL=style.css.map */
