/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Reinhold Packeisen 
 Author URI:   https://packeisen.de
 Template:     generatepress
 Version:      0.1
 Stylesheet zur Einbindung von static fonts für Generate Press
*/
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-500 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans-v34-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}


h1,h2,h3,h2 { font-family:"Open-Sans" sans-serif;}
body {
  font-family: "Open-Sans", Sans-serif;
  font-weight: 400;
}

.grid-25.masonry-brick DIV.inside-article IMG
{
	border-top-left-radius: 35px;
	border-bottom-right-radius: 52px;
}


/* ==============================================
   PRODUCTIONS GRID LAYOUT - TYPO3 Style
   UPDATED VERSION with larger items and centered text
   ============================================== */

/* Category Page Header - Centered PRODUCTIONS title */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    display: block !important; /* Override the display:none from custom CSS */
}

.page-header .page-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Productions Grid - Three Column Layout with tighter spacing */
.productions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem; /* Tighter spacing between columns */
    margin-bottom: 3rem;
    max-width: 100%;
    padding-top: 2rem;
    margin-left: -20px; /* Pull grid slightly left */
    margin-right: -20px; /* Pull grid slightly right */
    width: calc(100% + 40px); /* Increase overall width */
}

/* Content area spacing for productions */
.productions-archive .site-content {
    padding-top: 2rem;
}

/* Production Item - Natural size with optimized display */
.production-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.production-item:hover {
    transform: translateY(-5px) scale(1.03); /* Slight zoom on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.production-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Production Image */
.production-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.production-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.production-item:hover .production-image img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Production Caption */
.production-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    padding: 3rem 1.5rem 1.5rem;
    text-align: center; /* Centered text */
}

.production-caption-inner {
    color: #fff;
}

/* Production Title - Red Link - Centered */
.production-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    color: #e31e24; /* Red color matching TYPO3 design */
    transition: color 0.3s ease;
    text-align: center;
}

.production-item:hover .production-title {
    color: #ff3333;
}

/* Production Genre - White text without # - Centered */
.production-genre {
    font-size: 0.95rem;
    margin: 0;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
}

/* Remove the # symbol */
.production-genre::before {
    content: "";
}

/* Responsive Design - Tablet */
@media (max-width: 992px) {
    .productions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .productions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .page-header .page-title {
        font-size: 2rem;
    }
    
    .production-caption {
        padding: 2rem 1rem 1rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #e31e24;
    color: #fff;
}

/* Infinite Scroll Loading */
.infinite-scroll-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.infinite-scroll-last {
    text-align: center;
    padding: 2rem;
    color: #999;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

.load-more-button {
    padding: 1rem 2rem;
    background: #e31e24;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.load-more-button:hover {
    background: #c01a1f;
}
