/*
Theme Name: Adobe Hub
Description: Professional WordPress theme for Adobe Creative Suite content websites. Features responsive design, product landing pages, premium content tags, and modern UI elements perfect for tutorials, reviews, and creative guides.
Author: Adobe Hub Team
Version: 1.3.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adobe-hub
Tags: blog, education, creative, responsive, adobe, tutorials, reviews, two-columns, custom-header, custom-menu, featured-images, sticky-post, translation-ready
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4

Adobe Hub WordPress Theme, Copyright 2024 Adobe Hub Team
Adobe Hub is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/* Import theme styles */
@import url('assets/css/tailwind-fallback.css');
@import url('assets/css/theme.css');

/* Base theme styles to ensure proper display */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Ensure container works properly */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Ensure grid works */
.grid {
    display: grid;
}

/* Ensure flex works */
.flex {
    display: flex;
}

/* Prose styles for content */
.prose {
    max-width: 65ch;
}

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

.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

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

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

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

.prose a {
    color: #FF0000;
    text-decoration: underline;
}

.prose a:hover {
    color: #DC2626;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.prose blockquote {
    border-left: 4px solid #FF0000;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6B7280;
}

.prose code {
    background-color: #F3F4F6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.prose pre {
    background-color: #1F2937;
    color: #F9FAFB;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

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

/* WordPress specific styles */
.wp-block-image {
    margin-bottom: 1rem;
}

.wp-block-quote {
    border-left: 4px solid #FF0000;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.wp-block-code {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
}

/* Gutenberg blocks */
.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-columns {
    display: flex;
    gap: 2rem;
}

.wp-block-column {
    flex: 1;
}

/* Navigation menus */
.wp-block-navigation {
    display: flex;
    gap: 2rem;
}

.wp-block-navigation-item {
    list-style: none;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #001E36;
}

.comment-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

/* Pagination */
.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-numbers a,
.page-numbers span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 0.25rem;
}

.page-numbers .current {
    background: #FF0000;
    color: white;
    border-color: #FF0000;
}

/* Search form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    background: transparent;
    outline: none;
}

.search-submit {
    background: #FF0000;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #001E36;
    margin-bottom: 1rem;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}