/* ============================================
   NYKCLC Design - Exact Preview Match
   ============================================ */
/* Import variables first for SCSS compatibility */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;600;700&family=Cormorant+Garamond:wght@300;400;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap");
:root {
  /* Variables from preview.html */
  --primary-blue: #2B4C7E;
  --primary-gold: #C19A6B;
  --accent-crimson: #8B1A1A;
  --soft-cream: #F8F6F2;
  --warm-white: #FEFDFB;
  --deep-charcoal: #2C2C2C;
  --light-gray: #E8E6E1;
  --medium-gray: #9B9B9B;
  --gradient-divine: linear-gradient(135deg, #2B4C7E 0%, #4A6FA5 100%);
  --gradient-warmth: linear-gradient(135deg, #C19A6B 0%, #D4AF7A 100%);
  --font-display: "Cormorant Garamond", serif;
  --font-body-en: "Cormorant Garamond", serif;
  --font-body-kr: "Noto Serif KR", serif;
  --font-sans-kr: "Noto Sans KR", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  /* Map to Cassiopeia variables just in case */
  --cassiopeia-color-primary: var(--primary-blue);
  --cassiopeia-color-link: var(--primary-blue);
  --cassiopeia-color-hover: var(--primary-gold);
}

body {
  font-family: var(--font-body-en);
  font-size: 17px;
  line-height: 1.8;
  color: var(--deep-charcoal);
  background: var(--warm-white);
}

/* Korean text styling */
body :not([lang=en]),
.mod-menu,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body-kr);
}

/* Restore Icon Fonts being overridden by the selector above */
.fa,
.fas,
.far,
.fab,
.icon- {
  font-family: "Font Awesome 6 Free" !important;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
}

/* Exclude icons from Korean font application explicitly if needed */
[class*=" fa-"],
[class^=fa-],
[class*=" icon-"],
[class^=icon-] {
  font-family: "Font Awesome 6 Free" !important;
}

/* ============================================
   HEADER & NAVIGATION 
   Matches .site-header in preview.html
   ============================================ */
.header.container-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  padding: 0.5rem 1rem;
  margin-bottom: 0;
}

/* Logo Section 
   Matches .logo-main and .logo-sub
   Updated to handle default Joomla output relative to preview.html style
*/
.container-header .navbar-brand {
  display: flex;
  flex-direction: row;
  /* Default to row for side-by-side */
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--primary-blue) !important;
  /* Ensure override */
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: auto;
  /* Replaces margin-inline-end: auto for safety */
}

.container-header .navbar-brand .brand-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue) !important;
  line-height: 1.2;
  text-decoration: none;
  display: flex !important;
  align-items: center;
}

.navbar-brand .brand-logo img {
  height: auto;
  max-height: 70px;
  /* Constrain height to match preview */
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo img {
  transform: scale(1.05);
}

.site-description {
  font-family: var(--font-body-kr);
  /* Use Korean serif font */
  font-size: 0.9rem;
  /* Slightly larger */
  font-weight: 500;
  color: var(--color-text-main);
  /* Darker for better visibility */
  margin-top: 0;
  letter-spacing: 0.5px;
  line-height: 1.3;
  display: block !important;
  max-width: 250px;
  /* Allow wrapping if needed */
}

/* Specific override for site-description color from SCSS */
.container-header .site-description {
  color: var(--color-text-main) !important;
  font-size: 0.9rem !important;
  /* Override SCSS default of 1rem if needed */
}

/* Navigation Menu 
   Matches .main-navigation 
*/
.container-header .mod-menu {
  display: flex !important;
  gap: 0.3rem;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

/* Nav Item 
   Matches .nav-item
*/
.container-header .mod-menu > li {
  position: relative;
  flex-shrink: 0;
  border: none !important;
  padding: 0 !important;
}

/* Nav Link 
   Matches .nav-link
*/
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  display: block;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-sans-kr);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--deep-charcoal) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition-smooth);
  letter-spacing: 0.2px;
  white-space: nowrap;
  background: transparent !important;
}

/* Nav Link Hover 
   Matches .nav-link:hover
*/
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.hover > a {
  background: var(--gradient-divine) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(43, 76, 126, 0.2);
}

/* Dropdown Menu 
   Matches .dropdown-menu
*/
.container-header .mod-menu > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  border: 1px solid var(--light-gray);
  display: block !important;
  /* Overriding Joomla's JS hiding if possible, relies on opacity/visibility */
  z-index: 1000;
}

/* Dropdown show on hover 
   Matches .nav-item:hover .dropdown-menu
*/
.container-header .mod-menu > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Links 
   Matches .dropdown-link
*/
.container-header .mod-menu > li > ul > li > a {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--deep-charcoal) !important;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  font-family: var(--font-sans-kr);
}

