@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/Nunito-Regular.woff2') format('woff2'),
        url('../fonts/Nunito-Regular.woff') format('woff'),
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-Bold.woff2') format('woff2'),
        url('../fonts/Nunito-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Nunito';
}

h2 {
    padding: 0 !important;
}

.dkq-header{
    border-bottom: 1px solid rgb(227 227 227);
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff; /* optional, so content doesn't show through */
}

.fixed-header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}

.site-branding {
    margin: 0;
}

.wp-custom-logo .site-header {
  padding: 15px 0;
}

.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-slider .slide {
  background-size: contain;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.slide-content {
  background: rgba(0, 0, 0, 0.5); /* Optional dark overlay */
  padding: 30px;
  border-radius: 10px;
}

/*.slide-content h2 {
  font-size: 2.5em;
  margin: 0 0 10px;
}

.slide-content p {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.slide-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}*/

.daily-quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quote-card {
  padding: 10px;
  text-align: center;
  border-radius: 8px;
}

.quote-card img,
.quote-card video {
  max-width: 100%;
  border-radius: 6px;
}

.quote-filters {
  text-align: center;
  margin-bottom: 20px;
}
.quote-filters button {
  margin: 0 5px;
  padding: 8px 16px;
}


.load-more-wrapper {
  text-align: center;
  margin-top: 30px;
}

#load-more-quotes {
    background: #181818;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

#load-more-quotes:hover {
  background: #181818;
}


.tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.tab-button {
  padding: 8px 20px;
  background: transparent !important;
  cursor: pointer;
  color: black !important;
  font-size: 18px;
}
.tab-button.active {
    border: 1px solid rgba(24, 24, 24, 1);
    background: transparent !important;
    color: black !important;
    border-radius: 50px;
    font-size: 18px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.quote-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.quote-category-card h3{
    color: #fff;
    position: absolute;
    bottom: 30px;
    font-size: 26px !important;
    left: 20px;
    font-weight: bold;
}

.quote-category-card {
  position: relative;
  padding: 10px;
  background: transparent;
  text-align: center;
  border-radius: 15px;
}

.quote-preview img,
.quote-preview iframe {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}


/* Search icon button */
.search-icon-button {
    color: #fff;
    width: 24px;
    margin-left: 20px;
}

/* Overlay popup */
.quote-search-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.quote-search-overlay.active {
  display: flex;
}

.quote-search-box {
    text-align: center;
    color: #fff;
}

.quote-search-box form{
    position: relative;
    width: 400px;
}

.quote-search-box input[type="text"] {
    width: 100%;
    padding: 11px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
}

.quote-search-box button[type="submit"] {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 15px;
    cursor: pointer;
    margin: 0;
    position: absolute;
    right: 0px;
    top: 1px;
}

#close-search-overlay {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}

.search-icon-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.search-icon-mobile {
  display: none;
}

.category-all-quotes{
    max-width: var(--responsive--alignwide-width);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.search-results-section{
    max-width: var(--responsive--alignwide-width);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.site-footer {
  background: #f5f5f5;
  padding: 30px 20px;
  font-size: 14px;
  color: #333;
   border-radius: 50px 50px 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  max-width: var(--responsive--alignwide-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.footer-social a {
    margin-left: 14px;
    font-size: 20px;
    color: #000;
}

.footer-bottom {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}


.newsletter-box {
  background-color: #f5f5f5;
  padding: 30px 20px;
  border-radius: 10px;
  margin: 30px auto;
  width: min(calc(100vw - 200px), 1240px);
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.newsletter-text {
  font-size: 18px;
  margin: 0;
  width: 100%;
}
.newsletter-box form{
    width: 100%;
}

.custom-newsletter-form {
  display: flex;
  max-width: 100%;
  margin: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
}

.custom-newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 14px;
}

.custom-newsletter-form button {
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-newsletter-form button:hover {
  background: #333;
}


.contact-section {
  margin: 40px auto;
  background: #f4f4f4;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  font-family: sans-serif;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}
.form-row span{
  width: 100%;
  font-size: 14px;
}

.form-row input,
.form-row textarea {
  flex: 1;
  padding: 12px 15px;
  background-color: #fff;
  border-radius: 10px;
  border:0;
  font-size: 16px;
  width: 100%;
}
.btn-contact-center input{
    width: max-content;
    margin: 0 auto;
    padding: 12px 60px !important;
}
.btn-contact-center input:hover{
    background-color: #000;
    color: #fff;
}

.form-row.full-width {
  flex-direction: column;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.center {
  display: flex;
  justify-content: center;
}

button[type="submit"] {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #333;
}


.error-404 {
    text-align: center;
    padding: 100px 20px;
    background-color: #f9f9f9;
    color: #333;
}
.error-404 h1 {
    font-size: 120px;
    margin-bottom: 10px;
    color: #1d2327;
}
.error-404 h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.error-404 p {
    font-size: 18px;
    margin-bottom: 30px;
}
.error-404 a.button {
    padding: 12px 24px;
    background-color: #1d2327;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}
.error-404 a.button:hover {
    background-color: #ff5e57;
}

.daily-quote-padding{
    padding-left: 90px !important;
}

.quote-category-padding{
    padding-left: 90px !important;
}

.home-quote-tab{
    background-color: #F3F3F3;
    /*border-radius: 75px;*/
}

.inner-banner{
    border-radius: 20px;
}

.contact-info-border{
    border-radius: 20px;
    border: 1px solid #D8DDE1;
    padding: 25px 10px;
    margin-bottom: 0 !important;
}

.contact-info-border h6{
    margin: 0px 0px 5px !important;
}

.contact-info-border .contact-text{
    gap: 10px !important;
}

.contact-info-border p{
    margin: 0 !important;
}

.wpcf7 form .wpcf7-response-output{
    font-size: 18px;
}

.mfp-bg,
.mfp-wrap {
    z-index: 99999 !important;
}

/* Fix Magnific Popup close button */
.mfp-close {
    background: transparent !important; /* remove any background */
    border: none !important;           /* remove unwanted border */
    box-shadow: none !important;       /* remove shadow if applied */
    opacity: 1 !important;             /* make it fully visible */
    color: #fff !important;            /* X icon color (white) */
    font-size: 28px;                   /* adjust size */
    line-height: 28px;                 /* align properly */
    right: 10px;                       /* spacing from right */
    top: 10px;                         /* spacing from top */
}

@media only screen and (max-width: 1000px) {
    .wp-custom-logo .site-header {
      padding: 35px 0;
    }
    .search-icon-button {
        margin-left: 0px;
        margin-top: 10px;
    }
    .contact-info-border .contact-text {
        gap: 10px !important;
        flex-direction: column;
    }
    .contact-info-border .contact-text h6, .contact-info-border .contact-text p{
        text-align: center;
    }
}

@media (max-width: 768px) {
    /*.slide-content h2 {
    font-size: 1.5em;
    }

    .slide-content p {
    font-size: 1em;
    }*/

    .search-icon-mobile {
    display: block;
    }

    /* Optional: hide the top-right search icon on mobile if duplicated */
    .header-right .search-icon-button {
    display: none;
    }

    .newsletter-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }
}


@media (max-width: 991px) {
    .quote-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .quote-category-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 821px) {
    .newsletter-box {
        width: min(calc(100vw - 50px), 1240px);
    }
    .footer-container{
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .quote-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .daily-quote-padding{
        padding-left: 0 !important;
    }

    .quote-category-padding{
        padding-left: 0 !important;
    }


}

@media (max-width: 600px) {
    .custom-newsletter-form {
        flex-direction: column;
        gap: 20px;
    }
    .quote-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .quote-category-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .tab-button, .tab-button.active{
        font-size: 14px;
    }

    .tab-buttons{
        gap: 10px;
    }
    .tab-button{
        padding: 8px 10px;
    }
    .home-quote-tab{
        border-radius: 20px;
    }
    .footer-links li a {
        font-size: 14px;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .quote-search-box form{
        position: relative;
        width: 320px;
    }
    .form-row {
        flex-direction: column;
    }
}