/*
 * EM Languages – Tips / Consejos v1.3
 * Editorial UI designed to match the existing Planner / Books hero,
 * 06 / Más formas de aprender resource cards and Planner sample banner.
 * No changes to the site's other pages.
 */
.tips-context{--tips-blue:#2146ed;--tips-ink:#122123;--tips-muted:#617493;--tips-paper:#eaf1ff;--tips-line:#d6e3ff}
.tips-main,.tip-single-main{background:#fff;color:var(--tips-ink)}
.tips-main *, .tip-single-main * {box-sizing:border-box}
.tips-main a:focus-visible,.tip-single-main a:focus-visible,.tip-single-main button:focus-visible{outline:3px solid #fa9d54;outline-offset:4px}
.tip-ui-icon{display:block;width:21px;height:21px;flex:none}
.paper-plane{display:block;width:100%;height:auto;max-width:100%}
.wrap-narrow{width:min(880px,88%);margin-left:auto;margin-right:auto}

/* BOOKS-STYLE HERO: same geometry, palette, typesetting and rings as Planner. */
.tips-hero{background:var(--tips-paper);overflow:hidden}
.tips-hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:650px;gap:40px;padding-top:60px;padding-bottom:60px}
.tips-hero-copy{position:relative;z-index:1}
.tips-hero-copy .eyebrow{font-size:10px;letter-spacing:.17em;font-weight:850;color:var(--tips-blue);margin-bottom:29px}
.tips-hero-copy h1{color:var(--tips-blue);font-family:'Inter',Arial,sans-serif;font-weight:850;font-size:clamp(55px,6vw,87px);line-height:1.03;letter-spacing:-.06em;max-width:760px;margin:0;overflow-wrap:break-word}
.tips-hero-copy h1 em{display:inline-block;font-family:'Covered By Your Grace',cursive!important;color:var(--tips-blue);font-weight:400!important;font-style:normal;letter-spacing:-.02em;font-size:1.08em;line-height:.92;margin-top:.08em}
.tips-hero-description{color:#5d7091;font-size:16px;line-height:1.75;max-width:490px;margin:28px 0 0}
.tips-hero-actions{display:flex;align-items:center;gap:18px 24px;flex-wrap:wrap;margin-top:33px}
.tips-hero-primary{display:inline-flex;align-items:center;gap:27px;justify-content:space-between;text-align:left;border-radius:7px;min-width:225px;padding:17px 22px;min-height:57px;color:#fff;background:var(--tips-blue);font-size:13px;font-weight:800}
.tips-hero-primary .tip-ui-icon,.tips-hero-secondary .tip-ui-icon{width:17px;height:17px}
.tips-hero-secondary{display:inline-flex;align-items:center;gap:14px;border-bottom:1px solid var(--tips-blue);padding:13px 1px;color:var(--tips-blue);font-size:13px;font-weight:750;transition:color .2s ease}
.tips-hero-secondary:hover{color:var(--tips-ink)}
.tips-hero-art{position:relative;isolation:isolate;display:grid;place-items:center;min-height:515px;background:repeating-radial-gradient(ellipse at 54% 52%,transparent 0,transparent 37px,#1747ed1b 38px,transparent 40px)}
.tips-hero-photo{position:relative;width:min(430px,89%);height:500px;max-width:100%;margin:0;z-index:1;transform:rotate(-3deg);filter:drop-shadow(15px 18px 22px #264ea029)}
.tips-hero-photo:before{content:'';position:absolute;inset:-10px;z-index:-1;background:#e0e9ff;border-radius:150px 12px 12px 12px}
.tips-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 26%;border-radius:145px 12px 12px 12px;border:7px solid #fff}
.tips-hero-spark{position:absolute;right:4%;top:4%;z-index:2;color:var(--tips-blue);width:82px;height:82px;display:block}
.tips-hero-spark svg{width:100%;height:100%}

/* THREE columns on desktop, TWO tablet, ONE mobile; NINE posts per page in PHP. */
.tips-list-section{padding-top:78px;padding-bottom:95px;scroll-margin-top:30px}
.tips-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.tip-card{min-width:0;display:flex;flex-direction:column;gap:0;border:1.5px solid var(--tips-line);background:#fff;border-radius:18px;padding:26px 25px 25px;box-shadow:0 16px 42px #1747ed0b;transition:transform .22s ease,box-shadow .22s ease}
.tip-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px #1747ed19}
.tip-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--tips-blue);font-size:11px;font-weight:850;line-height:1.2;letter-spacing:.15em;text-transform:uppercase;margin-bottom:21px}
.tip-card-top-arrow{display:grid;place-items:center;color:var(--tips-blue);width:31px;height:32px;flex:0 0 auto;transition:transform .2s ease}
.tip-card-top-arrow:hover{transform:translate(3px,-3px)}
.tip-card-top-arrow .tip-ui-icon{width:24px;height:24px}
.tip-card-cover{position:relative;display:block;overflow:hidden;min-height:0;aspect-ratio:1.68/1;width:100%;border-radius:12px;background:linear-gradient(136deg,#dce8ff 0%,#c5d9ff 100%);color:var(--tips-blue);isolation:isolate;}
.tip-card-cover:before{content:'';position:absolute;inset:0;opacity:.26;background:linear-gradient(0deg,transparent 0%,transparent 92%,#99b5eb 93%),linear-gradient(90deg,transparent 0%,transparent 92%,#99b5eb 93%);background-size:21px 21px;pointer-events:none}
.tip-cover-tag{position:absolute;left:7%;top:12%;font-size:10px;font-weight:850;letter-spacing:.12em;z-index:2;text-transform:uppercase}
.tip-cover-phrase{position:absolute;left:7%;top:34%;max-width:58%;font-family:'Inter',Arial,sans-serif;font-size:clamp(22px,2.1vw,32px);font-weight:850;letter-spacing:-.055em;line-height:1.05;z-index:2}
.tip-cover-plane{position:absolute;width:44%;right:1%;bottom:10%;transform:rotate(-9deg);filter:drop-shadow(1px 3px 0 #101d2512);z-index:2}
.tip-cover-plane .paper-plane{width:100%;height:auto}
.tip-card-cover.has-image:before{display:none}
.tip-card-cover.has-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.tip-card:hover .tip-card-cover.has-image img{transform:scale(1.04)}
.tip-card-copy{padding:21px 0 0;display:flex;flex-direction:column;flex:1;min-width:0}
.tip-card-copy time{font-size:10px;letter-spacing:.1em;font-weight:800;color:#7287a7;text-transform:uppercase}
.tip-card-copy h2{font-family:'Inter',Arial,sans-serif;color:var(--tips-blue);font-size:clamp(22px,2.2vw,30px);font-weight:850;letter-spacing:-.05em;line-height:1.12;margin:12px 0 13px;overflow-wrap:anywhere}
.tip-card-copy h2 a:hover{color:#1232bb}
.tip-card-copy>p{font-size:14px;line-height:1.63;color:var(--tips-muted);margin:0 0 28px}
.tip-card-link{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--tips-line);padding-top:20px;margin-top:auto;font-weight:800;font-size:13px;color:var(--tips-blue)}
.tip-card-link .tip-ui-icon{width:19px;height:19px}
.tip-card-link:hover{text-decoration:underline;text-underline-offset:4px}
.tips-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:58px;padding-top:30px;border-top:1px solid var(--tips-line);color:var(--tips-blue);font-weight:750;font-size:13px}
.tips-page-next{text-align:right}
.tips-page-numbers{display:flex;justify-content:center;gap:8px}
.tips-page-numbers a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--tips-line)}
.tips-page-numbers a.is-current{background:var(--tips-blue);color:#fff;border-color:var(--tips-blue)}

/* ARTICLE HEADER & CONTENT */
.tip-single-main{overflow:clip}
.tip-article-header{position:relative;border-bottom:1px solid var(--tips-line);padding:64px 0 39px}
.tip-back{color:var(--tips-blue);display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;margin-bottom:43px}
.tip-back:hover{text-decoration:underline}
.tip-article-header .eyebrow{font-size:10px;color:var(--tips-blue);letter-spacing:.16em;font-weight:800;margin:0 0 20px}
.tip-article-header h1{font-family:'Inter',Arial,sans-serif;font-size:clamp(44px,5.5vw,76px);line-height:1.04;color:var(--tips-blue);letter-spacing:-.065em;font-weight:850;position:relative;margin:0 0 24px;z-index:2}
.tip-article-header time{font-size:11px;letter-spacing:.1em;font-weight:750;color:#7183a6;text-transform:uppercase}
.tip-title-plane{position:absolute;right:-18%;bottom:-20px;width:140px;transform:rotate(-9deg);opacity:1;pointer-events:none}
.tip-reading-layout{display:grid;grid-template-columns:120px minmax(0,840px);justify-content:center;gap:52px;align-items:start;padding-top:52px;padding-bottom:82px}
.tip-reading-body{min-width:0;max-width:840px;width:100%;margin:0}
.tip-share-aside{position:sticky;top:105px;align-self:start;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;padding-top:15px;z-index:4}
.tip-share-aside>strong{font-size:12px;letter-spacing:.03em;font-weight:650;color:#343b41;text-transform:uppercase;white-space:nowrap}
.tip-share-stack{background:#f3f7f9;display:flex;flex-direction:column;gap:0;border-radius:30px;align-items:center;padding:19px 12px;min-width:70px}
.tip-share-link{display:grid;place-items:center;width:51px;height:56px;color:#102345;border-radius:15px;transition:background .2s,transform .2s}
.tip-share-link:hover{background:#e5eff9;transform:translateY(-2px)}
.tip-share-link:nth-child(2){color:#050b12}
.tip-share-link .tip-ui-icon{width:30px;height:30px}
.tip-featured{margin:0 0 37px}
.tip-featured img{display:block;width:100%;max-height:560px;object-fit:cover;border-radius:16px}
.tip-content{color:#263e5c;font-family:'Inter',Arial,sans-serif;font-size:17px;line-height:1.82;padding:0 0 18px;overflow-wrap:break-word}
.tip-content p{margin:0 0 1.35em}
.tip-content h2{font-size:clamp(27px,3vw,39px);font-weight:850;line-height:1.2;letter-spacing:-.055em;color:var(--tips-blue);margin:1.55em 0 .65em;break-after:avoid}
.tip-content h3{font-size:clamp(21px,2.5vw,27px);font-weight:800;color:var(--tips-ink);margin:1.45em 0 .55em;break-after:avoid}
.tip-content h2 small{font-size:.58em;letter-spacing:-.02em;color:#5c708c;font-weight:550}
.tip-content strong{font-weight:800;color:#18314e}
.tip-content ul,.tip-content ol{padding-left:1.5em;margin:.5em 0 1.6em}
.tip-content li{margin:0 0 .55em;padding-left:.18em}
.tip-content a{text-decoration:underline;text-underline-offset:3px;color:var(--tips-blue)}
.tip-content a:hover{color:#1730a4}
.tip-content blockquote{margin:1.6em 0;border-left:4px solid var(--tips-blue);padding:.3em 0 .3em 23px;color:#576e90}
.tip-content img{display:block;max-width:100%;height:auto;border-radius:12px}
.tip-content figure,.tip-content .wp-block-image{max-width:100%;margin:34px auto}
.tip-content figure img,.tip-content .wp-block-image img{margin-left:auto;margin-right:auto}
.tip-content figcaption{color:#7284a3;text-align:center;margin-top:8px;font-size:12px;line-height:1.5}
.tip-content .alignwide{width:min(1060px,calc(100vw - 10%));max-width:none;margin-left:50%;transform:translateX(-50%)}
.tip-content .alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}
.tip-content .alignleft{float:left;max-width:42%;margin:10px 30px 20px 0}
.tip-content .alignright{float:right;max-width:42%;margin:10px 0 20px 30px}
.tip-content:after{content:'';display:block;clear:both}
.tip-inline-media{margin:36px auto;max-width:450px}
.tip-inline-media img{display:block;width:100%;height:auto;border-radius:12px}
.tip-youtube{padding:11px 0 42px}
.tip-video-frame{position:relative;aspect-ratio:16/9;background:#142442;overflow:hidden;border-radius:15px;box-shadow:0 18px 40px #172d6124}
.tip-video-frame iframe{position:absolute;inset:0;border:0;width:100%;height:100%}

/* Print and PDF actions always BELOW article (not in the sticky rail). */
.tip-document-actions{border:1px solid var(--tips-line);border-radius:16px;background:#f3f7ff;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:25px 27px;margin-top:12px}
.tip-document-text{min-width:0;flex:1}
.tip-document-text>span{font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--tips-blue)}
.tip-document-text p{font-size:13px;color:var(--tips-muted);line-height:1.6;margin:10px 0 0;max-width:420px}
.tip-document-buttons{display:flex;gap:10px;flex-wrap:wrap}
.tip-document-button{font-family:'Inter',Arial,sans-serif;appearance:none;border-radius:9px;border:1px solid var(--tips-line);min-height:49px;padding:11px 15px;background:#fff;color:var(--tips-blue);font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:10px;cursor:pointer;white-space:nowrap;text-align:center}
.tip-document-button:hover{background:#eaf0ff}
.tip-document-button .tip-ui-icon{width:19px;height:19px}
.tip-document-pdf{background:var(--tips-blue);border-color:var(--tips-blue);color:#fff}
.tip-document-pdf:hover{background:#1237c9;color:#fff}

/* Related posts use precisely the same reusable card component. */
.tip-related{background:var(--tips-paper);padding:75px 0 84px}
.tip-related .eyebrow{margin-bottom:14px;letter-spacing:.16em;font-size:10px;color:var(--tips-blue)}
.tip-related h2{font-family:'Inter',Arial,sans-serif;color:var(--tips-blue);font-size:clamp(35px,4.8vw,61px);line-height:1.07;letter-spacing:-.06em;font-weight:850;margin:0 0 38px}
.tip-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}

/* COMPACT BLUE CTA: the main site's closing-banner language, adapted to article width. */
.tip-package-cta{background:var(--tips-paper);padding:0 0 80px}
.tip-package-cta .wrap{display:block}
.tip-package-panel{position:relative;isolation:isolate;overflow:hidden;background:var(--tips-blue);border:0;border-radius:20px;display:flex;align-items:stretch;min-height:245px;padding:31px 38px;box-shadow:0 20px 45px #1747ed16}
.tip-package-panel:before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#2146ed 0%,#2146ed 62%,#183ed7 100%);z-index:-2}
.tip-package-copy{position:relative;z-index:3;min-width:0;max-width:72%;display:flex;flex-direction:column;align-items:flex-start}
.tip-package-panel .eyebrow{margin:0 0 12px;font-size:10px;letter-spacing:.16em;color:#fff;font-weight:850;opacity:.92}
.tip-package-panel h2{font-family:'Inter',Arial,sans-serif;font-size:clamp(31px,3.5vw,50px);line-height:1.03;letter-spacing:-.06em;font-weight:850;color:#fff;margin:0}
.tip-package-handwritten{font-family:'Covered By Your Grace','Comic Neue',cursive!important;font-size:clamp(34px,3.8vw,53px)!important;line-height:.94!important;color:var(--lime)!important;margin:3px 0 18px!important;letter-spacing:-.01em}
.tip-package-button{display:inline-flex;flex:none;background:#fff;color:var(--tips-blue);min-width:190px;max-width:100%;justify-content:space-between;gap:22px;border:0;border-radius:8px;white-space:nowrap;align-items:center;font-size:13px;font-weight:800;padding:15px 18px;min-height:55px}
.tip-package-button .tip-ui-icon{width:19px;height:19px}
.tip-package-button:hover{background:#eef3ff;color:#143bcf}
.tip-package-description{font-size:12px!important;line-height:1.55!important;color:#fff!important;opacity:.82;margin:14px 0 0!important;max-width:560px}
.tip-package-art{position:absolute;right:14px;top:0;bottom:0;width:34%;z-index:1;pointer-events:none}
.tip-package-spark{position:absolute;right:7%;top:17%;width:118px;height:118px;color:#fff;opacity:.22}
.tip-package-spark svg{width:100%;height:100%}
.tip-package-plane{position:absolute;right:2%;bottom:4%;width:205px;max-width:86%}
.tip-package-plane .paper-plane{width:100%;height:auto}
.tip-print-letterhead{display:none}

@media(max-width:1150px){
 .tips-hero-grid{min-height:570px;gap:22px}
 .tips-hero-art{min-height:450px}
 .tips-hero-photo{height:420px;width:min(375px,88%)}
 .tip-card{padding:21px 19px}
 .tip-cover-phrase{font-size:clamp(20px,2.2vw,27px)}
 .tip-reading-layout{grid-template-columns:105px minmax(0,780px);gap:27px}
}
@media(max-width:900px){
 .tips-hero-grid{grid-template-columns:1fr;min-height:unset;gap:0;padding-top:55px;padding-bottom:42px}
 .tips-hero-copy h1{font-size:clamp(56px,10vw,82px)}
 .tips-hero-art{min-height:470px;margin-top:24px}
 .tips-hero-photo{height:440px;width:min(400px,79%)}
 .tips-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 .tip-cover-phrase{font-size:clamp(24px,3.1vw,34px)}
 .tip-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tip-related-grid .tip-card:last-child:nth-child(odd){max-width:100%}
 .tip-reading-layout{gap:16px;grid-template-columns:85px minmax(0,1fr)}
 .tip-share-stack{min-width:64px;padding:10px 7px}
 .tip-share-link{width:47px;height:48px}
}
@media(max-width:650px){
 .tips-hero-copy h1{font-size:clamp(49px,12vw,69px);letter-spacing:-.06em}
 .tips-hero-description{font-size:15px}
 .tips-hero-art{min-height:370px}
 .tips-hero-photo{width:min(330px,84%);height:365px}
 .tips-hero-spark{right:3%;width:58px;height:58px}
 .tips-grid,.tip-related-grid{grid-template-columns:1fr}
 .tip-card{padding:22px}
 .tip-card-cover{aspect-ratio:1.7/1}
 .tip-cover-phrase{font-size:clamp(25px,7vw,36px)}
 .tip-card-copy h2{font-size:28px}
 .tips-list-section{padding-top:48px;padding-bottom:63px}
 .tips-pagination{grid-template-columns:1fr 1fr;grid-template-areas:'nums nums' 'prev next';gap:20px}
 .tips-page-numbers{grid-area:nums}
 .tips-page-prev{grid-area:prev}
 .tips-page-next{grid-area:next}
 .tip-article-header{padding-top:43px}
 .tip-article-header h1{font-size:clamp(42px,11vw,62px)}
 .tip-back{margin-bottom:28px}
 .tip-reading-layout{display:flex;flex-direction:column;padding-top:24px;padding-bottom:58px;gap:25px}
 .tip-share-aside{position:relative;top:auto;width:100%;flex-direction:row;justify-content:flex-start;gap:17px;padding:0}
 .tip-share-stack{flex-direction:row;border-radius:20px;padding:4px 10px;min-width:0}
 .tip-share-link{height:44px;width:44px}
 .tip-share-link .tip-ui-icon{width:23px;height:23px}
 .tip-content{font-size:16px;line-height:1.75}
 .tip-document-actions{align-items:stretch;flex-direction:column;gap:19px}
 .tip-document-buttons{width:100%}
 .tip-document-button{justify-content:center;flex:1}
 .tip-package-panel{padding:27px 24px;min-height:315px}
 .tip-package-copy{max-width:100%;padding-right:0}
 .tip-package-button{width:100%;min-width:0}
 .tip-package-art{position:relative;right:auto;top:auto;bottom:auto;width:100%;height:92px;margin-top:8px}
 .tip-package-spark{right:4%;top:-10px;width:82px;height:82px}
 .tip-package-plane{right:2%;bottom:-16px;width:150px}
 .tip-related{padding:55px 0 60px}
 .tip-package-cta{padding-bottom:60px}
}
@media(max-width:430px){
 .tips-hero-art{min-height:320px}
 .tips-hero-photo{width:min(285px,84%);height:310px}
 .tips-hero-actions{align-items:flex-start;flex-direction:column;gap:8px}
 .tips-hero-primary{width:100%}
 .tip-document-buttons{flex-direction:column}
 .tip-document-button{width:100%}
 .tip-content .alignleft,.tip-content .alignright{float:none;max-width:100%;margin:20px auto}
 .tip-card{padding:20px}
}
@media(prefers-reduced-motion:reduce){.tip-card,.tip-card-top-arrow,.tip-card-cover img,.tip-share-link{transition:none}}

/* A4 ARTICLE SHEET: print is independent of the site header / nav / social. */
@page{size:A4;margin:18mm 18mm 17mm}
@media print{
 html,body{background:#fff!important;color:#111!important;overflow:visible!important}
 .tips-context .header,.tips-context .skip,.tips-context footer,.tip-back,.tip-share-aside,.tip-document-actions,.tip-youtube,.tip-related,.tip-package-cta,.tip-title-plane,.tip-featured{display:none!important}
 .tip-single-main,.tip-article,.tip-reading-layout,.tip-reading-body,.tip-content{display:block!important;position:static!important;max-width:none!important;width:auto!important;margin:0!important;padding:0!important;overflow:visible!important;box-shadow:none!important;background:#fff!important}
 .tip-print-letterhead{display:flex!important;align-items:center;justify-content:space-between;gap:18mm;margin:0 0 13mm;border-bottom:1.5px solid #2146ed;padding-bottom:7mm}
 .tip-print-letterhead img{width:46mm!important;max-height:15mm;height:auto;object-fit:contain}
 .tip-print-letterhead .paper-plane{max-width:35mm!important;width:35mm;height:auto}
 .tip-article-header{padding:0 0 10mm!important;margin:0 0 10mm!important;border-bottom:1px solid #d6e3ff}
 .tip-article-header .eyebrow{font-size:9pt!important;letter-spacing:.1em!important;margin:0 0 4mm!important}
 .tip-article-header h1{font-size:27pt!important;line-height:1.13!important;color:#151c21!important;margin:0 0 4mm!important;letter-spacing:-.04em!important;break-after:avoid}
 .tip-article-header time{font-size:9pt!important;color:#60738e!important}
 .tip-content{font-family:Arial,sans-serif!important;font-size:10.8pt!important;line-height:1.6!important;color:#111!important}
 .tip-content h2{font-size:16.5pt!important;color:#163369!important;line-height:1.22!important;margin:1.2em 0 .55em!important;break-after:avoid;page-break-after:avoid}
 .tip-content h3{font-size:13.5pt!important;color:#111!important;break-after:avoid}
 .tip-content p{margin:0 0 .9em!important;orphans:3;widows:3}
 .tip-content ul,.tip-content ol{margin:0 0 1em!important}
 .tip-content li{break-inside:avoid-page}
 .tip-content figure{break-inside:avoid-page;max-width:100%!important;width:100%!important;transform:none!important;margin:6mm auto!important}
 .tip-content img{max-height:100mm;width:auto;max-width:100%;height:auto;filter:grayscale(100%)}
 .tip-content a{color:#111!important;text-decoration:none!important}
 .tip-content blockquote{color:#111!important;border-color:#999!important}
 .tip-content .alignwide,.tip-content .alignfull{max-width:100%!important;width:100%!important;margin-left:0!important;transform:none!important}
}

/* V3 – unified 5 Minute English covers, refined article typography and illustrated CTA. */
.tip-card-cover,
.tip-card-cover.has-image { background:#2146ed; color:#ddf639; }
.tip-card-cover:before,
.tip-card-cover.has-image:before{
  display:block;opacity:1;
  background-image:linear-gradient(to right,rgba(9,38,169,.18) 1.5px,transparent 1.5px),
                   linear-gradient(to bottom,rgba(9,38,169,.18) 1.5px,transparent 1.5px);
  background-size:22px 22px;
}
.tip-cover-name{
  position:absolute;z-index:2;top:18%;left:9%;display:block;
  color:#ddf639;font-family:'Covered By Your Grace',cursive;
  font-size:clamp(28px,3.3vw,46px);line-height:.97;
  letter-spacing:.01em;font-weight:400;transform:rotate(-3deg);
  text-shadow:0 1px 0 #08299a20;
}
.tip-cover-book{position:absolute;z-index:2;bottom:7%;right:5%;width:35%;transform:rotate(9deg)}
.tip-cover-book svg{display:block;width:100%;max-width:160px;height:auto}
.tip-card-copy h2{font-size:clamp(20px,1.65vw,24px);letter-spacing:-.045em;line-height:1.19;margin:12px 0 12px}
.tip-related-grid .tip-card-copy h2{font-size:clamp(19px,1.55vw,22px)}
.tip-related-grid .tip-card-copy p{font-size:12px;line-height:1.63}
.tip-title-plane{right:-17%;bottom:-30px;width:136px;opacity:1;transform:rotate(-9deg)}
.tip-title-plane .paper-plane{opacity:1;filter:none}
.tip-package-cta{padding:0 0 85px}
.tip-package-panel{
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.75fr);
  min-height:330px;align-items:stretch;padding:0;
  background:linear-gradient(125deg,#fff 0%,#fff 53%,#e4edff 100%);
  border:1px solid #d6e3ff;border-radius:22px;box-shadow:0 20px 55px #143bb51a;
}
.tip-package-copy{max-width:unset;position:relative;z-index:2;padding:clamp(30px,4vw,64px) clamp(27px,4vw,58px);align-self:center}
.tip-package-panel .eyebrow{font-size:10px;letter-spacing:.16em;margin-bottom:14px}
.tip-package-panel h2{font-size:clamp(33px,3.3vw,51px);line-height:1.04;max-width:660px;margin-bottom:17px}
.tip-package-panel p:not(.eyebrow){font-size:15px;line-height:1.68;max-width:520px}
.tip-package-button{margin-top:25px;width:fit-content;min-width:194px}
.tip-package-picture{position:relative;min-height:330px;overflow:hidden;isolation:isolate;
  background:#dbe8ff;display:flex;align-items:center;justify-content:center}
.tip-package-picture:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#e4edff 0%,transparent 28%)}
.tip-package-picture img{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .35s}
.tip-package-panel:hover .tip-package-picture img{transform:scale(1.045)}
.tip-package-rings{position:absolute;z-index:2;inset:3%;pointer-events:none;
  border:2px solid #eaf1ff70;border-radius:50%;transform:scale(1.23)}
.tip-package-spark{position:absolute;z-index:3;right:22px;top:17px;width:59px;height:59px;color:#2146ed}
.tip-package-spark svg{width:100%;height:100%}
@media(max-width:1150px){
  .tip-cover-name{font-size:clamp(27px,3.15vw,37px)}
  .tip-card-copy h2,.tip-related-grid .tip-card-copy h2{font-size:21px}
  .tip-title-plane{right:-11%;width:116px}
}
@media(max-width:900px){
  .tip-cover-name{font-size:clamp(30px,4.3vw,44px)}
  .tip-title-plane{right:1%;bottom:-10px;width:105px}
  .tip-package-panel{grid-template-columns:minmax(0,1fr) minmax(235px,.75fr)}
  .tip-package-copy{padding:32px}
}
@media(max-width:650px){
  .tip-cover-name{font-size:clamp(36px,9vw,53px)}
  .tip-card-copy h2,.tip-related-grid .tip-card-copy h2{font-size:23px}
  .tip-title-plane{right:0;bottom:-26px;width:90px}
  .tip-package-panel{display:flex;flex-direction:column-reverse;min-height:0}
  .tip-package-picture{min-height:270px;max-height:310px}
  .tip-package-copy{padding:29px 25px 33px}
  .tip-package-panel h2{font-size:35px}
  .tip-package-button{width:100%;justify-content:space-between}
}
@media(max-width:430px){
  .tip-cover-name{font-size:clamp(34px,9vw,47px)}
  .tip-package-picture{min-height:225px}
  .tip-package-copy{padding:24px 22px 28px}
}
@media print{
  .tip-print-letterhead img{width:56mm!important;max-height:16mm;height:auto!important;object-fit:contain!important}
  .tip-package-picture,.tip-package-panel{display:none!important}
}

/* V4 – Planner paper-plane refinement + compact Planner-style article CTA. */
.paper-plane path{vector-effect:non-scaling-stroke}
.tip-title-plane{right:-16%;bottom:-23px;width:150px;opacity:1;transform:rotate(-7deg)}
.tip-title-plane .paper-plane,
.tip-print-letterhead .paper-plane,
.tip-package-plane .paper-plane{opacity:1;filter:none}

/* Keep the CTA at the existing compact height, but give it the Planner hero language. */
.tip-package-panel{
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.13fr) minmax(285px,.87fr);
  min-height:330px;align-items:stretch;padding:0;
  background:#eaf1ff;border:1px solid #d2e0ff;border-radius:22px;
  box-shadow:0 20px 55px #143bb50f;
}
.tip-package-panel:before{
  content:'';position:absolute;inset:-25% 32% -40% 48%;z-index:0;pointer-events:none;
  background:repeating-radial-gradient(ellipse at 56% 50%,transparent 0,transparent 31px,#1747ed16 32px,transparent 34px);
}
.tip-package-copy{position:relative;z-index:3;align-self:center;padding:clamp(31px,4vw,58px) clamp(28px,4vw,56px);max-width:none}
.tip-package-panel .eyebrow{color:var(--tips-blue);font-size:10px;letter-spacing:.17em;margin:0 0 15px}
.tip-package-panel h2{color:var(--tips-blue);font-size:clamp(34px,3.45vw,52px);line-height:1.03;letter-spacing:-.062em;max-width:650px;margin:0 0 16px}
.tip-package-panel p:not(.eyebrow){color:#5d7091;font-size:15px;line-height:1.7;max-width:520px}
.tip-package-button{margin-top:24px;min-width:196px;width:fit-content;border-radius:7px}
.tip-package-picture{position:relative;z-index:2;min-height:330px;overflow:visible;background:transparent;display:grid;place-items:center;padding:29px 34px 28px 12px}
.tip-package-picture:before{display:none}
.tip-package-picture img{
  position:relative;z-index:2;inset:auto;width:min(330px,92%);height:270px;object-fit:cover;object-position:50% 34%;
  border:7px solid #fff;border-radius:100px 12px 12px 12px;transform:rotate(-3deg);
  filter:drop-shadow(12px 15px 18px #264ea026);transition:transform .3s ease;
}
.tip-package-panel:hover .tip-package-picture img{transform:rotate(-3deg) scale(1.025)}
.tip-package-rings{position:absolute;z-index:0;inset:2% -10% -5% -15%;border:0;border-radius:0;transform:none;
  background:repeating-radial-gradient(ellipse at 52% 49%,transparent 0,transparent 34px,#1747ed18 35px,transparent 37px)}
.tip-package-plane{position:absolute;z-index:4;right:8px;bottom:15px;width:205px;transform:rotate(-6deg);pointer-events:none}
.tip-package-spark{display:none!important}

@media(max-width:1150px){
 .tip-title-plane{right:-10%;width:128px}
 .tip-package-panel{grid-template-columns:minmax(0,1fr) minmax(245px,.72fr)}
 .tip-package-picture{padding-right:24px}
 .tip-package-picture img{width:min(285px,94%);height:245px}
 .tip-package-plane{width:175px;right:2px;bottom:12px}
}
@media(max-width:900px){
 .tip-title-plane{right:0;width:112px;bottom:-15px}
 .tip-package-panel{grid-template-columns:minmax(0,1fr) minmax(235px,.72fr)}
 .tip-package-copy{padding:32px}
 .tip-package-picture img{height:225px;border-radius:82px 10px 10px 10px}
 .tip-package-plane{width:160px}
}
@media(max-width:650px){
 .tip-title-plane{right:0;bottom:-24px;width:96px}
 .tip-package-panel{display:flex;flex-direction:column;min-height:0}
 .tip-package-panel:before{inset:25% -35% -30% 10%}
 .tip-package-copy{padding:29px 25px 20px}
 .tip-package-panel h2{font-size:36px}
 .tip-package-picture{min-height:250px;padding:8px 20px 25px}
 .tip-package-picture img{width:min(310px,82%);height:225px}
 .tip-package-plane{width:150px;right:8px;bottom:6px}
 .tip-package-button{width:100%;justify-content:space-between}
}
@media print{
 .tip-print-letterhead .paper-plane{max-width:43mm!important;width:43mm!important;height:auto!important}
}


/* V5 FINAL – blue closing CTA, no photo; original plane restored everywhere. */
.paper-plane path{vector-effect:non-scaling-stroke}
.tip-title-plane{right:-16%;bottom:-23px;width:142px;opacity:1!important;transform:rotate(-7deg)}
.tip-title-plane .paper-plane,.tip-print-letterhead .paper-plane,.tip-package-plane .paper-plane{opacity:1!important;filter:none!important}

.tip-package-cta{background:var(--tips-paper);padding:0 0 80px}
.tip-package-panel{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  display:flex!important;align-items:stretch!important;min-height:245px!important;padding:31px 38px!important;
  background:var(--tips-blue)!important;border:0!important;border-radius:20px!important;
  box-shadow:0 20px 45px #1747ed16!important
}
.tip-package-panel:before{
  content:''!important;position:absolute!important;inset:0!important;z-index:-2!important;
  background:linear-gradient(120deg,#2146ed 0%,#2146ed 63%,#173cd2 100%)!important
}
.tip-package-copy{
  position:relative!important;z-index:3!important;align-self:center!important;
  min-width:0!important;max-width:72%!important;padding:0!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important
}
.tip-package-panel .eyebrow{margin:0 0 11px!important;font-size:10px!important;letter-spacing:.16em!important;color:#fff!important;font-weight:850!important;opacity:.92}
.tip-package-panel h2{font-family:'Inter',Arial,sans-serif!important;font-size:clamp(31px,3.5vw,50px)!important;line-height:1.03!important;letter-spacing:-.06em!important;font-weight:850!important;color:#fff!important;margin:0!important;max-width:680px!important}
.tip-package-handwritten{font-family:'Covered By Your Grace','Comic Neue',cursive!important;font-size:clamp(34px,3.8vw,53px)!important;line-height:.92!important;color:#ddf639!important;margin:4px 0 17px!important;letter-spacing:-.01em!important}
.tip-package-button{display:inline-flex!important;flex:none!important;background:#fff!important;color:var(--tips-blue)!important;min-width:190px!important;width:auto!important;max-width:100%!important;justify-content:space-between!important;gap:22px!important;border:0!important;border-radius:8px!important;white-space:nowrap!important;align-items:center!important;font-size:13px!important;font-weight:800!important;padding:15px 18px!important;min-height:55px!important;margin:0!important}
.tip-package-button:hover{background:#eef3ff!important;color:#143bcf!important}
.tip-package-description{font-size:12px!important;line-height:1.55!important;color:#fff!important;opacity:.82!important;margin:14px 0 0!important;max-width:560px!important}
.tip-package-art{display:block!important;position:absolute!important;right:14px!important;top:0!important;bottom:0!important;width:34%!important;z-index:1!important;pointer-events:none!important}
.tip-package-spark{display:block!important;position:absolute!important;right:5%!important;top:15%!important;width:115px!important;height:115px!important;color:#fff!important;opacity:.20!important;z-index:0!important}
.tip-package-spark svg{width:100%!important;height:100%!important}
.tip-package-plane{display:block!important;position:absolute!important;z-index:2!important;right:1%!important;bottom:5%!important;width:205px!important;max-width:90%!important;transform:rotate(-5deg)!important;pointer-events:none!important}
.tip-package-picture,.tip-package-rings{display:none!important}

@media(max-width:1150px){
 .tip-title-plane{right:-10%;width:125px}
 .tip-package-copy{max-width:70%!important}
 .tip-package-plane{width:180px!important}
 .tip-package-spark{width:98px!important;height:98px!important}
}
@media(max-width:900px){
 .tip-title-plane{right:0;width:112px;bottom:-15px}
 .tip-package-copy{max-width:68%!important}
 .tip-package-plane{width:160px!important}
}
@media(max-width:650px){
 .tip-title-plane{right:0;bottom:-24px;width:96px}
 .tip-package-panel{display:flex!important;flex-direction:column!important;min-height:330px!important;padding:27px 24px!important}
 .tip-package-copy{max-width:100%!important;align-self:stretch!important}
 .tip-package-panel h2{font-size:36px!important}
 .tip-package-button{width:100%!important;min-width:0!important}
 .tip-package-art{position:relative!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;height:90px!important;margin-top:7px!important}
 .tip-package-spark{right:2%!important;top:-10px!important;width:78px!important;height:78px!important}
 .tip-package-plane{right:1%!important;bottom:-18px!important;width:150px!important}
}
@media print{
 .tip-print-letterhead .paper-plane{max-width:43mm!important;width:43mm!important;height:auto!important;opacity:1!important}
 .tip-package-panel{display:none!important}
}


/* V7 – hero photo: crop to the frame itself; no black side bars. */
.tips-hero-photo{
  overflow:hidden!important;
  border:7px solid #fff!important;
  border-radius:145px 12px 12px 12px!important;
  background:#eaf1ff!important;
  filter:none!important;
  box-shadow:0 0 0 10px #e0e9ff,15px 18px 22px #264ea029!important;
}
.tips-hero-photo:before{display:none!important}
.tips-hero-photo img{
  display:block!important;
  position:absolute!important;
  inset:-1.5%!important;
  width:103%!important;
  height:103%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center 26%!important;
  border:0!important;
  border-radius:0!important;
  transform:none!important;
}
@media(max-width:650px){
  .tips-hero-photo{border-radius:100px 10px 10px 10px!important}
  .tips-hero-photo img{object-position:center 27%!important}
}

/* Accurate paper plane: preserve the original SVG's stroke proportions at all sizes.
   Override the older non-scaling-stroke rules (which distorted its folds and flight trail). */
.tips-context .paper-plane path{vector-effect:none!important}
.tips-context .paper-plane{display:block;width:100%;height:auto;overflow:visible}
/* Article heading: entire plane and dotted flight path visible. */
.tips-context .tip-title-plane{width:175px;right:-18%;bottom:-18px;transform:none!important}
/* Blue bottom CTA: keep the same full plane silhouette and its line. */
.tips-context .tip-package-plane{width:225px!important;right:1%!important;bottom:8%!important;transform:none!important}
/* Consistent proportions on card covers and the printed letterhead. */
.tips-context .tip-cover-plane{transform:none!important}
@media (max-width:1150px){
  .tips-context .tip-title-plane{width:155px;right:-10%}
  .tips-context .tip-package-plane{width:195px!important}
}
@media (max-width:900px){
  .tips-context .tip-title-plane{width:135px;right:0}
  .tips-context .tip-package-plane{width:175px!important}
}
@media (max-width:650px){
  .tips-context .tip-title-plane{width:105px;right:0;bottom:-23px}
  .tips-context .tip-package-plane{width:150px!important;right:1%!important;bottom:-18px!important}
}

/* Consejos finishing pass — 2026-10-18.
   Only the dotted flight trail inside the blue closing CTA is white.
   Keep the plane folds/outline dark and its panels lime. */
.tips-context .tip-package-panel .tip-package-plane .paper-plane g > path:first-of-type {
  stroke:#fff!important;
}

/* Mobile/tablet safeguards for archive, single post and closing CTA. */
.tips-context .tips-grid > *,
.tips-context .tip-related-grid > *,
.tips-context .tip-reading-body,
.tips-context .tip-package-copy { min-width:0; }
.tips-context .tip-content iframe,
.tips-context .tip-content video,
.tips-context .tip-content embed {max-width:100%;}
.tips-context .tip-content table {display:block;max-width:100%;overflow-x:auto;}
.tips-context .tip-content pre {max-width:100%;overflow-x:auto;}
@media (max-width:650px) {
  .tips-context .tips-hero-copy h1 {font-size:clamp(43px,10vw,66px);overflow-wrap:anywhere;}
  .tips-context .tip-article-header h1 {font-size:clamp(36px,10vw,58px);overflow-wrap:anywhere;}
  .tips-context .tip-article-header {padding-bottom:65px;}
  .tips-context .tip-title-plane {width:92px!important;right:0!important;bottom:-8px!important;}
  .tips-context .tip-package-panel {min-height:0!important;padding:25px 22px 18px!important;}
  .tips-context .tip-package-copy {max-width:100%!important;padding:0!important;}
  .tips-context .tip-package-panel h2 {font-size:clamp(29px,8vw,38px)!important;overflow-wrap:anywhere;}
  .tips-context .tip-package-handwritten {font-size:clamp(31px,9vw,44px)!important;}
  .tips-context .tip-package-art {height:85px!important;min-height:85px!important;margin-top:12px!important;}
  .tips-context .tip-package-plane {width:145px!important;right:0!important;bottom:-5px!important;}
  .tips-context .tip-package-description {overflow-wrap:anywhere;}
  .tips-context .tip-share-aside {flex-wrap:wrap;}
}
@media (max-width:380px) {
  .tips-context .tip-package-panel {padding:23px 18px 16px!important;}
  .tips-context .tip-package-plane {width:128px!important;}
  .tips-context .tip-document-buttons {flex-direction:column;}
  .tips-context .tip-document-button {width:100%;}
}
@media print {
  .tips-context .tip-package-panel .tip-package-plane .paper-plane g > path:first-of-type {stroke:#12292a!important;}
}
