/*
Theme Name: Pond
Theme URI: #
Author: Theme Developer
Author URI: #
Description: A modern tech news theme with bold green accents and clean typography. Inspired by leading technology news websites with minimalist design approach.
Version: 1.4.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pond
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns
*/

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
    --pond-primary: #0a8935;
    --pond-primary-light: #0aa43e;
    --pond-primary-bright: #68f176;
    --pond-secondary: #5631ea;
    --pond-accent: #f2f673;

    --pond-black: #212623;
    --pond-dark: #050505;
    --pond-gray: #6c7571;
    --pond-gray-light: #b5c0bc;
    --pond-gray-lighter: #edf1ef;
    --pond-white: #ffffff;

    --pond-nav-bg: var(--pond-white);
    --pond-nav-text: var(--pond-black);
    --pond-footer-bg: var(--pond-dark);
    --pond-footer-text: var(--pond-white);

    --pond-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --pond-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --pond-font-display: var(--pond-font-heading);
    --pond-font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

    --pond-size-base: 17px;
    --pond-size-sm: 14px;
    --pond-size-xs: 12px;
    --pond-size-h1: clamp(2rem, 5vw, 3.5rem);
    --pond-size-h2: clamp(1.5rem, 3vw, 2rem);
    --pond-size-h3: 1.375rem;
    --pond-size-h4: 1.125rem;

    --pond-line-height: 1.6;
    --pond-line-heading: 1.2;

    --pond-radius: 0;
    --pond-radius-sm: 4px;

    --pond-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --pond-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1);

    --pond-space-xs: 4px;
    --pond-space-sm: 8px;
    --pond-space-md: 16px;
    --pond-space-lg: 24px;
    --pond-space-xl: 40px;
    --pond-space-2xl: 64px;

    --pond-container: 1200px;
    --pond-content: 720px;
    --pond-sidebar: 300px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--pond-font-body);
    font-size: var(--pond-size-base);
    line-height: var(--pond-line-height);
    color: var(--pond-black);
    background: var(--pond-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pond-font-display);
    font-weight: 700;
    line-height: var(--pond-line-heading);
    margin: 0 0 var(--pond-space-md);
    color: var(--pond-black);
}

h1 { font-size: var(--pond-size-h1); font-weight: 800; }
h2 { font-size: var(--pond-size-h2); }
h3 { font-size: var(--pond-size-h3); }
h4 { font-size: var(--pond-size-h4); }

p { margin: 0 0 var(--pond-space-lg); }

a {
    color: var(--pond-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--pond-primary-light);
    text-decoration: underline;
}

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

ul, ol {
    margin: 0 0 var(--pond-space-lg);
    padding-left: var(--pond-space-lg);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.pond-skip-nav {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--pond-primary);
    color: var(--pond-white);
    padding: var(--pond-space-sm) var(--pond-space-md);
    z-index: 9999;
    font-weight: 600;
}

.pond-skip-nav:focus {
    top: 0;
    outline: 3px solid var(--pond-accent);
}

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

