/*
Theme Name: Omkar Pote
Theme URI: https://itsomkarpote.com
Author: Omkar Pote
Description: Personal brand theme for itsomkarpote.com — home, about, insights (blog), e-book landing page, contact form, thank-you downloads and legal pages. Organic theme with gentle motion.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: All rights reserved
Text Domain: omkarpote
*/

/* The site's styles live in assets/css/site.css (loaded by functions.php). */

/* WordPress additions */
.wp-site-blocks, .site { min-height: 100vh; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .875rem; color: var(--faint); margin-top: .5rem; }
.prose img { border-radius: 18px; }
.prose blockquote { margin: 1.75em 0; padding-left: 1.25rem; border-left: 3px solid var(--ochre); font-family: var(--f-display); font-size: 1.35rem; line-height: 1.45; }
.prose pre { overflow-x: auto; background: var(--paper); padding: 1rem; border-radius: 14px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pagination { display: flex; gap: .75rem; justify-content: center; padding-bottom: 4rem; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.notice-box { border-radius: 20px; padding: 1rem 1.25rem; font-weight: 600; }
.notice-box.ok { background: var(--sage-lt); color: var(--moss); }
.notice-box.err { background: #f6e3da; color: #8a3a1c; }
.hp-field { position: absolute; left: -9999px; }
.dl-card .btn svg { width: 20px; height: 20px; }
.pill svg, .chip svg { flex: none; }
.legal-head .lede { margin-top: .75rem; font-size: 1.15rem; color: var(--muted); }

/* WordPress menus (Appearance › Menus) */
.nav-links .current-menu-item > a, .nav-links .current_page_item > a, .nav-links .current_page_parent > a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links > .menu-item { position: relative; }
.nav-links .sub-menu { display: none; position: absolute; left: 0; top: calc(100% + 10px); min-width: 13rem; list-style: none; margin: 0; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -24px rgba(31,42,34,.45); z-index: 20; }
.nav-links .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-links .menu-item:hover > .sub-menu, .nav-links .menu-item:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a { display: block; padding: .6rem .85rem; border-radius: 12px; font-size: .9375rem; color: var(--ink); text-decoration: none; }
.nav-links .sub-menu a:hover { background: var(--sage-lt); }
@media (min-width: 781px) { .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: .5rem; } }
@media (max-width: 780px) { .nav-links .sub-menu { display: block; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 12px; } }
.foot .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; font-size: .9375rem; }
.foot .menu a { color: var(--ink); text-decoration: none; }
.foot .menu a:hover { text-decoration: underline; }
.nav-links > li.current-menu-item > a:not(.btn), .nav-links > li.current_page_item > a:not(.btn), .nav-links > li.current_page_parent > a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 6px; }
