/* ArenaTV News - Footer Styles */

.site-footer {
    background: #e5e7eb !important;
    color: #333333;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-about .site-logo__text {
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #555;
}

.footer-contact__item svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-categories ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #555;
    transition: color 0.3s ease;
}

.footer-categories li a:hover {
    color: var(--secondary);
}

.footer-categories li a span.count {
    font-size: 0.75rem;
    background: #d1d5db;
    color: #333;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.footer-categories li a:hover span.count {
    background: var(--secondary);
    color: #fff;
}

.footer-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-post {
    display: flex;
    gap: 0.75rem;
}

.footer-post__image {
    width: 4rem;
    height: 3rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.25rem;
    background: #ccc;
}

.footer-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.footer-post:hover .footer-post__image img {
    transform: scale(1.1);
}

.footer-post__content {
    flex: 1;
    min-width: 0;
}

.footer-post__title {
    font-size: 0.875rem;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.footer-post:hover .footer-post__title {
    color: var(--secondary);
}

.footer-post__date {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #d1d5db;
    color: #333;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-newsletter form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.footer-newsletter input::placeholder {
    color: #999;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--secondary);
}

.footer-newsletter button {
    padding: 0.5rem 1rem;
    background: var(--secondary);
    border: none;
    border-radius: 0.25rem;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-newsletter button:hover {
    background: #d9541a;
}

.footer-bottom {
    border-top: 1px solid #ccc;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: #666;
    transition: color 0.3s ease;
}

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

/* Single Post - Responsive Padding */
.single-post {
    padding: 1.5rem 0;
}

@media (min-width: 768px) {
    .single-post {
        padding: 2rem 0;
    }
}

@media (min-width: 1024px) {
    .single-post {
        padding: 3rem 0;
    }
}

.single-post__header {
    max-width: 48rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .single-post__header {
        margin-bottom: 2rem;
    }
}

.single-post__title {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .single-post__title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .single-post__title {
        font-size: 2.5rem;
    }
}

.single-post__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #888;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .single-post__meta {
        gap: 1.5rem;
        font-size: 0.875rem;
    }
}

.single-post__meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.single-post__featured-image {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .single-post__featured-image {
        margin-bottom: 2rem;
    }
}

.single-post__featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----- Article Content ----- */
.single-post__content {
    max-width: 48rem;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text);
}

@media (min-width: 768px) {
    .single-post__content {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .single-post__content {
        font-size: 1.0625rem;
    }
}

.single-post__content p {
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .single-post__content p {
        margin-bottom: 1.5rem;
    }
}

.single-post__content h2 {
    font-size: 1.3rem;
    line-height: 1.35;
    margin: 2rem 0 0.75rem;
}

@media (min-width: 768px) {
    .single-post__content h2 {
        font-size: 1.5rem;
        margin: 2.5rem 0 1rem;
    }
}

@media (min-width: 1024px) {
    .single-post__content h2 {
        font-size: 1.75rem;
    }
}

.single-post__content h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 1.75rem 0 0.625rem;
}

@media (min-width: 768px) {
    .single-post__content h3 {
        font-size: 1.25rem;
        margin: 2rem 0 0.75rem;
    }
}

@media (min-width: 1024px) {
    .single-post__content h3 {
        font-size: 1.375rem;
    }
}

.single-post__content h4,
.single-post__content h5,
.single-post__content h6 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 1.5rem 0 0.5rem;
}

@media (min-width: 768px) {

    .single-post__content h4,
    .single-post__content h5,
    .single-post__content h6 {
        font-size: 1.125rem;
    }
}

/* Article Images */
.single-post__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .single-post__content img {
        margin: 2rem auto;
    }
}

.single-post__content .wp-block-image,
.single-post__content figure {
    margin: 1.5rem 0;
    text-align: center;
}

@media (min-width: 768px) {

    .single-post__content .wp-block-image,
    .single-post__content figure {
        margin: 2rem 0;
    }
}

.single-post__content .wp-block-image img,
.single-post__content figure img {
    margin: 0 auto;
    border-radius: 0.5rem;
}

