/* ==========================================================================
   MAGAZINE STYLES - REFACTORED & ORGANIZED
   BEM METHODOLOGY & BOOTSTRAP 5 TOKENS
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Bootstrap 5 Custom Tokens */
  --bs-primary: #000000;
  --bs-secondary: #6c757d;
  --bs-dark: #000000;
  --bs-light: #f8f9fa;
  --bs-white: #ffffff;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-900: #212529;
  --bs-btn-active-bg: var(--bs-primary);

  /* Custom Brand Tokens */
  --penthouse-black: #000000;
  --penthouse-white: #ffffff;
  --penthouse-gray: #999999;
  --penthouse-shadow: rgba(0, 0, 0, 0.15);

  /* Typography Tokens */
  --font-primary: 'Roboto', sans-serif;
  --font-serif: 'Prata', serif;
  --font-display: 'Playfair Display', serif;

  /* Spacing Tokens */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-xxl: 3rem;
  /* 48px */

  /* Border Radius Override - Remove all radius */
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
}

/* ==========================================================================
   2. GLOBAL STYLES & RESETS
   ========================================================================== */

/* Global Font Family */
* {
  font-family: var(--font-primary);
}

/* Body Base Styles */
body {
  font-size: 16px;
  color: var(--penthouse-black);
  scroll-behavior: smooth;
}

/* Text Selection Styling */
::selection {
  background-color: black;
  color: white;
}

::-moz-selection {
  background-color: black;
  color: white;
}

/* Remove Border Radius from Bootstrap Components */
.btn,
.card,
.dropdown-menu,
.form-control,
.nav-tabs .nav-link,
.tab-pane,
.modal-content,
.alert {
  border-radius: 0 !important;
}

/* Utility Classes */
.bg-gray {
  background-color: var(--bs-gray-100);
}

.bg-dark {
  background-color: var(--penthouse-black) !important;
}

.Playfair {
  font-family: var(--font-display);
}

.display-7 {
  font-size: 2.1rem;
}

h1 {
  font-size: 2em;
  /* or whatever size you prefer */
}

/* Or be more specific if needed */
article h1,
aside h1,
nav h1,
section h1 {
  font-size: 2em;
}

/* ==========================================================================
   3. HEADER COMPONENT
   ========================================================================== */

/* Block: header */
.header {
  background-color: var(--penthouse-black);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-xl);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Element: header__section */
.header__section {
  display: flex;
  align-items: center;
  flex: 1;
}

.header__section--left {
  gap: var(--spacing-md);
}

.header__section--center {
  justify-content: center;
}

.header__section--right {
  gap: var(--spacing-lg);
  justify-content: flex-end;
}

/* Element: header__icon */
.header__icon {
  height: 30px;
  width: auto;
}

/* Element: header__logo */
.header__logo {
  color: var(--penthouse-white);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 6px;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.header__logo:hover {
  color: var(--penthouse-white);
}

.header__logo img {
  height: 55px;
  width: auto;
}

/* ==========================================================================
   4. BUTTON COMPONENTS
   ========================================================================== */

/* Block: btn-custom - Base Styles */
.btn-custom {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
}

/* Element & Modifier: btn-custom--icon */
.btn-custom--icon {
  background: none;
  color: var(--penthouse-white);
  font-size: 1.125rem;
  padding: var(--spacing-sm);
}

.btn-custom--icon:hover {
  opacity: 1;
}

/* Element & Modifier: btn-custom--search */
.btn-custom--search {
  color: var(--penthouse-white);
  font-size: 1.25rem;
}

.btn-custom--search:hover {
  opacity: 1;
  color: #fff;
}

/* Element & Modifier: btn-custom--signup */
.btn-custom--signup {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 1px solid var(--penthouse-white);
  font-size: 0.875rem;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: solid 1px transparent;
  outline-offset: 1px;
}

.btn-custom--signup:hover {
  background-color: var(--bs-gray-100);
  color: var(--penthouse-black);
  outline: solid 1px white;
  outline-offset: 1px;
}

/* Element & Modifier: btn-custom--login */
.btn-custom--login {
  background-color: transparent;
  color: var(--penthouse-white);
  border: 1px solid transparent;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  padding: var(--spacing-sm) var(--spacing-lg);
  white-space: nowrap;
}

.btn-custom--login:hover {
  background-color: #333;
  border: 1px solid #333;
}

/* Element & Modifier: btn-custom--mobile-menu */
.btn-custom--mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--penthouse-white);
  font-size: 1.5rem;
  padding: var(--spacing-xs);
  width: 30px;
}

/* Bootstrap Button Overrides */
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

.header-close {
  height: auto;
  text-align: right;
  width: 100%;
  padding: 5px;
  padding-right: 35px;
}

/* ==========================================================================
   5. LOGIN DROPDOWN COMPONENT
   ========================================================================== */

/* Block: login-dropdown */
.login-dropdown {
  position: relative;
  display: inline-block;
}

