
/* Header branding refined to match approved design */
.oppv4-brand #logo {max-height:78px!important;max-width:62px!important;width:auto!important;height:auto!important;position:absolute;left:0;top:50%;transform:translateY(-45%);background:transparent!important;box-shadow:none!important;border-radius:0!important;}
.oppv4-brand .logo_container{position:relative!important;padding-left:76px!important;min-height:76px!important;display:flex!important;align-items:center!important;overflow:visible!important;}
.oppv4-brand .logo_container:after{content:'O Prumo e a Pena';display:block;font-family:'Libre Caslon Text',Georgia,serif;font-size:34px;line-height:1;color:#f2eadf;letter-spacing:-.02em;white-space:nowrap;position:relative;top:2px;}
.oppv4-brand .logo_container .logo_helper{display:none!important;}

/* Stronger editorial shadows and rounded corners */
.oppv4-brand .et_pb_image img,
.oppv4-brand .et_pb_post img,
.oppv4-brand .entry-featured-image-url img,
.oppv4-brand .wp-post-image,
.oppv4-brand .et_pb_post a img,
.oppv4-brand .opp-feature-img img,
.oppv4-brand .opp-series-image img,
.oppv4-brand .opp-library-image img,
.oppv4-brand .opp-aside-img img{border-radius:10px!important;box-shadow:0 12px 28px rgba(10,25,36,.10)!important;}


/* Typography refinement: use Libre Caslon Text site-wide */
.oppv4-brand body,
.oppv4-brand #page-container,
.oppv4-brand p,
.oppv4-brand li,
.oppv4-brand a,
.oppv4-brand input,
.oppv4-brand textarea,
.oppv4-brand select,
.oppv4-brand button,
.oppv4-brand .et_pb_button,
.oppv4-brand .nav li a,
.oppv4-brand #top-menu li a,
.oppv4-brand .mobile_menu_bar:before,
.oppv4-brand .et_mobile_menu li a,
.oppv4-brand .post-meta,
.oppv4-brand .post-meta a,
.oppv4-brand .et_pb_search input,
.oppv4-brand .et_pb_newsletter input,
.oppv4-brand .et_pb_newsletter_button {
  font-family:'Libre Caslon Text', Georgia, serif!important;
}

/* Softer image treatment to match approved editorial design */
.oppv4-brand .et_pb_image img,
.oppv4-brand .et_pb_post img,
.oppv4-brand .entry-featured-image-url img,
.oppv4-brand .wp-post-image,
.oppv4-brand .et_pb_post a img,
.oppv4-brand .opp-feature-img img,
.oppv4-brand .opp-series-image img,
.oppv4-brand .opp-library-image img,
.oppv4-brand .opp-aside-img img {
  border-radius:10px!important;
  box-shadow:0 6px 18px rgba(12,24,34,.08)!important;
}
.oppv4-brand #logo {
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}

