/*
Theme Name: Antique Silver — TT5 Child
Theme URI: https://antiquesilverhallmarks.com/
Description: Editorial, museum-quiet child theme of Twenty Twenty-Five for the Antique Silver Hallmarks blog. Shares the exact design tokens used by the static reference site — bone background, charcoal ink, a single smoked-slate accent and faded-bronze hairlines, Fraunces headings over Inter body.
Author: Antique Silver Hallmarks
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: antique-silver-child
*/

/* The bulk of the design lives in theme.json. These rules add the few
   editorial touches the block system can't express on its own. */

:root {
  --as-line: var(--wp--preset--color--line);
  --as-bronze: var(--wp--preset--color--bronze);
}

/* Hairline-divided rhythm between top-level blocks in post content */
.wp-block-post-content > .wp-block-heading.is-style-section-rule {
  border-top: 1px solid var(--as-line);
  padding-top: var(--wp--preset--spacing--50);
}

/* Eyebrow utility (small-caps bronze label) */
.is-style-eyebrow {
  font-family: var(--wp--preset--font-family--sans) !important;
  font-size: var(--wp--preset--font-size--small) !important;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--bronze-ink) !important;
}

/* Pull-quote / aside, matching the static site */
.wp-block-quote {
  border-left: 2px solid var(--as-bronze);
  padding-left: var(--wp--preset--spacing--50);
  font-family: var(--wp--preset--font-family--serif);
  font-style: normal;
  color: var(--wp--preset--color--slate-deep);
}

/* Bronze-underlined links inside prose */
.wp-block-post-content a,
.entry-content a {
  text-decoration-color: var(--as-bronze);
  text-underline-offset: 3px;
}

/* Sticky, hairline header */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--as-line);
}

/* Buttons: squared ink primary */
.wp-block-button__link {
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.01em;
}

/* Reading measure for classic content */
.entry-content { max-width: 68ch; margin-inline: auto; }

/* Zebra/hairline tables to match the static chart */
.wp-block-table table { border-collapse: collapse; }
.wp-block-table td, .wp-block-table th {
  border-bottom: 1px solid var(--as-line);
  padding: 0.75rem 1.25rem;
}
.wp-block-table thead th {
  font-family: var(--wp--preset--font-family--sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--wp--preset--font-size--small);
  background: #F4F2EC;
}
.wp-block-table tbody tr:nth-child(even) { background: #FCFBF8; }

/* ===== Blog journal listing (image + text rows) ===== */
.journal-row{ display:flex; flex-wrap:wrap; gap:var(--wp--preset--spacing--60); align-items:flex-start; }
.journal-row > .wp-block-post-featured-image{ flex:0 0 340px; width:340px; max-width:100%; margin:0; }
.journal-row > .wp-block-post-featured-image img{ width:100%; height:230px; object-fit:cover; border-radius:8px; display:block; }
.journal-row__text{ flex:1 1 22rem; min-width:16rem; }
.journal-row__text .wp-block-post-title{ line-height:1.12; margin-top:var(--wp--preset--spacing--20); }
.journal-row__text .wp-block-post-title a{ text-decoration:none; color:var(--wp--preset--color--contrast); }
.journal-row__text .wp-block-post-title a:hover{ text-decoration:underline; }
.journal-row__text .wp-block-post-excerpt__more-link{ display:inline-block; margin-top:var(--wp--preset--spacing--40); font-size:var(--wp--preset--font-size--small); font-weight:500; color:var(--wp--preset--color--slate-deep); text-decoration:none; border-bottom:1px solid var(--wp--preset--color--bronze); padding-bottom:2px; }
.journal-row__text .wp-block-post-excerpt__more-link:hover{ color:var(--wp--preset--color--bronze-ink); }
@media (max-width:782px){
  .journal-row > .wp-block-post-featured-image{ flex-basis:100%; width:100%; }
  .journal-row > .wp-block-post-featured-image img{ height:200px; }
}
.journal-intro{ max-width:56ch; margin-left:0 !important; margin-right:auto !important; }

/* ===== pillar-components: page içeriği (tablo/kutu/adım) ===== */
.wp-block-post-content .table-wrap{ overflow-x:auto; margin:1.75rem 0; border:1px solid var(--wp--preset--color--line-2); border-radius:8px; }
.wp-block-post-content table{ width:100%; border-collapse:collapse; font-size:0.96rem; background:var(--wp--preset--color--surface); }
.wp-block-post-content thead th{ text-align:left; background:#F1EEE6; font-family:var(--wp--preset--font-family--sans); font-weight:600; font-size:0.9rem; padding:0.7rem 0.95rem; border-bottom:1px solid var(--wp--preset--color--line-2); }
.wp-block-post-content td{ padding:0.7rem 0.95rem; border-top:1px solid var(--wp--preset--color--line); vertical-align:top; }
.wp-block-post-content .info-box{ background:#F6F3EC; border-left:3px solid var(--wp--preset--color--bronze); border-radius:0 6px 6px 0; padding:1rem 1.2rem; margin:1.5rem 0; }
.wp-block-post-content .cta-box{ border:1px solid var(--wp--preset--color--line-2); border-radius:10px; padding:1.6rem 1.8rem; margin:2.5rem 0; background:var(--wp--preset--color--surface); }
.wp-block-post-content .cta-box h3{ margin:0 0 0.5rem; }
.wp-block-post-content .cta-box p{ margin:0.3rem 0; }
.wp-block-post-content .cta-btn{ display:inline-block; margin-top:0.7rem; background:var(--wp--preset--color--contrast); color:var(--wp--preset--color--base) !important; padding:0.7rem 1.2rem; border-radius:8px; text-decoration:none; font-weight:500; font-size:0.95rem; }
.wp-block-post-content .cta-btn:hover{ background:var(--wp--preset--color--slate-deep); }
.wp-block-post-content ol.steps{ margin:1.5rem 0; padding-left:1.3rem; }
.wp-block-post-content ol.steps li{ margin-bottom:0.7rem; padding-left:0.3rem; }
@media(max-width:600px){ .wp-block-post-content table{ font-size:0.85rem; } }