.single-post__content figcaption,
.single-post__content .wp-element-caption {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Lists */
.single-post__content ul,
.single-post__content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    line-height: 1.8;
}

@media (min-width: 768px) {

    .single-post__content ul,
    .single-post__content ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }
}

.single-post__content ul {
    list-style: disc;
}

.single-post__content ol {
    list-style: decimal;
}

.single-post__content li {
    margin-bottom: 0.35rem;
}

.single-post__content li::marker {
    color: var(--secondary);
}

/* Blockquote */
.single-post__content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
    background: var(--gray-100);
    border-radius: 0 0.375rem 0.375rem 0;
}

@media (min-width: 768px) {
    .single-post__content blockquote {
        padding: 1.25rem 1.5rem;
        margin: 2rem 0;
    }
}

.single-post__content blockquote p:last-child {
    margin-bottom: 0;
}

/* Tables */
.single-post__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    overflow-x: auto;
    display: block;
}

@media (min-width: 768px) {
    .single-post__content table {
        display: table;
        font-size: 0.9375rem;
    }
}

.single-post__content th,
.single-post__content td {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
}

.single-post__content th {
    background: var(--gray-100);
    font-weight: 600;
}

/* Embeds & Videos */
.single-post__content iframe,
.single-post__content .wp-block-embed {
    display: block;
    max-width: 100%;
    margin: 1.5rem auto;
    border-radius: 0.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {

    .single-post__content iframe,
    .single-post__content .wp-block-embed {
        margin: 2rem auto;
    }
}

.single-post__content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.single-post__content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Links in content */
.single-post__content a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-post__content a:hover {
    color: #d9541a;
}

/* Horizontal rule */
.single-post__content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

/* Strong / Bold */
.single-post__content strong {
    font-weight: 700;
    color: var(--primary);
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
    max-width: 48rem;
    margin: 2rem auto 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .share-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

.share-buttons__label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
}

.share-buttons__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.share-btn--whatsapp {
    background: #25D366;
}

.share-btn--whatsapp:hover {
    background: #1da851;
}

.share-btn--facebook {
    background: #1877F2;
}

.share-btn--facebook:hover {
    background: #1466d2;
}

.share-btn--twitter {
    background: #1DA1F2;
}

.share-btn--twitter:hover {
    background: #0d8ddb;
}

.share-btn--linkedin {
    background: #0A66C2;
}

.share-btn--linkedin:hover {
    background: #085499;
}

.share-btn--copy {
    background: var(--gray-500);
    gap: 0.35rem;
    width: auto;
    padding: 0 1rem;
    border-radius: 1.375rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: #fff;
}

.share-btn--copy:hover {
    background: var(--gray-700);
}

.share-btn--copy.copied {
    background: #25D366;
}

.copy-label {
    display: none;
}

@media (min-width: 640px) {
    .copy-label {
        display: inline;
    }
}

/* Dark mode - share buttons */
body.dark-mode .share-buttons {
    border-top-color: #333;
}

body.dark-mode .share-buttons__label {
    color: #e0e0e0;
}

/* Dark mode - article content */
body.dark-mode .single-post__content strong {
    color: #e0e0e0;
}

body.dark-mode .single-post__content blockquote {
    background: #2a2a2a;
    color: #bbb;
}

body.dark-mode .single-post__content th {
    background: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .single-post__content td {
    border-color: #333;
}

body.dark-mode .single-post__content a {
    color: var(--secondary);
}

/* Archive / Category */
.archive-header {
    padding: 2rem 0;
    background: var(--secondary);
    color: #fff;
    text-align: center;
}

.archive-header__title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.archive-header__description {
    color: rgba(255, 255, 255, 0.85);
}

.archive-content {
    padding: 3rem 0;
}

/* 404 */
.error-404 {
    padding: 6rem 0;
    text-align: center;
}

.error-404__title {
    font-size: 8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.error-404__message {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.error-404__link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--secondary);
    color: #fff;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.error-404__link:hover {
    background: #d9541a;
}

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

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* WordPress Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

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

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}