/*
 Theme Name:   Breek Child
 Theme URI:    https://giveawaydrop.com/
 Description:  Child theme Breek khusus giveaway & sweepstakes
 Author:       GiveawayDrop
 Author URI:   https://giveawaydrop.com/
 Template:     breek
 Text Domain:  breek-child
 Version:      1.0
*/

/* Tambahkan custom CSS Anda di bawah ini */

/* Contoh: warna khusus untuk link giveaway */
.giveaway-link a {
    font-weight: 600;
    text-decoration: underline;
}

/* Kotak khusus info giveaway di atas konten */
.giveaway-meta-box {
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Tombol "Enter Giveaway" */
.giveaway-cta-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Widget sidebar khusus Recent Giveaways */
.widget_recent_giveaways ul li {
    margin-bottom: 12px;
}

.widget_recent_giveaways .thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
}

.giveawaydrop-home {
  font-size: 16px;
  line-height: 1.6;
}

.gd-section {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.gd-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.gd-hero h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.gd-intro {
  max-width: 720px;
}

.gd-section h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.gd-section-desc {
  margin-bottom: 20px;
  max-width: 720px;
}

.gd-grid {
  display: grid;
  gap: 18px;
}

.gd-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gd-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  background: #ffffff;
}

.gd-card-compact h3 {
  font-size: 1rem;
}

.gd-card h3 a {
  text-decoration: none;
}

.gd-card h3 a:hover {
  text-decoration: underline;
}

.gd-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.gd-text {
  margin: 8px 0 12px;
}

.gd-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.9rem;
}

.gd-btn:hover {
  opacity: 0.9;
}

.gd-label {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.gd-label-hot {
  background: #fee2e2;
  color: #b91c1c;
}

.gd-view-all {
  margin-top: 14px;
}

.gd-link-more {
  font-size: 0.9rem;
  text-decoration: none;
}

.gd-link-more:hover {
  text-decoration: underline;
}

.gd-winner-item {
  margin-bottom: 10px;
}

.gd-newsletter {
  background: #f9fafb;
}

.gd-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.gd-newsletter-form input[type="email"] {
  flex: 1 1 220px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

.gd-newsletter-form button {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #111827;
  color: #ffffff;
}

.gd-faq-item {
  margin-bottom: 14px;
}

.gd-faq-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .gd-hero h1 {
    font-size: 1.6rem;
  }
}

/* ====== GIVEAWAYDROP HOMEPAGE LAYOUT ====== */

/* Paksa warna text lebih jelas di atas background Breek */
.giveawaydrop-home,
.giveawaydrop-home h1,
.giveawaydrop-home h2,
.giveawaydrop-home h3,
.giveawaydrop-home p,
.giveawaydrop-home a {
  color: #ffffff;
}

.giveawaydrop-home a {
  text-decoration: none;
}

.giveawaydrop-home a:hover {
  text-decoration: underline;
}

/* ====== CONTAINER ====== */
.gd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== SECTION SPACING ====== */
.gd-section {
  padding: 50px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gd-hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.gd-section h2 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 700;
}

.gd-section-desc {
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 700px;
}

/* ===== GRID SYSTEM ===== */
.gd-grid {
  display: grid;
  gap: 25px;
  margin-top: 20px;
}

.gd-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ====== CARD STYLING ====== */
.gd-card {
  padding: 20px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
}

.gd-card-compact {
  padding: 16px;
}

.gd-card h3 {
  margin-bottom: 8px;
  line-height: 1.35;
}

.gd-card h3 a {
  color: #ffffff;
}

.gd-meta {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.gd-text {
  margin: 8px 0 12px;
}

/* ====== BUTTON ====== */
.gd-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  transition: 0.2s;
}

.gd-btn:hover {
  opacity: 0.88;
}

/* ===== LABEL ====== */
.gd-label {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.gd-label-hot {
  background: #ffcccc;
  color: #770000;
}

/* ===== VIEW ALL LINK ===== */
.gd-view-all {
  margin-top: 15px;
}

.gd-link-more {
  font-size: 14px;
  color: #ffffff;
}

/* ===== WINNERS ===== */
.gd-winner-item {
  margin-bottom: 12px;
}

/* ===== NEWSLETTER ===== */
.gd-newsletter {
  background: rgba(0,0,0,0.25);
}

.gd-newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.gd-newsletter-form input[type="email"] {
  flex: 1 1 260px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #bbb;
  color: #111;
}

.gd-newsletter-form button {
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #ffffff;
  color: #111111;
}

/* ===== FAQ ===== */
.gd-faq-item {
  margin-bottom: 18px;
}

.gd-faq-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

/* ===== MOBILE TWEAKS ===== */
@media(max-width: 600px) {
  .gd-section {
    padding: 35px 0;
  }

  .gd-hero h1 {
    font-size: 24px;
  }

  .gd-section h2 {
    font-size: 20px;
  }

  .gd-card {
    padding: 15px;
  }
}

/* Masonry-style giveaway cards */
.gd-card-masonry {
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  color: #111;
}

.gd-card-masonry .gd-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.gd-card-thumb {
  display: block;
  overflow: hidden;
}

.gd-card-body {
  padding: 18px 20px 20px;
}

.gd-card-title {
  font-size: 18px;
  margin: 8px 0 10px;
}

.gd-card-title a {
  color: #111;
  text-decoration: none;
}

.gd-card-title a:hover {
  text-decoration: underline;
}

.gd-end-date {
  font-size: 14px;
  margin-top: 6px;
  color: #16a34a;
}

.gd-end-date span {
  font-weight: 600;
}

.gd-card-masonry .gd-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.gd-thumb-placeholder {
  width: 100%;
  padding-top: 52%;
  background: #e5e7eb;
}

.brand-index .page-title {
    font-weight: bold;
    color: #ffffff;
}

.brand-index .page-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.brand-index .page-subtitle {
    max-width: 640px;
    margin: 0.5rem auto 0;
    opacity: 0.8;
    color: #ffffff;
}

.brand-list {
    max-width: 1280px;
    margin: 0 auto 3rem;
    color: #ffffff;
}

.brand-letter-section {
    margin-bottom: 2rem;
}

.brand-letter-heading {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.25rem;
    color: #ffffff;
}

.brand-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
    color: #ffffff;
}

.brand-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 1.25rem;
    color: #ffffff;
}

.brand-item a:hover {
    border-color: #ddd;
}

.brand-count {
    font-size: 1rem;
    opacity: 0.7;
    color: #ffffff;
}

