p {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.stickyHeader {
  position: static !important;
}

.hamburger_menu a {
  line-height: unset !important;
}

form.wpcf7-form span {
  width: 100%;
}

.no-posts {
  min-height: 50vh;
}

.bnq__cookie_area button {
  line-height: 1;
}

#wpadminbar .quicklinks .ab-empty-item,
#wpadminbar .quicklinks a,
#wpadminbar .shortlink-input {
  display: flex;
}

.loading-custom #loading-center-absolute {
  animation: none !important;
  transform: none;
  width: 250px !important;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(2px 4px 6px black);
}

.magazine-content a[href] {
  color: #e01a80;
}

header.benqu-main-header.pfy-header-2 div#pfytopbar.pfy-top-bar,
.pfy-footer-bottm {
  background: #e01a80 !important;
}

header.benqu-main-header.pfy-header-2 .header-menu {
  background-color: #f5eee4 !important;
}

.pfy-top-left .breaking-heading {
  flex: 1 !important;
}

.owl-dots {
  display: none;
}

.head_line h2 {
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}

.head_line h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #e01a80;
}

.head_line h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 100%;
  max-width: 175px;
  background-color: #e01a80;
}

/* ===============================================
   SINGLE MAGAZINE PAGE STYLES
   =============================================== */

/* Container */
.magazine-single-container {
  max-width: 1200px;
  min-height: 80vh;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
  width: 100%;
}

/* Magazine Article */
.magazine-single {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 40px;
}

/* Magazine Header */
.magazine-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  background-color: #0077b5;
  border-bottom: 1px solid #dee2e6;
}

