/*
Theme Name: Vidwan Arun Hegde - Vedic Wisdom
Theme URI: https://www.arunhegde.in/
Author: Vidwan Arun Hegde
Author URI: https://www.arunhegde.in/
Description: The complete ArunHegde.in design with Vedic Astrology, Vastu, learning, books, talks and original articles. Includes approved photographs and automatic, non-destructive page setup on activation.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
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: arunhegde-wisdom
*/

/* WordPress compatibility; the approved design lives in assets/style.css. */
.admin-bar .site-header { top: 32px; }
#wpadminbar img { width: auto; max-width: none; }
.ahw-entry { padding-top: 72px; padding-bottom: 88px; min-height: 45vh; }
.ahw-entry > .wrap { max-width: 920px; }
.ahw-entry h1 { font-size: clamp(36px,5vw,64px); margin-bottom: 28px; }
.ahw-content { overflow-wrap: anywhere; }
.ahw-content p, .ahw-content ul, .ahw-content ol, .ahw-content figure,
.ahw-content blockquote, .ahw-content table { margin-bottom: 24px; }
.ahw-content h2, .ahw-content h3, .ahw-content h4 { margin-top: 36px; margin-bottom: 18px; }
.ahw-content h2 { font-size: clamp(30px,3vw,40px); }
.ahw-content h3 { font-size: 29px; }
.ahw-content img { width: auto; max-width: 100%; }
.ahw-content figure img, .ahw-post-card img { width: 100%; }
.ahw-content blockquote { border-left: 2px solid var(--brass); padding: 8px 24px; }
.ahw-content pre { overflow-x: auto; padding: 20px; background: #eee9dd; }
.ahw-content table { border-collapse: collapse; width: 100%; }
.ahw-content td, .ahw-content th { border: 1px solid var(--line); padding: 12px; text-align: left; }
.ahw-entry-meta, .ahw-post-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.ahw-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.ahw-post-card { border-top: 1px solid var(--brass); padding: 28px 0; }
.ahw-post-card h2, .ahw-post-card h3 { font-size: 32px; margin: 16px 0; }
.ahw-post-card h2 a, .ahw-post-card h3 a { text-decoration: none; }
.ahw-post-card img { aspect-ratio: 3/2; object-fit: cover; margin-bottom: 18px; }
.ahw-pagination, .navigation.pagination, .post-navigation { margin-top: 40px; }
.ahw-pagination .page-numbers, .pagination .page-numbers { padding: 8px 12px; }
.ahw-pagination .current, .pagination .current { background: var(--ink); color: var(--ivory); }
.ahw-search-form, .search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 28px 0; }
.search-form label, .ahw-search-form label { flex: 1 1 240px; }
.search-field, .ahw-search-form input { width: 100%; border: 1px solid var(--line); padding: 12px; background: var(--paper); color: var(--ink); }
.search-submit, .ahw-search-form button, .comment-form .submit { background: var(--ink); color: var(--ivory); border: 1px solid var(--ink); padding: 12px 24px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; width: auto; height: auto; padding: 16px; display: block; top: 8px; left: 8px; background: white; z-index: 100000; }
.alignleft { float: left; margin: 8px 24px 16px 0; }
.alignright { float: right; margin: 8px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); }
.ahw-content::after { content: ''; display: table; clear: both; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { border-bottom: 1px solid var(--line); padding: 24px 0; }
.comment-author .avatar { width: 48px; height: 48px; display: inline-block; vertical-align: middle; margin-right: 10px; }
.comment-form label { display: block; }
.comment-form input:not([type=checkbox]), .comment-form textarea { max-width: 100%; padding: 12px; border: 1px solid var(--line); }
.comment-form textarea { width: 100%; }
.comment-form-cookies-consent label { display: inline; }
.bypostauthor .comment-author { font-weight: 700; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .ahw-post-grid { grid-template-columns: 1fr; }
  .ahw-entry { padding: 48px 0 64px; }
  .alignleft, .alignright { float: none; margin: 20px 0; }
}
