/* Consolidated visual corrections after a review of every homepage section. */
.apn-news-identity{padding-inline:2.5%;margin-inline:auto;max-width:1580px}
.topictiles{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:22px}
.topictiles .apn-category{position:relative;display:block;min-width:0;height:178px;isolation:isolate;border:0;border-radius:12px;overflow:hidden;box-shadow:none;background:#101a34;text-decoration:none}
.topictiles .apn-category img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:none;transition:transform .3s ease}
.topictiles .apn-category::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#101a3425 0%,#101a3410 25%,#0b1535ed 100%)}
.topictiles .apn-category:hover img{transform:scale(1.035)}
.topictiles .apn-category span{position:absolute;left:17px;right:27px;bottom:17px;z-index:2;color:#fff;font-size:17px;line-height:1.15;font-weight:800;letter-spacing:-.025em}
.topictiles .apn-category small{display:block;font-size:11px;font-weight:450;line-height:1.35;letter-spacing:0;color:#e2e4ef;margin-top:7px}
.apn-category-num{position:absolute;left:15px;top:13px;z-index:2;color:#fff;font-size:10px;font-weight:650;border:1px solid #ffffff65;border-radius:20px;padding:4px 7px;background:#101a3440}
.apn-category i{position:absolute;right:15px;bottom:19px;z-index:2;color:#f0b1e3;font-size:18px;font-style:normal}
.apn-photo-credits{margin:10px 0 22px;color:#647193;font-size:10px}.apn-photo-credits summary{cursor:pointer;width:max-content;max-width:100%;padding:5px 0}.apn-photo-credits li{margin:8px 0}.apn-photo-credits a{color:#6933c9}
.v5-card img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover;max-height:250px}
.v5-card:first-child img{max-height:250px}.v5-card-content{gap:12px}.v5-card-content h3,.v5-card:first-child h3{font-size:19px;line-height:1.25;letter-spacing:-.02em}
.v4-result img{width:100%;height:auto!important;aspect-ratio:16/9;object-fit:cover}.v4-result button,.v5-tools button{appearance:none;border:1px solid #ded7ef;background:#f7f4fc;color:#4b2982;border-radius:7px;padding:8px 12px;font:600 11px/1.3 system-ui,sans-serif;cursor:pointer}.v4-result button:hover,.v5-tools button:hover{background:#eae0fa}
.v4-tools select,.v4-tools button,.v4-page button{border:1px solid #ded7ef;background:#fff;color:#35215b;border-radius:7px;padding:8px 12px;font:500 12px/1.4 system-ui,sans-serif}
.apn-live-feed{align-items:start}.apn-live-feed .news-card{height:auto;display:flex;flex-direction:column;box-shadow:none;border-radius:12px;overflow:hidden}.apn-live-feed .news-card h3{font-size:18px}.apn-live-feed .news-card>p{line-height:1.55}.apn-live-feed .apn-read-analysis{margin-top:auto}
.apn-v9-card{display:flex;flex-direction:column;align-items:stretch}.apn-card-more{color:#6933c9;font-size:12px;font-weight:650;margin-top:auto;padding-top:12px}.apn-v9-card h2{font-size:19px!important;line-height:1.25!important}
.apn-country-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:22px 0 42px}.apn-country-link{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid #e1e6f4;border-radius:10px;background:#fff;min-width:0}.apn-country-link h3{font-size:19px;line-height:1.2;margin:0!important;letter-spacing:-.02em}.apn-country-link a,.apn-country-link span{font-size:12px;color:#6933c9;line-height:1.5}.apn-country-link:hover{border-color:#b59ad9}
.assist-open{font-size:13px!important;padding:12px 18px!important;min-height:43px;max-width:120px;right:18px!important;bottom:18px!important;border-radius:25px!important;background:#6933c9!important;box-shadow:0 5px 18px #35215b30!important}
.apn-correction{padding:22px 24px;margin:25px 0;border-left:3px solid #7437df;background:#f7f4fc;border-radius:0 10px 10px 0}.apn-correction h2{font-size:22px!important;line-height:1.25}.apn-correction p{line-height:1.75}
main .v12-photo>img{max-width:100%;height:auto;object-fit:cover;max-height:520px}
@media(max-width:1250px){.topictiles{grid-template-columns:repeat(3,minmax(0,1fr))}.topictiles .apn-category{height:175px}.apn-country-directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:730px){.topictiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.topictiles .apn-category{height:165px}.topictiles .apn-category span{font-size:17px;left:14px;bottom:15px}.topictiles .apn-category small{font-size:10px}.apn-country-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.apn-country-link{padding:15px}.apn-country-link h3{font-size:17px}.assist-open{font-size:12px!important;max-width:100px;right:12px!important;bottom:12px!important}.v5-card img{max-height:240px}.apn-news-identity span:last-child{display:none}.apn-correction{padding:18px}}
@media(prefers-reduced-motion:reduce){.topictiles .apn-category img{transition:none}}

/* V9.1: responsive editorial category images */
.topictiles .apn-category-art{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:hidden;z-index:0}