/* Element: login-dropdown__menu */
.login-dropdown__menu {
  position: absolute;
  top: 70px;
  right: 0;
  background-color: var(--penthouse-black);
  width: 300px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px var(--penthouse-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-radius: 0;
}

/* Element: login-dropdown__title */
.login-dropdown__title {
  color: var(--penthouse-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 2px;
  text-align: center;
  border-bottom: solid 2px var(--penthouse-white);
  padding-bottom: var(--spacing-md);
  text-transform: uppercase;
}

/* Element: login-dropdown__form */
.login-dropdown__form input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border: none;
  background-color: var(--penthouse-white);
  font-size: 0.875rem;
  outline: none;
  box-sizing: border-box;
  border-radius: 0;
}

.login-dropdown__form input::placeholder {
  color: var(--penthouse-gray);
  font-size: 0.75rem;
}

/* Element: login-dropdown__password-field */
.login-dropdown__password-field {
  position: relative;
}

.login-dropdown__password-field input {
  padding-right: 40px;
}

/* Element: login-dropdown__password-toggle */
.login-dropdown__password-toggle {
  position: absolute;
  right: var(--spacing-sm) var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: calc(-1 * var(--spacing-sm));
}

/* Element: login-dropdown__submit */
.login-dropdown__submit {
  width: 100%;
  background-color: transparent;
  color: var(--penthouse-white);
  border: 1px solid var(--penthouse-white);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
  border-radius: 0;
}

.login-dropdown__submit:hover {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
}

/* Element: login-dropdown__links */
.login-dropdown__links {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
}

.login-dropdown__links a {
  color: var(--penthouse-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-dropdown__links a:hover {
  color: var(--penthouse-white);
}

/* Password Toggle Icons */
.fa-eye {
  position: absolute;
  left: -25px;
  top: -7px;
}

.fa-eye-slash {
  position: absolute;
  left: -26px;
  top: -7px;
}

/* ==========================================================================
   6. MOBILE MENU COMPONENT
   ========================================================================== */

/* Block: mobile-menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--penthouse-black);
  border-top: 1px solid var(--bs-secondary);
  z-index: 1000;
}

/* Modifier: mobile-menu--active */
.mobile-menu--active {
  display: block;
}

/* Element: mobile-menu__content */
.mobile-menu__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* Element: mobile-menu__search */
.mobile-menu__search {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  background-color: var(--penthouse-white);
  font-size: 0.875rem;
  outline: none;
  border-radius: 0;
}

/* Element: mobile-menu__buttons */
.mobile-menu__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-menu__buttons .btn-custom--signup,
.mobile-menu__buttons .btn-custom--login {
  width: 100%;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.75rem;
}

/* Element: mobile-menu__login-section */
.mobile-menu__login-section .login-dropdown__title {
  margin-top: var(--spacing-lg);
  text-transform: uppercase;
}

/* ==========================================================================
   7. MAGAZINE TABS COMPONENT
   ========================================================================== */

/* Block: magazine-tabs */
.magazine-tabs {
  border: 0;
}

/* Element: magazine-tabs__item */
.magazine-tabs__item {
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Element: magazine-tabs__link */
.magazine-tabs__link {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Element: magazine-tabs__card */
.magazine-tabs__card {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Element: magazine-tabs__footer */
.magazine-tabs__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);
}

/* Modifier: magazine-tabs__footer--penthouse (inactive state) */
.magazine-tabs__footer--penthouse {
  background: rgba(255, 255, 255, 0.95);
  color: var(--penthouse-black);
}

.magazine-tabs__footer--penthouse img {
  transition: filter 0.3s ease;
  filter: invert(1);
  /* Default inverted */
}

/* Modifier: magazine-tabs__footer--letters (inactive state) */
.magazine-tabs__footer--letters {
  background: rgba(255, 255, 255, 0.95);
  color: var(--penthouse-black);
}

.magazine-tabs__footer--letters img {
  transition: filter 0.3s ease;
  filter: none;
  /* Default no filter */
}

/* Active States - Tab activa = fondo negro + filtro invert */
.magazine-tabs__link.active .magazine-tabs__footer--penthouse {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
}

.magazine-tabs__link.active .magazine-tabs__footer--penthouse img {
  filter: invert(0);
  /* Remove invert when active */
}

.magazine-tabs__link.active .magazine-tabs__footer--letters {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
}

.magazine-tabs__link.active .magazine-tabs__footer--letters img {
  filter: invert(1);
  /* Add invert when active */
}

/* ==========================================================================
   8. CONTENT SECTIONS
   ========================================================================== */

/* Block: magazine-content */
.magazine-content {
  padding: var(--spacing-xxl) 0;
  min-height: 600px;
}

/* Element: magazine-content__header */
.magazine-content__header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

/* Element: magazine-content__title */
.magazine-content__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--spacing-lg);
  color: #000000;
}

/* Element: magazine-content__description */
.magazine-content__description {
  margin: 0 auto;
}

/* Pet Slider Section */
.pet-slider {
  background-color: #000;
  background-size: 420px;
  background-position: right top;
  background-repeat: no-repeat;
  height: auto;
  padding: 4rem 0;
  color: var(--penthouse-white);
}

.pet-slider .magazine-content__title {
  color: var(--penthouse-white);
}

/* ==========================================================================
   9. FILTERS COMPONENT
   ========================================================================== */

/* Block: filters */
.filters {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xxl);
}

/* Element: filters__group */
.filters__group {
  display: flex;
  align-items: center;
}

.filters__group--right {
  margin-left: auto;
}

/* Element: filters__label */
.filters__label {
  color: var(--bs-secondary);
  text-transform: uppercase;
  font-weight: 500;
  align-self: center;
  margin-right: var(--spacing-md);
}

/* Element: filters__dropdown */
.filters__dropdown .btn {
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  min-width: 120px;
  border-radius: 0;
  background-color: transparent;
}

.filters__dropdown .btn:hover {
  border: 2px solid var(--penthouse-black);
  background-color: transparent;
}

/* Element: filters__radio */
.filters__radio .btn {
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  border-radius: 0;
}

.filters__radio .btn:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

.filters__radio .btn.active {
  background-color: var(--penthouse-black);
  border-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* ==========================================================================
   10. MAGAZINE GRID COMPONENT
   ========================================================================== */

/* Block: magazine-grid */
.magazine-grid .card {
  border: 0;
  border-radius: 0;
  margin: 0;
  min-height: 300px;
  background-color: var(--bs-gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
  border: solid 1px transparent;
}

.magazine-grid .card:hover {
  transform: scale(1.06);
  border: solid 1px var(--penthouse-black);
}

.magazine-grid .card:active {
  transform: scale(0.95);
}

/* Element: magazine-grid__image-container */
.magazine-grid__image-container {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.magazine-grid__image-container img {
  border-radius: 0;
  transition: all 0.3s ease;
}

/* Element: magazine-grid__overlay */
.magazine-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;
}

.magazine-grid .card:hover .magazine-grid__overlay {
  top: calc(100% - 70px);
  opacity: 1;
  transition: all 0.2s ease-out;
}

/* Element: magazine-grid__title */
.magazine-grid__title {
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Element: magazine-grid__date */
.magazine-grid__date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

/* Special styling for carousel items */
#petPlayoffCarousel .magazine-grid__overlay {
  position: relative;
  opacity: 1;
  top: 0;
}

/* ==========================================================================
   11. CAROUSEL COMPONENT
   ========================================================================== */

.carousel-item {
  position: relative;
}

.carousel-control-prev {
  left: -50px;
}

.carousel-control-next {
  right: -50px;
}

.carousel-indicators {
  top: 108%;
}

/* ==========================================================================
   12. SWIPER COMPONENT
   ========================================================================== */

/* Swiper Container */
.swiper {
  width: 100%;
  height: auto;
  padding-bottom: 80px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Magazine Item Styles for Swiper */
.magazine-item {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.magazine-item img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.magazine-item:hover .magazine-grid__overlay {
  top: calc(100% - 80px);
  opacity: 1;
  transition: all 0.2s ease-out;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: var(--penthouse-white);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: -25px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Swiper Pagination */
.swiper-pagination {
  bottom: 20px;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--penthouse-white);
  opacity: 1;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: var(--penthouse-white);
}

/* ==========================================================================
   13. FOOTER COMPONENT
   ========================================================================== */

/* Block: footer */
.footer {
  background-color: var(--penthouse-white);
  padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
  border-top: solid 2px #000;
}

/* Newsletter Section */
.footer__newsletter-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-sm);
}

.footer__newsletter-description {
  font-size: 0.875rem;
  line-height: 1.4;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
  margin: 0 auto;
}

.footer__newsletter-input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--penthouse-black) !important;
  border-right: none;
  border-radius: 0;
  font-size: 0.875rem;
  outline: none;
  background-color: var(--penthouse-white);
}

.footer__newsletter-input:focus {
  box-shadow: none;
  border-color: var(--penthouse-black);
}

.footer__newsletter-button {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border: 2px solid var(--penthouse-black);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  white-space: nowrap;
}

.footer__newsletter-button:hover {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
}

.footer__disclaimer {
  font-size: 0.625rem;
  color: var(--penthouse-gray);
  margin-top: var(--spacing-sm);
  line-height: 1.3;
}

.footer__disclaimer input[type="checkbox"] {
  margin-right: var(--spacing-xs);
}

/* Magazine Covers */
.footer__magazine-covers {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer__magazine-covers img {
  width: 180px;
  height: auto;
  border: solid 2px #000000;
  transition: transform 0.3s ease;
  position: absolute;
}

.footer__magazine-covers img:last-child {
  margin-left: 80px;
  margin-top: 80px;
}

.footer__magazine-covers img:hover {
  transform: scale(1.05);
}

/* Footer Buttons */
.footer__button {
  background-color: transparent;
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.footer__button:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* Footer Navigation */
.footer__section-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list li {
  margin-bottom: var(--spacing-sm);
}

.footer__nav-list a {
  color: var(--penthouse-black);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer__nav-list a:hover {
  color: var(--penthouse-gray);
}

.footer__nav-list i {
  font-size: 1.125rem;
  width: 20px;
}

/* Sites Dropdown */
.footer__sites-dropdown .btn {
  background-color: transparent;
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  width: 100%;
}

.footer__sites-dropdown .btn:hover,
.footer__sites-dropdown .btn:focus {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border-color: var(--penthouse-black);
  box-shadow: none;
}

.footer__sites-dropdown .dropdown-menu {
  border-radius: 0;
  border: 2px solid var(--penthouse-black);
  margin-top: -2px;
  width: 100%;
}

.footer__sites-dropdown .dropdown-item {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer__sites-dropdown .dropdown-item:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* Copyright */
.footer__copyright {
  text-align: center;
  font-size: 0.625rem;
  color: var(--penthouse-gray);
  padding-top: var(--spacing-lg);
  border-top: solid 2px #000;
  margin-top: var(--spacing-xl);
}

/* ==========================================================================
   14. BREADCRUMB COMPONENT
   ========================================================================== */

.breadcrumb {
  font-size: 12px;
}

.breadcrumb a {
  font-size: 12px;
  color: var(--penthouse-black);
  text-decoration: none;
}

/* ==========================================================================
   15. RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ========================================================================== */

/* ==========================================================================
   EXTRA LARGE SCREENS (≤1400px)
   ========================================================================== */
@media (max-width: 1400px) {
  .pet-slider {
    background-image: none;
    background-size: auto;
    background-position: right bottom;
  }
}

/* ==========================================================================
   LARGE SCREENS (≤1199.98px)
   ========================================================================== */
@media (max-width: 1199.98px) {

  /* Header Adjustments */
  .header {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .header__logo {
    font-size: 1.75rem;
    letter-spacing: 4px;
  }

  .header__section--right {
    gap: var(--spacing-md);
  }

  /* Button Adjustments */
  .btn-custom--signup {
    font-size: 0.75rem;
    padding: 6px var(--spacing-md);
  }

  .btn-custom--login {
    font-size: 0.625rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  /* Login Dropdown */
  .login-dropdown__menu {
    width: 280px;
    padding: var(--spacing-lg);
  }

  /* Carousel Controls */
  .carousel-item .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .carousel-control-prev {
    left: 0px;
  }

  .carousel-control-next {
    right: 0px;
  }

  /* Swiper Navigation */
  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -50px;
  }

  /* Pet Slider */
  .pet-slider {
    height: auto;
    max-height: auto !important;
  }
}

/* ==========================================================================
   FOOTER RESPONSIVE (≤1180px)
   ========================================================================== */
@media (max-width: 1180px) {
  .footer__magazine-covers img {
    position: relative;
    width: 100%;
  }

  .footer__magazine-covers img:last-child {
    margin-left: 0;
    margin-top: 0;
  }

  .scroll-indicator {
    left: 50% !important;
  }

}


.txtLoadingProgress,
.loading-progress .caption {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ==========================================================================
   MEDIUM SCREENS (≤991.98px)
   ========================================================================== */
@media (max-width: 991.98px) {


  /* Header Mobile */
  .header {
    padding: var(--spacing-md);
    flex-wrap: wrap;
  }

  .header__icon {
    height: 25px;
  }

  .header__logo {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .header__logo img {
    height: 35px;
  }

  /* Hide Desktop Elements & Show Mobile */
  .btn-custom--signup,
  .login-dropdown {
    display: none;
  }

  .btn-custom--mobile-menu {
    display: block;
  }

  /* Login Dropdown Adjustments */
  .login-dropdown__menu {
    width: 260px;
    padding: var(--spacing-md);
    right: -10px;
  }

  .login-dropdown__title {
    font-size: 1.25rem;
  }

  /* Magazine Tabs */
  .magazine-tabs__card {
    height: 250px;
  }

  .magazine-tabs__footer {
    font-size: 1rem;
    height: 50px;
  }

  /* Footer */
  .footer {
    padding: var(--spacing-xl) 0;
  }

  .nav-tabs .nav-link {
    border: 0;
  }

  .footer__newsletter-form {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer__newsletter-button {
    width: 100%;
  }

  .footer__magazine-covers {
    justify-content: center;
    margin-bottom: var(--spacing-md);
  }
}

/* ==========================================================================
   SMALL TABLETS (≤768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* Footer Magazine Covers */
  .footer__magazine-covers {
    display: flex;
    align-content: stretch;
    flex-direction: row !important;
    justify-content: space-between;
  }

  .footer .container-fluid {
    padding: 0 !important;
  }

  .footer__magazine-covers img {
    position: relative;
    width: 48%;
  }

  .footer__magazine-covers img:last-child {
    margin-left: 0;
    margin-top: 0;
  }


}

/* ==========================================================================
   SMALL SCREENS (≤767.98px)
   ========================================================================== */
@media (max-width: 767.98px) {

  /* Header */
  .header {
    padding: var(--spacing-sm);
  }

  .header__section--left {
    gap: var(--spacing-md);
  }

  .header__icon {
    height: 20px;
  }

  .header__logo {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }

  .header__logo img {
    height: 30px;
  }

  .header__section--right {
    gap: var(--spacing-md);
  }

  /* Mobile Menu */
  .mobile-menu__content {
    padding: var(--spacing-md);
  }

  /* Login Dropdown */
  .login-dropdown__menu {
    width: 240px;
    right: -20px;
  }

  /* Magazine Tabs */
  .magazine-tabs__card {
    height: 200px;
  }

  /* Magazine Grid Overlay - Always show on mobile */
  .magazine-grid .card:hover .magazine-grid__overlay {
    top: calc(100% - 70px);
    opacity: 1;
    transition: all 0.2s ease-out;

  }

  /* Filters */
  .filters {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .filters__group--right {
    margin-left: 0;
  }

  /* Swiper */
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -50px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px;
  }

  .pet-slider {
    padding: 2rem 0 8rem;
  }
}

/* ==========================================================================
   EXTRA SMALL SCREENS (≤575.98px)
   ========================================================================== */
@media (max-width: 575.98px) {

  /* Header */
  .header__logo {
    font-size: 1.125rem;
    letter-spacing: 1px;
  }

  .header__logo img {
    height: 35px;
  }

  /* Login Dropdown */
  .login-dropdown__menu {
    width: 220px;
    right: -30px;
  }

  /* Filter Radio Buttons */
  .filters__radio .btn {
    font-size: 0.625rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* ==========================================================================
   16. DROPDOWN COMPONENT
   ========================================================================== */

/* Dropdown Menu Container */
.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--penthouse-black);
  text-align: left;
  list-style: none;
  background-color: var(--penthouse-white);
  background-clip: padding-box;
  border: 2px solid var(--penthouse-black);
  border-radius: 0;
  box-shadow: 0 4px 20px var(--penthouse-shadow);
}

/* Dropdown Menu Show State */
.dropdown-menu.show {
  display: block;
}

/* Dropdown Menu List Items */
.dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Dropdown Menu Items */
.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  clear: both;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--penthouse-black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}

/* Dropdown Item States */
.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--penthouse-white);
  background-color: var(--penthouse-black);
  text-decoration: none;
  outline: none;
  box-shadow: inset 0 0 0 2px var(--penthouse-black);
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--penthouse-white);
  background-color: var(--penthouse-black);
  text-decoration: none;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
  color: var(--bs-gray-400);
  pointer-events: none;
  background-color: transparent;
}

/* Dropdown Divider & Header */
.dropdown-divider {
  height: 0;
  margin: var(--spacing-xs) 0;
  overflow: hidden;
  border-top: 1px solid var(--bs-gray-200);
}

.dropdown-header {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: 0;
  font-size: 0.75rem;
  color: var(--bs-gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ==========================================================================
   17. SWIPER COMPONENTS
   ========================================================================== */

/* Pet Playoff Swiper */
.petPlayoffSwiper {
  visibility: hidden;
  opacity: 0;
}

.petPlayoffSwiper .swiper-button-next:after,
.petPlayoffSwiper .swiper-button-prev:after {
  display: none;
}

.petPlayoffSwiper .swiper-button-next:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f061";
  /* chevron-right */
}

.petPlayoffSwiper .swiper-button-prev:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f060";
  /* chevron-left */
}

/* Magazine Swiper */
.magazine-swiper {
  background: transparent;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}

.magazine-swiper .swiper-slide {
  height: auto;
  background: transparent;
}

/* Hide Swiper Controls */
.magazine-swiper .swiper-pagination,
.magazine-swiper .swiper-button-next,
.magazine-swiper .swiper-button-prev,
.magazine-swiper .swiper-scrollbar {
  display: none !important;
}

/* Swiper Wrapper Cards */
.swiper-wrapper .card {
  min-height: 300px;
  background-color: transparent;
  border: solid 1px var(--penthouse-black);
  cursor: pointer;
}

.swiper-wrapper .card .magazine-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;
}

.swiper-wrapper .card:hover {
  border: solid 1px var(--penthouse-black);
}

.swiper-wrapper .card:hover .magazine-grid__overlay {
  top: calc(100% - 70px);
  opacity: 1;
  transition: all 0.2s ease-out;
}

/* ==========================================================================
   18. LAYOUT COMPONENTS
   ========================================================================== */

/* Magazine Layout */
.magazine-layout {
  min-height: calc(100vh - 60px);
}

/* Images Column with Custom Scrollbar */
.images-column {
  padding: 0;
  overflow: auto;
  height: 100vh;
  max-height: calc(100vh - 88px);
}

/* Custom Scrollbar Styles */
.images-column::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.images-column::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 0;
}

.images-column::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 0;
  border: none;
}

.images-column::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

.images-column::-webkit-scrollbar-thumb:active {
  background: #000000;
}

.images-column::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox Scrollbar */
.images-column {
  scrollbar-width: thin;
  scrollbar-color: #000000 transparent;
}


/* Content Column */
.content-column {
  position: inherit;
  top: 88px;
  height: auto;
  display: inline;
  padding: 3rem;
  padding-top: 5rem;
  background-color: #ffffff;
}

.content-column-breadcrum {
  padding-top: 30px;
  text-align: center;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

/* Image Items */
.image-item {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: inline;
  width: auto;
  height: 100%;
  width: 100%;
  display: block;
}

.image-item img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  padding: 0px;
}

.container-btn-float-img {
  position: absolute;
  bottom: 10vh;
  left: 50%;
  margin-left: -103px !important;
  text-align: center;
  margin: auto;
}

/* ==========================================================================
   19. HERO SECTION
   ========================================================================== */

.hero-section {
  background: linear-gradient(90deg, var(--bs-gray-100) 50%, #ffffff 50%);
  height: calc(100vh - 87px);
  min-height: calc(100vh - 87px);
  overflow: hidden;
  width: 100%;
}

.hero-flex {
  height: calc(100vh - 87px);
  display: flex;
  align-items: center;
}

.hero-section__content {
  padding-right: var(--spacing-xl);
  padding-left: var(--spacing-xl);
  position: relative;
  text-align: center;
}

.hero-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
}

.hero-section__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--penthouse-gray);
  margin-bottom: var(--spacing-xxl);
  max-width: 500px;
}