.container-header .mod-menu > li > ul > li > a:hover {
  background: var(--soft-cream);
  color: var(--primary-blue) !important;
  padding-left: 1.3rem;
}

/* Hide Joomla toggle buttons */
.mod-menu__toggle-sub {
  display: none !important;
}

/* Ensure container alignment */
.header-container,
.container-header .grid-child {
  display: flex;
  align-items: center;
  background: transparent !important;
}

.grid-child.container-nav {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Force metismenu transparency */
.metismenu.mod-menu {
  background: transparent !important;
  background-color: transparent !important;
}

.metismenu,
.mod-menu {
  background: transparent !important;
}

/* Hard override for any potential blue background */
.container-header .grid-child,
.container-header .container-nav,
.container-header div[class*=container-nav],
.container-header nav.navbar,
.container-header .grid-child.container-nav {
  /* Explicit override for SCSS line 21 */
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Specific fix for the SCSS rule user pointed out */
nav.navbar,
.container-header nav {
  background: transparent !important;
}

/* Right align menu if needed, or adjust spacing */
.container-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   HERO / MODULE STYLES (To match look & feel)
   ============================================ */
.hero-section,
.hero-module {
  position: relative;
  background: var(--gradient-divine);
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
  margin-top: -1px;
  /* seamless join */
}

.hero-module h3,
.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-module p {
  font-family: var(--font-sans-kr);
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   RESPONSIVE LAYOUT
   Matches preview.html media queries
   ============================================ */
.container-header .hamburger {
  display: none;
}

@media (max-width: 968px) {
  .header.container-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    position: relative;
  }
  /* Force grid children to auto width to stay on same line */
  .container-header .grid-child {
    width: auto;
    flex-basis: auto;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
  }
  .container-header .grid-child.hamburger {
    display: block !important;
    width: 30px;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
  }
  /* Make sure container-nav is flexible for contents */
  .container-header .grid-child.container-nav {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
  }
  .container-header .grid-child.container-nav .menu.no-card {
    width: 100%;
  }
  .container-header .mod-menu {
    flex-direction: column !important;
  }
  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span {
    display: block;
    padding: 0.75rem 0.9rem;
    font-family: var(--font-sans-kr);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--deep-charcoal) !important;
    text-decoration: none;
    border-radius: 0px;
    transition: var(--transition-smooth);
    letter-spacing: 0.2px;
    white-space: nowrap;
    background: transparent !important;
  }
  .container-header .mod-menu > li.current > a {
    background: var linear-gradient(135deg, #2B4C7E 0%, #4A6FA5 100%) --gradient-divine !important;
    color: white !important;
    transform: translateY(0px);
    box-shadow: none;
    padding-left: 1.3rem;
  }
  .metismenu.mod-menu .metismenu-item > ul {
    position: static;
    top: 100%;
    z-index: 1001;
    border: none;
    display: block;
    padding: 0;
    list-style: none;
    box-shadow: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  /* Reset Mobile Menu to Stack Vertically and Full Width */
  .container-header .mod-menu {
    width: 100%;
    flex-basis: 100%;
    overflow: visible !important;
    padding-top: 0;
    gap: 0;
  }
  /* Style Mobile Menu Items */
  .container-header .mod-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--light-gray) !important;
    display: block;
  }
  .container-header .mod-menu > li ul {
    display: block;
    transition: var(--transition-smooth);
    border-radius: 0;
    box-shadow: none;
  }
  .container-header .mod-menu > li > a {
    padding: 0.8rem 0;
    width: 100%;
    color: var(--deep-charcoal) !important;
    display: block;
    font-size: 1.1rem;
  }
}
/************************************
//end of media query for mobile
************************************/
.container-header .mod-menu > li > ul {
  margin-top: 0;
}

/* Logo - stays on left */
.navbar-brand {
  margin-right: auto;
  font-size: inherit;
  flex-shrink: 0;
}

/* Hamburger Menu - stays on right, same line as logo */
.navbar-toggler {
  display: block !important;
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  padding: 0.5rem;
  line-height: 1;
  height: auto;
  flex-shrink: 0;
  order: 2;
  /* Ensure it stays after brand */
}

.navbar-toggler .fas {
  color: var(--primary-blue) !important;
  font-size: 1.5rem;
}

/* Navbar Collapse - Full width, below brand/toggler row */
.navbar-collapse {
  width: 100% !important;
  flex-basis: 100% !important;
  order: 3;
  /* Pushes it to next line */
}

.navbar-collapse.show {
  display: block !important;
  width: 100% !important;
  background: rgba(254, 253, 251, 0.98);
  border-top: 1px solid var(--light-gray);
  padding: 1rem;
  margin-top: 0.5rem;
}

/* Hide menu by default on mobile, show when toggled */
.container-header .mod-menu {
  display: flex;
  /* Allow it to show within the collapse */
  position: relative;
  background: transparent;
  border-top: none;
  padding: 0;
  box-shadow: none;
  z-index: auto;
}

/* When the collapse is triggered (Bootstrap adds .show to the wrapper, or we target the menu if it has .show) */
.container-header .navbar-collapse.show .mod-menu,
.container-header .mod-menu.show {
  display: flex !important;
  position: relative !important;
}

.container-header .mod-menu > li:last-child {
  border-bottom: none !important;
}

/* Show submenus when parent has .active, .mm-show, or .open class */
.container-header .mod-menu > li.active > ul,
.container-header .mod-menu > li.mm-show > ul,
.container-header .mod-menu > li.open > ul,
.container-header .mod-menu > li:focus-within > ul {
  display: block !important;
}

/* Style submenu items */
.container-header .mod-menu > li > ul > li {
  border-bottom: none !important;
}

.container-header .mod-menu > li > ul > li > a {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--medium-gray) !important;
}