:focus-visible {
    outline: 2px solid var(--pond-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.pond-wrapper {
    max-width: var(--pond-container);
    margin: 0 auto;
    padding: 0 var(--pond-space-md);
}

.pond-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pond-main {
    flex: 1;
    padding: var(--pond-space-xl) 0;
}

.pond-grid {
    display: grid;
    grid-template-columns: 1fr var(--pond-sidebar);
    gap: var(--pond-space-xl);
}

.pond-content {
    min-width: 0;
}

.pond-grid--full {
    display: grid;
    grid-template-columns: 1fr;
    max-width: var(--pond-content);
    margin: 0 auto;
}

.pond-grid--left {
    display: grid;
    grid-template-columns: var(--pond-sidebar) 1fr;
    gap: var(--pond-space-xl);
}

.pond-grid--left .pond-aside {
    order: -1;
}

/* ==========================================================================
   Header
   ========================================================================== */

.pond-header {
    background: var(--pond-nav-bg);
    border-top: 3px solid var(--pond-primary);
    border-bottom: 1px solid var(--pond-gray-lighter);
    position: sticky;
    top: 0;
    z-index: 100;
}

.pond-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: var(--pond-space-lg);
}

.pond-logo a {
    display: flex;
    align-items: center;
    color: var(--pond-black);
    font-family: var(--pond-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.pond-logo a:hover {
    color: var(--pond-primary);
    text-decoration: none;
}

.pond-logo img,
.pond-logo .custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pond-logo__tagline {
    display: none;
    font-size: var(--pond-size-xs);
    color: var(--pond-gray);
    font-weight: 400;
    margin-left: var(--pond-space-sm);
}

.pond-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.pond-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--pond-space-xs);
}

.pond-nav__list a {
    display: block;
    padding: var(--pond-space-sm) var(--pond-space-md);
    color: var(--pond-black);
    font-size: var(--pond-size-sm);
    font-weight: 500;
    border-radius: var(--pond-radius-sm);
    transition: background 0.15s ease;
}

.pond-nav__list a:hover,
.pond-nav__list .current-menu-item a {
    background: var(--pond-gray-lighter);
    text-decoration: none;
}

.pond-header__search {
    display: flex;
    align-items: center;
}

.pond-header__search input {
    width: 180px;
    padding: var(--pond-space-sm) var(--pond-space-md);
    border: 1px solid var(--pond-gray-light);
    border-radius: var(--pond-radius-sm);
    font-size: var(--pond-size-sm);
    transition: border-color 0.15s ease;
}

.pond-header__search input:focus {
    outline: none;
    border-color: var(--pond-primary);
}

.pond-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: var(--pond-space-sm);
    cursor: pointer;
    font-size: 24px;
    color: var(--pond-black);
}

.pond-nav-close {
    display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.pond-footer {
    background: var(--pond-footer-bg);
    color: var(--pond-footer-text);
    padding: 40px 0 24px;
}

.pond-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--pond-space-xl);
    margin-bottom: var(--pond-space-xl);
}

.pond-footer__col h4 {
    color: var(--pond-white);
    font-size: var(--pond-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--pond-space-md);
}

.pond-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pond-footer__col li {
    margin-bottom: var(--pond-space-sm);
}

.pond-footer__col a {
    color: var(--pond-gray-light);
    font-size: var(--pond-size-sm);
}

.pond-footer__col a:hover {
    color: var(--pond-white);
}

.pond-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--pond-space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--pond-space-md);
}

.pond-copyright {
    font-size: var(--pond-size-sm);
    color: var(--pond-gray-light);
}

.pond-site-desc {
    display: block;
    margin-top: 2px;
    font-size: var(--pond-size-xs);
    color: var(--pond-gray);
}

.pond-footer__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--pond-space-lg);
}

.pond-footer__nav ul {
    flex-wrap: wrap;
}

.pond-footer__nav a {
    font-size: var(--pond-size-sm);
    color: var(--pond-gray-light);
}

/* ==========================================================================
   Articles / Cards
   ========================================================================== */

.pond-posts {
    display: flex;
    flex-direction: column;
}

.pond-article {
    padding: var(--pond-space-lg) 0;
    border-bottom: 1px solid var(--pond-gray-lighter);
}

.pond-article:first-child {
    padding-top: 0;
}

.pond-article--featured {
    padding: var(--pond-space-xl) 0;
    border-bottom: 3px solid var(--pond-primary);
    margin-bottom: var(--pond-space-md);
}

/* Featured article with thumbnail - wider text area */
.pond-article--featured.pond-article--has-thumb {
    grid-template-columns: 1fr minmax(200px, 45%);
    gap: var(--pond-space-xl);
    align-items: center;
}

.pond-article--featured.pond-article--has-thumb .pond-article__thumb {
    order: 1;
}

.pond-article--featured.pond-article--has-thumb .pond-article__thumb img {
    aspect-ratio: 16/10;
    max-width: 100%;
}

.pond-article__category {
    display: inline-block;
    font-family: var(--pond-font-display);
    font-size: var(--pond-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pond-primary);
    margin-bottom: var(--pond-space-sm);
}

.pond-article__category a {
    color: inherit;
}

.pond-article__category a:hover {
    text-decoration: underline;
}

.pond-article__title {
    font-size: var(--pond-size-h3);
    margin-bottom: var(--pond-space-sm);
    line-height: 1.3;
}

