/* ==========================================================================
   Custom Editorial Styling for by-franziska.de
   ========================================================================== */

/* Material Icons Custom Settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    transition: font-variation-settings 0.2s ease, color 0.2s ease;
}

/* Hero Section Gradient Overlay */
.hero-gradient {
    background: linear-gradient(to bottom, rgba(26, 28, 26, 0.4) 0%, rgba(26, 28, 26, 0.1) 50%, rgba(26, 28, 26, 0.7) 100%);
}

/* Elegant Text Hover Underline Effect */
.text-underline-mag {
    position: relative;
}

.text-underline-mag::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.text-underline-mag:hover::after {
    width: 100%;
}

/* Custom Scrollbar for a Premium Look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f4f3f1;
}

::-webkit-scrollbar-thumb {
    background: #89726b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #873415;
}

/* Editorial Typography and Content Styling */
.editorial-content {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.8;
}

.editorial-content p {
    margin-bottom: 1.5rem;
    color: #1a1c1a;
}

.editorial-content h2, 
.editorial-content h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #873415;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.editorial-content h2 {
    font-size: 1.75rem;
}

.editorial-content h3 {
    font-size: 1.5rem;
}

.editorial-content ul, 
.editorial-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.editorial-content ul {
    list-style-type: disc;
}

.editorial-content ol {
    list-style-type: decimal;
}

.editorial-content li {
    margin-bottom: 0.5rem;
}

.editorial-content blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #526350;
    border-left: 3px solid #526350;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Form Styles and Transitions */
input, textarea, select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #873415 !important;
    box-shadow: 0 0 0 1px #873415 !important;
}

/* Image Hover Zoom Container */
.zoom-container {
    overflow: hidden;
    border: 1px solid #e3e2e0;
}

.zoom-container img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-container:hover img {
    transform: scale(1.05);
}