.container-header .mod-menu > li > ul > li > a:hover {
  color: var(--primary-blue) !important;
}

/* Hide scrollbars enforced previously */
.container-header .mod-menu::-webkit-scrollbar {
  display: none;
}

.hero-title {
  font-size: 2.5rem;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-module p {
    font-size: 1.1rem;
  }
  /* Matches .hero-subtitle */
  .section-title {
    font-size: 2rem;
  }
  .main-container {
    padding: 2rem 1rem;
  }
  .announcement-card {
    padding: 1.5rem;
  }
  /* Logo resizing */
  .container-header .navbar-brand .brand-logo {
    font-size: 1.4rem;
  }
  .navbar-brand .brand-logo img {
    max-height: 50px;
  }
  .com-content-category__pagination .page-item {
    display: none;
  }
  .com-content-category__pagination .page-item:first-child {
    display: block;
  }
  .com-content-category__pagination .page-item:last-child {
    display: block;
  }
  .com-content-category__pagination .page-item:nth-child(2) {
    display: block;
  }
  .com-content-category__pagination .page-item:nth-child(13) {
    display: block;
  }
}
/* ============================================
   CUSTOM FOOTER STYLES
   For use with Custom HTML Module in 'footer' position
   ============================================ */
.site-footer {
  background-color: #151515;
  /* Dark background */
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 1rem 2rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.5rem;
  /* ~24px */
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.footer-about p {
  line-height: 1.6;
  max-width: 400px;
}

.footer-links h4 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-sans-kr);
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsiveness */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-about {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer {
    padding-top: 3rem;
  }
}
/* ============================================
   READ MORE BUTTON STYLES
   Matches .read-more-btn in preview.html
   Applied to standard Joomla .readmore link
   ============================================ */
.readmore a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--soft-cream);
  color: var(--primary-blue);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans-kr);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  margin-top: 1rem;
  /* Reset Bootstrap btn-secondary styles if needed */
}
.readmore a.btn:hover, .readmore a.btn:focus {
  background: var(--primary-blue);
  color: white;
  transform: translateX(4px);
}
.readmore a.btn {
  /* Target the arrow icon (chevron) we added in the override */
}
.readmore a.btn .icon-chevron-right,
.readmore a.btn .icon-chevron-left {
  transition: var(--transition-smooth);
  margin-left: 0.2rem;
  /* small spacing */
}
.readmore a.btn:hover .icon-chevron-right, .readmore a.btn:hover .icon-chevron-left {
  transform: translateX(4px);
}

/* ============================================
   MAIN ARTICLE COMPONENT STYLES
   Applies card/sheet styling to standard Joomla content
   ============================================ */
