/* Techway Creative Gallery — responsive journal and article templates.
   Uses the existing warm paper / coral / yellow brand system. */
.techway-blog{background:var(--bg,#fff8ed);color:var(--ink,#191c20)}
.techway-blog .eyebrow{color:var(--ink,#191c20)}
.techway-blog-accent{color:var(--accent,#fa523e)}
.techway-blog-hero{padding:154px 0 84px;background:#fff8ed;border-bottom:2px solid #191c20}
.techway-blog-hero__eyebrow{margin:0 0 35px}
.techway-blog-hero__layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,.65fr);gap:48px;align-items:end}
.techway-blog-hero h1{max-width:900px;font-size:clamp(56px,7.5vw,116px);letter-spacing:-.095em;line-height:.97}
.techway-blog-hero h1 span{color:var(--accent,#fa523e)}
.techway-blog-hero__aside{padding:0 0 12px;max-width:330px}
.techway-blog-hero__aside p{font-size:17px;line-height:1.65;color:#4d5050}
.techway-blog-hero__jump{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;margin-top:33px;padding-bottom:10px;border-bottom:1px solid #191c20;font-size:13px;font-weight:800}
.techway-blog-hero__jump span{font-size:20px;color:var(--accent,#fa523e)}
.techway-blog-list,.techway-blog-related{padding:93px 0 108px;background:#fffdf7}
.techway-blog-list__heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:36px;padding-bottom:22px;border-bottom:1px solid rgba(25,28,32,.22)}
.techway-blog-list__heading .eyebrow{margin-bottom:18px}
.techway-blog-list__heading h2{font-size:clamp(38px,4.6vw,66px);line-height:1.04;letter-spacing:-.072em}
.techway-blog-list__count{font-size:11px;font-weight:900;letter-spacing:.15em;white-space:nowrap;padding-bottom:7px}
.techway-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 23px}
.techway-blog-card{min-width:0;display:flex;flex-direction:column;border-top:2px solid #191c20}
.techway-blog-card__media{position:relative;display:block;aspect-ratio:1.45;overflow:hidden;background:#fee166}
.techway-blog-card__image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.75,.2,1)}
.techway-blog-card:hover .techway-blog-card__image{transform:scale(1.055)}
.techway-blog-card__media-arrow{display:flex;align-items:center;justify-content:center;position:absolute;bottom:16px;right:16px;width:40px;height:40px;border-radius:50%;background:#191c20;color:#fff;font-size:23px;transition:transform .25s,background .25s}
.techway-blog-card:hover .techway-blog-card__media-arrow{transform:translate(3px,-3px);background:#fa523e}
.techway-blog-card__fallback{position:absolute;inset:0;overflow:hidden;padding:22px;background:#fee166}
.techway-blog-card:nth-child(3n+2) .techway-blog-card__fallback{background:#fa523e}
.techway-blog-card:nth-child(3n+3) .techway-blog-card__fallback{background:#d4e8dc}
.techway-blog-card__fallback-label,.techway-blog-card__fallback-bottom{position:absolute;left:23px;z-index:1;font-size:10px;font-weight:900;letter-spacing:.15em}
.techway-blog-card__fallback-label{top:23px}
.techway-blog-card__fallback-bottom{bottom:24px}
.techway-blog-card:nth-child(3n+2) .techway-blog-card__fallback-label,.techway-blog-card:nth-child(3n+2) .techway-blog-card__fallback-bottom{color:#fff}
.techway-blog-card__shape{position:absolute;display:block;width:54%;aspect-ratio:1;border:20px solid #191c20;border-radius:50%;left:25%;top:7%;transform:rotate(-25deg)}
.techway-blog-card__shape--two{left:41%;top:24%;width:42%;border-color:#fff8ed;border-width:13px}
.techway-blog-card:nth-child(3n+2) .techway-blog-card__shape{border-color:#ffde70}
.techway-blog-card:nth-child(3n+2) .techway-blog-card__shape--two{border-color:#191c20}
.techway-blog-card__body{padding:22px 2px 0;display:flex;flex-direction:column;flex:1}
.techway-blog-card__meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:11px;color:#67635e;font-weight:800;letter-spacing:.055em}
.techway-blog-card__meta span:first-child{text-transform:uppercase;color:#fa523e}
.techway-blog-card__title{margin:17px 0 15px;font-size:clamp(23px,2.1vw,31px);line-height:1.19;letter-spacing:-.055em;overflow-wrap:anywhere}
.techway-blog-card__title a:hover{color:#e84935}
.techway-blog-card__excerpt{color:#555955;font-size:15px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 23px}
.techway-blog-card__read{margin-top:auto;padding:6px 0 10px;align-self:flex-start;display:flex;align-items:center;gap:18px;border-bottom:1px solid #191c20;font-weight:800;font-size:13px}
.techway-blog-card__read span{font-size:19px}
.techway-blog-card__read:hover{gap:24px;color:#e84935}
.techway-blog-pagination{margin-top:72px}
.techway-blog-pagination .nav-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px}
.techway-blog-pagination .page-numbers{min-width:44px;min-height:44px;padding:10px 14px;border:1px solid rgba(25,28,32,.25);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
.techway-blog-pagination .page-numbers:hover,.techway-blog-pagination .page-numbers.current{background:#191c20;border-color:#191c20;color:#fff}
.techway-blog-pagination .page-numbers.dots{border:none}
.techway-blog-empty{background:#fff8ed;border:1px solid var(--line);padding:52px}
.techway-blog-empty h3{font-size:36px;margin-bottom:14px}
.techway-blog-empty p{font-size:16px;color:#555955;line-height:1.6}
.techway-blog-endnote{background:#fee166;padding:35px 0;border-top:2px solid #191c20}
.techway-blog-endnote__inner{display:flex;align-items:center;justify-content:space-between;gap:22px}
.techway-blog-endnote p{font-size:11px;font-weight:900;letter-spacing:.14em}
.techway-blog-endnote a{font-size:15px;font-weight:900;display:inline-flex;gap:20px;align-items:center}
.techway-blog-endnote a span{font-size:23px}
.techway-blog-endnote a:hover{transform:translateX(4px)}
/* Full article */
.techway-article__hero{padding:140px 0 76px;background:#fff8ed}
.techway-article__back{display:inline-flex;align-items:center;gap:13px;font-size:13px;font-weight:800;margin-bottom:58px;border-bottom:1px solid #191c20;padding-bottom:10px}
.techway-article__back span{font-size:19px}
.techway-article__back:hover{color:#fa523e}
.techway-article__eyebrow{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:27px}
.techway-article__eyebrow .eyebrow{font-size:11px}
.techway-article__category{background:#fee166;padding:8px 12px;font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.techway-article__hero h1{max-width:1060px;font-size:clamp(47px,7.4vw,102px);line-height:1.01;letter-spacing:-.077em;overflow-wrap:anywhere}
.techway-article__byline{margin-top:38px;display:flex;gap:13px;align-items:center;flex-wrap:wrap;color:#595b55;font-size:13px;font-weight:700}
.techway-article__cover{margin:0 auto;padding-bottom:0}
.techway-article__cover-image{display:block;width:100%;height:auto;max-height:625px;object-fit:cover}
.techway-article__cover figcaption{margin-top:11px;text-align:right;font-size:12px;color:#666}
.techway-article__content-wrap{max-width:980px;margin:0 auto;padding-top:70px;padding-bottom:93px}
.techway-article__content{max-width:790px;margin:0 auto;color:#303431;font-size:18px;line-height:1.86;overflow-wrap:break-word}
.techway-article__content>:first-child{margin-top:0}
.techway-article__content p,.techway-article__content ul,.techway-article__content ol{margin:0 0 1.55em}
.techway-article__content li{margin:0 0 .42em;padding-left:.15em}
.techway-article__content ul,.techway-article__content ol{padding-left:1.45em}
.techway-article__content h2,.techway-article__content h3,.techway-article__content h4{color:#191c20;line-height:1.18;letter-spacing:-.055em;margin:1.85em 0 .7em;font-weight:800}
.techway-article__content h2{font-size:clamp(30px,3.6vw,43px)}
.techway-article__content h3{font-size:clamp(25px,2.6vw,32px)}
.techway-article__content h4{font-size:22px}
.techway-article__content a{color:#de4631;text-decoration:underline;text-underline-offset:4px}
.techway-article__content a:hover{color:#992c1f}
/* Sprint 1: contextual internal links for selected B2B industry articles. */
.techway-article__contextual-links{margin:42px 0 12px;padding:24px 28px;background:#fffdf7;border-top:3px solid #fa523e;border-bottom:1px solid rgba(25,28,32,.16);font-size:16px;line-height:1.75}
.techway-article__contextual-links p{margin:0}
.techway-article__contextual-links strong{color:#191c20}
.techway-article__contextual-links a{font-weight:750}
/* Sprint 2: supporting operational examples inside two strategic articles. */
.techway-sprint2-example{margin:46px 0 24px;padding:22px 26px 10px;background:#fffdf7;border-left:4px solid var(--accent,#fa523e)}
.techway-sprint2-example h2{margin-top:0;font-size:clamp(24px,2.6vw,32px)}
.techway-sprint2-example p{margin-bottom:1.1em}
@media(max-width:600px){.techway-sprint2-example{padding:19px 18px 8px}}
@media(max-width:600px){.techway-article__contextual-links{padding:20px 18px;font-size:15px}}
.techway-article__content img{max-width:100%;height:auto}
.techway-article__content figure{margin:36px 0}
.techway-article__content figcaption{font-size:12px;line-height:1.5;color:#696b67;text-align:center;margin-top:9px}
.techway-article__content blockquote{border-left:5px solid #fa523e;background:#fffdf7;padding:22px 30px;margin:34px 0;font-size:clamp(21px,2.8vw,29px);font-weight:750;line-height:1.44}
.techway-article__content blockquote p{margin-bottom:.4em}
.techway-article__content blockquote cite{font-size:13px;font-style:normal;font-weight:500}
.techway-article__content pre{background:#202328;color:#fff;padding:24px;overflow-x:auto;font-size:14px;line-height:1.7;margin:28px 0}
.techway-article__content code{font-size:.9em}
.techway-article__content :not(pre)>code{background:#f2e3d3;padding:2px 5px}
.techway-article__content table{width:100%;border-collapse:collapse;font-size:15px;margin:30px 0}
.techway-article__content th,.techway-article__content td{padding:13px;text-align:left;border:1px solid #ddd0bf}
.techway-article__content th{background:#fee166}
.techway-article__content hr{border:0;border-top:1px solid #cfc5b7;margin:42px 0}
.techway-article__content .wp-block-image img,.techway-article__content .wp-block-cover{max-width:100%}
.techway-article__tags,.techway-article__actions{max-width:790px;margin:35px auto 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.techway-article__tags>span{font-size:11px;letter-spacing:.12em;font-weight:900;margin-right:8px}
.techway-article__tags a{padding:8px 14px;border:1px solid rgba(25,28,32,.28);font-size:12px;font-weight:700}
.techway-article__tags a:hover{background:#fee166}
.techway-article__actions{margin-top:58px;border-top:2px solid #191c20;padding-top:25px;justify-content:space-between;gap:22px}
.techway-article__actions a{font-size:14px;font-weight:800}
.techway-article__actions a:hover{color:#fa523e}
.techway-article__comments{max-width:840px;margin:0 auto 80px}
.techway-article__comments{padding:38px 32px 58px;background:#fffdf7;border-top:2px solid #191c20}
.techway-article__comments h3{font-size:clamp(22px,3vw,32px);margin-bottom:22px}
.techway-article__comments .commentlist,.techway-article__comments .comment-list{list-style:none;padding-left:0;margin:0 0 40px}
.techway-article__comments .comment{padding:22px 0;border-bottom:1px solid rgba(25,28,32,.18)}
.techway-article__comments .comment-author{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;font-weight:800}
.techway-article__comments .comment-author img{border-radius:50%}
.techway-article__comments .comment-meta{color:#696b67;font-size:12px;margin:10px 0}
.techway-article__comments .comment-body p{font-size:15px;line-height:1.7;margin:10px 0}
.techway-article__comments a:hover{color:#fa523e}
.techway-article__comments .comment-reply-link{font-size:12px;font-weight:800;text-decoration:underline}
.techway-article__comments .comment-respond{margin-top:30px}
.techway-article__comments .comment-form p{margin:15px 0;font-size:14px;line-height:1.65}
.techway-article__comments label{font-weight:700;display:block;margin-bottom:6px}
.techway-article__comments input:not([type=submit]):not([type=checkbox]),.techway-article__comments textarea{max-width:100%;width:100%;padding:12px 14px;border:1px solid rgba(25,28,32,.25);background:#fff;border-radius:2px}
.techway-article__comments input[type=checkbox]+label{display:inline;font-weight:400}
.techway-article__comments .submit{padding:14px 22px;background:#fa523e;color:white;border:0;font-weight:800;cursor:pointer}
.techway-article__comments .submit:hover{background:#191c20}
.techway-blog-related{background:#f6e9d9}
.techway-blog-related__all{font-size:13px;font-weight:900;border-bottom:1px solid #191c20;padding-bottom:6px;white-space:nowrap}
.techway-blog-related__all:hover{color:#fa523e}
/* Responsive Creative Gallery journal */
@media(max-width:1050px){
  .techway-blog-hero__layout{grid-template-columns:1.5fr .75fr;gap:25px}
  .techway-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .techway-blog-card__title{font-size:29px}
}
@media(max-width:700px){
  .techway-blog-hero{padding:117px 0 56px}
  .techway-blog-hero__eyebrow{margin-bottom:24px}
  .techway-blog-hero__layout{grid-template-columns:1fr;gap:24px}
  .techway-blog-hero h1{font-size:clamp(44px,10.6vw,75px);letter-spacing:-.083em}
  .techway-blog-hero__aside{max-width:500px;padding:0}
  .techway-blog-hero__aside p{font-size:15px}
  .techway-blog-hero__jump{margin-top:16px}
  .techway-blog-list,.techway-blog-related{padding:62px 0 74px}
  .techway-blog-list__heading{align-items:start;gap:16px}
  .techway-blog-list__heading h2{font-size:clamp(33px,8vw,50px)}
  .techway-blog-list__count{padding-top:20px;font-size:10px}
  .techway-blog-grid{grid-template-columns:1fr;gap:46px}
  .techway-blog-card__media{aspect-ratio:1.52}
  .techway-blog-card__title{font-size:clamp(25px,7vw,32px)}
  .techway-blog-card__body{padding-top:18px}
  .techway-blog-pagination{margin-top:49px}
  .techway-blog-endnote__inner{align-items:start;flex-direction:column}
  .techway-article__hero{padding:112px 0 42px}
  .techway-article__back{margin-bottom:40px}
  .techway-article__hero h1{font-size:clamp(39px,10vw,68px)}
  .techway-article__byline{margin-top:23px}
  .techway-article__content-wrap{padding-top:44px;padding-bottom:66px}
  .techway-article__content{font-size:16px;line-height:1.8}
  .techway-article__content blockquote{padding:18px}
  .techway-article__actions{margin-top:42px}
}
@media(max-width:430px){
  .techway-blog-list__heading{flex-wrap:wrap}
  .techway-blog-list__count{padding:0}
  .techway-blog-hero h1{font-size:44px}
}
@media(prefers-reduced-motion:reduce){
  .techway-blog-card__image,.techway-blog-card__media-arrow{transition:none}
}
