/**
 * Website Guide Styles
 */

/* Container Layout */
.website-guide-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.website-guide-sidebar-right .website-guide-container {
    grid-template-columns: 1fr 280px;
}

.website-guide-sidebar-right .website-guide-sidebar {
    order: 2;
}

.website-guide-sidebar-right .website-guide-content {
    order: 1;
}

/* Responsive layout */
@media (max-width: 768px) {
    .website-guide-container {
        grid-template-columns: 1fr;
    }
    
    .website-guide-sidebar-right .website-guide-sidebar,
    .website-guide-sidebar-right .website-guide-content {
        order: initial;
    }
}

/* Sidebar styles */
.website-guide-sidebar {
    position: relative;
}

.website-guide-sidebar-inner {
    position: sticky;
    top: 30px;
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.website-guide-dark .website-guide-sidebar-inner {
    background-color: #333;
    color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.website-guide-category {
    margin-bottom: 20px;
}

.website-guide-category-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 8px;
}

.website-guide-dark .website-guide-category-title {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.website-guide-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.website-guide-item {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.website-guide-item a {
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s, color 0.2s;
}

.website-guide-dark .website-guide-item a {
    color: #eee;
}

.website-guide-item a:hover,
.website-guide-item a:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: #0073aa;
}

.website-guide-dark .website-guide-item a:hover,
.website-guide-dark .website-guide-item a:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: #66c6ff;
}

.website-guide-item.active a {
    background-color: #0073aa;
    color: white;
    font-weight: 500;
}

.website-guide-dark .website-guide-item.active a {
    background-color: #0e6b9c;
}

/* Article content */
.website-guide-article {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.website-guide-dark .website-guide-article {
    background-color: #222;
    color: #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.website-guide-header {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
}

.website-guide-dark .website-guide-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.website-guide-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.website-guide-dark .website-guide-title {
    color: #fff;
}

.website-guide-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.website-guide-category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 30px;
    background-color: #f0f0f0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.website-guide-dark .website-guide-category-badge {
    background-color: #444;
    color: #ddd;
}

.website-guide-featured-image {
    margin-bottom: 20px;
}

.website-guide-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.website-guide-content-area {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.website-guide-dark .website-guide-content-area {
    color: #ddd;
}

.website-guide-content-area h2 {
    margin-top: 30px;
    font-size: 24px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.website-guide-dark .website-guide-content-area h2 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.website-guide-content-area h3 {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
}

.website-guide-dark .website-guide-content-area h3 {
    color: #fff;
}

.website-guide-content-area p {
    margin-bottom: 16px;
}

.website-guide-content-area a {
    color: #0073aa;
    text-decoration: none;
}

.website-guide-dark .website-guide-content-area a {
    color: #66c6ff;
}

.website-guide-content-area a:hover,
.website-guide-content-area a:focus {
    text-decoration: underline;
}

.website-guide-content-area ul,
.website-guide-content-area ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.website-guide-content-area li {
    margin-bottom: 8px;
}

.website-guide-content-area code {
    background-color: #f5f5f5;
    padding: 3px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
    color: #c7254e;
}

.website-guide-dark .website-guide-content-area code {
    background-color: #333;
    color: #ff7b8d;
}

/* Navigation */
.website-guide-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.website-guide-dark .website-guide-navigation {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.website-guide-prev,
.website-guide-next {
    max-width: 45%;
}

.website-guide-prev a,
.website-guide-next a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #0073aa;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.website-guide-dark .website-guide-prev a,
.website-guide-dark .website-guide-next a {
    color: #66c6ff;
}

.website-guide-prev a:hover,
.website-guide-next a:hover,
.website-guide-prev a:focus,
.website-guide-next a:focus {
    background-color: rgba(0, 0, 0, 0.05);
}

.website-guide-dark .website-guide-prev a:hover,
.website-guide-dark .website-guide-next a:hover,
.website-guide-dark .website-guide-prev a:focus,
.website-guide-dark .website-guide-next a:focus {
    background-color: rgba(255, 255, 255, 0.05);
}

.website-guide-nav-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.website-guide-dark .website-guide-nav-label {
    color: #aaa;
}

.website-guide-next {
    text-align: right;
}

.website-guide-next a {
    align-items: flex-end;
}

/* Archive & Category templates */
.website-guide-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.website-guide-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.website-guide-archive-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.website-guide-archive-description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.website-guide-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.website-guide-category-card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.website-guide-dark .website-guide-category-card {
    background-color: #222;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.website-guide-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.website-guide-dark .website-guide-category-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.website-guide-category-card .website-guide-category-title {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 0;
}

.website-guide-category-card .website-guide-category-title a {
    text-decoration: none;
    color: #333;
}

.website-guide-dark .website-guide-category-card .website-guide-category-title a {
    color: #fff;
}

.website-guide-category-count {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.website-guide-dark .website-guide-category-count {
    color: #aaa;
}

.website-guide-category-description {
    color: #555;
    font-size: 15px;
    margin-bottom: 20px;
}

.website-guide-dark .website-guide-category-description {
    color: #ccc;
}

.website-guide-category-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.website-guide-dark .website-guide-category-link {
    background-color: #0e6b9c;
}

.website-guide-category-link:hover,
.website-guide-category-link:focus {
    background-color: #005d87;
    color: white;
}

.website-guide-dark .website-guide-category-link:hover,
.website-guide-dark .website-guide-category-link:focus {
    background-color: #0a5173;
}

.website-guide-recent-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.website-guide-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.website-guide-recent-item {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.website-guide-dark .website-guide-recent-item {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.website-guide-recent-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.website-guide-dark .website-guide-recent-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.website-guide-recent-thumbnail {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.website-guide-recent-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.website-guide-recent-thumbnail:hover img {
    transform: scale(1.05);
}

.website-guide-recent-item-title {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 18px;
}

.website-guide-recent-item-title a {
    text-decoration: none;
    color: #333;
}

.website-guide-dark .website-guide-recent-item-title a {
    color: #fff;
}

.website-guide-recent-excerpt {
    padding: 0 20px;
    color: #555;
    font-size: 14px;
}

.website-guide-dark .website-guide-recent-excerpt {
    color: #aaa;
}

.website-guide-read-more {
    display: inline-block;
    margin: 15px 20px 20px;
    padding: 6px 12px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.website-guide-dark .website-guide-read-more {
    background-color: #333;
    color: #ddd;
}

.website-guide-read-more:hover,
.website-guide-read-more:focus {
    background-color: #0073aa;
    color: white;
}

.website-guide-dark .website-guide-read-more:hover,
.website-guide-dark .website-guide-read-more:focus {
    background-color: #0e6b9c;
}

/* Shortcode outputs */
.website-guide-list {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.website-guide-list.website-guide-grid.website-guide-columns-1 {
    grid-template-columns: 1fr;
}

.website-guide-list.website-guide-grid.website-guide-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.website-guide-list.website-guide-grid.website-guide-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.website-guide-list.website-guide-grid.website-guide-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .website-guide-list.website-guide-grid {
        grid-template-columns: 1fr;
    }
}

.website-guide-list.website-guide-list {
    display: block;
}

.website-guide-list.website-guide-list .website-guide-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.website-guide-dark .website-guide-list.website-guide-list .website-guide-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.website-guide-embed {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 25px;
    margin: 30px 0;
}

.website-guide-dark .website-guide-embed {
    background-color: #222;
}

.website-guide-embed.website-guide-layout-compact {
    padding: 15px;
}

.website-guide-embed .website-guide-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
}

.website-guide-embed.website-guide-layout-compact .website-guide-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Header Bar Styles */
.website-guide-header-bar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.website-guide-dark .website-guide-header-bar {
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.website-guide-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.website-guide-logo {
    font-size: 20px;
    font-weight: 600;
}

.website-guide-custom-logo {
    height: 30px;
    width: auto;
    display: block;
}

.website-guide-home-link {
    text-decoration: none;
    color: #333;
}

.website-guide-dark .website-guide-home-link {
    color: #eee;
}

/* Mobile Toggle Button */
.website-guide-mobile-toggle {
    display: block;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.website-guide-toggle-icon,
.website-guide-toggle-icon::before,
.website-guide-toggle-icon::after {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #333;
    position: absolute;
    transition: transform 0.3s, top 0.3s, background-color 0.3s;
}

.website-guide-dark .website-guide-toggle-icon,
.website-guide-dark .website-guide-toggle-icon::before,
.website-guide-dark .website-guide-toggle-icon::after {
    background-color: #eee;
}

.website-guide-toggle-icon {
    top: 14px;
}

.website-guide-toggle-icon::before,
.website-guide-toggle-icon::after {
    content: '';
}

.website-guide-toggle-icon::before {
    top: -8px;
}

.website-guide-toggle-icon::after {
    top: 8px;
}

/* Toggle active state */
.website-guide-mobile-toggle[aria-expanded="true"] .website-guide-toggle-icon {
    background-color: transparent;
}

.website-guide-mobile-toggle[aria-expanded="true"] .website-guide-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.website-guide-mobile-toggle[aria-expanded="true"] .website-guide-toggle-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Navigation */
.website-guide-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    z-index: 99;
}

.website-guide-dark .website-guide-mobile-nav {
    background-color: #222;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.website-guide-mobile-nav.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.website-guide-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.website-guide-nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.website-guide-dark .website-guide-nav-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.website-guide-nav-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    max-width: 1200px;
    margin: 0 auto;
}

.website-guide-dark .website-guide-nav-link {
    color: #eee;
}

.website-guide-nav-link:hover,
.website-guide-nav-link:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: #0073aa;
}

.website-guide-dark .website-guide-nav-link:hover,
.website-guide-dark .website-guide-nav-link:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: #66c6ff;
}

/* Footer Styles */
.website-guide-footer-area {
    background-color: #f7f7f7;
    padding: 20px 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 60px;
}

.website-guide-dark .website-guide-footer-area {
    background-color: #2a2a2a;
    color: #aaa;
}

.website-guide-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.website-guide-footer-area a {
    color: #0073aa;
    text-decoration: none;
}

.website-guide-dark .website-guide-footer-area a {
    color: #66c6ff;
}

.website-guide-footer-area a:hover,
.website-guide-footer-area a:focus {
    text-decoration: underline;
}
 