/* Blog Layout Items (e.g. Featured Articles, Category Blog) */
.blog-item,
.featured-item {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--light-gray);
  margin-bottom: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  /* Matches the decorative strip from announcements */
}
.blog-item::before,
.featured-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-divine);
  transform: scaleY(0);
  transition: var(--transition-smooth);
}
.blog-item:hover,
.featured-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
.blog-item:hover::before,
.featured-item:hover::before {
  transform: scaleY(1);
}
.blog-item,
.featured-item {
  /* Typography within Items */
}
.blog-item h2,
.blog-item .item-title,
.featured-item h2,
.featured-item .item-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.blog-item h2 a,
.blog-item .item-title a,
.featured-item h2 a,
.featured-item .item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.blog-item h2 a:hover,
.blog-item .item-title a:hover,
.featured-item h2 a:hover,
.featured-item .item-title a:hover {
  color: var(--primary-blue);
}
.blog-item,
.featured-item {
  /* Intro Text */
}
.blog-item .item-intro,
.blog-item p,
.featured-item .item-intro,
.featured-item p {
  font-family: var(--font-body-kr);
  color: var(--medium-gray);
  line-height: 1.8;
  font-size: 1.05rem;
}
.blog-item,
.featured-item {
  /* Meta Data (Date, Author etc) */
}
.blog-item dl.article-info,
.featured-item dl.article-info {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}
.blog-item dl.article-info dd,
.featured-item dl.article-info dd {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Single Article View */
.view-article .com-content-article {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--light-gray);
  margin-top: 1rem;
  margin-bottom: 3rem;
  /* Responsive padding */
}
@media (max-width: 768px) {
  .view-article .com-content-article {
    padding: 1.5rem;
    border-radius: 12px;
  }
}
.view-article .com-content-article {
  /* Article Title */
}
.view-article .com-content-article h1,
.view-article .com-content-article .page-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--soft-cream);
  padding-bottom: 1rem;
  display: inline-block;
  width: 100%;
}
.view-article .com-content-article {
  /* Content Typography */
}
.view-article .com-content-article .com-content-article__body,
.view-article .com-content-article .com-content-article__body p {
  font-family: var(--font-body-kr);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--deep-charcoal);
}

/* Container Spacing */
.container-component {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.nykclc_featured .blog-item {
  padding: 32px 32px;
  margin-bottom: 1rem;
}

/* ============================================
   PHOCA GALLERY OVERRIDES
   Overrides for media/com_phocagallery/css/main/theme_simple.css
   ============================================ */
/* ============================================
   PHOCA GALLERY OVERRIDES
   Modern Card Style for Categories
   ============================================ */
/* The main container for each gallery category category item */
.pg-top-icons {
  display: none;
}

.pg-category-box {
  width: 320px !important;
  /* Standard card width for desktop columns */
  max-width: 100% !important;
  height: auto !important;
  float: left !important;
  /* Allow floating for grid flow */
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  margin: 0 1rem 2rem 0;
  /* Spacing between columns */
  transition: var(--transition-smooth);
  padding: 0 !important;
  /* Mobile Responsiveness */
}
@media (max-width: 768px) {
  .pg-category-box {
    width: 100% !important;
    float: none !important;
    margin-right: 0;
  }
}

.pg-category-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* 1. Image Area - Ensure it takes top spot */
.pg-category-box-image {
  width: 100% !important;
  height: 200px !important;
  /* Fixed height for uniformity */
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8f8f8;
}

.pg-category-box-image a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.pg-category-box-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  /* prevents distortion */
  max-width: none !important;
  /* Allow filling the container */
}

/* 2. Info Area - Move below image */
.pg-category-box-info {
  position: relative !important;
  /* Reset any overlay absolute positioning */
  width: 100% !important;
  height: auto !important;
  background: white !important;
  padding: 1.5rem !important;
  margin: 0 !important;
  opacity: 1 !important;
  /* Ensure always visible */
  border-top: 1px solid var(--light-gray);
}

/* 3. Typography Updates */
.pg-category-name {
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: var(--primary-blue) !important;
  margin-bottom: 0.5rem;
  text-align: left;
}

.pg-category-box-count {
  font-family: var(--font-sans-kr);
  font-size: 0.9rem;
  color: var(--medium-gray);
  text-align: left;
  display: block;
}

/* Hide rating or other clutter if desired, or style gently */
.pg-category-box-rating {
  display: none;
}

/* ============================================
   PHOCA GALLERY ITEM OVERRIDES (Photos)
   Matches Card Style of Categories
   ============================================ */
.pg-item-box {
  width: 320px !important;
  max-width: 100% !important;
  height: auto !important;
  float: left !important;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  margin: 0 1rem 2rem 0;
  transition: var(--transition-smooth);
  padding: 0 !important;
  /* Mobile Responsiveness */
}
@media (max-width: 768px) {
  .pg-item-box {
    width: 100% !important;
    float: none !important;
    margin-right: 0;
  }
}

.pg-item-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* 1. Item Image Area */
.pg-item-box-image {
  width: 100% !important;
  height: 250px !important;
  /* Slightly taller for photos */
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8f8f8;
}

.pg-item-box-image a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.pg-item-box-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
}

/* 2. Item Detail Area (Download/Zoom icons etc) */
/* Usually this is hidden or overlayed, but we can make it a footer content area if desired */
.pg-item-box-detail {
  width: 100% !important;
  margin: 0 !important;
  padding: 1rem !important;
  background: white !important;
  border-top: 1px solid var(--light-gray);
  text-align: center;
}

/* Clean up icons in detail area */
.pg-item-box-detail a {
  display: inline-block;
  margin: 0 5px;
  color: var(--medium-gray);
  transition: 0.3s;
}

.pg-item-box-detail a:hover {
  color: var(--primary-blue);
}

/*# sourceMappingURL=user.css.map */