.pond-article--featured .pond-article__title {
    font-size: var(--pond-size-h2);
}

.pond-article__title a {
    color: var(--pond-black);
}

.pond-article__title a:hover {
    color: var(--pond-primary);
    text-decoration: none;
}

.pond-article__excerpt {
    color: var(--pond-gray);
    font-size: var(--pond-size-base);
    line-height: 1.6;
    margin-bottom: var(--pond-space-md);
}

.pond-article__excerpt a {
    color: var(--pond-secondary);
}

.pond-article__meta {
    display: flex;
    align-items: center;
    gap: var(--pond-space-md);
    font-size: var(--pond-size-sm);
    color: var(--pond-gray);
}

.pond-article__author {
    font-weight: 500;
    color: var(--pond-black);
}

.pond-article__thumb {
    margin-bottom: var(--pond-space-md);
    overflow: hidden;
}

.pond-article__thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pond-article:hover .pond-article__thumb img {
    transform: scale(1.03);
}

.pond-sticky-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--pond-primary);
    color: var(--pond-white);
    font-size: var(--pond-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    margin-bottom: var(--pond-space-sm);
}

/* With Image Layout */
.pond-article--has-thumb {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: var(--pond-space-lg);
    align-items: start;
}

.pond-article--has-thumb .pond-article__thumb {
    margin: 0;
    order: 1;
}

.pond-article--has-thumb .pond-article__thumb img {
    aspect-ratio: 4/3;
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.pond-single__header {
    max-width: var(--pond-content);
    margin: 0 auto var(--pond-space-xl);
    text-align: center;
}

.pond-single__category {
    margin-bottom: var(--pond-space-md);
}

.pond-single__title {
    font-size: var(--pond-size-h1);
    margin-bottom: var(--pond-space-md);
}

.pond-single__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--pond-space-sm) var(--pond-space-lg);
    font-size: var(--pond-size-sm);
    color: var(--pond-gray);
}

.pond-single__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pond-single__excerpt {
    max-width: var(--pond-content);
    margin: var(--pond-space-lg) auto;
    padding: var(--pond-space-lg);
    background: var(--pond-gray-lighter);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--pond-gray);
    border-left: 4px solid var(--pond-primary);
}

.pond-single__excerpt a {
    color: var(--pond-secondary);
}

.pond-single__image {
    margin-bottom: var(--pond-space-xl);
}

.pond-single__image img {
    width: 100%;
}

.pond-entry {
    max-width: var(--pond-content);
    margin: 0 auto;
}

.pond-entry h2, .pond-entry h3 {
    margin-top: var(--pond-space-xl);
}

.pond-entry blockquote {
    margin: var(--pond-space-lg) 0;
    padding: var(--pond-space-md) var(--pond-space-lg);
    border-left: 4px solid var(--pond-primary);
    background: var(--pond-gray-lighter);
    font-style: italic;
}

.pond-entry pre {
    background: var(--pond-dark);
    color: var(--pond-gray-lighter);
    padding: var(--pond-space-md);
    overflow-x: auto;
    font-family: var(--pond-font-mono);
    font-size: var(--pond-size-sm);
}

.pond-entry code {
    background: var(--pond-gray-lighter);
    padding: 2px 6px;
    font-family: var(--pond-font-mono);
    font-size: 0.9em;
}