.hero-section .action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin: auto;
  align-items: center;
  justify-content: center;
}

/* Hero Stats */
.hero-section__stats {
  margin-top: var(--spacing-xxl);
}


.hero-section__stat-link {
  text-decoration: none;
  color: var(--penthouse-black);
  padding: 10px;
  aspect-ratio: 1;
  border: solid 1px var(--penthouse-black);
  text-transform: uppercase;
  width: 100%;
  background-color: var(--penthouse-white);
  transition: all 0.2s ease;
}

.hero-section__stat-link:hover {
  color: var(--penthouse-black);
  border: solid 1px var(--penthouse-black);
  background-color: var(--penthouse-white);
  transform: scale(1.04);
  transition: all 0.2s ease;
}

.hero-section__stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
  text-align: center;
  display: none;
}

.hero-section__stat-label {
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  position: relative;
  background-color: #fff;
  margin: auto;
  width: max-content;
  padding-top: 10px;
  transition: all 0.2s ease;
  display: none;
}

.hero-section a:active {
  background-color: transparent !important;
  transform: scale(0.98);
  transition: all 0.2s ease;
  color: var(--penthouse-black) !important;
}

.hero-section__magazines {
  padding: var(--spacing-lg);
}

/* ==========================================================================
   20. MAGAZINE DETAILS COMPONENTS
   ========================================================================== */

