/*
Theme Name: Magazin
Description: Magazin theme
Version: 0.17.0
Author: Journalist
Text Domain: swp-magazine
*/

/* WordPress specific styles */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* Custom theme styles */
.article-rounded {
    border-radius: 0.4rem;
}

/* Typography styles for content */
.prose {
    color: #374151;
    line-height: 1.7;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #111827;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 {
    font-size: 2.25rem;
    line-height: 1.2;
}

.prose h2 {
    font-size: 1.875rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
    list-style: disc !important;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.1rem;
}

.prose blockquote {
    position: relative;
    border-left: none;
    padding: 20px 70px;
    margin: 2rem 0;
    font-style: normal;
    color: #000;
    font-weight: bold;
}

.prose blockquote::before {
    content: "";
    display: block;
    position: absolute;
    left: 20px;
    top: 0;
    width: 30px;
    height: 25px;
    background: url(assets/icon-quote-left.svg) no-repeat left top;
    background-size: 30px 25px;
}

.prose blockquote::after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 30px;
    height: 25px;
    background: url(assets/icon-quote-right.svg) no-repeat left top;
    background-size: 30px 25px;
}

.prose blockquote p {
    margin: 0;
    padding: 0;
}

.prose blockquote pre {
    background-color: transparent;
    color: #000;
    padding: 0;
    border-radius: 0;
    font-style: normal;
    margin: 0;
    font-family: inherit;
}

.prose a {
    color: var(--link-color);
    text-decoration: underline;
}

.prose a:hover {
    text-decoration: none;
}

.prose img {
    border-radius: var(--article-border-radius);
    margin: 1.5rem 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.prose th, .prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background-color: #f9fafb;
    font-weight: 600;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: var(--article-border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

footer a {
    text-decoration: none;
}
footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Navigation item separators */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li + li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin: 0 1rem;
    vertical-align: middle;
}

/* Styles for plugin */
h4.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
}
div.widget a {
    color: var(--link-color);
    text-decoration: underline;
}
div.widget a:hover {
    text-decoration: none;
}

/* Styles for article pagination */
.navigation.pagination {
    margin: 3rem 0;
    text-align: center;
}

.navigation.pagination .screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
}

.navigation.pagination .page-numbers:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
    text-decoration: none;
}

.navigation.pagination .page-numbers.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

.navigation.pagination .page-numbers.current:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 0.9;
    color: #ffffff;
}

.navigation.pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev {
    padding: 0.5rem 1rem;
    min-width: auto;
}

.navigation.pagination .page-numbers.next:hover,
.navigation.pagination .page-numbers.prev:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* Responsive design for pagination */
@media (max-width: 640px) {
    .navigation.pagination .nav-links {
        gap: 0.25rem;
    }
    
    .navigation.pagination .page-numbers {
        min-width: 2rem;
        height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .navigation.pagination .page-numbers.next,
    .navigation.pagination .page-numbers.prev {
        padding: 0.25rem 0.75rem;
    }
}

.responsive-video iframe {
    width: 100%;
    height: 420px;
}
@media (max-width: 768px) {
    .responsive-video iframe {
        height: 320px;
    }
	.hw-single-details .hw-meta {
		height: auto !important;
	}
}
@media (max-width: 480px) {
    .responsive-video iframe {
        height: 200px;
    }
}