.pond-entry pre code {
    background: none;
    padding: 0;
}
.pond-entry table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375rem; overflow-x: auto; display: block; }
.pond-entry thead { background: var(--pond-gray-lighter, #f4f4f4); }
.pond-entry th, .pond-entry td { padding: 0.75rem 1rem; border: 1px solid var(--pond-gray-light, #ddd); text-align: left; vertical-align: top; }
.pond-entry th { font-weight: 700; white-space: nowrap; }
.pond-entry tr:nth-child(even) { background: var(--pond-gray-lighter, #f8f8f8); }

.pond-tags {
    margin-top: var(--pond-space-xl);
    padding-top: var(--pond-space-lg);
    border-top: 1px solid var(--pond-gray-lighter);
}

.pond-tags span {
    font-weight: 600;
    margin-right: var(--pond-space-sm);
}

.pond-tags a {
    display: inline-block;
    background: var(--pond-gray-lighter);
    padding: 4px 12px;
    margin: 4px;
    font-size: var(--pond-size-sm);
    color: var(--pond-gray);
    border-radius: var(--pond-radius-sm);
}

.pond-tags a:hover {
    background: var(--pond-primary);
    color: var(--pond-white);
    text-decoration: none;
}

/* Author Box */
.pond-author-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: var(--pond-space-xl);
    padding: var(--pond-space-lg);
    background: var(--pond-gray-lightest);
    border-radius: var(--pond-radius);
}

.pond-author-box__avatar { flex-shrink: 0; }
.pond-author-box__avatar img { width: 80px; height: 80px; min-width: 80px; border-radius: 50%; object-fit: cover; display: block; }
.pond-author-box__info { flex: 1; }
.pond-author-box__name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.pond-author-box__name a { color: var(--pond-dark); }
.pond-author-box__name a:hover { color: var(--pond-primary); }
.pond-author-box__bio { font-size: 0.9375rem; color: var(--pond-gray); }

/* Post Navigation */
.pond-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--pond-space-lg);
    margin-top: var(--pond-space-xl);
    padding-top: var(--pond-space-xl);
    border-top: 1px solid var(--pond-gray-lighter);
}

.pond-post-nav__item {
    padding: var(--pond-space-md);
    background: var(--pond-gray-lighter);
}

.pond-post-nav__item--next {
    text-align: right;
}

.pond-post-nav__label {
    font-size: var(--pond-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pond-gray);
    margin-bottom: var(--pond-space-xs);
}

.pond-post-nav__link {
    font-weight: 600;
    color: var(--pond-black);
}

.pond-post-nav__link:hover {
    color: var(--pond-primary);
}

/* ==========================================================================
   Related Posts
   ========================================================================== */

.pond-related {
    margin-top: var(--pond-space-xl);
    padding-top: var(--pond-space-xl);
    border-top: 1px solid var(--pond-gray-lighter);
}

.pond-related__title {
    font-size: var(--pond-size-h4);
    margin-bottom: var(--pond-space-lg);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pond-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--pond-space-lg);
}

.pond-related__item {
    border-bottom: 2px solid var(--pond-gray-lighter);
    padding-bottom: var(--pond-space-md);
}

.pond-related__item:hover {
    border-color: var(--pond-primary);
}

.pond-related__item-title {
    font-size: var(--pond-size-base);
    margin: 0 0 var(--pond-space-xs);
    line-height: 1.4;
}

.pond-related__item-title a {
    color: var(--pond-black);
}

.pond-related__item-title a:hover {
    color: var(--pond-primary);
    text-decoration: none;
}

.pond-related__item-date {
    font-size: var(--pond-size-sm);
    color: var(--pond-gray);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.pond-aside .widget {
    margin-bottom: var(--pond-space-xl);
    padding-bottom: var(--pond-space-lg);
    border-bottom: 1px solid var(--pond-gray-lighter);
}

.pond-aside .widget-title {
    font-size: var(--pond-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pond-gray);
    margin-bottom: var(--pond-space-md);
    padding-bottom: var(--pond-space-sm);
    border-bottom: 2px solid var(--pond-primary);
}

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

.pond-aside .widget li {
    padding: var(--pond-space-sm) 0;
    border-bottom: 1px solid var(--pond-gray-lighter);
}

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

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.pond-breadcrumbs {
    font-size: var(--pond-size-sm);
    color: var(--pond-gray);
    margin-bottom: var(--pond-space-lg);
    font-family: var(--pond-font-mono);
}

.pond-breadcrumbs a {
    color: var(--pond-gray);
}

.pond-breadcrumbs a:hover {
    color: var(--pond-primary);
}

.pond-breadcrumbs__sep {
    margin: 0 var(--pond-space-sm);
    color: var(--pond-gray-light);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pond-pagination {
    display: flex;
    justify-content: center;
    gap: var(--pond-space-xs);
    margin-top: var(--pond-space-xl);
    font-family: var(--pond-font-display);
}

.pond-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--pond-space-xs);
    flex-wrap: wrap;
}

.pond-pagination a,
.pond-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--pond-space-sm);
    background: var(--pond-gray-lighter);
    font-weight: 500;
}