/* Magazine Info */
.magazine-info {
  max-width: 100%;
}

.magazine-subtitle {
  margin-bottom: 0.5rem;
}

.magazine-title {
  font-size: 3rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cover-info {
  margin-bottom: 1.5rem;
}

.cover-label {
  font-size: 1rem;
  color: #000000;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cover-name {
  font-size: 2rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.pet-info {
  font-size: 1.125rem;
  color: #000000;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.magazine-description {
  margin-bottom: 2rem;
  font-size: 20px;
  max-width: 800px;
}

/* Categories & Action Buttons */
.categories {
  margin-bottom: 2rem;
}

.categories a {
  text-decoration: none;
  margin-right: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #000000;
  padding: 2px 4px;
  transition: all 0.2s ease;
}

.categories a:hover {
  background-color: #000000;
  color: #ffffff;
  transition: all 0.2s ease;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Penthouse Buttons */
.btn-penthouse {
  padding: 12px 24px;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 3.5rem;
}


/* Penthouse Buttons */
.btn-preview {
  background-color: var(--bs-gray-200);
    outline: solid 1px transparent;
  outline-offset: 1px;
}


/* Penthouse Buttons */
.btn-preview:hover {
  background-color: var(--bs-gray-400);
    outline: solid 1px var(--bs-gray-400);
  outline-offset: 1px;

}

.btn-penthouse--primary {
  background-color: #000000;
  color: #ffffff;
  padding: 0.5rem 3.5rem;
  outline: solid 1px transparent;
  outline-offset: 1px;
  transition: all 0.2s ease;
  border: 2px solid #000000;
}

.btn-penthouse--primary i {
  left: 0px;
  position: relative;
  transition: all 0.2s ease;
}

.btn-penthouse--primary:hover i {
  left: 5px;
  transition: all 0.2s ease;
}

.btn-penthouse--primary:hover {
  background-color: #000;
  color: #ffffff;
  outline: solid 1px #000;
  outline-offset: 1px;
  transition: all 0.2s ease;
}

.btn-penthouse--secondary {
  background-color: white;
  color: #000000;
  border: 2px solid #000000;
  outline: solid 1px transparent;
  outline-offset: 1px;
}

.btn-penthouse--secondary:hover {
  background-color: #000000;
  color: #ffffff;
  outline: solid 1px #000;
  outline-offset: 1px;
}

/* ==========================================================================
   21. SCROLL INDICATORS
   ========================================================================== */

.scroll-indicator {
  position: fixed;
  bottom: 80px;
  left: 20%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-hint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bs-gray-200);
  z-index: 999;
}

.scroll-progress__bar {
  height: 100%;
  background: var(--penthouse-black);
  width: 0%;
  transition: width 0.1s ease;
}

/* ==========================================================================
   22. TOOLTIPS COMPONENT
   ========================================================================== */

.tooltip {
  --bs-tooltip-max-width: 200px;
  --bs-tooltip-opacity: 1;
}

.tooltip .tooltip-inner {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border: 2px solid var(--penthouse-black);
  border-radius: 0;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: none;
  width: auto;
}

.tooltip-opacity img {
  opacity: 1 !important;
}

.tooltip .tooltip-inner img {
  width: 180px;
  height: auto;
  min-height: 200px;
  display: block;
  border-radius: 0;
  opacity: 1 !important;
}

/* Tooltip Arrows */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--penthouse-black);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--penthouse-black);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: var(--penthouse-black);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--penthouse-black);
}

