/* =========================================================
   AYAN SHIP BREAKERS — WordPress additions
   (admin bar offset, editor content, blog, form status, credit)
   ========================================================= */

/* Admin bar: keep the fixed header below it for logged-in editors */
.admin-bar .site-header{top:32px;}
@media (max-width:782px){.admin-bar .site-header{top:46px;}}
@media (max-width:600px){.admin-bar .site-header{top:0;}}

/* Skip link */
.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:1001;background:#fff;color:var(--navy-950);padding:10px 16px;}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* Footer credit */
.footer__credit{border-top:1px solid rgba(255,255,255,.08);padding-top:16px;padding-bottom:20px;text-align:center;font-family:var(--f-mono);font-size:.74rem;letter-spacing:.03em;}
.footer__credit a{color:var(--steel-300);transition:color .2s;}
.footer__credit a:hover{color:#fff;}

/* Contact form */
.asb-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.asb-form-status{color:var(--blue-bright);}
.asb-form-status.is-error{color:var(--rust-400);}
.asb-form-plugin input,.asb-form-plugin textarea,.asb-form-plugin select{width:100%;}

/* Content written in the block editor (default pages, posts) */
.entry-content{max-width:820px;color:var(--steel-700);font-size:1.02rem;line-height:1.75;}
.entry-content > * + *{margin-top:1.1em;}
.entry-content h2,.entry-content h3,.entry-content h4{margin-top:1.6em;}
.entry-content h2{font-size:clamp(1.8rem,3vw,2.4rem);}
.entry-content ul,.entry-content ol{padding-left:1.4em;}
.entry-content ul{list-style:disc;}
.entry-content li + li{margin-top:.35em;}
.entry-content a{color:var(--navy-600);text-decoration:underline;text-underline-offset:2px;}
.entry-content a:hover{color:var(--rust-600);}
.entry-content a.wp-block-button__link{color:#fff;text-decoration:none;}
.entry-content blockquote{border-left:3px solid var(--rust-500);margin-left:0;padding-left:1.2em;color:var(--ink-700);}
.entry-content figure{margin-left:0;margin-right:0;}
.entry-content img{height:auto;}
.entry-content figcaption{font-size:.85rem;color:var(--steel-500);margin-top:.5em;}
.entry-content table{border-collapse:collapse;width:100%;}
.entry-content th,.entry-content td{border:1px solid var(--steel-100);padding:8px 12px;text-align:left;}
.entry-content .alignwide{max-width:none;}
.entry-content .alignleft{float:left;margin:0 1.4em 1em 0;}
.entry-content .alignright{float:right;margin:0 0 1em 1.4em;}
.entry-content .aligncenter{margin-left:auto;margin-right:auto;}
.entry-thumb{margin:0 0 28px;}
.entry-nav{display:flex;justify-content:space-between;gap:20px;margin-top:48px !important;padding-top:20px;border-top:1px solid var(--steel-100);font-weight:600;}
.entry-nav a{text-decoration:none;color:var(--navy-900);}

/* Blog listing */
.post-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:28px;}
.post-card{border:1px solid var(--steel-100);background:var(--paper-0);display:flex;flex-direction:column;}
.post-card__media img{width:100%;aspect-ratio:16/10;object-fit:cover;}
.post-card__body{padding:24px;display:flex;flex-direction:column;align-items:flex-start;flex:1;}
.post-card__body h3 a:hover{color:var(--rust-600);}
.post-card__body p{color:var(--steel-700);margin-top:10px;}
.pagination{margin-top:40px;}
.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap;}
.pagination .page-numbers{padding:8px 14px;border:1px solid var(--steel-100);}
.pagination .page-numbers.current{background:var(--navy-900);color:#fff;border-color:var(--navy-900);}