.pond-pagination a:hover {
    background: var(--pond-primary);
    color: var(--pond-white);
    text-decoration: none;
}

.pond-pagination .current {
    background: var(--pond-primary);
    color: var(--pond-white);
}

/* ==========================================================================
   Archive
   ========================================================================== */

.pond-archive__header {
    margin-bottom: var(--pond-space-xl);
    padding-bottom: var(--pond-space-lg);
    border-bottom: 3px solid var(--pond-primary);
}

.pond-archive__title {
    font-size: var(--pond-size-h2);
    margin-bottom: var(--pond-space-xs);
}

.pond-archive__desc {
    color: var(--pond-gray);
}

/* ==========================================================================
   Search
   ========================================================================== */

.pond-search-form {
    display: flex;
    gap: var(--pond-space-sm);
    margin-bottom: var(--pond-space-lg);
}

.pond-search-form input[type="search"] {
    flex: 1;
    padding: var(--pond-space-md);
    border: 2px solid var(--pond-gray-lighter);
    font-size: var(--pond-size-base);
}

.pond-search-form input:focus {
    outline: none;
    border-color: var(--pond-primary);
}

.pond-search-form button {
    padding: var(--pond-space-md) var(--pond-space-lg);
    background: var(--pond-primary);
    color: var(--pond-white);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.pond-search-form button:hover {
    background: var(--pond-primary-light);
}

.pond-no-results {
    text-align: center;
    padding: var(--pond-space-2xl);
    background: var(--pond-gray-lighter);
}

/* ==========================================================================
   404
   ========================================================================== */

.pond-error-page {
    text-align: center;
    padding: var(--pond-space-2xl) 0;
    max-width: 600px;
    margin: 0 auto;
}

.pond-error-page__code {
    font-size: 120px;
    font-weight: 800;
    color: var(--pond-primary);
    line-height: 1;
    margin-bottom: var(--pond-space-md);
}

.pond-error-page__title {
    font-size: var(--pond-size-h2);
    margin-bottom: var(--pond-space-md);
}

.pond-error-page__text {
    color: var(--pond-gray);
    margin-bottom: var(--pond-space-lg);
}

.pond-btn {
    display: inline-block;
    padding: var(--pond-space-md) var(--pond-space-lg);
    background: var(--pond-primary);
    color: var(--pond-white);
    font-weight: 600;
}

.pond-btn:hover {
    background: var(--pond-primary-light);
    color: var(--pond-white);
    text-decoration: none;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.pond-comments {
    margin-top: var(--pond-space-xl);
    padding-top: var(--pond-space-xl);
    border-top: 1px solid var(--pond-gray-lighter);
}

.pond-comments__title {
    font-size: var(--pond-size-h4);
    margin-bottom: var(--pond-space-lg);
}

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

.pond-comment {
    padding: var(--pond-space-lg);
    background: var(--pond-gray-lighter);
    margin-bottom: var(--pond-space-md);
}

.pond-comment .children {
    list-style: none;
    padding-left: var(--pond-space-lg);
    margin-top: var(--pond-space-md);
}

.pond-comment__header {
    display: flex;
    align-items: center;
    gap: var(--pond-space-md);
    margin-bottom: var(--pond-space-sm);
}

.pond-comment__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.pond-comment__author {
    font-weight: 600;
}

.pond-comment__date {
    font-size: var(--pond-size-sm);
    color: var(--pond-gray);
}

.pond-comment__reply a {
    font-size: var(--pond-size-sm);
    font-weight: 600;
    color: var(--pond-primary);
}

.pond-comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--pond-space-xs);
}

.pond-comment-form input,
.pond-comment-form textarea {
    width: 100%;
    padding: var(--pond-space-md);
    border: 2px solid var(--pond-gray-lighter);
    margin-bottom: var(--pond-space-md);
    font-size: var(--pond-size-base);
}

.pond-comment-form input:focus,
.pond-comment-form textarea:focus {
    outline: none;
    border-color: var(--pond-primary);
}

.pond-comment-form textarea {
    min-height: 150px;
}

