/*
Theme Name: ProbPeptide Official Theme
Theme URI: https://myopeptide.com
Author: ProbPeptide Dev Team
Author URI: https://myopeptide.com
Description: A lightweight, SEO-optimized WordPress theme designed for foreign trade peptide/biotech websites. Features clean code, fast loading, responsive design, and Yoast SEO compatibility.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: probpeptide
Tags: seo-optimized, lightweight, responsive, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, e-commerce, biotech
*/

/* ========================================================================
   ProbPeptide Theme - Main Stylesheet
   Primary: #0055cc | Secondary: #333333 | Background: #ffffff
   ======================================================================== */

/* ===== CSS Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
    background: #ffffff;
    overflow-x: hidden;
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0055cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #003d99;
    text-decoration: underline;
}

ul, ol {
    list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #333333;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* ===== Layout Containers ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    display: block;
    min-height: 60vh;
}

/* ===== Header & Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 18px 0;
}

.site-header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.site-header.scrolled .site-logo a {
    color: #0055cc;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.site-header.scrolled .main-nav ul li a {
    color: #333333;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a {
    color: #0055cc;
    text-decoration: none;
}

/* Dropdown */
.main-nav ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    padding: 8px 0;
}

.main-nav ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul.sub-menu li a {
    color: #333333;
    padding: 10px 20px;
    font-size: 0.85rem;
    text-transform: none;
    display: block;
}

.main-nav ul.sub-menu li a:hover {
    color: #0055cc;
    background: #f0f5ff;
}

/* Search Button */
.header-search {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.site-header.scrolled .search-toggle {
    border-color: rgba(0, 85, 204, 0.3);
    color: #0055cc;
}

.search-toggle:hover {
    background: #0055cc;
    border-color: #0055cc;
    color: #ffffff;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.search-overlay form {
    display: flex;
    gap: 0;
}

.search-overlay input[type="search"] {
    flex: 1;
    padding: 18px 24px;
    font-size: 1.25rem;
    border: none;
    background: #ffffff;
    color: #333333;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.search-overlay button[type="submit"] {
    padding: 0 30px;
    background: #0055cc;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background 0.2s ease;
}

.search-overlay button[type="submit"]:hover {
    background: #003d99;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-header.scrolled .menu-toggle span {
    background: #333333;
}

/* ===== Hero Banner (Front Page) ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #001a4d 0%, #003d99 50%, #0055cc 100%);
    color: #ffffff;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #ffffff;
    color: #0055cc;
}

.btn-primary:hover {
    background: #f0f5ff;
    color: #003d99;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 204, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: #ffffff;
    color: #0055cc;
    text-decoration: none;
    border-color: #ffffff;
}

.btn-blue {
    background: #0055cc;
    color: #ffffff;
}

.btn-blue:hover {
    background: #003d99;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 204, 0.3);
}

/* ===== Section General ===== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 12px;
}

.section-title p {
    color: #666;
    font-size: 1.05rem;
}

.section-title .accent-line {
    width: 60px;
    height: 4px;
    background: #0055cc;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== Product Categories ===== */
.product-categories {
    background: #f8f9fc;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    padding: 40px 30px;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 85, 204, 0.15);
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f0f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0055cc;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333333;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 16px;
}

.category-card .card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0055cc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Brand Advantages ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0055cc;
    line-height: 1;
    margin-bottom: 12px;
}

.advantage-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== News/Blog Cards ===== */
.news-section {
    background: #f8f9fc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.news-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e8ecf0;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.06);
}

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.news-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card h3 a {
    color: #333333;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: #0055cc;
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
    margin-bottom: 16px;
}

.news-card .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0055cc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #003d99 0%, #0055cc 100%);
    color: #ffffff;
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #0055cc;
}

.cta-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
}

/* ===== Page Header (inner pages) ===== */
.page-header-banner {
    background: linear-gradient(135deg, #001a4d 0%, #003d99 100%);
    color: #ffffff;
    padding: 160px 0 60px;
    text-align: center;
}

.page-header-banner h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header-banner .breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-header-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.page-header-banner .breadcrumb a:hover {
    color: #ffffff;
}

/* ===== Content Layout (with sidebar) ===== */
.content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 60px 0;
}

.content-area.no-sidebar {
    grid-template-columns: 1fr;
}

/* ===== Single Post ===== */
.single-post-wrapper {
    padding: 60px 0;
}

.single-post-header {
    margin-bottom: 30px;
}