/* White Tooltip Variant */
.tooltip-white .tooltip-inner {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-white);
}

.tooltip-white.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--penthouse-white);
}

.tooltip-white.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--penthouse-white);
}

.tooltip-white.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: var(--penthouse-white);
}

.tooltip-white.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--penthouse-white);
}

/* ==========================================================================
   23. LEGACY SECTION
   ========================================================================== */

.legacy-section {
  min-height: 100vh;
}

.legacy-section__header {
  margin-bottom: var(--spacing-xxl);
}

.legacy-section__main-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
  color: rgb(0, 0, 0);
}

.legacy-section__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--penthouse-black);
  margin-bottom: 0;
}

.legacy-section__item {
  margin-bottom: var(--spacing-xxl);
  border-bottom: 2px solid var(--penthouse-black);
  padding-bottom: var(--spacing-lg);
}

.legacy-section__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legacy-section__item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-md);
  text-transform: none;
}

.legacy-section__item-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--penthouse-black);
  margin-bottom: 0;
  max-width: 90%;
}

.legacy-section__image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.legacy-section__device {
  position: relative;
}

.legacy-section__device--tablet {
  z-index: 2;
}

.legacy-section__device--phone {
  position: absolute;
  right: -20px;
  top: 50px;
  z-index: 3;
  width: 60%;
}