.pond-comment-form button {
    padding: var(--pond-space-md) var(--pond-space-lg);
    background: var(--pond-primary);
    color: var(--pond-white);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   Scroll Top
   ========================================================================== */

.pond-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--pond-primary);
    color: var(--pond-white);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pond-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.pond-scroll-top:hover {
    background: var(--pond-primary-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .pond-grid {
        grid-template-columns: 1fr;
    }

    .pond-grid--left {
        grid-template-columns: 1fr;
    }

    .pond-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pond-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pond-header__inner {
        height: 56px;
    }

    .pond-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--pond-white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        padding: var(--pond-space-lg) var(--pond-space-md);
        z-index: 101;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .pond-nav.open {
        display: block;
        transform: translateX(0);
    }

    .pond-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 100;
    }

    .pond-menu-overlay.active {
        display: block;
    }

    body.pond-menu-active {
        overflow: hidden;
    }

    .pond-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        margin-left: auto;
        margin-bottom: var(--pond-space-lg);
        background: none;
        border: 1px solid var(--pond-gray-lighter);
        border-radius: var(--pond-radius-sm);
        font-size: 22px;
        cursor: pointer;
        color: var(--pond-black);
    }

    .pond-nav__list {
        flex-direction: column;
    }

    .pond-menu-btn {
        display: block;
    }

    .pond-logo img,
    .pond-logo .custom-logo {
        max-height: 40px;
    }

    .pond-header__search {
        display: none;
    }

    .pond-article--has-thumb,
    .pond-article--featured.pond-article--has-thumb {
        grid-template-columns: 1fr;
    }

    .pond-article--has-thumb .pond-article__thumb,
    .pond-article--featured.pond-article--has-thumb .pond-article__thumb {
        order: 0;
    }

    .pond-post-nav {
        grid-template-columns: 1fr;
    }

    .pond-related__grid {
        grid-template-columns: 1fr;
    }

    .pond-footer__grid {
        grid-template-columns: 1fr;
    }

    .pond-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .pond-aside {
        display: none !important;
    }

    .pond-footer__nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    :root {
        --pond-space-xl: 24px;
    }

    .pond-error-page__code {
        font-size: 80px;
    }
}

/* Interlinking Section */
.pond-interlinking {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--pond-gray-lighter);
}
.pond-interlinking-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pond-black);
}
.pond-interlinking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.pond-interlinking-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}
.pond-interlinking-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--pond-primary);
}
.pond-interlinking-list a {
    color: var(--pond-primary);
    text-decoration: none;
}
.pond-interlinking-list a:hover {
    text-decoration: underline;
}