/* O PRUMO E A PENA — DIVI 4.27.9 • editorial visual system */
:root { --opp-navy:#0b2130; --opp-navy2:#112b3b; --opp-cream:#f7f3ed; --opp-paper:#fffdf9; --opp-ink:#172433; --opp-gold:#b18b50; --opp-rule:#d5c6ae; }
body.oppv4-brand { background:var(--opp-cream); color:var(--opp-ink); }
.oppv4-brand #main-header { background:var(--opp-navy) !important; border-bottom:1px solid rgba(210,177,118,.42); box-shadow:none; }
.oppv4-brand #main-header.et-fixed-header { background:var(--opp-navy)!important; box-shadow:0 4px 16px rgba(0,0,0,.12)!important; }
.oppv4-brand #main-header .container { min-height:93px; }
.oppv4-brand #logo { max-width:62px!important; }
.oppv4-brand #top-menu li a, .oppv4-brand #et-top-navigation .mobile_menu_bar:before, .oppv4-brand #et_search_icon:before { color:#f9f1e7!important; font-family:'Libre Caslon Text',Georgia,serif; font-size:16px; font-weight:400!important; }
.oppv4-brand #top-menu li.current-menu-item>a,.oppv4-brand #top-menu li a:hover { color:#d9b873!important; opacity:1; }
.oppv4-brand #top-menu li.current-menu-item>a:after { content:'';height:2px;background:#c09a5d;display:block;margin-top:9px; }
.oppv4-brand .et_mobile_menu { background:#102a3b!important; border-color:var(--opp-gold); }
.oppv4-brand .et_mobile_menu a { color:#f8f2e8!important; }
.oppv4-brand #page-container { overflow:hidden; }
.oppv4-brand .et_pb_section { padding:48px 0; }
.oppv4-brand .et_pb_row { width:92%; max-width:1180px; }
.oppv4-brand .oppv4-section p, .oppv4-brand .oppv4-section li { font-family:'Libre Caslon Text',Georgia,serif; font-size:17px; line-height:1.72; color:var(--opp-ink); }
.oppv4-brand .oppv4-section h1,.oppv4-brand .oppv4-section h2,.oppv4-brand .oppv4-section h3 { font-family:'Libre Caslon Text',Georgia,serif; color:var(--opp-ink); font-weight:700; letter-spacing:-.022em; line-height:1.17; }
.oppv4-brand .oppv4-section h1{font-size:clamp(38px,4vw,55px);}
.oppv4-brand .oppv4-section h2{font-size:clamp(27px,3vw,37px);}
.oppv4-brand .oppv4-section h3{font-size:23px;}
.oppv4-brand .oppv4-section a{color:#846138;transition:color .2s ease}
.oppv4-brand .oppv4-section a:hover{color:#b48f53}
.oppv4-brand .oppv4-section .opp-kicker{font:700 11px/1.3 Arial,sans-serif;letter-spacing:.2em;color:#a77942;text-transform:uppercase;margin-bottom:16px}
.oppv4-brand .oppv4-section .opp-small{font-size:12px;color:#7a7771;line-height:1.5}
.oppv4-brand .oppv4-section .opp-subtitle { font-size:21px; max-width:720px; color:#49525a; line-height:1.5; }
.oppv4-brand .oppv4-section .et_pb_button { font-family:'Libre Caslon Text',Georgia,serif; background:#102c3e!important; color:#fffdf7!important; border:0!important; border-radius:3px!important; padding:11px 20px!important; font-size:17px!important; line-height:1.5!important; box-shadow:none; }
.oppv4-brand .oppv4-section .et_pb_button:hover { background:#24445a!important; padding:11px 20px!important; }
.oppv4-brand .oppv4-section .et_pb_button:after { display:none!important; }
.oppv4-brand .oppv4-section img {border-radius:3px; }
/* Hero: approved restrained photograph-led banner */
.oppv4-brand .opp-hero { position:relative; min-height:270px; background-color:#071723!important; background-repeat:no-repeat; padding:0!important; }
.oppv4-brand .opp-hero:before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,15,23,.99) 0%,rgba(5,15,23,.93) 30%,rgba(5,15,23,.68) 52%,rgba(5,15,23,.11) 100%); z-index:0; }
.oppv4-brand .opp-hero .et_pb_row { position:relative; z-index:1; padding:48px 0 44px!important; }
.oppv4-brand .opp-hero .et_pb_text h1{color:#fffdf8;font-size:clamp(36px,3.85vw,54px);line-height:1.08;margin-bottom:12px}
.oppv4-brand .opp-hero .et_pb_text p:not(.opp-kicker){color:#f0e5d4;font-style:italic;font-size:18px;line-height:1.45;max-width:540px}
.oppv4-brand .opp-hero .opp-kicker{color:#d6ad73!important;}
.oppv4-brand .opp-hero-spacer {display:none}
/* Featured */
.oppv4-brand .opp-feature-section{background:var(--opp-cream)!important;padding:25px 0 11px!important}
.oppv4-brand .opp-feature-row { padding:0!important; }
.oppv4-brand .opp-feature-img img {width:100%!important;height:302px!important;object-fit:cover;filter:sepia(.16)}
.oppv4-brand .opp-feature-copy h2{font-size:clamp(27px,2.9vw,36px);margin:0 0 14px;}
.oppv4-brand .opp-feature-copy p{font-size:17px;line-height:1.55}
.oppv4-brand .opp-feature-row .et_pb_column:nth-child(3){border-left:1px solid #dfd4c1;padding-left:24px;}
.oppv4-brand .opp-feature-row .et_pb_column:nth-child(3) h3{font-size:24px;margin:20px 0 12px}
.oppv4-brand .opp-feature-row .et_pb_column:nth-child(3) p{font-size:16px}
.oppv4-brand .opp-site-search input.et_pb_s {background:#fffdfa!important;border:1px solid #d8cbb9!important;border-radius:3px!important;color:#112a39!important}
.oppv4-brand .opp-site-search .et_pb_searchsubmit {background:#102a3b!important;color:white!important;border:0!important;border-radius:0 3px 3px 0!important}
/* four dark topic tiles */
.oppv4-brand .opp-categories-section {padding:15px 0 32px!important;background:var(--opp-cream)!important}
.oppv4-brand .opp-categories-section .et_pb_row {padding:0!important}
.oppv4-brand .opp-topic-card .et_pb_text_inner { background:#0c2839;min-height:176px;border-radius:8px;border-bottom:3px solid #b88b4f;box-shadow:0 10px 24px rgba(9,27,38,.18); }
.oppv4-brand .opp-topic-link {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:176px;text-align:center;padding:24px 14px;color:#fff!important}
.oppv4-brand .opp-topic-icon{display:block;font-size:42px;line-height:42px;width:auto;height:auto;color:#d2b07b;margin-bottom:16px}
.oppv4-brand .opp-topic-link strong{font:700 24px/1.15 'Libre Caslon Text',Georgia,serif;color:#fff}
.oppv4-brand .opp-topic-link strong:after{content:'';display:block;background:#b18b50;width:38px;height:1px;margin:10px auto 10px}
.oppv4-brand .opp-topic-link em {font:italic 13px/1.3 'Libre Caslon Text',Georgia,serif;color:#d5d0ca}
.oppv4-brand .opp-topic-card .et_pb_text_inner:hover { background:#18384a; }
/* latest articles and right sidebar */
.oppv4-brand .opp-recent-section{background:var(--opp-cream)!important;padding:0 0 42px!important}
.oppv4-brand .opp-recent-section .et_pb_row {padding:5px 0 15px!important}
.oppv4-brand .opp-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #cdb996;margin-bottom:18px;padding-bottom:10px}
.oppv4-brand .opp-section-title h2 {font-size:32px;margin:0;padding:0}
.oppv4-brand .opp-section-title a{font:400 16px 'Libre Caslon Text',Georgia,serif;white-space:nowrap}
.oppv4-brand .opp-blog .et_pb_blog_grid .et_pb_post{border:1px solid #e5dccf;padding:0;background:#fffdfa;border-radius:8px;overflow:hidden;box-shadow:0 10px 24px rgba(12,24,34,.08)}
.oppv4-brand .opp-blog .et_pb_post .entry-title,.oppv4-brand .opp-blog .et_pb_post .post-meta,.oppv4-brand .opp-blog .et_pb_post .post-content{padding-left:16px;padding-right:16px;}
.oppv4-brand .opp-blog .et_pb_post .entry-title{font:700 21px/1.2 'Libre Caslon Text',Georgia,serif!important;color:var(--opp-ink);margin-top:15px;padding-bottom:10px}
.oppv4-brand .opp-blog .et_pb_post .post-meta,.oppv4-brand .opp-blog .et_pb_post .post-meta a{font:400 13px/1.5 'Libre Caslon Text',Georgia,serif;color:#946d38!important}
.oppv4-brand .opp-blog .et_pb_post .entry-featured-image-url{margin:0 0 12px!important}
.oppv4-brand .opp-blog .et_pb_post .entry-featured-image-url img{height:175px;object-fit:cover;width:100%;border-radius:0}
.oppv4-brand .opp-blog .more-link{font:14px/1.5 'Libre Caslon Text',Georgia,serif;padding:0 16px 16px;display:inline-block}
.oppv4-brand .opp-home-aside {border-left:1px solid #ded2bf;padding-left:26px}
.oppv4-brand .opp-home-aside h3{font-size:25px;margin-bottom:14px}
.oppv4-brand .opp-home-aside p{font-size:16px}
.oppv4-brand .opp-home-aside hr {border:0;border-top:1px solid #c4a476;margin:28px 0}
/* page content */
.oppv4-brand .opp-page-top{background:var(--opp-navy)!important;padding:55px 0 50px!important;border-top:1px solid rgba(201,166,111,.3)}
.oppv4-brand .opp-page-top .et_pb_row{padding:0!important}
.oppv4-brand .opp-page-top h1{color:#fff;font-size:clamp(36px,4vw,53px)}
.oppv4-brand .opp-page-top .opp-kicker{color:#d3ad77!important}
.oppv4-brand .opp-page-top .opp-subtitle{color:#e7dfd4;font-style:italic}
.oppv4-brand .opp-cream{background:var(--opp-cream)!important}
.oppv4-brand .opp-white{background:#fffdf8!important}
.oppv4-brand .opp-soft-intro{font-size:16px!important;color:#6d6b66!important;border-left:3px solid #af8d5b;padding-left:14px;margin-bottom:25px}
.oppv4-brand .opp-two-cards .et_pb_column{background:#fffdf8;border:1px solid #e5dbcd;border-radius:4px;overflow:hidden;padding-bottom:18px}
.oppv4-brand .opp-two-cards .opp-series-image img {width:100%;height:310px;object-fit:cover;filter:sepia(.18);border-radius:0}
.oppv4-brand .opp-two-cards .opp-series-card{padding:0 24px}
.oppv4-brand .opp-two-cards .opp-series-card h2{font-size:29px}
.oppv4-brand .opp-two-cards .opp-series-card p{font-size:16px}
.oppv4-brand .opp-library-image img{width:100%;height:400px;object-fit:cover}
.oppv4-brand .opp-aside-img img{width:100%;height:290px;object-fit:cover}
.oppv4-brand .opp-article-body p{font-size:19px;line-height:1.8}
.oppv4-brand .opp-article-body h2{margin:0 0 20px}
.oppv4-brand .opp-article-body h3{margin:30px 0 10px}
.oppv4-brand .opp-mail{font-size:22px!important;font-weight:700;overflow-wrap:anywhere}
.oppv4-brand .opp-cover-slot{border:1px solid #bca17a;background:linear-gradient(145deg,#142e40,#081925);min-height:440px;padding:90px 35px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.oppv4-brand .opp-cover-slot span{font:700 21px/1.5 'Libre Caslon Text',Georgia,serif;color:#e0be83;letter-spacing:.08em}
.oppv4-brand .opp-cover-slot p{color:#d7d0c4;font-size:15px;max-width:270px;margin:18px auto}
.oppv4-brand .opp-book-row .et_pb_column:nth-child(2){padding:25px 0}
.oppv4-brand .opp-outro{max-width:820px;margin:auto;text-align:center}
.oppv4-brand #main-footer {background:#0b2130!important;color:#e4ddcf!important;border-top:1px solid rgba(182,147,94,.55)}
.oppv4-brand #footer-bottom {background:#091c28!important;color:#ddd!important}
.oppv4-brand #footer-info,.oppv4-brand #footer-info a{color:#c8bfac!important}
.oppv4-brand #main-footer a,.oppv4-brand .footer-widget h4{color:#e8ded0!important}
.oppv4-brand #main-footer .et-social-icons a{color:#d5b77e!important}
@media (max-width:980px){
 .oppv4-brand #main-header .container{min-height:72px}
 .oppv4-brand #logo{max-height:66%!important;max-width:260px!important}
 .oppv4-brand .opp-hero{min-height:240px}
 .oppv4-brand .opp-hero .et_pb_row{padding:44px 0!important}
 .oppv4-brand .opp-hero:before{background:linear-gradient(90deg,rgba(5,15,23,.98) 0%,rgba(5,15,23,.77) 65%,rgba(5,15,23,.35) 100%)}
 .oppv4-brand .opp-feature-row .et_pb_column:nth-child(3){padding:24px 0 0;border-left:0;border-top:1px solid #dfd4c1}
 .oppv4-brand .opp-categories-section .et_pb_column {margin-bottom:12px!important}
 .oppv4-brand .opp-topic-card .et_pb_text_inner,.oppv4-brand .opp-topic-link{min-height:150px}
 .oppv4-brand .opp-home-aside{margin:28px 0 0;border-left:0;border-top:1px solid #ded2bf;padding:22px 0 0}
}
@media (max-width:767px){
 .oppv4-brand .oppv4-section .et_pb_row{width:89%}
 .oppv4-brand .oppv4-section p{font-size:16px}
 .oppv4-brand .opp-hero {background-position:60% center!important}
 .oppv4-brand .opp-hero:before{background:rgba(5,15,23,.82)}
 .oppv4-brand .opp-hero .et_pb_text h1{font-size:38px}
 .oppv4-brand .opp-hero .et_pb_text p:not(.opp-kicker){font-size:16px}
 .oppv4-brand .opp-feature-img img{height:260px!important}
 .oppv4-brand .opp-feature-row .et_pb_column{margin-bottom:20px}
 .oppv4-brand .opp-page-top{padding:38px 0!important}
 .oppv4-brand .opp-section-title {align-items:flex-start;flex-direction:column}
 .oppv4-brand .opp-blog .et_pb_post .entry-featured-image-url img{height:220px}
 .oppv4-brand .opp-two-cards .opp-series-image img{height:280px}
 .oppv4-brand .opp-cream{padding:30px 0!important}
}
/* Consistent article, category, search and 404 styling without requiring Theme Builder templates */
.oppv4-brand.single-post #main-content,.oppv4-brand.archive #main-content,.oppv4-brand.search #main-content,.oppv4-brand.error404 #main-content { background:var(--opp-cream)!important; }
.oppv4-brand.single-post .entry-title,.oppv4-brand.archive #left-area h1,.oppv4-brand.search #left-area h1,.oppv4-brand.error404 h1 {font-family:'Libre Caslon Text',Georgia,serif;color:var(--opp-ink);font-size:clamp(31px,4vw,49px);letter-spacing:-.025em}
.oppv4-brand.single-post #left-area .entry-content p,.oppv4-brand.single-post #left-area .entry-content li {font-family:'Libre Caslon Text',Georgia,serif;font-size:19px;line-height:1.85;color:var(--opp-ink)}
.oppv4-brand.single-post #left-area .entry-content h2,.oppv4-brand.single-post #left-area .entry-content h3 {font-family:'Libre Caslon Text',Georgia,serif;color:var(--opp-ink);margin:28px 0 14px}
.oppv4-brand.archive article.et_pb_post,.oppv4-brand.search article.et_pb_post {background:#fffdfa;border:1px solid #e4d8c7;padding:22px 24px;border-radius:4px}
.oppv4-brand.archive .et_pb_post .entry-title,.oppv4-brand.search .et_pb_post .entry-title {font-family:'Libre Caslon Text',Georgia,serif;font-size:27px;}
.oppv4-brand #footer-info {font-size:0!important;}
.oppv4-brand #footer-info:before {content:'© O Prumo e a Pena · Estudos sobre a Maçonaria';font-family:'Libre Caslon Text',Georgia,serif;font-size:12px;color:#c8bfac}

.oppv4-brand .opp-hero-copy:before{content:'';position:absolute;left:0;top:14px;width:4px;height:76px;background:#c89a54;border-radius:2px;}

@media (max-width:1280px){.oppv4-brand .logo_container:after{font-size:30px}}
@media (max-width:980px){.oppv4-brand .logo_container{padding-left:60px!important;min-height:72px!important}.oppv4-brand .logo_container:after{font-size:25px}.oppv4-brand #logo{max-width:50px!important;left:0;top:50%;transform:translateY(-45%);} }
@media (max-width:767px){.oppv4-brand .logo_container{padding-left:52px!important}.oppv4-brand .logo_container:after{font-size:20px;white-space:normal;line-height:1.05;max-width:180px}}


/* ===========================================================
   O PRUMO E A PENA · v1.1.0 · CONSOLIDAÇÃO DIVI 4.27.9
   =========================================================== */
/* Typography for all frontend elements, keeping icon glyph fonts intact */
body.oppv4-brand,
body.oppv4-brand #page-container,
body.oppv4-brand h1,
body.oppv4-brand h2,
body.oppv4-brand h3,
body.oppv4-brand h4,
body.oppv4-brand h5,
body.oppv4-brand h6,
body.oppv4-brand p,
body.oppv4-brand ul,
body.oppv4-brand ol,
body.oppv4-brand .et_pb_text,
body.oppv4-brand .et_pb_button,
body.oppv4-brand a,
body.oppv4-brand input,
body.oppv4-brand textarea,
body.oppv4-brand select,
body.oppv4-brand #top-menu a,
body.oppv4-brand #footer-info {font-family:'Libre Caslon Text',Georgia,serif!important;}
body.oppv4-brand .dashicons {font-family:dashicons!important;}
body.oppv4-brand #et_search_icon:before,
body.oppv4-brand .mobile_menu_bar:before,
body.oppv4-brand .et_pb_searchsubmit,
body.oppv4-brand .et-pb-icon {font-family:ETmodules!important;}

/* Header: transparent original emblem + separately typeset title */
body.oppv4-brand #main-header {background:#0b2232!important;border-bottom:1px solid rgba(207,170,111,.35)!important;box-shadow:0 2px 13px rgba(3,16,25,.08)!important;}
body.oppv4-brand #main-header .container {min-height:84px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:91%;max-width:1360px;}
body.oppv4-brand #main-header .logo_container {position:relative!important;left:auto!important;top:auto!important;width:auto!important;height:84px!important;min-height:84px!important;padding:0!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;overflow:visible!important;}
body.oppv4-brand #main-header .logo_container:after {content:none!important;}
body.oppv4-brand #main-header .logo_container>a {display:inline-flex!important;align-items:center!important;gap:9px!important;height:84px!important;white-space:nowrap;text-decoration:none!important;}
body.oppv4-brand #main-header #logo {position:relative!important;display:block!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;height:101px!important;max-height:none!important;max-width:92px!important;object-fit:contain!important;filter:none!important;background:transparent!important;box-shadow:none!important;border:0!important;z-index:10;}
body.oppv4-brand #main-header .logo_container>a:after {content:'O Prumo e a Pena';font-family:'Libre Caslon Text',Georgia,serif!important;font-size:clamp(22px,2.05vw,30px)!important;font-weight:400;color:#f7f1e7;letter-spacing:-.025em;line-height:1.1;display:block!important;text-transform:none!important;}
body.oppv4-brand #main-header .logo_container .logo_helper {display:none!important;}
body.oppv4-brand #et-top-navigation {float:none!important;margin-left:auto!important;padding-left:14px!important;display:flex;align-items:center;min-height:84px!important;}
body.oppv4-brand #top-menu li {padding-right:17px!important;}
body.oppv4-brand #top-menu li a {font-size:16px!important;padding-bottom:0!important;letter-spacing:0!important;}
body.oppv4-brand .et_header_style_left .et-fixed-header #et-top-navigation,
body.oppv4-brand .et_header_style_left #et-top-navigation {padding-top:0!important;}
body.oppv4-brand #et_search_icon:before {position:relative!important;top:auto!important;}

/* Compact photographic hero with visible plumb, book and inkwell */
body.oppv4-brand .opp-hero {min-height:282px!important;background-color:#071826!important;background-size:cover!important;background-position:center 42%!important;border-bottom:1px solid #d0c1ab!important;}
body.oppv4-brand .opp-hero:before {background:linear-gradient(90deg,rgba(6,19,28,.98) 0%,rgba(6,19,28,.93) 27%,rgba(6,19,28,.7) 40%,rgba(6,19,28,.07) 77%,transparent 100%)!important;}
body.oppv4-brand .opp-hero .et_pb_row {padding:44px 0 42px!important;max-width:1260px!important;}
body.oppv4-brand .opp-hero-copy {position:relative;padding-left:26px!important;max-width:550px!important;}
body.oppv4-brand .opp-hero-copy:before {top:4px!important;left:0!important;width:3px!important;height:74px!important;}
body.oppv4-brand .opp-hero-copy h1 {font-size:clamp(33px,3.3vw,46px)!important;font-weight:700!important;line-height:1.1!important;}
body.oppv4-brand .opp-hero-copy p:not(.opp-kicker) {font-style:italic;font-size:17px!important;line-height:1.52!important;}

/* Featured: align three zones to approved editorial hierarchy */
body.oppv4-brand .opp-feature-section {padding:26px 0 16px!important;}
body.oppv4-brand .opp-feature-row {max-width:1260px!important;display:grid!important;grid-template-columns:minmax(0,1.28fr) minmax(0,1.07fr) minmax(250px,.88fr);gap:30px!important;align-items:start!important;}
body.oppv4-brand .opp-feature-row .et_pb_column {width:100%!important;min-width:0!important;float:none!important;margin:0!important;}
body.oppv4-brand .opp-feature-img img {height:300px!important;width:100%!important;object-fit:cover!important;filter:sepia(.11);}
body.oppv4-brand .opp-feature-copy h2 {font-size:clamp(29px,2.55vw,36px)!important;line-height:1.12!important;}
body.oppv4-brand .opp-feature-row .et_pb_column:nth-child(3) {border-left:1px solid #dfd6c8!important;padding-left:21px!important;}
body.oppv4-brand .opp-feature-row .et_pb_column:nth-child(3) h3 {font-size:21px!important;margin:10px 0 8px!important;}
body.oppv4-brand .opp-subscribe-placeholder {border-top:1px solid #cfb78f;margin-top:18px;padding-top:16px;}
body.oppv4-brand .opp-subscribe-placeholder h3 {font-size:20px!important;}
body.oppv4-brand .opp-subscribe-placeholder p {font-size:14px!important;}

/* Branded category tiles: icon glyphs, subtle borders and depth */
body.oppv4-brand .opp-categories-section {padding:12px 0 28px!important;}
body.oppv4-brand .opp-categories-section .et_pb_row {max-width:1260px!important;}
body.oppv4-brand .opp-categories .et_pb_column {margin-right:1.6%!important;width:23.8%!important;}
body.oppv4-brand .opp-categories .et_pb_column:last-child {margin-right:0!important;}
body.oppv4-brand .opp-topic-card .et_pb_text_inner {background:#102c3f!important;border:1px solid rgba(199,165,107,.18)!important;border-bottom:2px solid #b48b53!important;border-radius:8px!important;box-shadow:0 8px 19px rgba(10,24,34,.16)!important;transition:transform .22s ease, box-shadow .22s ease;}
body.oppv4-brand .opp-topic-card .et_pb_text_inner:hover {transform:translateY(-2px);box-shadow:0 12px 25px rgba(10,24,34,.2)!important;}
body.oppv4-brand .opp-topic-link {min-height:155px!important;padding:22px 14px!important;}
body.oppv4-brand .opp-topic-link .opp-topic-icon {font-family:dashicons!important;display:block!important;width:auto!important;height:auto!important;font-size:37px!important;line-height:39px!important;color:#d9b878!important;margin:0 auto 12px!important;}
body.oppv4-brand .opp-topic-link strong {font-size:21px!important;}
body.oppv4-brand .opp-topic-link em {font-size:13px!important;line-height:1.4!important;}

/* Image corners, gentle shadows everywhere including article thumbnails */
body.oppv4-brand .oppv4-section .et_pb_image img,
body.oppv4-brand .oppv4-section .opp-feature-img img,
body.oppv4-brand .oppv4-section .opp-series-image img,
body.oppv4-brand .oppv4-section .opp-library-image img,
body.oppv4-brand .oppv4-section .opp-aside-img img,
body.oppv4-brand .oppv4-section .et_pb_post img,
body.oppv4-brand.single-post .entry-featured-image-url img,
body.oppv4-brand.archive .et_pb_post img,
body.oppv4-brand.search .et_pb_post img {border-radius:9px!important;box-shadow:0 7px 18px rgba(10,24,34,.105)!important;}
body.oppv4-brand .opp-blog .et_pb_post {box-shadow:0 6px 19px rgba(10,24,34,.075)!important;border:1px solid #e3d9cb!important;border-radius:9px!important;overflow:hidden;}
body.oppv4-brand .opp-blog .entry-featured-image-url img {border-radius:7px 7px 0 0!important;box-shadow:none!important;}
body.oppv4-brand .opp-two-cards .et_pb_column {box-shadow:0 8px 18px rgba(10,24,34,.065);border-radius:9px!important;}

@media(max-width:1150px){
 body.oppv4-brand #main-header .logo_container>a:after{font-size:23px!important}
 body.oppv4-brand #top-menu li{padding-right:12px!important}
 body.oppv4-brand .opp-feature-row{gap:20px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(210px,.75fr)}
}
@media(max-width:980px){
 body.oppv4-brand #main-header .container{min-height:75px!important;}
 body.oppv4-brand #main-header .logo_container{height:75px!important;min-height:75px!important}
 body.oppv4-brand #main-header .logo_container>a{height:75px!important;}
 body.oppv4-brand #main-header #logo{height:79px!important;max-width:74px!important;}
 body.oppv4-brand #main-header .logo_container>a:after{font-size:25px!important;}
 body.oppv4-brand #et-top-navigation{min-height:75px!important;}
 body.oppv4-brand .opp-feature-row{display:block!important;}
 body.oppv4-brand .opp-feature-row .et_pb_column{width:100%!important;margin-bottom:22px!important;}
 body.oppv4-brand .opp-feature-row .et_pb_column:nth-child(3){padding:16px 0 0!important;border:0!important;border-top:1px solid #dfd6c8!important;}
 body.oppv4-brand .opp-categories .et_pb_column{width:48%!important;margin:0 4% 14px 0!important;}
 body.oppv4-brand .opp-categories .et_pb_column:nth-child(2n){margin-right:0!important;}
 body.oppv4-brand .opp-hero{background-position:59% center!important;}
}
@media(max-width:600px){
 body.oppv4-brand #main-header .logo_container>a:after{font-size:20px!important;}
 body.oppv4-brand #main-header #logo{height:65px!important;max-width:62px!important;}
 body.oppv4-brand .opp-hero{min-height:285px!important;background-position:61% center!important;}
 body.oppv4-brand .opp-hero:before{background:rgba(5,18,28,.77)!important;}
 body.oppv4-brand .opp-hero-copy h1{font-size:34px!important;}
 body.oppv4-brand .opp-categories .et_pb_column{width:100%!important;margin-right:0!important;}
 body.oppv4-brand .opp-topic-link{min-height:138px!important;}
}

/* =================================================================
  O PRUMO E A PENA — 1.2.0 · FIXED, CACHE-INDEPENDENT VISUALS
  This overrides legacy Divi page shortcodes and old logos without
  requiring a page rewrite. No remote icon fonts are required.
================================================================== */

/* Correct identity: original circular pictogram only; no rectangular bitmap. */
body.oppv4-brand #main-header .logo_container,
body.oppv4-brand #main-header .logo_container > a {
  overflow:visible!important;
}
body.oppv4-brand #main-header .logo_container > a {
  display:flex!important; align-items:center!important;gap:10px!important;
  width:max-content!important;max-width:100%!important;min-height:82px!important;
  height:82px!important;position:relative!important;
}
body.oppv4-brand #main-header #logo,
body.oppv4-brand #main-header img#logo {
  display:none!important;visibility:hidden!important;width:0!important;
  height:0!important;max-height:0!important;margin:0!important;
}
body.oppv4-brand #main-header .logo_container > a::before {
  content:''!important;display:block!important;flex:0 0 94px!important;
  width:94px!important;height:108px!important;
  background:url('images/emblema-oficial-transparente.png') center / contain no-repeat!important;
  margin-top:15px!important;position:relative!important;z-index:9!important;
}
body.oppv4-brand #main-header .logo_container > a::after {
  content:'O Prumo e a Pena'!important;display:block!important;
  color:#f7f0e4!important;font-family:'Libre Caslon Text',Georgia,serif!important;
  font-size:30px!important;font-weight:400!important;line-height:1.13!important;
  white-space:nowrap!important;letter-spacing:-.025em!important;
  position:static!important;top:auto!important;
}
body.oppv4-brand #main-header .logo_container {overflow:visible!important;height:82px!important;min-height:82px!important;}
body.oppv4-brand #main-header {overflow:visible!important;background:#0b2535!important;}
body.oppv4-brand #main-header .container {overflow:visible!important;}

/* Make both the new Divi home and an older already-installed home display the
   *correct* hero image. image stays editable in Visual Builder when refreshed. */
body.oppv4-brand .opp-hero,
body.oppv4-brand .et_pb_section.opp-hero {
  background-image:url('images/hero-editorial-livros-prumo-pena.jpg')!important;
  background-color:#071a27!important;
  background-repeat:no-repeat!important;
  background-size:auto 100%!important;
  background-position:right center!important;
  min-height:330px!important;
  border:0!important;
}
body.oppv4-brand .opp-hero::before {
  background:linear-gradient(90deg,#081b28 0%,rgba(8,27,40,.99) 14%,rgba(8,27,40,.94) 33%,rgba(8,27,40,.67) 48%,rgba(8,27,40,.04) 71%,transparent 92%)!important;
}
body.oppv4-brand .opp-hero .et_pb_row {padding-top:56px!important;padding-bottom:58px!important;}
body.oppv4-brand .opp-hero-copy {padding-left:34px!important;}
body.oppv4-brand .opp-hero-copy::before {height:78px!important;top:4px!important;}
body.oppv4-brand .opp-hero-copy h1 {font-family:'Libre Caslon Text',Georgia,serif!important;font-weight:700!important;font-size:clamp(35px,3.45vw,49px)!important;line-height:1.08!important;}
body.oppv4-brand .opp-hero-copy p {font-family:'Libre Caslon Text',Georgia,serif!important;}

/* In previous versions cards contained 01…04 instead of icons.
   Hide the old number and render hardcoded SVGs based on card position.
   This works in old pages even when WordPress content has not been refreshed. */
body.oppv4-brand .opp-categories .opp-topic-link > .opp-topic-number,
body.oppv4-brand .opp-categories .opp-topic-link > .opp-topic-icon {
  display:none!important;
}
body.oppv4-brand .opp-categories .opp-topic-link::before {
  content:''!important;display:block!important;width:51px!important;
  height:51px!important;flex:0 0 51px!important;
  margin:0 auto 12px!important;background-position:center!important;
  background-repeat:no-repeat!important;background-size:contain!important;
}
body.oppv4-brand .opp-categories .et_pb_column:nth-child(1) .opp-topic-link::before {background-image:url('icons/historia.svg')!important;}
body.oppv4-brand .opp-categories .et_pb_column:nth-child(2) .opp-topic-link::before {background-image:url('icons/ritualistica.svg')!important;}
body.oppv4-brand .opp-categories .et_pb_column:nth-child(3) .opp-topic-link::before {background-image:url('icons/simbolos.svg')!important;}
body.oppv4-brand .opp-categories .et_pb_column:nth-child(4) .opp-topic-link::before {background-image:url('icons/personagens.svg')!important;}
body.oppv4-brand .opp-topic-card .et_pb_text_inner {border-radius:8px!important;box-shadow:0 8px 21px rgba(5,21,32,.21)!important;}
body.oppv4-brand .opp-topic-link {min-height:171px!important;}

/* Shadows are deliberately restrained and consistent with the reference. */
body.oppv4-brand .opp-feature-img img,
body.oppv4-brand .oppv4-section .et_pb_image img {border-radius:9px!important;box-shadow:0 7px 18px rgba(10,23,31,.13)!important;}
body.oppv4-brand .opp-blog .et_pb_post {box-shadow:0 8px 20px rgba(10,23,31,.11)!important;border-radius:9px!important;}
body.oppv4-brand .opp-two-cards .et_pb_column {box-shadow:0 6px 18px rgba(10,23,31,.10)!important;}

@media(max-width:1200px){
  body.oppv4-brand #main-header .logo_container > a::before {width:75px!important;flex-basis:75px!important;height:91px!important;}
  body.oppv4-brand #main-header .logo_container > a::after {font-size:24px!important;}
}
@media(max-width:980px){
  body.oppv4-brand #main-header .logo_container > a {min-height:75px!important;height:75px!important;}
  body.oppv4-brand #main-header .logo_container > a::before {width:67px!important;flex-basis:67px!important;height:82px!important;}
  body.oppv4-brand #main-header .logo_container > a::after {font-size:23px!important;}
  body.oppv4-brand .opp-hero {background-size:auto 100%!important;background-position:right center!important;}
  body.oppv4-brand .opp-hero::before {background:linear-gradient(90deg,rgba(6,22,33,.98),rgba(6,22,33,.8) 67%,rgba(6,22,33,.42))!important;}
}
@media(max-width:767px){
  body.oppv4-brand #main-header .logo_container > a::before {width:55px!important;flex-basis:55px!important;height:72px!important;margin-top:6px!important;}
  body.oppv4-brand #main-header .logo_container > a::after {font-size:19px!important;white-space:normal!important;max-width:175px!important;}
  body.oppv4-brand .opp-hero {min-height:300px!important;background-size:auto 100%!important;background-position:75% center!important;}
  body.oppv4-brand .opp-hero::before {background:rgba(6,20,30,.8)!important;}
  body.oppv4-brand .opp-hero-copy h1 {font-size:36px!important;}
}