.legacy-section__device img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.legacy-section .order-1 {
  z-index: 10;
}

.legacy-section .order-2 video {
  position: relative;
  left: -50px;
}

/* ==========================================================================
   24. COLLECTIONS GRID
   ========================================================================== */

.collections-grid__item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.collections-grid__item:hover {
  color: inherit;
  text-decoration: none;
}

.collections-grid__magazine {
  position: relative;
  margin-bottom: var(--spacing-lg);
  border: solid 1px white;
  transition: all 0.3s ease;
}

.collections-grid__magazine:hover {
  transform: scale(1.04);
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);
}

.collections-grid__magazine img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.collections-grid__label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-align: center;
  min-width: 120px;
  margin-bottom: 0;
}

/* ==========================================================================
   25. FOOTER STYLES - ALTERNATIVE FOOTER
   ========================================================================== */

.footer-A {
  background: #000000;
  padding: 40px 0 40px;
  padding-bottom: 0px;
  border-top: 3px solid var(--gold-classic);
}

/* Gold Colors */
.gold-classic {
  color: var(--gold-classic);
}

.gold-glow {
  color: var(--gold-glow);
}

.gold-light {
  color: var(--gold-light);
}

.bg-gold-classic {
  background-color: var(--gold-classic);
}

.bg-gold-glow {
  background-color: var(--gold-glow);
}

.bg-gold-light {
  background-color: var(--gold-light);
}

/* Footer Columns */
.footer-column h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-left: -5px;
  position: relative;
  left: -5px;
  transition: all 0.3s ease;
}

.footer-column ul li:active {
  transform: scale(0.98);
  transition: all 0.3s ease;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  display: block;
  padding: 8px;
  border: solid 1px transparent;
}

.footer-column ul li a:hover {
  background-color: rgba(51, 51, 51, 0.5);
  transition: all 0.3s ease;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 1rem;
}

.footer-logo {
  font-weight: 400;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 40px;
}

.copyright {
  color: #6b7280;
  font-size: 0.775rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
}

.copyright a {
  border-right: 1px solid #6b7280;
  padding-right: 0.5rem;
  color: #6b7280;
}

.copyright a:last-child {
  border-right: 0px solid #6b7280;
  padding-right: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6b7280;
  border-radius: 50%;
  text-decoration: none;
  margin-left: 0.75rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(51, 51, 51, 0.5);
  color: #374151;
}

.authorized {
  font-size: 0.675rem;
  color: #6b7280;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

.gdpr-label {
  font-size: 0.675rem;
}

.form-nl {
  max-width: 500px;
  margin: 0 auto;
}


#flipbook-completion-modal {
 user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ==========================================================================
   26. SEARCH MODAL
   ========================================================================== */

.search-modal {
  border-radius: 0;
}

.search-modal .modal-dialog {
  max-width: 100%;
  width: 100%;
  height: 100vh;
  margin: 0;
}

.search-modal .modal-content {
  background-color: var(--bs-gray-100);
  border: none;
  border-radius: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  box-shadow: none;
  position: relative;
}

.search-modal__header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 1);
  z-index: 10;
  padding: var(--spacing-xxl);
  text-align: center;
  padding-bottom: 10px;
  padding: 10px;
}

.search-modal__close {
  position: fixed;
  top: 0px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--penthouse-black);
  cursor: pointer;
  padding: var(--spacing-sm);
  transition: all 0.3s ease;
  z-index: 1050;
}

.search-modal__close:hover {
  opacity: 0.7;
}

.search-modal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
}

.search-modal__subtitle {
  margin-bottom: var(--spacing-xl);
}

.search-modal__input-container {
  position: relative;
  margin: 0 auto var(--spacing-xl);
  max-width: 1000px;
}

.search-modal__input {
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-xl);
  border: 2px solid var(--penthouse-black);
  background-color: var(--penthouse-white);
  font-size: 1.125rem;
  outline: none;
  border-radius: 0;
  padding-right: 60px;
}

.search-modal__input:focus {
  box-shadow: none;
  border-color: var(--penthouse-black);
}

.search-modal__input::placeholder {
  color: var(--penthouse-gray);
  font-style: italic;
}

.search-modal__search-icon {
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--penthouse-black);
}

.search-modal__content {
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: var(--spacing-xxl);
  padding-top: 30px;
}

.search-modal__content .card {
  min-height: 260px;
  width: auto;
  min-width: 220px;
}

.search-modal__section {
  margin-bottom: var(--spacing-xxl);
  padding: 10px;
}

.search-modal__section:last-child {
  margin-bottom: 0;
}

.search-modal__section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
}

.main-content .magazine-grid .card {
  min-height: 380px;
  background-color: var(--bs-gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
  border: solid 1px transparent;
}

/* ==========================================================================
   27. FLOATING SIGNUP BUTTON
   ========================================================================== */

.floating-signup {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.floating-signup--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-signup__button {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  border: none;
  border-radius: 28px;
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.floating-signup__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--penthouse-white);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 28px;
}

.floating-signup__button:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16), 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.floating-signup__button:hover::before {
  opacity: 0.08;
}

.floating-signup__button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.floating-signup__text {
  position: relative;
  z-index: 2;
}

.floating-signup__icon {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-signup__button:hover .floating-signup__icon {
  transform: translateX(2px) translateY(-2px);
}

/* ==========================================================================
   28. PAGINATION COMPONENT
   ========================================================================== */

.pagination-magazine {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: var(--spacing-xl) 0;
  padding: 0;
}

.pagination-magazine__item {
  margin: 0;
  list-style: none;
}

.pagination-magazine__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-right: none;
}

.pagination-magazine__item:last-child .pagination-magazine__link {
  border-right: 2px solid var(--penthouse-black);
}

.pagination-magazine__link:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  text-decoration: none;
  box-shadow: 0 4px 8px var(--penthouse-shadow);
  z-index: 2;
  position: relative;
}

.pagination-magazine__link--active {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border-color: var(--penthouse-black);
}

.pagination-magazine__link--disabled {
  background-color: #f8f9fa;
  color: var(--penthouse-gray);
  border-color: #dee2e6;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-magazine__icon {
  font-size: 0.875rem;
}