/* Grid card hover */
.pond-posts.grid-3col .pond-article,
.pond-posts.grid-2col .pond-article {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: var(--pond-space-md);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.pond-posts.grid-3col .pond-article:hover,
.pond-posts.grid-2col .pond-article:hover {
    border-left-color: var(--pond-primary);
    background: var(--pond-gray-lighter);
}

/* === Grid Layouts === */
.pond-posts.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pond-posts.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.pond-posts.grid-3col .pond-article--featured,
.pond-posts.grid-2col .pond-article--featured {
    grid-column: 1 / -1;
}
.pond-posts.grid-3col .pond-article--has-thumb,
.pond-posts.grid-2col .pond-article--has-thumb {
    display: flex;
    flex-direction: column;
}
.pond-posts.grid-3col .pond-article--featured.pond-article--has-thumb,
.pond-posts.grid-2col .pond-article--featured.pond-article--has-thumb {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 45%);
    flex-direction: unset;
}
.pond-posts.grid-list {
    display: block;
}
.pond-posts.grid-list .pond-article {
    margin-bottom: 30px;
}
@media (max-width: 1024px) {
    .pond-posts.grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .pond-posts.grid-3col,
    .pond-posts.grid-2col {
        grid-template-columns: 1fr;
    }
    .pond-posts.grid-3col .pond-article--has-thumb,
    .pond-posts.grid-2col .pond-article--has-thumb,
    .pond-posts.grid-3col .pond-article--featured.pond-article--has-thumb,
    .pond-posts.grid-2col .pond-article--featured.pond-article--has-thumb {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    .pond-header,
    .pond-footer,
    .pond-aside,
    .pond-scroll-top,
    .pond-menu-btn,
    .pond-post-nav,
    .pond-related,
    .pond-interlinking,
    .pond-comments,
    .pond-breadcrumbs,
    .pond-header__search {
        display: none !important;
    }
    body { font-size: 12pt; color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
    .pond-grid, .pond-grid--left, .pond-grid--full { display: block; }
    .pond-entry { max-width: 100%; }
    img { max-width: 100%; }
}

/* ==========================================================================
   Structural Diversification
   ========================================================================== */

/* Card Style: Horizontal */
body.pond-card-horizontal .pond-posts { grid-template-columns: 1fr; }
body.pond-card-horizontal .pond-article { display: flex; flex-direction: row; }
body.pond-card-horizontal .pond-article__thumb { width: 40%; flex-shrink: 0; aspect-ratio: auto; }
body.pond-card-horizontal .pond-article__thumb img { width: 100%; height: 100%; object-fit: cover; }
body.pond-card-horizontal .pond-article__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) {
    body.pond-card-horizontal .pond-article { flex-direction: column; }
    body.pond-card-horizontal .pond-article__thumb { width: 100%; }
}

/* Card Style: Overlay */
body.pond-card-overlay .pond-article { position: relative; min-height: 280px; overflow: hidden; }
body.pond-card-overlay .pond-article__thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; aspect-ratio: auto; }
body.pond-card-overlay .pond-article__thumb img { width: 100%; height: 100%; object-fit: cover; }
body.pond-card-overlay .pond-article__body {
    position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 280px; padding: 1.25rem; background: linear-gradient(transparent 30%, rgba(0,0,0,0.85) 100%);
}
body.pond-card-overlay .pond-article__title a,
body.pond-card-overlay .pond-article__meta,
body.pond-card-overlay .pond-article__excerpt { color: #fff; }
body.pond-card-overlay .pond-article__cat { position: static; align-self: flex-start; margin-bottom: 8px; }

/* Card Style: Text-only */
body.pond-card-text .pond-article__thumb { display: none; }
body.pond-card-text .pond-article { border-left: 3px solid var(--pond-primary); padding-left: 1rem; }

/* Header Layout: Centered */
body.pond-header-centered .pond-header__inner { flex-direction: column; align-items: center; gap: 0.75rem; }
body.pond-header-centered .pond-nav { order: 2; }
@media (max-width: 768px) {
    body.pond-header-centered .pond-header__inner { flex-direction: row; }
}

/* Header Layout: Stacked */
body.pond-header-stacked .pond-header__inner { flex-wrap: wrap; gap: 0; }
body.pond-header-stacked .pond-logo { width: 100%; text-align: center; padding: 0.75rem 0 0.5rem; }
body.pond-header-stacked .pond-nav { flex: 1; justify-content: center; }
@media (max-width: 768px) {
    body.pond-header-stacked .pond-logo { width: auto; text-align: left; padding: 0; }
}

/* Featured Style: Hero */
body.pond-featured-hero .pond-article--featured { position: relative; min-height: 400px; overflow: hidden; grid-column: 1 / -1; border-radius: var(--pond-radius-lg, 12px); }
body.pond-featured-hero .pond-article--featured .pond-article__thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; aspect-ratio: auto; }
body.pond-featured-hero .pond-article--featured .pond-article__body {
    position: relative; z-index: 1; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem; background: linear-gradient(transparent 40%, rgba(0,0,0,0.8) 100%);
}
body.pond-featured-hero .pond-article--featured .pond-article__title a { color: #fff; font-size: 2rem; }

/* Featured Style: None */
body.pond-featured-none .pond-article--featured { display: none; }

/* Hover: Lift */
body.pond-hover-lift .pond-article:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); border-left-color: transparent; }
/* Hover: Glow */
body.pond-hover-glow .pond-article:hover { box-shadow: 0 0 20px rgba(0,0,0,0.15); border-left-color: transparent; }
/* Hover: Shadow */
body.pond-hover-shadow .pond-article:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.18); border-left-color: transparent; }
/* Hover: None */
body.pond-hover-none .pond-article:hover { transform: none; box-shadow: none; border-left-color: transparent; background: inherit; }
