/*
Theme Name: Mehndi Theme
Theme URI: https://mehndidesigns.art
Author: mehndidesigns.art
Description: designed by mehndidesigns.art
Version: 1.0
License: GPL-2.0+
Text Domain: mehndidesigns
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

:root {
  /* ————————————————————————————
     Primary & Secondary
  ———————————————————————————— */

  /* Primary hue: warm, rich henna brown (for buttons, headers) */
  --color-primary:   #7A4C2A;

  /* Secondary tone: muted terra cotta (for sub-buttons, links) */
  --color-secondary: #B08A57;

  /* ————————————————————————————
     Accent & Highlight
  ———————————————————————————— */
  /* Accent: soft antique gold (for call-to-action, icons) */
  --color-accent:    #D4A95A;

  /* Highlight: lighter olive green (for borders, toggles) */
  --color-highlight: #A3AF6A;

  /* ————————————————————————————
     Backgrounds & Surfaces
  ———————————————————————————— */
  /* Main page background: off-white with a warm undertone */
  --color-bg:        #FEFBF7;

  /* Surface (cards, modals): very light ivory for subtle layering */
  --color-surface:   #FFF8F0;
  /* ————————————————————————————
     Text & Muted
  ———————————————————————————— */
  /* Primary text: dark charcoal (strong contrast on bg/surface) */
  --color-text:      #2E2E2E;
  /* Muted/text fallback: warm taupe (for secondary text, placeholders) */
  --color-muted:     #8C6A4D;
}
html,body,*{
	font-family: 'Comic Sans MS', cursive, sans-serif;
	color: var(--color-text);
}
.background{
	background-image: linear-gradient(135deg, /* pastel pink */ #FFD1DC 0%, /* pastel peach */ #FFE4C4 25%, /* pastel yellow */ #FFF9C4 50%, /* pastel mint */ #C8E6C9 75%, /* pastel lavender */ #E1BEE7 100%);
    background-repeat: no-repeat;
    background-size: cover;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#primaryNav.show {
  border-top: 1px solid #fff;
  margin-top: 10px;
}
.navbar-nav .dropdown-menu {
    min-width: 250px;
}
.h1,
h1 {
  color: var(--color-primary) !important;
}

.h2,
h2 {
  font-size: calc(1rem + 0.9vw) !important;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a{
	padding: 5px !important;
}
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-body{
	padding: 10px !important;
}
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-body p{
	margin: 0;
}
.h2:after,
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

button {
  background-color: var(--color-secondary);
  color: var(--color-surface);
}

#loveToast{
  background-color: var(--color-surface);
}

.single-content article img {
  vertical-align: baseline;
}

#article-content img:hover {
  cursor: pointer;
  scale: 1.01;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 2rem;
  margin: 1rem 0;
}

.social-icons a {
  color: var(--color-text);
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.like-button {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #ff6fb1;
  color: var(--color-text);
  border: none;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.like-button:hover {
  background: #e73370;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: auto;
}

.social-icons a[aria-label="Facebook"] i {
  color: #1877F2;
  /* Facebook Blue */
}

.social-icons a[aria-label="Pinterest"] i {
  color: #E60023;
  /* Pinterest Red */
}

.social-icons a[aria-label="YouTube"] i {
  color: #FF0000;
  /* YouTube Red */
}

.social-icons a[aria-label="Instagram"] i {
  /* Instagram gradient lồng vào bằng background-clip */
  background: radial-gradient(circle at 30% 107%, #fdf497 0%,
      #fdf497 5%, #fd5949 45%, #d6249f 60%,
      #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-icons a[aria-label="DeviantArt"] i {
  color: #05CC47;
}

.social-icons a[aria-label="TikTok"] i {
  color: #000000;
}

.social-icons a:hover i {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.story-content-overlay__author,.story-content-overlay__date{
	color:#FFFFFF !important;
}
@media (min-width: 768px) {
  #article-content img {
    max-width: 300px;
  }
}

#lightboxCarousel img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

#lightboxCarousel img {
  transition: transform .3s ease;
}

.zoom-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  overflow: scroll;
}


.zoom-container img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}


.zoom-container img {
  transition: transform .3s ease;
  transform-origin: center center;
}