/* Pagination Modifiers */
.pagination-magazine--centered {
  justify-content: center;
}

.pagination-magazine--left {
  justify-content: flex-start;
}

.pagination-magazine--right {
  justify-content: flex-end;
}

.pagination-magazine--large .pagination-magazine__link {
  min-width: 56px;
  min-height: 56px;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1rem;
}

.pagination-magazine--small .pagination-magazine__link {
  min-width: 40px;
  min-height: 40px;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.75rem;
}

/* ==========================================================================
   29. SUBSCRIPTION SECTION
   ========================================================================== */

.subscription-section {
  height: calc(100vh - 120px);
  padding: var(--spacing-lg) 0;
  padding-bottom: 0;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.subscription-section .form-control {
  padding: 1rem;
}

.subscription-section__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subscription-section__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100vh;
  object-fit: initial;
  object-position: right 100px;
  opacity: 1;
  z-index: 1;
}

.subscription-section__content {
  position: relative;
  z-index: 2;
}

.subscription-section__header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.subscription-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-md);
  text-transform: none;
  letter-spacing: -1px;
}

.subscription-section__form-row {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: auto;
  flex-direction: row;
  flex-wrap: nowrap;
}

.subscription-section__input {
  background: #000;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  color: var(--penthouse-white);
  font-size: 1rem;
  min-width: 280px;
  outline: none;
  transition: all 0.3s ease;
}

.subscription-section__input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.subscription-section__input:focus {
  background: rgba(108, 117, 125, 0.9);
}

.subscription-section__plans-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--penthouse-black);
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-transform: none;
  letter-spacing: -1px;
}