.single-post-header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.single-post-meta {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf0;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-thumb {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.single-post-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #333333;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.single-post-content p {
    margin-bottom: 1.2em;
}

.single-post-content img {
    border-radius: 8px;
    margin: 1.5em auto;
}

.single-post-content blockquote {
    border-left: 4px solid #0055cc;
    padding: 15px 25px;
    margin: 1.5em 0;
    background: #f8f9fc;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}

.single-post-content ul,
.single-post-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.single-post-content ul { list-style: disc; }
.single-post-content ol { list-style: decimal; }

.single-post-content li {
    margin-bottom: 0.5em;
}

.single-post-content a {
    color: #0055cc;
    text-decoration: underline;
    text-decoration-color: rgba(0, 85, 204, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.single-post-content a:hover {
    text-decoration-color: #0055cc;
}

.single-post-content code {
    background: #f0f5ff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #0055cc;
}

.single-post-content pre {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.single-post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.single-post-content th,
.single-post-content td {
    border: 1px solid #e8ecf0;
    padding: 10px 15px;
    text-align: left;
}

.single-post-content th {
    background: #f8f9fc;
    font-weight: 600;
}

/* Post Tags */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8ecf0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.post-tags a {
    display: inline-block;
    padding: 4px 14px;
    background: #f0f5ff;
    color: #0055cc;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tags a:hover {
    background: #0055cc;
    color: #ffffff;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8ecf0;
}

.post-nav-link {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fc;
    transition: all 0.2s ease;
}

.post-nav-link:hover {
    background: #f0f5ff;
    text-decoration: none;
}

.post-nav-link .nav-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.post-nav-link .nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.post-nav-link.next {
    text-align: right;
}

/* ===== Archive Cards ===== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* ===== Pagination ===== */
.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    border-color: #0055cc;
    color: #0055cc;
    text-decoration: none;
}

.pagination .page-numbers.current {
    background: #0055cc;
    border-color: #0055cc;
    color: #ffffff;
}

/* ===== Sidebar ===== */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 25px;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0055cc;
    color: #333333;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e8ecf0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.widget ul li a:hover {
    color: #0055cc;
}

.widget_search form {
    display: flex;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e6ed;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.9rem;
    outline: none;
}

.widget_search button[type="submit"] {
    padding: 0 18px;
    background: #0055cc;
    color: #ffffff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 0.85rem;
}

.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.widget_tag_cloud .tag-cloud-link {
    display: inline-block;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 20px;
    font-size: 0.8rem !important;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}

.widget_tag_cloud .tag-cloud-link:hover {
    background: #0055cc;
    color: #ffffff;
    border-color: #0055cc;
}

/* ===== 404 Page ===== */
.error-404 {
    text-align: center;
    padding: 120px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404 .error-code {
    font-size: 8rem;
    font-weight: 800;
    color: #0055cc;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.error-404 p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.error-404 .search-form-404 {
    max-width: 500px;
    margin: 0 auto 30px;
    display: flex;
}

.error-404 .search-form-404 input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e0e6ed;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    outline: none;
}

.error-404 .search-form-404 button {
    padding: 0 30px;
    background: #0055cc;
    color: #ffffff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
    background: #0d1b3e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: #0055cc;
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-item .icon {
    color: #0055cc;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Comments ===== */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8ecf0;
}

.comments-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

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

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-list .children {
    list-style: none;
    padding-left: 30px;
}

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

.comment-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
}

.comment-reply-link {
    font-size: 0.8rem;
    color: #0055cc;
}

#commentform input,
#commentform textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

#commentform input:focus,
#commentform textarea:focus {
    border-color: #0055cc;
}

#commentform textarea {
    min-height: 120px;
    resize: vertical;
}

#commentform .submit {
    width: auto;
    padding: 12px 36px;
    background: #0055cc;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#commentform .submit:hover {
    background: #003d99;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

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

.alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 5px;
}

.sticky {
    border-left: 4px solid #0055cc;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

    .widget-area {
        order: 2;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: 50px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav ul li a {
        color: #333333;
        padding: 14px 0;
        display: block;
    }

    .main-nav ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        background: transparent;
        display: none;
    }

    .main-nav ul li.menu-item-has-children > a::after {
        content: ' \25BC';
        font-size: 0.6rem;
        float: right;
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }

    /* Grids */
    .category-grid,
    .news-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    /* Post Navigation */
    .post-navigation {
        flex-direction: column;
    }

    .post-nav-link.next {
        text-align: left;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header-banner {
        padding: 120px 0 40px;
    }

    .page-header-banner h1 {
        font-size: 1.8rem;
    }

    .error-404 .error-code {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}