.magazine-cover {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.magazine-cover-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.magazine-cover-image:hover {
  transform: scale(1.02);
}

.magazine-title-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.magazine-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

/* Magazine Meta */
.magazine-meta {
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.magazine-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.magazine-meta-item,
ul.pfy-post-gd-meta {
  display: none ;
}

.meta-label {
  font-weight: 600;
  color: #fff;
  min-width: 80px;
  text-align: left;
}

.magazine-date,
.magazine-author {
  color: #fff;
  font-weight: 500;
}

.magazine-categories,
.magazine-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.magazine-category-tag {
  background: #007bff;
  color: #fff;
  padding: 4px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.magazine-category-tag:hover {
  background: #0056b3;
  color: #fff;
  text-decoration: none;
}

.magazine-tag {
  background: #6c757d;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.magazine-tag:hover {
  background: #495057;
  color: #fff;
  text-decoration: none;
}

/* Magazine Excerpt */
.magazine-excerpt {
  padding: 30px 40px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.excerpt-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #495057;
  margin: 0 0 15px 0;
}

.excerpt-content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #6c757d;
}

/* Magazine Content */
.magazine-content {
  padding: 40px;
}

.magazine-content-wrapper {
  font-size: 1rem;
  line-height: 1.7;
  color: #212529;
}

.magazine-content-wrapper h1,
.magazine-content-wrapper h2,
.magazine-content-wrapper h3,
.magazine-content-wrapper h4,
.magazine-content-wrapper h5,
.magazine-content-wrapper h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #212529;
}

.magazine-content-wrapper p {
  margin-bottom: 20px;
}

.magazine-content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Page Links */
.page-links {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.page-links-title {
  font-weight: 600;
  margin-right: 15px;
}

.page-links a {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 5px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-links a:hover {
  background: #0056b3;
}

/* Custom Fields */
.magazine-custom-fields {
  padding: 30px 40px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.magazine-custom-fields h3 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  color: #495057;
}

.custom-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.custom-field-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background: #fff;
  border-radius: 6px;
  border-left: 4px solid #007bff;
}

.field-label {
  font-weight: 600;
  color: #495057;
}

.field-value {
  color: #212529;
}

.magazine-signup {
  text-align: center;
  margin-block: 40px;
  padding: 30px;
  background: #e01a80;
  border-radius: 12px;
}

.magazine-signup h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

/* Magazine Footer */
.magazine-footer {
  padding: 40px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

/* Share Buttons */
.magazine-share {
  margin-bottom: 30px;
}

.magazine-share h4 {
  margin: 0 0 15px 0;
  color: #495057;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #3b5998;
  color: #fff;
}

.share-btn.twitter {
  background: #1da1f2;
  color: #fff;
}

.share-btn.linkedin {
  background: #0077b5;
  color: #fff;
}

.share-btn.email {
  background: #6c757d;
  color: #fff;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #fff;
}

/* Navigation */
.magazine-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.magazine-nav-link {
  display: block;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #212529;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.magazine-nav-link:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: #212529;
}

.nav-direction {
  display: block;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.nav-title {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-next .magazine-nav-link {
  text-align: right;
}

/* Back to Archive */
.back-to-archive {
  text-align: center;
}

a.archive-link {
  display: inline-block;
  padding: 12px 25px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.archive-link:hover {
  background: #0056b3;
  text-decoration: none;
  color: #fff;
}

/* Comments */
.magazine-comments {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* No Magazine Found */
.no-magazine-found {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.no-magazine-found h1 {
  color: #495057;
  margin-bottom: 15px;
}

.no-magazine-found p {
  color: #6c757d;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
  .magazine-single-container {
    padding: 10px;
  }

  .magazine-header {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }

  .magazine-title {
    font-size: 2rem;
  }

  .magazine-content,
  .magazine-custom-fields,
  .magazine-footer {
    padding: 20px;
  }

  .magazine-excerpt {
    padding: 20px;
  }

  .magazine-navigation {
    grid-template-columns: 1fr;
  }

  .custom-fields-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .magazine-title {
    font-size: 1.6rem;
  }

  .magazine-meta-item {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .meta-label {
    min-width: auto;
  }

  .share-btn {
    width: 46%;
    text-align: center;
  }
}

/* ===============================================
   MAGAZINE FEATURED IMAGE STYLES
   =============================================== */

/* Magazine Cover Base Styles */
.magazine-cover {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.magazine-cover-image {
  max-width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

/* Cover Styles */
.magazine-cover-shadow .magazine-cover-image {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.magazine-cover-border .magazine-cover-image {
  border: 3px solid #dee2e6;
  border-radius: 4px;
}

.magazine-cover-rounded .magazine-cover-image {
  border-radius: 12px;
}

.magazine-cover-plain .magazine-cover-image {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Cover Position Styles */
.magazine-cover-left {
  text-align: left;
}

.magazine-cover-center {
  text-align: center;
}

.magazine-cover-right {
  text-align: right;
}

/* Hover Effects */
.magazine-cover-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Magazine Cover Fallback */
.magazine-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #ced4da;
  border-radius: 8px;
  min-height: 300px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.magazine-cover-placeholder {
  text-align: center;
  color: #6c757d;
}

.magazine-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 15px;
  opacity: 0.7;
}

.magazine-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #495057;
}

/* Admin Meta Box Styles */
.magazine-cover-meta-box {
  padding: 15px;
}

.magazine-cover-meta-box .form-table {
  margin: 0;
}

.magazine-cover-meta-box .form-table th {
  padding: 10px 0;
  font-weight: 600;
  color: #23282d;
}

.magazine-cover-meta-box .form-table td {
  padding: 10px 0;
}

.magazine-cover-meta-box select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

/* Different Magazine Cover Sizes */
.magazine-cover-large .magazine-cover-image {
  max-width: 800px;
}

.magazine-cover-medium .magazine-cover-image {
  max-width: 400px;
}

.magazine-cover-small .magazine-cover-image {
  max-width: 200px;
}

.magazine-cover-wide .magazine-cover-image {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 2/1;
}

/* Magazine Archive/List Covers */
.magazine-list .magazine-cover {
  margin-bottom: 15px;
}

.magazine-list .magazine-cover-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazine-list .magazine-cover:hover .magazine-cover-image {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Magazine Card Covers */
.magazine-card .magazine-cover {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.magazine-card .magazine-cover-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.magazine-card:hover .magazine-cover-image {
  transform: scale(1.05);
}

/* Single Magazine Page Cover */
.single-magazine .magazine-cover {
  margin-bottom: 20px;
  max-width: 300px;
}

.single-magazine .magazine-cover-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.magazine-comments div#comments.comments-area {
  margin: 0;
}

/* Featured Magazine Cover (Homepage/Widget) */
.featured-magazine-cover {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.featured-magazine-cover .magazine-cover-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-magazine-cover:hover .magazine-cover-image {
  transform: scale(1.1);
}

.featured-magazine-cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(0, 0, 0, 0.1) 0%,
      transparent 50%,
      rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pfy-default-post-ly .pfy-post-content .pfy-post-title {
    font-size: 22px !important;
  }

  .magazine-cover-fallback {
    min-height: 200px;
    max-width: 250px;
  }

  .magazine-nav-link {
    padding: 10px;
  }

  .magazine-icon {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .magazine-text {
    font-size: 1rem;
  }

  .single-magazine .magazine-cover {
    max-width: 250px;
    margin: 0 auto 20px;
  }

  .featured-magazine-cover .magazine-cover-image {
    height: 300px;
  }

  .magazine-card .magazine-cover-image {
    height: 200px;
  }

  .comments-area .comment-reply-title {
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  .magazine-cover-fallback {
    min-height: 150px;
    max-width: 200px;
  }

  .magazine-icon {
    font-size: 2.5rem;
  }

  .single-magazine .magazine-cover {
    max-width: 200px;
  }

  .featured-magazine-cover .magazine-cover-image {
    height: 250px;
  }

  .magazine-card .magazine-cover-image {
    height: 180px;
  }
}

/* Print Styles */
@media print {
  .magazine-cover-image {
    max-width: 300px;
    break-inside: avoid;
  }

  .magazine-cover-fallback {
    display: none;
  }
}

/* High DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .magazine-cover-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .magazine-cover-fallback {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #4a5568;
  }

  .magazine-text {
    color: #e2e8f0;
  }

  .magazine-cover-meta-box select {
    background: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568;
  }
}

/* Accessibility Improvements */
.magazine-cover-image:focus {
  outline: 3px solid #007bff;
  outline-offset: 3px;
}

.magazine-cover a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Animation for loading covers */
@keyframes magazineCoverLoad {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.magazine-cover-image {
  animation: magazineCoverLoad 0.5s ease-out;
}

/* Lazy loading placeholder */
.magazine-cover-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: magazineCoverSkeleton 1.5s ease-in-out infinite;
}

@keyframes magazineCoverSkeleton {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* 09/12/2025 */
.contact_head_line h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 100%;
  max-width: 175px;
  background-color: #ffffff;
}

.contact_head_line h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #ffffff;
}

.contact_head_line h2 {
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}

#contact_form input,
#contact_form textarea {
  outline: none;
}

#contact_form .bnq__cf-wrap button {
  height: unset;
}

#contact_form button {
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin-left: auto;
  transition: 0.25s;
}

#contact_form button:hover {
  background: #333;
  transform: translateY(-2px);
}

.footer-btm-nav ul li a,
.footer-copyright p,
.socila-title h5,
.social-info a {
  color: #fff !important;
}

.footer-btm-nav ul li a:hover,
.footer-copyright p:hover,
.social-info a:hover {
  color: #000 !important;
}

.footer-btm-nav ul li:not(:last-child) {
  padding-inline: 15px;
}

.pfy-post-main-post-wrap {
  min-height: 70vh;
}