.subscription-section__plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Subscription Plan Component */
.subscription-plan {
  background: var(--penthouse-white);
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.subscription-plan:hover {
  border-color: var(--penthouse-black);
}

.subscription-plan--selected {
  border-color: var(--penthouse-black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subscription-plan__selector {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 24px;
  height: 24px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.subscription-plan--selected .subscription-plan__selector {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

.subscription-plan__header {
  padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  margin-top: 20px;
}

.subscription-plan__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
}

.subscription-plan__period {
  color: var(--penthouse-gray);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.subscription-plan__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--penthouse-black);
  margin-bottom: 0;
  text-transform: none;
}

.subscription-plan__features {
  padding: var(--spacing-sm);
  min-height: 120px;
}

.subscription-plan__feature {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
}

.subscription-plan__feature:last-child {
  margin-bottom: 0;
}

.subscription-plan__feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.subscription-plan__feature-icon--active {
  background: transparent;
}

.subscription-plan__feature-icon--inactive {
  background: #dee2e6;
}

.subscription-plan__feature-icon i {
  font-size: 0.75rem;
  color: #28a745;
}

.saved {
  color: #28a745;
}

.subscription-plan__feature-text {
  flex: 1;
  color: var(--penthouse-black);
  font-weight: 500;
}

.subscription-plan__feature-text--inactive {
  color: var(--penthouse-gray);
}

.subscription-plan__savings {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -36px;
  margin-top: -30px;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  z-index: 99;
}

.subscription-plan__info {
  background: transparent;
  color: var(--penthouse-gray);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin: 0;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.subscription-section__payment-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--penthouse-black);
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-transform: none;
  letter-spacing: -1px;
}

.subscription-section__payment-methods {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

/* Payment Method Component */
.payment-method {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--penthouse-white);
  border: 2px solid #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: flex-start;
  position: relative;
}

.payment-method:hover {
  border-color: var(--penthouse-black);
}

.payment-method--selected {
  border-color: var(--penthouse-black);
  background: #f8f9fa;
}

.payment-method__selector {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.payment-method--selected .payment-method__selector {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

.payment-method__icon {
  font-size: 1.5rem;
  color: var(--penthouse-black);
}

.payment-method__text {
  font-weight: 600;
  color: var(--penthouse-black);
  font-size: 0.95rem;
}

.subscription-section__payment-methods .payment-method {
  aspect-ratio: initial;
}

.subscription-section__final-button {
  display: block;
  margin: 0 auto;
  background: #28a745;
  color: var(--penthouse-white);
  border: 2px solid #28a745;
  padding: var(--spacing-md) 4rem;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  outline: solid 1px transparent;
  outline-offset: 1px;
}

.subscription-section__final-button:hover {
  background: #28a745;
  color: var(--penthouse-white);
  outline: solid 1px #28a745;
  outline-offset: 1px;
  transition: all 0.2s ease;
}

/* ==========================================================================
   30. FORM CONTROLS
   ========================================================================== */

.form-control {
  border: 2px solid #dee2e6;
  border-radius: 0;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--penthouse-white);
}

.form-control:focus {
  border-color: var(--penthouse-black);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  background-color: var(--penthouse-white);
}

/* ==========================================================================
   31. LOGIN COMPONENTS
   ========================================================================== */

.magazines-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.magazine-item img {
  width: 100%;
  height: auto;
  opacity: 1;
}

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.login-container {
  position: relative;
  z-index: 3;
  min-height: 100vh;
}

.login-card {
  max-width: 540px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .4);
  top: -15%;
  background: white;
  margin: 0 auto;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: #6c757d;
}

.form-control-icon {
  padding-left: 45px;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  z-index: 5;
}

.flipHtml {
  position: relative;
  padding-top: max(60%, 324px);
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   32. RESPONSIVE DESIGN - ADDITIONAL BREAKPOINTS
   ========================================================================== */

@media (min-width: 992px) {
  .floating-signup {
    display: none;
  }
}

@media (max-width: 1440px) {
  .hero-section__stat-label {
    display: none;
  }

  .action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
  }

  .magazine-info .btn-penthouse--primary {
    background-color: #000000;
    color: #ffffff;
    padding: 0.5rem 3.5rem;
    outline: solid 1px transparent;
    outline-offset: 1px;
    transition: all 0.2s ease;
    border: 2px solid #000000;
    width: 100%;
    display: block;
    text-align: center;
  }

    .magazine-info .btn-penthouse {

    width: 100%;
    display: block;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .hero-section__title {
    font-size: 3.5rem;
  }

  .flipHtml {
    position: relative;
    width: auto;
    height: auto;
    min-height: auto;
  }

  .hero-section,
  .hero-flex {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-section__stat-label {
    display: none;
  }

  .images-column {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 10px;
    padding-right: 10px;
    height: auto;
  }
}

@media (max-width: 860px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .footer-column ul li {
    position: relative;
    margin-left: 0px;
    left: 0px;
  }

  .footer-column ul li a {
    padding: 12px;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .row>div {
    margin-bottom: 1.5rem;
  }

  .footer-column {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .1);
    padding: 20px;
    border-radius: 10px;
    border: solid 1px #d7d7d7;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .floating-signup {
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
  }

  .magazine-content__title-fix {
    font-size: 1.3rem;
  }

  .floating-signup__button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.2rem;
    min-height: 48px;
    border-radius: 24px;
  }

  .subscription-section {
    height: auto;
    min-height: 100vh;
    padding: var(--spacing-md) 0;
  }

  .subscription-section__image {
    display: none;
  }

  .subscription-section__container {
    padding: 0 var(--spacing-md);
  }

  .subscription-plan__price {
    font-size: 1.5rem;
  }

  .subscription-section__form-row {
    flex-direction: column;
    align-items: center;
  }

  .subscription-section__input {
    min-width: 100%;
    max-width: 400px;
  }

  .subscription-section__plans-grid {
    grid-template-columns: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .subscription-section__payment-methods {
    flex-direction: column;
    align-items: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-method {
    width: 100%;
    justify-content: center;
  }

  .subscription-section__final-button {
    padding: var(--spacing-md) 2rem;
    font-size: 0.8rem;
    width: 100%;
  }

  /* Mobile Optimizations */
  .magazine-grid .card:active {
    transform: none !important;
  }

  .magazine-grid .card {
    transform: none !important;
  }

  .magazine-grid__image-container {
    overflow: hidden;
    will-change: transform;
    contain: paint;
  }

  .magazine-grid__image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .3s ease;
  }

  .magazine-grid__overlay {
    transform: translateZ(0);
    will-change: opacity, transform;
  }


  .magazine-grid a {
    -webkit-tap-highlight-color: transparent;
  }

  .content-column {
    padding: 10px;
  }

  .breadcrumb {
    margin-bottom: 0;
  }

  .pagination-magazine {
    gap: 0;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: var(--spacing-sm);
  }

  .pagination-magazine__link {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .pagination-magazine__item.d-none.d-md-block {
    display: none !important;
  }

  p.lead {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .licensing-container p.lead {
    display: initial;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    overflow: initial;
    text-overflow: initial;
  }

  .hero-section__stats {
    margin-top: 20px !important;
  }
}

@media (max-width: 575.98px) {
  .floating-signup {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
  }

  .floating-signup__button {
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-xs);
  }

  .pagination-magazine__link {
    padding: var(--spacing-xs);
    font-size: 0.625rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    margin: auto;
  }
}

@media screen and (max-width: 768px) {
  .copyright {
    color: #6b7280;
    font-size: 0.775rem;
    margin: 0;
    display: block;
    gap: 0.5rem;
    height: auto;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 2.5rem;
  }

  .copyright a {
    border-right: 0;
    padding-right: 0;
    margin-bottom: 1rem;
    display: block;
  }

  .hero-section__content {
    padding: 0;
  }

  .btn-penthouse--primary {
    width: 100%;
    text-align: center;
    display: inline;
  }

  .btn-penthouse--secondary {
    width: 100%;
    text-align: center;
    display: inline-block;
  }

  .btn-custom--search {
    margin: 0;
    width: auto;
    text-align: right;
  }

  .header__section--right {
    gap: 0px;
  }
}

/* Additional Responsive Adjustments */
@media (max-width: 991.98px) {
  .legacy-section .order-2 video {
    width: 100%;
    margin: auto;
    text-align: center;
    left: initial;
  }

  .hero-section__stats {
    display: none;
  }

  .hero-section__magazines {
    padding: 0 !important;
  }

  .slider-category {
    padding-bottom: 0px;
  }

  .search-modal__content .card {
    min-height: auto;
    width: auto;
    min-width: auto;
  }

  .pagination-magazine__link {
    min-width: 44px;
    min-height: 44px;
    padding: var(--spacing-sm);
    font-size: 0.75rem;
  }
}

/* Demo Section */
.demo-section {
  margin-bottom: var(--spacing-xxl);
  padding: var(--spacing-xl);
  background: white;
  border: 2px solid var(--penthouse-black);
}

.demo-title {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 1px;
}

.magazine-grid__overlay {
  background-color: #000 !important;
}

@media (max-width: 380px) {

  .btn-custom--login {
    width: 100%;
    text-align: center;
    display: none;
  }
}

/* ==========================================================================
   END OF REFACTORED STYLESHEET
   ========================================================================== */


   /* Blog Section Styles */
.blog-section {
    position: relative;
}

/* Header Icon */
.header__icon {
    width: 40px;
    height: auto;
    opacity: 0.8;
}

/* Featured Post */
.featured-post {
    margin-bottom: 2rem;
}

.featured-post__image-container {
    position: relative;
    overflow: hidden;
    height: 400px;
}



/* Blog Grid */
.blog-grid__image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.blog-grid__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-grid__overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

/* Card Hover Effects */
.blog-grid .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.blog-grid .card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.blog-grid .card:hover .blog-grid__image-container img {
    transform: scale(1.05);
}

/* Blog Meta */
.blog-meta {
    font-size: 0.875rem;
}

.blog-meta time {
    font-weight: 500;
}

/* Blog Author */
.blog-author img {
    object-fit: cover;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border: 2px solid #dee2e6;
    transition: border-color 0.3s ease;
    padding: 0.76rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--penthouse-primary, #000);
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

/* Category Links */
.btn-outline-dark {
    border-color: #6c757d;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}


.article-featured-image img {
  max-height: 450px;
      object-fit: cover;


}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-post__image-container {
        height: 250px;
    }
    
    .blog-grid__image-container {
        height: 200px;
    }
    
    .featured-post .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .magazine-content__title {
        font-size: 2rem;
    }
    
    .featured-post__image-container {
        height: 200px;
    }
    
    .blog-grid__image-container {
        height: 180px;
    }

    .article-header {
      margin-bottom: 10px!important;
    }


  .article-featured-image img {
    max-height: 280px;
    object-fit: cover;

  }
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5em 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Title Link Hover */
.card-title a {
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--penthouse-primary, #000) !important;
}



/* Loading Animation for Images */
.blog-grid__image-container img,
.featured-post__image-container img {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

